tracex_parser.file_parser.parse_tracex_buffer

tracex_parser.file_parser.parse_tracex_buffer(filepath, custom_events_map=None)

Parse a TraceX binary dump (canonically .trx) into a list of TraceXEvent classes :param filepath: Path to where the TraceX file is :param custom_events_map: Dictionary of {id: TraceXEvents} to map custom events (id >= 4096) into human-readable events. :return: List of TraceX events

Parameters:
Return type:

Tuple[List[TraceXEvent], Dict[int, CStruct]]