Module index

Module ida_netnode

IDA Plugin SDK API wrapper: netnode

Global variables

var BADNODE
A number to represent a bad netnode reference.
var MAXNAMESIZE
MAXNAMESIZE = 512
var MAXSPECSIZE
MAXSPECSIZE = 1024
var MAX_NODENAME_SIZE
MAX_NODENAME_SIZE = 32768
var NETMAP_IDX
NETMAP_IDX = 256
var NETMAP_STR
NETMAP_STR = 1024
var NETMAP_V8
NETMAP_V8 = 4096
var NETMAP_VAL
NETMAP_VAL = 512
var NETMAP_X8
NETMAP_X8 = 2048
var atag
atag = 65
var htag
htag = 72
var ltag
ltag = 76
var ntag
ntag = 78
var stag
stag = 83
var vtag
vtag = 86

Functions

def exist(*args) ‑> bool
exist(n) -> bool
n: netnode const &
def netnode_exist(*args) ‑> bool
netnode_exist(_name) -> bool
_name: char const *

Classes

class netnode (*args)
Proxy of C++ netnode class.
__init__(self, num=nodeidx_t(-1)) -> netnode
num: nodeidx_t
__init__(self, _name, namlen=0, do_create=False) -> netnode
_name: char const * namlen: size_t do_create: bool

Static methods

def exist(*args) ‑> bool
exist(_name) -> bool
_name: char const *

Methods

def altdel(self, *args) ‑> bool
altdel(self, alt, tag=atag) -> bool
alt: nodeidx_t tag: uchar
def altdel_all(self, *args) ‑> bool
altdel_all(self, tag=atag) -> bool
tag: uchar
def altdel_ea(self, *args) ‑> bool
altdel_ea(self, ea, tag=atag) -> bool
ea: ea_t tag: uchar
def altdel_idx8(self, *args) ‑> bool
altdel_idx8(self, alt, tag) -> bool
alt: uchar tag: uchar
def altfirst(self, *args) ‑> nodeidx_t
altfirst(self, tag=atag) -> nodeidx_t
tag: uchar
def altfirst_idx8(self, *args) ‑> nodeidx_t
altfirst_idx8(self, tag) -> nodeidx_t
tag: uchar
def altlast(self, *args) ‑> nodeidx_t
altlast(self, tag=atag) -> nodeidx_t
tag: uchar
def altlast_idx8(self, *args) ‑> nodeidx_t
altlast_idx8(self, tag) -> nodeidx_t
tag: uchar
def altnext(self, *args) ‑> nodeidx_t
altnext(self, cur, tag=atag) -> nodeidx_t
cur: nodeidx_t tag: uchar
def altnext_idx8(self, *args) ‑> nodeidx_t
altnext_idx8(self, cur, tag) -> nodeidx_t
cur: uchar tag: uchar
def altprev(self, *args) ‑> nodeidx_t
altprev(self, cur, tag=atag) -> nodeidx_t
cur: nodeidx_t tag: uchar
def altprev_idx8(self, *args) ‑> nodeidx_t
altprev_idx8(self, cur, tag) -> nodeidx_t
cur: uchar tag: uchar
def altset(self, *args) ‑> bool
altset(self, alt, value, tag=atag) -> bool
alt: nodeidx_t value: nodeidx_t tag: uchar
def altset_ea(self, *args) ‑> bool
altset_ea(self, ea, value, tag=atag) -> bool
ea: ea_t value: nodeidx_t tag: uchar
def altset_idx8(self, *args) ‑> bool
altset_idx8(self, alt, val, tag) -> bool
alt: uchar val: nodeidx_t tag: uchar
def altshift(self, *args) ‑> size_t
altshift(self, _from, to, size, tag=atag) -> size_t
from: nodeidx_t to: nodeidx_t size: nodeidx_t tag: uchar
def altval(self, *args) ‑> nodeidx_t
altval(self, alt, tag=atag) -> nodeidx_t
alt: nodeidx_t tag: uchar
def altval_ea(self, *args) ‑> nodeidx_t
altval_ea(self, ea, tag=atag) -> nodeidx_t
ea: ea_t tag: uchar
def altval_idx8(self, *args) ‑> nodeidx_t
altval_idx8(self, alt, tag) -> nodeidx_t
alt: uchar tag: uchar
def blobsize(self, *args) ‑> size_t
blobsize(self, _start, tag) -> size_t
_start: nodeidx_t tag: uchar
def blobsize_ea(self, *args) ‑> size_t
blobsize_ea(self, ea, tag) -> size_t
ea: ea_t tag: uchar
def chardel(self, *args) ‑> bool
chardel(self, alt, tag) -> bool
alt: nodeidx_t tag: uchar
def chardel_ea(self, *args) ‑> bool
chardel_ea(self, ea, tag) -> bool
ea: ea_t tag: uchar
def chardel_idx8(self, *args) ‑> bool
chardel_idx8(self, alt, tag) -> bool
alt: uchar tag: uchar
def charfirst(self, *args) ‑> nodeidx_t
charfirst(self, tag) -> nodeidx_t
tag: uchar
def charfirst_idx8(self, *args) ‑> nodeidx_t
charfirst_idx8(self, tag) -> nodeidx_t
tag: uchar
def charlast(self, *args) ‑> nodeidx_t
charlast(self, tag) -> nodeidx_t
tag: uchar
def charlast_idx8(self, *args) ‑> nodeidx_t
charlast_idx8(self, tag) -> nodeidx_t
tag: uchar
def charnext(self, *args) ‑> nodeidx_t
charnext(self, cur, tag) -> nodeidx_t
cur: nodeidx_t tag: uchar
def charnext_idx8(self, *args) ‑> nodeidx_t
charnext_idx8(self, cur, tag) -> nodeidx_t
cur: uchar tag: uchar
def charprev(self, *args) ‑> nodeidx_t
charprev(self, cur, tag) -> nodeidx_t
cur: nodeidx_t tag: uchar
def charprev_idx8(self, *args) ‑> nodeidx_t
charprev_idx8(self, cur, tag) -> nodeidx_t
cur: uchar tag: uchar
def charset(self, *args) ‑> bool
charset(self, alt, val, tag) -> bool
alt: nodeidx_t val: uchar tag: uchar
def charset_ea(self, *args) ‑> bool
charset_ea(self, ea, val, tag) -> bool
ea: ea_t val: uchar tag: uchar
def charset_idx8(self, *args) ‑> bool
charset_idx8(self, alt, val, tag) -> bool
alt: uchar val: uchar tag: uchar
def charshift(self, *args) ‑> size_t
charshift(self, _from, to, size, tag) -> size_t
from: nodeidx_t to: nodeidx_t size: nodeidx_t tag: uchar
def charval(self, *args) ‑> uchar
charval(self, alt, tag) -> uchar
alt: nodeidx_t tag: uchar
def charval_ea(self, *args) ‑> uchar
charval_ea(self, ea, tag) -> uchar
ea: ea_t tag: uchar
def charval_idx8(self, *args) ‑> uchar
charval_idx8(self, alt, tag) -> uchar
alt: uchar tag: uchar
def copyto(self, *args) ‑> size_t
copyto(self, destnode, count=1) -> size_t
destnode: netnode count: nodeidx_t
def create(self, *args) ‑> bool
create(self, _name, namlen=0) -> bool
_name: char const * namlen: size_t
def delblob(self, *args) ‑> int
delblob(self, _start, tag) -> int
_start: nodeidx_t tag: uchar
def delblob_ea(self, *args) ‑> int
delblob_ea(self, ea, tag) -> int
ea: ea_t tag: uchar
def delvalue(self, *args) ‑> bool
delvalue(self) -> bool
def eadel(self, *args) ‑> bool
eadel(self, ea, tag) -> bool
ea: ea_t tag: uchar
def eadel_idx8(self, *args) ‑> bool
eadel_idx8(self, idx, tag) -> bool
idx: uchar tag: uchar
def eaget(self, *args) ‑> ea_t
eaget(self, ea, tag) -> ea_t
ea: ea_t tag: uchar
def eaget_idx(self, *args) ‑> ea_t
eaget_idx(self, idx, tag) -> ea_t
idx: nodeidx_t tag: uchar
def eaget_idx8(self, *args) ‑> ea_t
eaget_idx8(self, idx, tag) -> ea_t
idx: uchar tag: uchar
def easet(self, *args) ‑> bool
easet(self, ea, addr, tag) -> bool
ea: ea_t addr: ea_t tag: uchar
def easet_idx(self, *args) ‑> bool
easet_idx(self, idx, addr, tag) -> bool
idx: nodeidx_t addr: ea_t tag: uchar
def easet_idx8(self, *args) ‑> bool
easet_idx8(self, idx, addr, tag) -> bool
idx: uchar addr: ea_t tag: uchar
def end(self, *args) ‑> bool
end(self) -> bool
def get_name(self, *args) ‑> ssize_t
get_name(self) -> ssize_t
def getblob(self, *args) ‑> PyObject *
getblob(self, start, tag) -> PyObject *
start: nodeidx_t tag: char
def getblob_ea(self, *args) ‑> PyObject *
getblob_ea(self, ea, tag) -> PyObject *
ea: ea_t tag: char
def getclob(self, *args) ‑> PyObject *
getclob(self, start, tag) -> PyObject *
start: nodeidx_t tag: char
def hashdel(self, *args) ‑> bool
hashdel(self, idx, tag=htag) -> bool
idx: char const * tag: uchar
def hashdel_all(self, *args) ‑> bool
hashdel_all(self, tag=htag) -> bool
tag: uchar
def hashfirst(self, *args) ‑> ssize_t
hashfirst(self, tag=htag) -> ssize_t
tag: uchar
def hashlast(self, *args) ‑> ssize_t
hashlast(self, tag=htag) -> ssize_t
tag: uchar
def hashnext(self, *args) ‑> ssize_t
hashnext(self, idx, tag=htag) -> ssize_t
idx: char const * tag: uchar
def hashprev(self, *args) ‑> ssize_t
hashprev(self, idx, tag=htag) -> ssize_t
idx: char const * tag: uchar
def hashset(self, *args) ‑> bool
hashset(self, idx, value, tag=htag) -> bool
idx: char const * value: void const * tag: uchar
def hashset_buf(self, *args) ‑> bool
hashset_buf(self, idx, py_str, tag=htag) -> bool
idx: char const * py_str: PyObject * tag: char
def hashset_idx(self, *args) ‑> bool
hashset_idx(self, idx, value, tag=htag) -> bool
idx: char const * value: nodeidx_t tag: uchar
def hashstr(self, *args) ‑> ssize_t
hashstr(self, idx, tag=htag) -> ssize_t
idx: char const * tag: uchar
def hashstr_buf(self, *args) ‑> PyObject *
hashstr_buf(self, idx, tag=htag) -> PyObject *
idx: char const * tag: char
def hashval(self, *args) ‑> ssize_t
hashval(self, idx, tag=htag) -> ssize_t
idx: char const * tag: uchar
def hashval_long(self, *args) ‑> nodeidx_t
hashval_long(self, idx, tag=htag) -> nodeidx_t
idx: char const * tag: uchar
def index(self, *args) ‑> nodeidx_t
index(self) -> nodeidx_t
def kill(self, *args) ‑> void
kill(self)
def long_value(self, *args) ‑> nodeidx_t
long_value(self) -> nodeidx_t
def lower_bound(self, *args) ‑> nodeidx_t
lower_bound(self, cur, tag=stag) -> nodeidx_t
cur: nodeidx_t tag: uchar
def lower_bound_ea(self, *args) ‑> nodeidx_t
lower_bound_ea(self, ea, tag=stag) -> nodeidx_t
ea: ea_t tag: uchar
def lower_bound_idx8(self, *args) ‑> nodeidx_t
lower_bound_idx8(self, alt, tag) -> nodeidx_t
alt: uchar tag: uchar
def moveto(self, *args) ‑> size_t
moveto(self, destnode, count=1) -> size_t
destnode: netnode count: nodeidx_t
def next(self, *args) ‑> bool
next(self) -> bool
def prev(self, *args) ‑> bool
prev(self) -> bool
def rename(self, *args) ‑> bool
rename(self, newname, namlen=0) -> bool
newname: char const * namlen: size_t
def set(self, *args) ‑> bool
set(self, value) -> bool
value: void const *
def set_long(self, *args) ‑> bool
set_long(self, x) -> bool
x: nodeidx_t
def setblob(self, *args) ‑> bool
setblob(self, buf, _start, tag) -> bool
buf: void const * _start: nodeidx_t tag: uchar
def setblob_ea(self, *args) ‑> bool
setblob_ea(self, buf, ea, tag) -> bool
buf: void const * ea: ea_t tag: uchar
def start(self, *args) ‑> bool
start(self) -> bool
def supdel(self, *args) ‑> bool
supdel(self, alt, tag=stag) -> bool
alt: nodeidx_t tag: uchar
def supdel_all(self, *args) ‑> bool
supdel_all(self, tag) -> bool
tag: uchar
def supdel_ea(self, *args) ‑> bool
supdel_ea(self, ea, tag=stag) -> bool
ea: ea_t tag: uchar
def supdel_idx8(self, *args) ‑> bool
supdel_idx8(self, alt, tag) -> bool
alt: uchar tag: uchar
def supdel_range(self, *args) ‑> int
supdel_range(self, idx1, idx2, tag) -> int
idx1: nodeidx_t idx2: nodeidx_t tag: uchar
def supdel_range_idx8(self, *args) ‑> int
supdel_range_idx8(self, idx1, idx2, tag) -> int
idx1: uchar idx2: uchar tag: uchar
def supfirst(self, *args) ‑> nodeidx_t
supfirst(self, tag=stag) -> nodeidx_t
tag: uchar
def supfirst_idx8(self, *args) ‑> nodeidx_t
supfirst_idx8(self, tag) -> nodeidx_t
tag: uchar
def suplast(self, *args) ‑> nodeidx_t
suplast(self, tag=stag) -> nodeidx_t
tag: uchar
def suplast_idx8(self, *args) ‑> nodeidx_t
suplast_idx8(self, tag) -> nodeidx_t
tag: uchar
def supnext(self, *args) ‑> nodeidx_t
supnext(self, cur, tag=stag) -> nodeidx_t
cur: nodeidx_t tag: uchar
def supnext_idx8(self, *args) ‑> nodeidx_t
supnext_idx8(self, alt, tag) -> nodeidx_t
alt: uchar tag: uchar
def supprev(self, *args) ‑> nodeidx_t
supprev(self, cur, tag=stag) -> nodeidx_t
cur: nodeidx_t tag: uchar
def supprev_idx8(self, *args) ‑> nodeidx_t
supprev_idx8(self, alt, tag) -> nodeidx_t
alt: uchar tag: uchar
def supset(self, *args) ‑> bool
supset(self, alt, value, tag=stag) -> bool
alt: nodeidx_t value: void const * tag: uchar
supset(self, alt, value, tag=stag) -> bool
alt: nodeidx_t value: char const * tag: uchar
def supset_ea(self, *args) ‑> bool
supset_ea(self, ea, value, tag=stag) -> bool
ea: ea_t value: void const * tag: uchar
supset_ea(self, ea, value, tag=stag) -> bool
ea: ea_t value: char const * tag: uchar
def supset_idx8(self, *args) ‑> bool
supset_idx8(self, alt, value, tag) -> bool
alt: uchar value: void const * tag: uchar
def supshift(self, *args) ‑> size_t
supshift(self, _from, to, size, tag=stag) -> size_t
from: nodeidx_t to: nodeidx_t size: nodeidx_t tag: uchar
def supstr(self, *args) ‑> ssize_t
supstr(self, alt, tag=stag) -> ssize_t
alt: nodeidx_t tag: uchar
def supstr_ea(self, *args) ‑> ssize_t
supstr_ea(self, ea, tag=stag) -> ssize_t
ea: ea_t tag: uchar
def supstr_idx8(self, *args) ‑> ssize_t
supstr_idx8(self, alt, tag) -> ssize_t
alt: uchar tag: uchar
def supval(self, *args) ‑> ssize_t
supval(self, alt, tag=stag) -> ssize_t
alt: nodeidx_t tag: uchar
def supval_ea(self, *args) ‑> ssize_t
supval_ea(self, ea, tag=stag) -> ssize_t
ea: ea_t tag: uchar
def supval_idx8(self, *args) ‑> ssize_t
supval_idx8(self, alt, tag) -> ssize_t
alt: uchar tag: uchar
def valobj(self, *args) ‑> ssize_t
valobj(self) -> ssize_t
def valstr(self, *args) ‑> ssize_t
valstr(self) -> ssize_t
def value_exists(self, *args) ‑> bool
value_exists(self) -> bool