MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / parse

Method parse

ghidra_scripts/gimport/extract_info.py:133–145  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

131 self.labels: Dict[int, str] = dict()
132
133 def parse(self) -> ExtractedInfo:
134 self.symbols = read_symbol_addresses()
135 self.prepass_create_types()
136 self.process_dies()
137 self.postprocess_cleanup()
138
139 result = ExtractedInfo()
140 for offset, type in self.offset_to_type.items():
141 if isinstance(type, GStructType):
142 result.structs.append(type)
143 result.globals.extend(self.globals)
144 result.labels = self.labels.copy()
145 return result
146
147 def parse_type_from_die(self, die: DIEV1) -> GType:
148 def modify(type: GType, modifiers: List[int]) -> GType:

Callers 3

extract_infoFunction · 0.95
create_array_typeFunction · 0.45
parse_memberMethod · 0.45

Calls 5

prepass_create_typesMethod · 0.95
process_diesMethod · 0.95
postprocess_cleanupMethod · 0.95
read_symbol_addressesFunction · 0.85
ExtractedInfoClass · 0.85

Tested by

no test coverage detected