konrad-kruczynski / elfsharp

Pure managed C# library for reading ELF, UImage, Mach-O binaries.
https://elfsharp.it
Other
159 stars 57 forks source link

Analysis on the definition of symbolic structure #95

Closed cfh763551832 closed 1 year ago

cfh763551832 commented 1 year ago

Can this library parse out the struct definition for one of these symbols, and if not, how can I solve it. The following is the ELF file that I use IDA pro tool to parse, which can parse out the structure definition corresponding to the symbol, can we achieve this function in this library? Below is the screenshot.looking forward to your reply,thank you. 1 2 3

konrad-kruczynski commented 1 year ago

No, this is not possible. The ELF structure does not contain necessary information, you may have more luck with DWARF data, but this is not what is expected to be supported within this library.

cfh763551832 commented 1 year ago

No, this is not possible. The ELF structure does not contain necessary information, you may have more luck with DWARF data, but this is not what is expected to be supported within this library.

Thanks for your reply, I have parsed it with the libdwarf library