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. |
Class Variable Summary | |
---|---|
NoneType |
analysis = None |
NoneType |
basic_block = None |
list |
bytes = []
|
str |
comment = ''
|
NoneType |
disasm = None |
NoneType |
ea = None |
dict |
ext = {}
|
dict |
FLAGGED_OPCODES = {'jns': 4096, 'rol': 327680, 'lsl': 13...
|
NoneType |
mnem = None |
NoneType |
op1 = None |
NoneType |
op2 = None |
NoneType |
op3 = None |
NoneType |
refs_api = None |
NoneType |
refs_arg = None |
NoneType |
refs_constant = None |
NoneType |
refs_string = None |
NoneType |
refs_var = None |
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.
|
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
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Thu Sep 14 10:39:50 2006 | http://epydoc.sf.net |