Open RocketMaDev opened 6 days ago
We should be able to open such ELF files, yes.
In the meantime you can use libcdb.unstrip_libc
to grab the debuginfo and merge the debuginfo back into the libc via eu-unstrip. Then you can use all symbols on the original libc.so.6.
But it just failed to load the debuginfo directly. Do you mean that I can only load it after unstrip_libc
?
We should fix loading external debuginfo files with the ELF class.
Now the class
ELF
could load executables perfectly, but some symbols could not be found inlibc.so.6
for optimization. However, these debug symbols are included in its debuginfo which could be downloaded via debuginfod on multiple distros. When I try to load the debuginfo so that I have more symbols to access, it failed, as it was detecting relro.If the
ELF
class could pass these checks for debuginfo, more symbols could be grabbed.