RetroWrite does not disassemble certain functions
especially when their symbol visibilities are 'STV_HIDDEN.'
Moreover, the omission causes recompilation errors.
I examined source code, and found the following code that filters out hidden functions.
|
for symbol in section.iter_symbols(): |
|
if symbol['st_other']['visibility'] == "STV_HIDDEN": |
|
continue |
I think the above code should be removed to fix the bug.
Thank you.
Test Environment.
- Platform: Ubuntu 18.04, x86-64
- Compiler: gcc-7
- Target binary: binutils-2.31.1/objcopy
RetroWrite does not disassemble certain functions
especially when their symbol visibilities are 'STV_HIDDEN.'
Moreover, the omission causes recompilation errors.
I examined source code, and found the following code that filters out hidden functions.
retrowrite/librw_x64/loader.py
Lines 202 to 204 in 120e738
I think the above code should be removed to fix the bug.
Thank you.
Test Environment.