Skip to content

About static analysis of 64-bit binaries #2

@sikoushixinyou

Description

@sikoushixinyou

Hi!Thanks for taking the time to look at my issues.
About static.py,whether it can only analyze 32-bit binary files, but not 64-bit binary?
When I use it to analyze 64-bit binaries(eg.df,ls), python reports the following error:
Traceback (most recent call last):
File "static.py", line 7692, in
main()
File "static.py", line 7604, in main
readelf_sections_info()
File "static.py", line 6878, in readelf_sections_info
info.sectionsinfo.append([restline1[0], restline1[1], int(restline1[2], 16), int(restline1[3], 16), int(restline1[4], 16)])
IndexError: list index out of range

Is it possible to modify the code(static.py) so that it can analyze 64-bit binary, and is it very difficult to complete this work?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions