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

Method parse

ghidra_scripts/gimport/dwarf.py:186–192  ·  view source on GitHub ↗
(self, data: List[int], index: int)

Source from the content-addressed store, hash-verified

184 self.atoms: List[DwarfLocationAtom] = []
185
186 def parse(self, data: List[int], index: int) -> int:
187 while index < len(data):
188 op = data[index]
189 index += 1
190 value = int.from_bytes(data[index:index+4], byteorder='big')
191 self.atoms.append(DwarfLocationAtom(op, value))
192 index += 4
193
194 def __str__(self):
195 parts = []

Callers 2

Calls 1

DwarfLocationAtomClass · 0.85

Tested by

no test coverage detected