Trees | Index | Help |
|
---|
Package pida :: Module function :: Class function |
|
object
--+ |graph
--+ |object
--+ | | |node
--+ | function
Method Summary | |
---|---|
Analyze all the function chunks associated with the function starting at ea_start. | |
Calculate the total size of arguments, # of arguments and # of local variables. | |
Enumerate the basic block boundaries for the current function and store them in a graph structure. | |
Generate and return the list of function chunks (including the main one) for the current function. | |
pida.basic_block |
Locate and return the basic block that contains the specified address. |
String |
Overload the default node.render_node_gml() routine to create a custom label. |
pydot.Node() |
Overload the default node.render_node_graphviz() routine to create a custom label. |
String |
Overload the default node.render_node_udraw() routine to create a custom label. |
String |
Overload the default node.render_node_udraw_update() routine to create a custom label. |
Inherited from graph | |
Add a pgraph cluster to the graph. | |
Add a pgraph edge to the graph. | |
Alias of graph_cat(). | |
Add a pgraph node to the graph. | |
Remove a cluster from the graph. | |
Remove an edge from the graph. | |
Alias of graph_sub(). | |
Remove a node from the graph. | |
List |
Enumerate the edges from the specified node. |
List |
Enumerate the edges to the specified node. |
Mixed |
Find and return the cluster with the specified attribute / value pair. |
Mixed |
Find and return the cluster that contains the node with the specified attribute / value pair. |
Mixed |
Find and return the edge with the specified attribute / value pair. |
Mixed |
Find and return the node with the specified attribute / value pair. |
Concatenate the other graph into the current one. | |
pgraph.graph |
Create a new graph, looking down, from the specified node id to the specified depth. |
Remove all elements from the current graph that do not exist in the other graph. | |
pgraph.graph |
Create a proximity graph centered around the specified node. |
Remove the elements shared between the current graph and other graph from the current graph. | |
pgraph.graph |
Create a new graph, looking up, from the specified node id to the specified depth. |
String |
Render the GML graph description. |
pydot.Dot |
Render the graphviz graph structure. |
String |
Render the uDraw graph description. |
String |
Render the uDraw graph update description. |
List |
Return a list of the nodes within the graph, sorted by id. |
Simply updating the id attribute of a node will sever the edges to / from the given node. | |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Class Variable Summary | |
---|---|
NoneType |
analysis = None |
int |
arg_size = 0 |
dict |
args = {}
|
list |
chunks = []
|
NoneType |
depth = None |
NoneType |
ea_end = None |
NoneType |
ea_start = None |
dict |
ext = {}
|
NoneType |
flags = None |
int |
frame_size = 0 |
NoneType |
id = None |
bool |
is_import = False
|
int |
local_var_size = 0 |
dict |
local_vars = {}
|
NoneType |
module = None |
NoneType |
name = None |
int |
num_args = 0 |
int |
num_instructions = 0 |
int |
num_local_vars = 0 |
dict |
outbound_eas = {}
|
int |
ret_size = 0 |
NoneType |
rpc_opcode = None |
NoneType |
rpc_uuid = None |
int |
saved_reg_size = 0 |
Inherited from graph | |
list |
clusters = []
|
dict |
edges = {}
|
dict |
nodes = {}
|
Inherited from node | |
int |
border_color = 15658734 |
int |
color = 15661055 |
float |
gml_height = 0.0 |
float |
gml_line_width = 1.0 |
str |
gml_pattern = '1'
|
int |
gml_stipple = 1 |
str |
gml_type = 'rectangle'
|
float |
gml_width = 0.0 |
float |
gml_width_shape = 1.0 |
str |
label = ''
|
int |
number = 0 |
str |
shape = 'box'
|
Method Details |
---|
__init__(self,
ea_start,
depth=7,
analysis=0,
module=None)
Analyze all the function chunks associated with the function
starting at ea_start. self.fill(ea_start).
|
__init_args_and_local_vars__(self)Calculate the total size of arguments, # of arguments and # of local variables. Update the internal class member variables appropriately. |
__init_basic_blocks__(self)Enumerate the basic block boundaries for the current function and store them in a graph structure. |
__init_collect_function_chunks__(self)Generate and return the list of function chunks (including the main one) for the current function. Ripped from idb2reml (Ero Carerra). @rtype List
|
find_basic_block(self, ea)Locate and return the basic block that contains the specified address.
|
render_node_gml(self, graph)Overload the default node.render_node_gml() routine to create a custom label. Pass control to the default node renderer and then return the merged content.
|
render_node_graphviz(self, graph)Overload the default node.render_node_graphviz() routine to create a custom label. Pass control to the default node renderer and then return the merged content.
|
render_node_udraw(self, graph)Overload the default node.render_node_udraw() routine to create a custom label. Pass control to the default node renderer and then return the merged content.
|
render_node_udraw_update(self)Overload the default node.render_node_udraw_update() routine to create a custom label. Pass control to the default node renderer and then return the merged content.
|
Class Variable Details |
---|
analysis
|
arg_size
|
args
|
chunks
|
depth
|
ea_end
|
ea_start
|
ext
|
flags
|
frame_size
|
id
|
is_import
|
local_var_size
|
local_vars
|
module
|
name
|
num_args
|
num_instructions
|
num_local_vars
|
outbound_eas
|
ret_size
|
rpc_opcode
|
rpc_uuid
|
saved_reg_size
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Thu Sep 14 10:39:50 2006 | http://epydoc.sf.net |