HomePhabricator

[Orc] Always check mapped sections for ELFDebugObject are in bounds of working…

Authored by sgraenitz on Mar 9 2021, 3:51 AM.

Description

[Orc] Always check mapped sections for ELFDebugObject are in bounds of working memory buffer

As stated in the JITLink user guide: Do not assume that the input object is well formed.
https://llvm.org/docs/JITLink.html#tips-for-jitlink-backend-developers

Details