memtab.parsers.nm module¶
NM parser module for memtab.
This module provides parsing functionality for the output of the ‘nm’ command, which lists symbols from object files.
- class memtab.parsers.nm.NmParser(file, gcc_prefix, cache=False, cache_dir=None)¶
Bases:
MemtabGnuBinUtilsParserParser for the output of the ‘nm’ command.
This class parses the output of the ‘nm’ command to extract symbol information such as address, size, type, and name.
- args = ['-SlC']¶
- command = 'nm'¶
- parse_output_into_results()¶
Parse the nm output and populate the symbols list.
- Return type:
None