Elf

The executable and link format used on many linux systems.

Reference

ELF file format module

ppci.format.elf.read_elf(f)

Read an ELF file

ppci.format.elf.write_elf(obj, f, type='executable')

Save object as an ELF file.

You can specify the type of ELF file with the type argument: - ‘executable’ - ‘relocatable’

class ppci.format.elf.ElfFile(bits=64, endianness=<Endianness.LITTLE: 1>)

This class can load and save a elf file.

get_str(offset)

Get a string indicated by numeric value