|
__init__(self,
start,
end)
Basic Block class
|
|
setFunction(self,
function)
|
|
getFunction(self)
|
|
setCalls(self,
calls)
|
|
getCalls(self)
|
|
__cmp__(self,
other)
Comparision by the start address of the BB
|
|
setStart(self,
address)
Change the start of a Basic Block
|
|
addTrueEdge(self,
addr)
|
|
addFalseEdge(self,
addr)
|
|
getEdges(self)
|
DWORD
|
getTrueEdge(self)
Get the 'true' Edge
|
DWORD
|
getFalseEdge(self)
Get the 'false' Edge
|
TUPLE of DWORD
|
getDirectEdge(self)
Get the Edges of a Basic Block
|
DWORD
|
getSize(self)
Return the Size of the Basic Block
|
|
setEnd(self,
address)
Change the end of a Basic Block
|
TUPLE OF DWORD
|
getLimits(self)
Get the limits of the basic block
|
DWORD
|
getStart(self)
Get the begging of a Basic Block
|
DWORD
|
getEnd(self)
Get the End of a Basic Block
|
LIST of opCode OBJECT
|
getInstructions(self,
imm)
Get the disassembled instructions from a Basic Block
|
BOOLEAN
|
isXref(self)
Check if a Basic Block was created from an XREF
|
BOOLEAN
|
isConditionalJmp(self)
Check if a Basic Block was created from a Conditional Jump
instruction
|
BOOLEAN
|
isJmp(self)
Check if a Basic Block was created from a Jump instruction
|
BOOLEAN
|
isRet(self)
Check if a Basic Block was created from a RET instruction
|