MCPcopy
hub / github.com/rocky/python-uncompyle6 / ingest

Method ingest

uncompyle6/scanner.py:298–302  ·  view source on GitHub ↗

Code to tokenize disassembly. Subclasses must implement this.

(self, co, classname=None, code_objects={}, show_asm=None)

Source from the content-addressed store, hash-verified

296 return offset < self.get_target(offset)
297
298 def ingest(self, co, classname=None, code_objects={}, show_asm=None):
299 """
300 Code to tokenize disassembly. Subclasses must implement this.
301 """
302 raise NotImplementedError("This method should have been implemented")
303
304 def prev_offset(self, offset: int) -> int:
305 return self.insts[self.offset2inst_index[offset] - 1].offset

Callers 4

python_parserFunction · 0.45
cmp_code_objectsFunction · 0.45
__init__Method · 0.45
scanner.pyFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected