IDAPython 9.0
|
Proxy of C++ netnode class.
Public Member Functions | |
__init__ (self, *args) | |
init(self, num=nodeidx_t(-1)) -> netnode | |
"bool" | create (self, *args) |
create(self, _name, namlen=0) -> bool Create unnamed netnode. | |
"void" | kill (self) |
kill(self) Delete a netnode with all information attached to it. | |
"ssize_t" | get_name (self) |
get_name(self) -> ssize_t Get the netnode name. | |
"bool" | rename (self, "char const *" newname, "size_t" namlen=0) |
rename(self, newname, namlen=0) -> bool Rename a netnode. | |
"ssize_t" | valobj (self, *args) |
valobj(self) -> ssize_t Get value of netnode. | |
"ssize_t" | valstr (self) |
valstr(self) -> ssize_t | |
"bool" | set (self, "void const *" value) |
set(self, value) -> bool Set value of netnode. | |
"bool" | delvalue (self) |
delvalue(self) -> bool Delete value of netnode. | |
"bool" | set_long (self, "nodeidx_t" x) |
set_long(self, x) -> bool Value of netnode as a long number: | |
"bool" | value_exists (self) |
value_exists(self) -> bool | |
"nodeidx_t" | long_value (self) |
long_value(self) -> nodeidx_t | |
"nodeidx_t" | altval (self, *args) |
altval(self, alt, tag=atag) -> nodeidx_t Get altval element of the specified array. | |
"nodeidx_t" | altval_ea (self, *args) |
altval_ea(self, ea, tag=atag) -> nodeidx_t | |
"bool" | altset (self, *args) |
altset(self, alt, value, tag=atag) -> bool Set value of altval array. | |
"bool" | altset_ea (self, *args) |
altset_ea(self, ea, value, tag=atag) -> bool | |
"bool" | altdel_ea (self, *args) |
altdel_ea(self, ea, tag=atag) -> bool | |
"bool" | easet (self, "ea_t" ea, "ea_t" addr, "uchar" tag) |
easet(self, ea, addr, tag) -> bool Store/retrieve/delete an address value in the netnode that corresponds to an address. | |
"ea_t" | eaget (self, "ea_t" ea, "uchar" tag) |
eaget(self, ea, tag) -> ea_t | |
"bool" | eadel (self, "ea_t" ea, "uchar" tag) |
eadel(self, ea, tag) -> bool | |
"bool" | easet_idx (self, "nodeidx_t" idx, "ea_t" addr, "uchar" tag) |
easet_idx(self, idx, addr, tag) -> bool | |
"ea_t" | eaget_idx (self, "nodeidx_t" idx, "uchar" tag) |
eaget_idx(self, idx, tag) -> ea_t | |
"bool" | easet_idx8 (self, "uchar" idx, "ea_t" addr, "uchar" tag) |
easet_idx8(self, idx, addr, tag) -> bool | |
"ea_t" | eaget_idx8 (self, "uchar" idx, "uchar" tag) |
eaget_idx8(self, idx, tag) -> ea_t | |
"bool" | eadel_idx8 (self, "uchar" idx, "uchar" tag) |
eadel_idx8(self, idx, tag) -> bool | |
"nodeidx_t" | altfirst (self, *args) |
altfirst(self, tag=atag) -> nodeidx_t Get first existing element of altval array. | |
"nodeidx_t" | altnext (self, *args) |
altnext(self, cur, tag=atag) -> nodeidx_t Get next existing element of altval array. | |
"nodeidx_t" | altlast (self, *args) |
altlast(self, tag=atag) -> nodeidx_t Get last element of altval array. | |
"nodeidx_t" | altprev (self, *args) |
altprev(self, cur, tag=atag) -> nodeidx_t Get previous existing element of altval array. | |
"size_t" | altshift (self, *args) |
altshift(self, _from, to, size, tag=atag) -> size_t Shift the altval array elements. | |
"uchar" | charval (self, "nodeidx_t" alt, "uchar" tag) |
charval(self, alt, tag) -> uchar | |
"bool" | charset (self, "nodeidx_t" alt, "uchar" val, "uchar" tag) |
charset(self, alt, val, tag) -> bool | |
"bool" | chardel (self, "nodeidx_t" alt, "uchar" tag) |
chardel(self, alt, tag) -> bool | |
"uchar" | charval_ea (self, "ea_t" ea, "uchar" tag) |
charval_ea(self, ea, tag) -> uchar | |
"bool" | charset_ea (self, "ea_t" ea, "uchar" val, "uchar" tag) |
charset_ea(self, ea, val, tag) -> bool | |
"bool" | chardel_ea (self, "ea_t" ea, "uchar" tag) |
chardel_ea(self, ea, tag) -> bool | |
"nodeidx_t" | charfirst (self, "uchar" tag) |
charfirst(self, tag) -> nodeidx_t | |
"nodeidx_t" | charnext (self, "nodeidx_t" cur, "uchar" tag) |
charnext(self, cur, tag) -> nodeidx_t | |
"nodeidx_t" | charlast (self, "uchar" tag) |
charlast(self, tag) -> nodeidx_t | |
"nodeidx_t" | charprev (self, "nodeidx_t" cur, "uchar" tag) |
charprev(self, cur, tag) -> nodeidx_t | |
"size_t" | charshift (self, "nodeidx_t" _from, "nodeidx_t" to, "nodeidx_t" size, "uchar" tag) |
charshift(self, _from, to, size, tag) -> size_t | |
"nodeidx_t" | altval_idx8 (self, "uchar" alt, "uchar" tag) |
altval_idx8(self, alt, tag) -> nodeidx_t | |
"bool" | altset_idx8 (self, "uchar" alt, "nodeidx_t" val, "uchar" tag) |
altset_idx8(self, alt, val, tag) -> bool | |
"bool" | altdel_idx8 (self, "uchar" alt, "uchar" tag) |
altdel_idx8(self, alt, tag) -> bool | |
"nodeidx_t" | altfirst_idx8 (self, "uchar" tag) |
altfirst_idx8(self, tag) -> nodeidx_t | |
"nodeidx_t" | altnext_idx8 (self, "uchar" cur, "uchar" tag) |
altnext_idx8(self, cur, tag) -> nodeidx_t | |
"nodeidx_t" | altlast_idx8 (self, "uchar" tag) |
altlast_idx8(self, tag) -> nodeidx_t | |
"nodeidx_t" | altprev_idx8 (self, "uchar" cur, "uchar" tag) |
altprev_idx8(self, cur, tag) -> nodeidx_t | |
"uchar" | charval_idx8 (self, "uchar" alt, "uchar" tag) |
charval_idx8(self, alt, tag) -> uchar | |
"bool" | charset_idx8 (self, "uchar" alt, "uchar" val, "uchar" tag) |
charset_idx8(self, alt, val, tag) -> bool | |
"bool" | chardel_idx8 (self, "uchar" alt, "uchar" tag) |
chardel_idx8(self, alt, tag) -> bool | |
"nodeidx_t" | charfirst_idx8 (self, "uchar" tag) |
charfirst_idx8(self, tag) -> nodeidx_t | |
"nodeidx_t" | charnext_idx8 (self, "uchar" cur, "uchar" tag) |
charnext_idx8(self, cur, tag) -> nodeidx_t | |
"nodeidx_t" | charlast_idx8 (self, "uchar" tag) |
charlast_idx8(self, tag) -> nodeidx_t | |
"nodeidx_t" | charprev_idx8 (self, "uchar" cur, "uchar" tag) |
charprev_idx8(self, cur, tag) -> nodeidx_t | |
"bool" | altdel (self, *args) |
altdel(self, alt, tag=atag) -> bool Delete all elements of altval array. | |
"bool" | altdel_all (self, *args) |
altdel_all(self, tag=atag) -> bool Delete all elements of the specified altval array. | |
"ssize_t" | supval (self, *args) |
supval(self, alt, tag=stag) -> ssize_t Get value of the specified supval array element. | |
"ssize_t" | supval_ea (self, *args) |
supval_ea(self, ea, tag=stag) -> ssize_t | |
"ssize_t" | supstr (self, *args) |
supstr(self, alt, tag=stag) -> ssize_t | |
"ssize_t" | supstr_ea (self, *args) |
supstr_ea(self, ea, tag=stag) -> ssize_t | |
"bool" | supdel_ea (self, *args) |
supdel_ea(self, ea, tag=stag) -> bool | |
"nodeidx_t" | lower_bound (self, *args) |
lower_bound(self, cur, tag=stag) -> nodeidx_t Get lower bound of existing elements of supval array. | |
"nodeidx_t" | lower_bound_ea (self, *args) |
lower_bound_ea(self, ea, tag=stag) -> nodeidx_t | |
"nodeidx_t" | supfirst (self, *args) |
supfirst(self, tag=stag) -> nodeidx_t Get first existing element of supval array. | |
"nodeidx_t" | supnext (self, *args) |
supnext(self, cur, tag=stag) -> nodeidx_t Get next existing element of supval array. | |
"nodeidx_t" | suplast (self, *args) |
suplast(self, tag=stag) -> nodeidx_t Get last existing element of supval array. | |
"nodeidx_t" | supprev (self, *args) |
supprev(self, cur, tag=stag) -> nodeidx_t Get previous existing element of supval array. | |
"size_t" | supshift (self, *args) |
supshift(self, _from, to, size, tag=stag) -> size_t Shift the supval array elements. | |
"ssize_t" | supval_idx8 (self, *args) |
supval_idx8(self, alt, tag) -> ssize_t | |
"ssize_t" | supstr_idx8 (self, "uchar" alt, "uchar" tag) |
supstr_idx8(self, alt, tag) -> ssize_t | |
"bool" | supset_idx8 (self, "uchar" alt, "void const *" value, "uchar" tag) |
supset_idx8(self, alt, value, tag) -> bool | |
"bool" | supdel_idx8 (self, "uchar" alt, "uchar" tag) |
supdel_idx8(self, alt, tag) -> bool | |
"nodeidx_t" | lower_bound_idx8 (self, "uchar" alt, "uchar" tag) |
lower_bound_idx8(self, alt, tag) -> nodeidx_t | |
"nodeidx_t" | supfirst_idx8 (self, "uchar" tag) |
supfirst_idx8(self, tag) -> nodeidx_t | |
"nodeidx_t" | supnext_idx8 (self, "uchar" alt, "uchar" tag) |
supnext_idx8(self, alt, tag) -> nodeidx_t | |
"nodeidx_t" | suplast_idx8 (self, "uchar" tag) |
suplast_idx8(self, tag) -> nodeidx_t | |
"nodeidx_t" | supprev_idx8 (self, "uchar" alt, "uchar" tag) |
supprev_idx8(self, alt, tag) -> nodeidx_t | |
"bool" | supdel (self, *args) |
supdel(self, alt, tag=stag) -> bool Delete all elements of supval array. | |
"bool" | supdel_all (self, "uchar" tag) |
supdel_all(self, tag) -> bool Delete all elements of the specified supval array. | |
"int" | supdel_range (self, "nodeidx_t" idx1, "nodeidx_t" idx2, "uchar" tag) |
supdel_range(self, idx1, idx2, tag) -> int Delete range of elements in the specified supval array. | |
"int" | supdel_range_idx8 (self, "uchar" idx1, "uchar" idx2, "uchar" tag) |
supdel_range_idx8(self, idx1, idx2, tag) -> int Same as above, but accepts 8-bit indexes. | |
"ssize_t" | hashval (self, *args) |
hashval(self, idx, tag=htag) -> ssize_t Get value of the specified hash element. | |
"ssize_t" | hashstr (self, *args) |
hashstr(self, idx, tag=htag) -> ssize_t | |
"nodeidx_t" | hashval_long (self, *args) |
hashval_long(self, idx, tag=htag) -> nodeidx_t Get value of the specified hash element. | |
"bool" | hashset (self, *args) |
hashset(self, idx, value, tag=htag) -> bool Set value of hash element to long value. | |
"bool" | hashset_idx (self, *args) |
hashset_idx(self, idx, value, tag=htag) -> bool | |
"bool" | hashdel (self, *args) |
hashdel(self, idx, tag=htag) -> bool Delete hash element. | |
"ssize_t" | hashfirst (self, *args) |
hashfirst(self, tag=htag) -> ssize_t | |
"ssize_t" | hashnext (self, *args) |
hashnext(self, idx, tag=htag) -> ssize_t | |
"ssize_t" | hashlast (self, *args) |
hashlast(self, tag=htag) -> ssize_t | |
"ssize_t" | hashprev (self, *args) |
hashprev(self, idx, tag=htag) -> ssize_t | |
"bool" | hashdel_all (self, *args) |
hashdel_all(self, tag=htag) -> bool Delete all elements of hash. | |
"size_t" | blobsize (self, "nodeidx_t" _start, "uchar" tag) |
blobsize(self, _start, tag) -> size_t Get size of blob. | |
"size_t" | blobsize_ea (self, "ea_t" ea, "uchar" tag) |
blobsize_ea(self, ea, tag) -> size_t | |
"bool" | setblob (self, "void const *" buf, "nodeidx_t" _start, "uchar" tag) |
setblob(self, buf, _start, tag) -> bool Store a blob in a netnode. | |
"bool" | setblob_ea (self, "void const *" buf, "ea_t" ea, "uchar" tag) |
setblob_ea(self, buf, ea, tag) -> bool | |
"int" | delblob (self, "nodeidx_t" _start, "uchar" tag) |
delblob(self, _start, tag) -> int Delete a blob. | |
"int" | delblob_ea (self, "ea_t" ea, "uchar" tag) |
delblob_ea(self, ea, tag) -> int | |
"size_t" | blobshift (self, "nodeidx_t" _from, "nodeidx_t" to, "nodeidx_t" size, "uchar" tag) |
blobshift(self, _from, to, size, tag) -> size_t Shift the blob array elements. | |
"bool" | start (self) |
start(self) -> bool Get first netnode in the graph. | |
"bool" | end (self) |
end(self) -> bool Get last netnode in the graph. | |
"bool" | next (self) |
next(self) -> bool Get next netnode in the graph. | |
"bool" | prev (self) |
prev(self) -> bool Get prev netnode in the graph. | |
"size_t" | copyto (self, "netnode" destnode, "nodeidx_t" count=1) |
copyto(self, destnode, count=1) -> size_t | |
"size_t" | moveto (self, "netnode" destnode, "nodeidx_t" count=1) |
moveto(self, destnode, count=1) -> size_t | |
"bool" | __eq__ (self, *args) |
eq(self, n) -> bool | |
"bool" | __ne__ (self, *args) |
ne(self, n) -> bool | |
"nodeidx_t" | index (self) |
index(self) -> nodeidx_t | |
"PyObject *" | getblob (self, "nodeidx_t" start, "char" tag) |
getblob(self, start, tag) -> bytes or None Get blob from a netnode into a qstring* and make sure the string is null- terminated. | |
"PyObject *" | getclob (self, "nodeidx_t" start, "char" tag) |
getclob(self, start, tag) -> str | |
"PyObject *" | getblob_ea (self, "ea_t" ea, "char" tag) |
getblob_ea(self, ea, tag) -> PyObject * | |
"PyObject *" | hashstr_buf (self, *args) |
hashstr_buf(self, idx, tag=htag) -> PyObject | |
"bool" | hashset_buf (self, *args) |
hashset_buf(self, idx, py_str, tag=htag) -> bool | |
"bool" | supset (self, *args) |
supset(self, alt, value, tag=stag) -> bool Set value of supval array element. | |
"bool" | supset_ea (self, *args) |
supset_ea(self, ea, value, tag=stag) -> bool | |
Static Public Member Functions | |
"bool" | exist ("char const *" _name) |
exist(_name) -> bool Does the netnode with the specified name exist? | |
Properties | |
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") | |
__init__ | ( | self, | |
* | args ) |
num | nodeidx_t |
init(self, _name, namlen=0, do_create=False) -> netnode
_name | char const * |
namlen | size_t |
do_create | bool |
"bool" __eq__ | ( | self, | |
* | args ) |
n | netnode & |
eq(self, x) -> bool
x | nodeidx_t |
"bool" __ne__ | ( | self, | |
* | args ) |
n | netnode & |
ne(self, x) -> bool
x | nodeidx_t |
"bool" altdel | ( | self, | |
* | args ) |
This function may be applied to 32-bit and 8-bit altval arrays. This function deletes the whole altval array.
alt | nodeidx_t |
tag | uchar |
"bool" altdel_all | ( | self, | |
* | args ) |
This function may be applied to 32-bit and 8-bit altval arrays. This function deletes the whole altval array.
tag | (C++: uchar) tag of array |
"bool" altdel_ea | ( | self, | |
* | args ) |
ea | ea_t |
tag | uchar |
"bool" altdel_idx8 | ( | self, | |
"uchar" | alt, | ||
"uchar" | tag ) |
alt | uchar |
tag | uchar |
"nodeidx_t" altfirst | ( | self, | |
* | args ) |
tag | (C++: uchar) tag of array |
"nodeidx_t" altfirst_idx8 | ( | self, | |
"uchar" | tag ) |
tag | uchar |
"nodeidx_t" altlast | ( | self, | |
* | args ) |
tag | (C++: uchar) tag of array |
"nodeidx_t" altlast_idx8 | ( | self, | |
"uchar" | tag ) |
tag | uchar |
"nodeidx_t" altnext | ( | self, | |
* | args ) |
cur | (C++: nodeidx_t) current index |
tag | (C++: uchar) tag of array |
"nodeidx_t" altnext_idx8 | ( | self, | |
"uchar" | cur, | ||
"uchar" | tag ) |
cur | uchar |
tag | uchar |
"nodeidx_t" altprev | ( | self, | |
* | args ) |
cur | (C++: nodeidx_t) current index |
tag | (C++: uchar) tag of array |
"nodeidx_t" altprev_idx8 | ( | self, | |
"uchar" | cur, | ||
"uchar" | tag ) |
cur | uchar |
tag | uchar |
"bool" altset | ( | self, | |
* | args ) |
alt | (C++: nodeidx_t) index into array of altvals |
value | (C++: nodeidx_t) new value of altval element |
tag | (C++: uchar) tag of array |
1 | ok |
0 | failed, normally should not occur |
"bool" altset_ea | ( | self, | |
* | args ) |
ea | ea_t |
value | nodeidx_t |
tag | uchar |
"bool" altset_idx8 | ( | self, | |
"uchar" | alt, | ||
"nodeidx_t" | val, | ||
"uchar" | tag ) |
alt | uchar |
val | nodeidx_t |
tag | uchar |
"size_t" altshift | ( | self, | |
* | args ) |
Moves the array elements at (from..from+size) to (to..to+size)
from | (C++: nodeidx_t) |
to | (C++: nodeidx_t) |
size | (C++: nodeidx_t) |
tag | (C++: uchar) |
"nodeidx_t" altval | ( | self, | |
* | args ) |
alt | (C++: nodeidx_t) index into array of altvals |
tag | (C++: uchar) tag of array. may be omitted |
"nodeidx_t" altval_ea | ( | self, | |
* | args ) |
ea | ea_t |
tag | uchar |
"nodeidx_t" altval_idx8 | ( | self, | |
"uchar" | alt, | ||
"uchar" | tag ) |
alt | uchar |
tag | uchar |
"size_t" blobshift | ( | self, | |
"nodeidx_t" | _from, | ||
"nodeidx_t" | to, | ||
"nodeidx_t" | size, | ||
"uchar" | tag ) |
Moves the array elements at (from..from+size) to (to..to+size)
from | (C++: nodeidx_t) |
to | (C++: nodeidx_t) |
size | (C++: nodeidx_t) |
tag | (C++: uchar) |
"size_t" blobsize | ( | self, | |
"nodeidx_t" | _start, | ||
"uchar" | tag ) |
_start | (C++: nodeidx_t) index of the first supval element used to store blob |
tag | (C++: uchar) tag of supval array |
"size_t" blobsize_ea | ( | self, | |
"ea_t" | ea, | ||
"uchar" | tag ) |
ea | ea_t |
tag | uchar |
"bool" chardel | ( | self, | |
"nodeidx_t" | alt, | ||
"uchar" | tag ) |
alt | nodeidx_t |
tag | uchar |
"bool" chardel_ea | ( | self, | |
"ea_t" | ea, | ||
"uchar" | tag ) |
ea | ea_t |
tag | uchar |
"bool" chardel_idx8 | ( | self, | |
"uchar" | alt, | ||
"uchar" | tag ) |
alt | uchar |
tag | uchar |
"nodeidx_t" charfirst | ( | self, | |
"uchar" | tag ) |
tag | uchar |
"nodeidx_t" charfirst_idx8 | ( | self, | |
"uchar" | tag ) |
tag | uchar |
"nodeidx_t" charlast | ( | self, | |
"uchar" | tag ) |
tag | uchar |
"nodeidx_t" charlast_idx8 | ( | self, | |
"uchar" | tag ) |
tag | uchar |
"nodeidx_t" charnext | ( | self, | |
"nodeidx_t" | cur, | ||
"uchar" | tag ) |
cur | nodeidx_t |
tag | uchar |
"nodeidx_t" charnext_idx8 | ( | self, | |
"uchar" | cur, | ||
"uchar" | tag ) |
cur | uchar |
tag | uchar |
"nodeidx_t" charprev | ( | self, | |
"nodeidx_t" | cur, | ||
"uchar" | tag ) |
cur | nodeidx_t |
tag | uchar |
"nodeidx_t" charprev_idx8 | ( | self, | |
"uchar" | cur, | ||
"uchar" | tag ) |
cur | uchar |
tag | uchar |
"bool" charset | ( | self, | |
"nodeidx_t" | alt, | ||
"uchar" | val, | ||
"uchar" | tag ) |
alt | nodeidx_t |
val | uchar |
tag | uchar |
"bool" charset_ea | ( | self, | |
"ea_t" | ea, | ||
"uchar" | val, | ||
"uchar" | tag ) |
ea | ea_t |
val | uchar |
tag | uchar |
"bool" charset_idx8 | ( | self, | |
"uchar" | alt, | ||
"uchar" | val, | ||
"uchar" | tag ) |
alt | uchar |
val | uchar |
tag | uchar |
"size_t" charshift | ( | self, | |
"nodeidx_t" | _from, | ||
"nodeidx_t" | to, | ||
"nodeidx_t" | size, | ||
"uchar" | tag ) |
from | nodeidx_t |
to | nodeidx_t |
size | nodeidx_t |
tag | uchar |
"uchar" charval | ( | self, | |
"nodeidx_t" | alt, | ||
"uchar" | tag ) |
alt | nodeidx_t |
tag | uchar |
"uchar" charval_ea | ( | self, | |
"ea_t" | ea, | ||
"uchar" | tag ) |
ea | ea_t |
tag | uchar |
"uchar" charval_idx8 | ( | self, | |
"uchar" | alt, | ||
"uchar" | tag ) |
alt | uchar |
tag | uchar |
"size_t" copyto | ( | self, | |
"netnode" | destnode, | ||
"nodeidx_t" | count = 1 ) |
destnode | netnode |
count | nodeidx_t |
"bool" create | ( | self, | |
* | args ) |
1 | ok |
0 | should not happen, indicates internal error |
_name | char const * |
namlen | size_t |
create(self) -> bool
"int" delblob | ( | self, | |
"nodeidx_t" | _start, | ||
"uchar" | tag ) |
_start | (C++: nodeidx_t) index of the first supval element used to store blob |
tag | (C++: uchar) tag of supval array |
"int" delblob_ea | ( | self, | |
"ea_t" | ea, | ||
"uchar" | tag ) |
ea | ea_t |
tag | uchar |
"bool" delvalue | ( | self | ) |
1 | ok |
0 | failed, netnode is bad or other error |
"bool" eadel | ( | self, | |
"ea_t" | ea, | ||
"uchar" | tag ) |
ea | ea_t |
tag | uchar |
"bool" eadel_idx8 | ( | self, | |
"uchar" | idx, | ||
"uchar" | tag ) |
idx | uchar |
tag | uchar |
"ea_t" eaget | ( | self, | |
"ea_t" | ea, | ||
"uchar" | tag ) |
ea | ea_t |
tag | uchar |
"ea_t" eaget_idx | ( | self, | |
"nodeidx_t" | idx, | ||
"uchar" | tag ) |
idx | nodeidx_t |
tag | uchar |
"ea_t" eaget_idx8 | ( | self, | |
"uchar" | idx, | ||
"uchar" | tag ) |
idx | uchar |
tag | uchar |
"bool" easet | ( | self, | |
"ea_t" | ea, | ||
"ea_t" | addr, | ||
"uchar" | tag ) |
ea | (C++: ea_t) |
addr | (C++: ea_t) |
tag | (C++: uchar) |
"bool" easet_idx | ( | self, | |
"nodeidx_t" | idx, | ||
"ea_t" | addr, | ||
"uchar" | tag ) |
idx | nodeidx_t |
addr | ea_t |
tag | uchar |
"bool" easet_idx8 | ( | self, | |
"uchar" | idx, | ||
"ea_t" | addr, | ||
"uchar" | tag ) |
idx | uchar |
addr | ea_t |
tag | uchar |
"bool" end | ( | self | ) |
Sets netnodenumber to the highest existing number.
true | ok |
false | graph is empty |
|
static |
_name | (C++: const char *) char const * |
"ssize_t" get_name | ( | self | ) |
"PyObject *" getblob | ( | self, | |
"nodeidx_t" | start, | ||
"char" | tag ) |
start | nodeidx_t |
tag | (C++: uchar) tag of supval array |
"PyObject *" getblob_ea | ( | self, | |
"ea_t" | ea, | ||
"char" | tag ) |
ea | ea_t |
tag | char |
"PyObject *" getclob | ( | self, | |
"nodeidx_t" | start, | ||
"char" | tag ) |
start | nodeidx_t |
tag | char |
"bool" hashdel | ( | self, | |
* | args ) |
idx | (C++: const char *) index into hash |
tag | (C++: uchar) tag of hash. Default: htag |
true | deleted |
false | element does not exist |
"bool" hashdel_all | ( | self, | |
* | args ) |
This function deletes the whole hash.
tag | (C++: uchar) tag of hash. Default: htag |
"ssize_t" hashfirst | ( | self, | |
* | args ) |
"ssize_t" hashlast | ( | self, | |
* | args ) |
"ssize_t" hashnext | ( | self, | |
* | args ) |
"ssize_t" hashprev | ( | self, | |
* | args ) |
"bool" hashset | ( | self, | |
* | args ) |
idx | (C++: const char *) index into hash |
value | (C++: nodeidx_t) new value of hash element |
tag | (C++: uchar) tag of hash. Default: htag |
1 | ok |
0 | should not occur - indicates internal error |
"bool" hashset_buf | ( | self, | |
* | args ) |
idx | char const * |
py_str | PyObject * |
tag | char |
"bool" hashset_idx | ( | self, | |
* | args ) |
idx | char const * |
value | nodeidx_t |
tag | uchar |
"ssize_t" hashstr | ( | self, | |
* | args ) |
"PyObject *" hashstr_buf | ( | self, | |
* | args ) |
idx | char const * |
tag | char |
"ssize_t" hashval | ( | self, | |
* | args ) |
idx | (C++: const char *) index into hash |
tag | (C++: uchar) tag of hash. Default: htag |
"nodeidx_t" hashval_long | ( | self, | |
* | args ) |
idx | (C++: const char *) index into hash |
tag | (C++: uchar) tag of hash. Default: htag |
"nodeidx_t" index | ( | self | ) |
"void" kill | ( | self | ) |
"nodeidx_t" long_value | ( | self | ) |
"nodeidx_t" lower_bound | ( | self, | |
* | args ) |
cur | (C++: nodeidx_t) current index |
tag | (C++: uchar) tag of array |
"nodeidx_t" lower_bound_ea | ( | self, | |
* | args ) |
ea | ea_t |
tag | uchar |
"nodeidx_t" lower_bound_idx8 | ( | self, | |
"uchar" | alt, | ||
"uchar" | tag ) |
alt | uchar |
tag | uchar |
"size_t" moveto | ( | self, | |
"netnode" | destnode, | ||
"nodeidx_t" | count = 1 ) |
destnode | netnode |
count | nodeidx_t |
"bool" next | ( | self | ) |
Sets netnodenumber to the next existing number
true | ok |
false | no more netnodes |
"bool" prev | ( | self | ) |
Sets netnodenumber to the previous existing number
true | ok |
false | no more netnodes |
"bool" rename | ( | self, | |
"char const *" | newname, | ||
"size_t" | namlen = 0 ) |
newname | (C++: const char *) new name of netnode. nullptr or "" means to delete name. names of user-defined netnodes must have the "$ " prefix in order to avoid clashes with program byte names. |
namlen | (C++: size_t) length of new name. if not specified, it will be calculated using strlen() |
1 | ok |
0 | failed, newname is already used |
"bool" set | ( | self, | |
"void const *" | value ) |
value | (C++: const void *) pointer to value |
"bool" set_long | ( | self, | |
"nodeidx_t" | x ) |
x | (C++: nodeidx_t) |
"bool" setblob | ( | self, | |
"void const *" | buf, | ||
"nodeidx_t" | _start, | ||
"uchar" | tag ) |
buf | (C++: const void *) pointer to blob to save |
_start | (C++: nodeidx_t) |
tag | (C++: uchar) tag of supval array |
"bool" setblob_ea | ( | self, | |
"void const *" | buf, | ||
"ea_t" | ea, | ||
"uchar" | tag ) |
buf | void const * |
ea | ea_t |
tag | uchar |
"bool" start | ( | self | ) |
Sets netnodenumber to the lowest existing number.
true | ok |
false | graph is empty |
"bool" supdel | ( | self, | |
* | args ) |
This function may be applied to 32-bit and 8-bit supval arrays. This function deletes the whole supval array.
alt | nodeidx_t |
tag | uchar |
"bool" supdel_all | ( | self, | |
"uchar" | tag ) |
This function may be applied to 32-bit and 8-bit supval arrays. This function deletes the whole supval array.
tag | (C++: uchar) |
"bool" supdel_ea | ( | self, | |
* | args ) |
ea | ea_t |
tag | uchar |
"bool" supdel_idx8 | ( | self, | |
"uchar" | alt, | ||
"uchar" | tag ) |
alt | uchar |
tag | uchar |
"int" supdel_range | ( | self, | |
"nodeidx_t" | idx1, | ||
"nodeidx_t" | idx2, | ||
"uchar" | tag ) |
Elements in range [idx1, idx2) will be deleted.
idx1 | (C++: nodeidx_t) first element to delete |
idx2 | (C++: nodeidx_t) last element to delete + 1 |
tag | (C++: uchar) tag of array |
"int" supdel_range_idx8 | ( | self, | |
"uchar" | idx1, | ||
"uchar" | idx2, | ||
"uchar" | tag ) |
idx1 | (C++: uchar) |
idx2 | (C++: uchar) |
tag | (C++: uchar) |
"nodeidx_t" supfirst | ( | self, | |
* | args ) |
tag | (C++: uchar) tag of array |
"nodeidx_t" supfirst_idx8 | ( | self, | |
"uchar" | tag ) |
tag | uchar |
"nodeidx_t" suplast | ( | self, | |
* | args ) |
tag | (C++: uchar) tag of array |
"nodeidx_t" suplast_idx8 | ( | self, | |
"uchar" | tag ) |
tag | uchar |
"nodeidx_t" supnext | ( | self, | |
* | args ) |
cur | (C++: nodeidx_t) current index |
tag | (C++: uchar) tag of array |
"nodeidx_t" supnext_idx8 | ( | self, | |
"uchar" | alt, | ||
"uchar" | tag ) |
alt | uchar |
tag | uchar |
"nodeidx_t" supprev | ( | self, | |
* | args ) |
cur | (C++: nodeidx_t) current index |
tag | (C++: uchar) tag of array |
"nodeidx_t" supprev_idx8 | ( | self, | |
"uchar" | alt, | ||
"uchar" | tag ) |
alt | uchar |
tag | uchar |
"bool" supset | ( | self, | |
* | args ) |
alt | (C++: nodeidx_t) index into array of supvals |
value | (C++: const void *) pointer to supval value |
tag | (C++: uchar) tag of array |
1 | ok |
0 | should not occur - indicates internal error |
"bool" supset_ea | ( | self, | |
* | args ) |
ea | ea_t |
value | void const * |
tag | uchar |
"bool" supset_idx8 | ( | self, | |
"uchar" | alt, | ||
"void const *" | value, | ||
"uchar" | tag ) |
alt | uchar |
value | void const * |
tag | uchar |
"size_t" supshift | ( | self, | |
* | args ) |
Moves the array elements at (from..from+size) to (to..to+size)
from | (C++: nodeidx_t) |
to | (C++: nodeidx_t) |
size | (C++: nodeidx_t) |
tag | (C++: uchar) |
"ssize_t" supstr | ( | self, | |
* | args ) |
"ssize_t" supstr_ea | ( | self, | |
* | args ) |
ea | ea_t |
tag | uchar |
"ssize_t" supstr_idx8 | ( | self, | |
"uchar" | alt, | ||
"uchar" | tag ) |
alt | uchar |
tag | uchar |
"ssize_t" supval | ( | self, | |
* | args ) |
NB: do not use this function to retrieve strings, see supstr()!
alt | (C++: nodeidx_t) index into array of supvals |
tag | (C++: uchar) tag of array. Default: stag |
"ssize_t" supval_ea | ( | self, | |
* | args ) |
ea | ea_t |
tag | uchar |
"ssize_t" supval_idx8 | ( | self, | |
* | args ) |
alt | uchar |
tag | uchar |
"ssize_t" valobj | ( | self, | |
* | args ) |
Netnode values are arbitrary sized objects with max size is MAXSPECSIZE. NB: do not use this function for strings - see valstr().
"ssize_t" valstr | ( | self | ) |
"bool" value_exists | ( | self | ) |
|
static |