Module ida_tryblks
[frames] | no frames]

Module ida_tryblks

IDA Plugin SDK API wrapper: tryblks

Classes
  catch_t
Proxy of C++ catch_t class.
  catchvec_t
Proxy of C++ qvector< catch_t > class.
  seh_t
Proxy of C++ seh_t class.
  try_handler_t
Proxy of C++ try_handler_t class.
  tryblk_t
Proxy of C++ tryblk_t class.
  tryblks_t
Proxy of C++ qvector< tryblk_t > class.
Functions
int
add_tryblk(tb)
Add one try block information.
 
del_tryblks(range)
Delete try block information in the specified range.
ea_t
find_syseh(ea)
Find the start address of the system eh region including the argument.
size_t
get_tryblks(tbv, range)
Retrieve try block information from the specified address range.
Variables
  SWIG_PYTHON_LEGACY_BOOL = 1
  TBERR_EMPTY = 4
  TBERR_END = 2
  TBERR_INTERSECT = 7
  TBERR_KIND = 5
  TBERR_NO_CATCHES = 6
  TBERR_OK = 0
  TBERR_ORDER = 3
  TBERR_START = 1
  __package__ = None
Function Details

add_tryblk(tb)

 

Add one try block information.

Parameters:
  • tb - try block to add. (C++: const tryblk_t &)
Returns: int
error code; 0 means good

del_tryblks(range)

 

Delete try block information in the specified range.

Parameters:
  • range - the range to be cleared (C++: const range_t &)

find_syseh(ea)

 

Find the start address of the system eh region including the argument.

Parameters:
  • ea - search address (C++: ea_t)
Returns: ea_t
start address of surrounding tryblk, otherwise BADADDR

get_tryblks(tbv, range)

 

Retrieve try block information from the specified address range. Try blocks are sorted by starting address and their nest levels calculated.

Parameters:
  • tbv - output buffer; may be NULL (C++: tryblks_t *)
  • range - address range to change (C++: const range_t &)
Returns: size_t
number of found try blocks