mirror of
https://github.com/wader/fq.git
synced 2024-12-25 14:23:18 +03:00
f66a359c39
String table used for "needed" tags (the string seen with ldd etc) was using address as offset which seem to work as it's usually the same as correct offset. But this is not true for some ELFs. Then we have to look up offset by finding the section by address and then use its offset for the string table. Hope this is the correct way. Not sure how to produce a small test for this. |
||
---|---|---|
.. | ||
testdata | ||
elf.go |