Thses are the expected methods needed by any implemented operand
object attached to an envi Opcode. This does *not* have a constructor of
it's pwn on purpose to cut down on memory use and constructor CPU
cost.
|
|
|
|
|
getOperAddr(self,
op,
emu)
If the operand is a "dereference" operand, this method should use the
specified op/emu to resolve the address of the dereference. |
source code
|
|
|
|
|
isDeref(self)
If the given operand will dereference memory, this method must return
True. |
source code
|
|
|
isImmed(self)
If the given operand represents an immediate value, this must return
True. |
source code
|
|
|
isReg(self)
If the given operand represents a register value, this must return
True. |
source code
|
|
|
render(self,
mcanv,
op,
idx)
Used by the opcode class when rendering to a memory canvas. |
source code
|
|
|
repr(self,
op)
Used by the Opcode class to get a humon readable string for this
operand. |
source code
|
|
|
|