memtab.parsers.readelf module

ReadElf parser module for memtab.

This module provides parsing functionality for the output of the ‘readelf’ command, which displays information about ELF files.

class memtab.parsers.readelf.ReadElfSectionParser(file, gcc_prefix, cache=False, cache_dir=None)

Bases: MemtabGnuBinUtilsParser

Parser for the output of the ‘readelf’ command.

This class parses the output of the ‘readelf’ command to extract section information from ELF files.

args = ['-SW']
command = 'readelf'
parse_output_into_results()

Parse the readelf output and populate the sections lists.

Return type:

None