Iterator for stepping through bytecode
Methods
|
|
__init__
__iter__
arg
go
next
setMask
write
|
|
__init__
|
__init__ (
self,
code,
startAt=0,
findOps=None,
)
Iterator for code , starting at startAt , finding findOps
|
|
__iter__
|
__iter__ ( self )
|
|
arg
|
arg ( self )
Argument value of current opcode, accessed as a property
|
|
go
|
go ( self, offset )
Go to offset in the code, returning the next matching opcode
|
|
next
|
next ( self )
Return the next matching opcode or raise StopIteration
|
|
setMask
|
setMask ( self, findOps=None )
Set the list of opcodes this iterator will iterate over
|
|
write
|
write (
self,
op,
arg=None,
sameSize=1,
)
Write op (w/optional arg ) at current position
|
|