Skip to content

[BUG] RetroWrite does not disassemble a set of functions #35

@miksh

Description

@miksh

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.

  1. Platform: Ubuntu 18.04, x86-64
  2. Compiler: gcc-7
  3. Target binary: binutils-2.31.1/objcopy

Metadata

Metadata

Assignees

No one assigned

    Labels

    analysis-neededThis issue needs analysis and possible research to solve.bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions