Trees | Index | Help |
|
---|
Module gml :: Class gml_node |
|
Method Summary | |
---|---|
Set the default attributes for the newly created node. | |
Run a few basic tests to ensure the class is working. | |
DWORD |
Get the block address for the node. |
DWORD |
Get the address of the function the node belongs to. |
HTML RGB string (ex: #CCFFCC) |
Get the fill color of the node from the graphics sub-header. |
Float |
Get the height of the node from the graphics sub-header. |
HTML RGB string (ex: #CCFFCC) |
Get the fill color of this line from the graphics sub-header. |
Float |
Get the width of the border line for the node from the graphics sub-header. |
String |
Get the pattern type for the node from the graphics sub-header. |
Integer |
Get the stipple value for the node from the graphics sub-header. |
String |
Get the shape for the node from the graphics sub-header. |
Float |
Get the width of the node from the graphics sub-header. |
Integer |
Get the shape width value for the node from the graphics sub-header. |
Integer |
Get the identifier for the node. |
String |
Get the label (disassembly) of the node. |
String |
Get the label (disassembly) of the node with all HTML entities stripped. |
String |
Get the name (if any) of the node. |
Tuple |
Get the values associated with the specified register for this node. |
String |
Get the template for the node. |
Integer |
Get the unique identifier for the node. |
String |
Render a node description suitable for use in a GML file using the set internal attributes. |
Set the block address for the node. | |
Set the address of the function the node belongs to. | |
Set the fill color of the node in the graphics sub-header. | |
Set the height of the node in the graphics sub-header. | |
Set the fill color of this line in the graphics sub-header. | |
Set the width of the border line for the node in the graphics sub-header. | |
Set the pattern type for the node in the graphics sub-header. | |
Set the stipple value for the node in the graphics sub-header. | |
Set the shape for the node in the graphics sub-header. | |
Set the width of the node in the graphics sub-header. | |
Set the shape width value for the node in the graphics sub-header. | |
Set the identifier for the node. | |
Set the label (disassembly) of the node. | |
Set the name of the node. | |
Set a register value for this node. | |
Set the template for the node. | |
Set the unique identifier for the node. |
Method Details |
---|
__init__(self)
Set the default attributes for the newly created node. See the
source if you want to modify the default creation values.
|
__module_test__(self)Run a few basic tests to ensure the class is working. |
get_block(self)Get the block address for the node.
|
get_function(self)Get the address of the function the node belongs to.
|
get_g_fill(self)Get the fill color of the node from the graphics sub-header.
|
get_g_height(self)Get the height of the node from the graphics sub-header.
|
get_g_line_fill(self)Get the fill color of this line from the graphics sub-header.
|
get_g_line_width(self)Get the width of the border line for the node from the graphics sub-header.
|
get_g_pattern(self)Get the pattern type for the node from the graphics sub-header.
|
get_g_stipple(self)Get the stipple value for the node from the graphics sub-header.
|
get_g_type(self)Get the shape for the node from the graphics sub-header. For the purposes of Process Stalker this value will be "rectangle".
|
get_g_width(self)Get the width of the node from the graphics sub-header.
|
get_g_width_shape(self)Get the shape width value for the node from the graphics sub-header. I'm actually unsure as to what exactly this attribute affects. For the purposes of Process Stalker this value will always be 1.
|
get_id(self)Get the identifier for the node. This identifier can *not* be assumed to be unique. See get_uid().
|
get_label(self)Get the label (disassembly) of the node.
|
get_label_stripped(self)Get the label (disassembly) of the node with all HTML entities stripped.
|
get_name(self)Get the name (if any) of the node.
|
get_register(self, register)Get the values associated with the specified register for this node. Values are returned in the following list:(value, single_location, single_data, double_location, double_data)
|
get_template(self)Get the template for the node. For the purposes of Process Stalker this value will always be "oreas:std:rect".
|
get_uid(self)Get the unique identifier for the node. The ID member variable stores the original value from the GML file. The purpose of the UID is to uniquely identify the node among a list of loaded nodes that may potentially have overlapping IDs. The parser class will automatically assign an incremented value.
|
render(self)Render a node description suitable for use in a GML file using the set internal attributes.
|
set_block(self, address)Set the block address for the node.
|
set_function(self, address)Set the address of the function the node belongs to.
|
set_g_fill(self, color)Set the fill color of the node in the graphics sub-header.
|
set_g_height(self, pixels)Set the height of the node in the graphics sub-header.
|
set_g_line_fill(self, color)Set the fill color of this line in the graphics sub-header.
|
set_g_line_width(self, pixels)Set the width of the border line for the node in the graphics sub-header.
|
set_g_pattern(self, pattern)Set the pattern type for the node in the graphics sub-header.
|
set_g_stipple(self, stipple)Set the stipple value for the node in the graphics sub-header.
|
set_g_type(self, type)Set the shape for the node in the graphics sub-header. For the purposes of Process Stalker this value will be "rectangle".
|
set_g_width(self, pixels)Set the width of the node in the graphics sub-header.
|
set_g_width_shape(self, pixels)Set the shape width value for the node in the graphics sub-header. I'm actually unsure as to what exactly this attribute affects. For the purposes of Process Stalker this value will always be 1.
|
set_id(self, id)Set the identifier for the node. This identifier can *not* be assumed to be unique. See set_uid().
|
set_label(self, data)Set the label (disassembly) of the node.
|
set_name(self, name)Set the name of the node.
|
set_register(self, register, value, single_location='', single_data='', double_location='', double_data='')Set a register value for this node.
|
set_template(self, template)Set the template for the node. For the purposes of Process Stalker this value will always be "oreas:std:rect".
|
set_uid(self, uid)Set the unique identifier for the node. The ID member variable stores the original value from the GML file. The purpose of the UID is to uniquely identify the node among a list of loaded nodes that may potentially have overlapping IDs. The parser class will automatically assign an incremented value.
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Tue Jul 05 12:05:31 2005 | http://epydoc.sf.net |