contains classes that allows to extract different information from binary files ( .map, .dll, .so ) and integrate it with existing declarations tree
The main function of this package is pygccxml.binary_parsers.parsers.merge_information().
defines few simple classes( parsers ), which deals with .dll, .map, .so files.
Those classes extract decoratedmangled names from the files. Later the extracted symbols are used for:
- building “dynamic library” public interface
- extracting function calling convention
Bases: pygccxml.binary_parsers.parsers.formated_mapping_parser_t
parser for Windows .dll file
Bases: pygccxml.binary_parsers.parsers.libparser_t
convenience class, which formats existing declarations
Bases: object
base class for .dll, .map, .so parser classes
global_ns - reference to global namespace binary_file - s
loads public( shared ) symbols from the binary file.
This method should be overridden in the derived classes.
extracts and merges information from the symbol to the declarations tree.
This method should be overridden in the derived classes.
the main method of the class
loads information from the binary file and merges it into the declarations tree.
The return value of the function is dictionary, where the key is decorated/mangled declaration name and the value is a declaration.
Bases: pygccxml.binary_parsers.parsers.formated_mapping_parser_t
parser for MSVC .map file
Bases: pygccxml.binary_parsers.parsers.formated_mapping_parser_t
parser for Linux .so file