1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/science/sigrok-firmware-utils/files
..
parseelf.py
parsepe.py
README.parsepe
sigrok-fwextract-hantek-dso
sigrok-fwextract-hantek-dso.1
sigrok-fwextract-saleae-logic16
sigrok-fwextract-saleae-logic16.1
sigrok-fwextract-sysclk-lwla
sigrok-fwextract-sysclk-lwla.1

The parsepe.py tool can list all sections and symbols from a PE (portable
executable) binary file, and extract the contents of a symbol.

usage:
parsepe.py -l <filename>                list all sections and symbols in file
parsepe.py -s <symbol> -x <filename>    extract symbol from file

TODO:
- currently only handles COFF symbol tables
- can only extract external (global) symbols