[llvm-dev] Instruction boundaries

Muhui Jiang via llvm-dev llvm-dev at lists.llvm.org
Mon Jun 25 08:36:10 PDT 2018


I was wondering whether there are any methods to know what part of the
target binary is code.

I have some ideas and hope to get your comments.

I would like to use LLVM's source level debugging information to extract
the source lines belonging to every functions. Then use the dwarf mapping
table to transfer the  source level information to binary address. Are
there any better methods?

Besides, is the address listed inside dwarf line mapping table must be code
rather than data?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180625/9ea49a2a/attachment.html>

More information about the llvm-dev mailing list