Skip to content

Python tool to read ELF format, more hackable than GNU's readelf

License

Notifications You must be signed in to change notification settings

Leedehai/readelf-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

readelf-python

Python tool to read ELF format, more hackable than GNU's readelf.

ELF: Executable and Linkable Format, the usual format of Unix/Linux's binaries.

Originated from my pull request to @detailyang's readelf.

Options:

usage: readelf.py [-h] [-v] [-eh] [-ph] [-sh] [-it] [-st] [-ds] [-a] file

positional arguments:
  file                  path to the ELF file

optional arguments:
  -h, --help            show this help message and exit
  -v, --version         version info
  -eh, --elf-header     print ELF header
  -ph, --program-header
                        print program headers
  -sh, --section-header
                        print section headers
  -it, --interp         print interp, i.e. the dynamic loader (itself a shared
                        binary)
  -st, --symbol-table   print symbol table
  -ds, --dynamic-section
                        print dynamic section
  -a, --all             print all (default)

More on ELF:

readelf-color

This is a simple colorizer mounted to the real (GNU's) readelf, like this: readelf ... | readelf-color

EOF

About

Python tool to read ELF format, more hackable than GNU's readelf

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages