Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 734 Bytes

README.md

File metadata and controls

18 lines (11 loc) · 734 Bytes

ELFManip

This was used as part of a larger project that needed the ability to add sections/segments to ELF executbles. With that being said, it was built with a very specific usecase in mind and thus exposes limited functionality.

This is not intended to replace objcopy. Instead, it provides additional features.

Check the examples folder for a few simple examples.

Limitations

  • Known to work for most 32- and 64-bit ELF executables.
  • Cannot add a segment without adding a corresponding section (one-to-one, see example).
  • Requires section headers to be present and be ordered by address. This can be eliminated with some engineering.

Installation

python setup.py install