Trees | Index | Help |
|
---|
Package pida :: Module instruction :: Class instruction |
|
Method Summary | |
---|---|
Analyze the instruction at ea. | |
Integer |
Determine if one instruction can affect flags used by the other instruction. |
String |
A GetDisasm() wrapper that strips comments and extraneous whitespace. |
Mixed |
If the specified instruction references a string, get and return the contents of that string. |
Boolean |
Check if the instruction is a conditional branch. |
Boolean |
Indicates if the given register is modified by this instruction. |
Mixed |
Return the stack offset of the argument referenced, if any, by the instruction. |
Mixed |
Return the constant value, if any, reference by the instruction. |
Mixed |
Return the stack offset of the local variable referenced, if any, by the instruction. |
Method Details |
---|
__init__(self,
ea,
analysis=0,
basic_block=None)
Analyze the instruction at ea.
|
flag_dependency(first_instruction, second_instruction)Determine if one instruction can affect flags used by the other instruction.
|
get_disasm(self, ea)A GetDisasm() wrapper that strips comments and extraneous whitespace.
|
get_string_reference(self, ea)If the specified instruction references a string, get and return the contents of that string. Currently supports:
|
is_conditional_branch(self)Check if the instruction is a conditional branch. (x86 specific)
|
overwrites_register(self, register)Indicates if the given register is modified by this instruction. This does not check for all modifications, just lea, mov and pop into the specific register.
|
_get_arg_ref(self)Return the stack offset of the argument referenced, if any, by the instruction.
|
_get_constant_ref(self, opnum=0)Return the constant value, if any, reference by the instruction.
|
_get_var_ref(self)Return the stack offset of the local variable referenced, if any, by the instruction.
|
Class Variable Details |
---|
analysis
|
basic_block
|
bytes
|
comment
|
disasm
|
ea
|
ext
|
FLAGGED_OPCODES
|
mnem
|
op1
|
op2
|
op3
|
refs_api
|
refs_arg
|
refs_constant
|
refs_string
|
refs_var
|
_instruction__SET_ALL
|
_instruction__SET_CARRY
|
_instruction__SET_DIR
|
_instruction__SET_MASK
|
_instruction__SET_NCARRY
|
_instruction__SET_NDIR
|
_instruction__SET_NOFLOW
|
_instruction__SET_NPARITY
|
_instruction__SET_NSIGN
|
_instruction__SET_NZERO
|
_instruction__SET_OFLOW
|
_instruction__SET_PARITY
|
_instruction__SET_SFEQOF
|
_instruction__SET_SFNEOF
|
_instruction__SET_SIGN
|
_instruction__SET_ZERO
|
_instruction__TEST_ALL
|
_instruction__TEST_CARRY
|
_instruction__TEST_DIR
|
_instruction__TEST_MASK
|
_instruction__TEST_NCARRY
|
_instruction__TEST_NDIR
|
_instruction__TEST_NOFLOW
|
_instruction__TEST_NPARITY
|
_instruction__TEST_NSIGN
|
_instruction__TEST_NZERO
|
_instruction__TEST_OFLOW
|
_instruction__TEST_PARITY
|
_instruction__TEST_SFEQOF
|
_instruction__TEST_SFNEOF
|
_instruction__TEST_SIGN
|
_instruction__TEST_ZERO
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Thu Sep 14 10:39:50 2006 | http://epydoc.sf.net |