Module index

Module ida_tryblks

IDA Plugin SDK API wrapper: tryblks

Global variables

var TBERR_EMPTY
empty try block
var TBERR_END
bad end address
var TBERR_INTERSECT
range would intersect inner tryblk
var TBERR_KIND
illegal try block kind
var TBERR_NO_CATCHES
no catch blocks at all
var TBERR_OK
ok
var TBERR_ORDER
bad address order
var TBERR_START
bad start address

Functions

def add_tryblk(*args) ‑> int
Add one try block information.
add_tryblk(tb) -> int
tb: try block to add. (C++: const tryblk_t &)
return: error code; 0 means good
def del_tryblks(*args) ‑> void
Delete try block information in the specified range.
del_tryblks(range)
range: the range to be cleared (C++: const range_t &)
def find_syseh(*args) ‑> ea_t
Find the start address of the system eh region including the argument.
find_syseh(ea) -> ea_t
ea: search address (C++: ea_t)
return: start address of surrounding tryblk, otherwise BADADDR
def get_tryblks(*args) ‑> size_t
Retrieve try block information from the specified address range. Try blocks are sorted by starting address and their nest levels calculated.
get_tryblks(tbv, range) -> size_t
tbv: output buffer; may be NULL (C++: tryblks_t *)
range: address range to change (C++: const range_t &)
return: number of found try blocks

Classes

class catch_t (*args)
Proxy of C++ catch_t class.
__init__(self) -> catch_t

Ancestors

Instance variables

var obj
catch_t_obj_get(self) -> sval_t
var type_id
catch_t_type_id_get(self) -> sval_t

Inherited members

class catchvec_t (*args)
Proxy of C++ qvector< catch_t > class.
__init__(self) -> catchvec_t
x: qvector< catch_t > const &

Methods

def add_unique(self, *args) ‑> bool
add_unique(self, x) -> bool
x: catch_t const &
def at(self, *args) ‑> catch_t const &
at(self, _idx) -> catch_t
_idx: size_t
def back(self)
def begin(self, *args) ‑> qvector< catch_t >::const_iterator
begin(self) -> catch_t
begin(self) -> catch_t
def capacity(self, *args) ‑> size_t
capacity(self) -> size_t
def clear(self, *args) ‑> void
clear(self)
def empty(self, *args) ‑> bool
empty(self) -> bool
def end(self, *args) ‑> qvector< catch_t >::const_iterator
end(self) -> catch_t
end(self) -> catch_t
def erase(self, *args) ‑> qvector< catch_t >::iterator
erase(self, it) -> catch_t
it: qvector< catch_t >::iterator
erase(self, first, last) -> catch_t
first: qvector< catch_t >::iterator last: qvector< catch_t >::iterator
def extract(self, *args) ‑> catch_t *
extract(self) -> catch_t
def find(self, *args) ‑> qvector< catch_t >::const_iterator
find(self, x) -> catch_t
x: catch_t const &
find(self, x) -> catch_t
x: catch_t const &
def front(self)
def grow(self, *args) ‑> void
grow(self, x=catch_t())
x: catch_t const &
def has(self, *args) ‑> bool
has(self, x) -> bool
x: catch_t const &
def inject(self, *args) ‑> void
inject(self, s, len)
s: catch_t * len: size_t
def insert(self, *args) ‑> qvector< catch_t >::iterator
insert(self, it, x) -> catch_t
it: qvector< catch_t >::iterator x: catch_t const &
def pop_back(self, *args) ‑> void
pop_back(self)
def push_back(self, *args) ‑> catch_t &
push_back(self, x)
x: catch_t const &
def qclear(self, *args) ‑> void
qclear(self)
def reserve(self, *args) ‑> void
reserve(self, cnt)
cnt: size_t
def resize(self, *args) ‑> void
resize(self, _newsize, x)
_newsize: size_t x: catch_t const &
resize(self, _newsize)
_newsize: size_t
def size(self, *args) ‑> size_t
size(self) -> size_t
def swap(self, *args) ‑> void
swap(self, r)
r: qvector< catch_t > &
def truncate(self, *args) ‑> void
truncate(self)
class seh_t (*args)
Proxy of C++ seh_t class.
__init__(self) -> seh_t

Ancestors

Instance variables

var filter
seh_t_filter_get(self) -> rangevec_t
var seh_code
seh_t_seh_code_get(self) -> ea_t

Inherited members

class try_handler_t (*args)
Proxy of C++ try_handler_t class.
__init__(self) -> try_handler_t

Ancestors

Subclasses

Instance variables

var disp
try_handler_t_disp_get(self) -> sval_t
var fpreg
try_handler_t_fpreg_get(self) -> int

Inherited members

class tryblk_t (*args)
Proxy of C++ tryblk_t class.
__init__(self) -> tryblk_t
r: tryblk_t const &

Ancestors

Instance variables

var level
tryblk_t_level_get(self) -> uchar

Methods

def cpp(self, *args) ‑> catchvec_t &
cpp(self) -> catchvec_t
def get_kind(self, *args) ‑> uchar
get_kind(self) -> uchar
def is_cpp(self, *args) ‑> bool
is_cpp(self) -> bool
def is_seh(self, *args) ‑> bool
is_seh(self) -> bool
def seh(self, *args) ‑> seh_t &
seh(self) -> seh_t
def set_cpp(self, *args) ‑> catchvec_t &
set_cpp(self) -> catchvec_t
def set_seh(self, *args) ‑> seh_t &
set_seh(self) -> seh_t

Inherited members

class tryblks_t (*args)
Proxy of C++ qvector< tryblk_t > class.
__init__(self) -> tryblks_t
x: qvector< tryblk_t > const &

Methods

def add_unique(self, *args) ‑> bool
add_unique(self, x) -> bool
x: tryblk_t const &
def at(self, *args) ‑> tryblk_t const &
at(self, _idx) -> tryblk_t
_idx: size_t
def back(self)
def begin(self, *args) ‑> qvector< tryblk_t >::const_iterator
begin(self) -> tryblk_t
begin(self) -> tryblk_t
def capacity(self, *args) ‑> size_t
capacity(self) -> size_t
def clear(self, *args) ‑> void
clear(self)
def empty(self, *args) ‑> bool
empty(self) -> bool
def end(self, *args) ‑> qvector< tryblk_t >::const_iterator
end(self) -> tryblk_t
end(self) -> tryblk_t
def erase(self, *args) ‑> qvector< tryblk_t >::iterator
erase(self, it) -> tryblk_t
it: qvector< tryblk_t >::iterator
erase(self, first, last) -> tryblk_t
first: qvector< tryblk_t >::iterator last: qvector< tryblk_t >::iterator
def extract(self, *args) ‑> tryblk_t *
extract(self) -> tryblk_t
def find(self, *args) ‑> qvector< tryblk_t >::const_iterator
find(self, x) -> tryblk_t
x: tryblk_t const &
find(self, x) -> tryblk_t
x: tryblk_t const &
def front(self)
def grow(self, *args) ‑> void
grow(self, x=tryblk_t())
x: tryblk_t const &
def has(self, *args) ‑> bool
has(self, x) -> bool
x: tryblk_t const &
def inject(self, *args) ‑> void
inject(self, s, len)
s: tryblk_t * len: size_t
def insert(self, *args) ‑> qvector< tryblk_t >::iterator
insert(self, it, x) -> tryblk_t
it: qvector< tryblk_t >::iterator x: tryblk_t const &
def pop_back(self, *args) ‑> void
pop_back(self)
def push_back(self, *args) ‑> tryblk_t &
push_back(self, x)
x: tryblk_t const &
def qclear(self, *args) ‑> void
qclear(self)
def reserve(self, *args) ‑> void
reserve(self, cnt)
cnt: size_t
def resize(self, *args) ‑> void
resize(self, _newsize, x)
_newsize: size_t x: tryblk_t const &
resize(self, _newsize)
_newsize: size_t
def size(self, *args) ‑> size_t
size(self) -> size_t
def swap(self, *args) ‑> void
swap(self, r)
r: qvector< tryblk_t > &
def truncate(self, *args) ‑> void
truncate(self)