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

Method op_range

uncompyle6/scanner.py:523–530  ·  view source on GitHub ↗

Iterate through positions of opcodes, skipping arguments.

(self, start, end)

Source from the content-addressed store, hash-verified

521 return self.opc.opname[op]
522
523 def op_range(self, start, end):
524 """
525 Iterate through positions of opcodes, skipping
526 arguments.
527 """
528 while start < end:
529 yield start
530 start += instruction_size(self.code[start], self.opc)
531
532 def remove_extended_args(self, instructions):
533 """Go through instructions removing extended ARG.

Callers 14

build_prev_opMethod · 0.95
first_instrMethod · 0.95
last_instrMethod · 0.95
all_instrMethod · 0.95
next_except_jumpMethod · 0.80
ingestMethod · 0.80
next_except_jumpMethod · 0.80
ingestMethod · 0.80
next_except_jumpMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected