Module ida_struct
[frames] | no frames]

Module ida_struct

IDA Plugin SDK API wrapper: struct

Classes
  member_t
Proxy of C++ member_t class
  struc_t
Proxy of C++ struc_t class
  struct_field_visitor_t
Proxy of C++ struct_field_visitor_t class
Functions
asize_t
get_member_size(nonnul_mptr)
size_t
get_struc_qty()
uval_t
get_first_struc_idx()
uval_t
get_last_struc_idx()
uval_t
get_prev_struc_idx(idx)
uval_t
get_next_struc_idx(idx)
uval_t
get_struc_idx(id)
tid_t
get_struc_by_idx(idx)
struc_t
get_struc(id)
tid_t
get_struc_id(name)
ssize_t
get_struc_name(id)
ssize_t
get_struc_cmt(id, repeatable)
asize_t
get_struc_size(sptr)
get_struc_size(id) -> asize_t
ea_t
get_struc_prev_offset(sptr, offset)
ea_t
get_struc_next_offset(sptr, offset)
ea_t
get_struc_last_offset(sptr)
ea_t
get_struc_first_offset(sptr)
ea_t
get_max_offset(sptr)
bool
is_varstr(id)
bool
is_union(id)
struc_t
get_member_struc(fullname)
struc_t
get_sptr(mptr)
member_t
get_member(sptr, offset)
member_t
get_member_by_name(sptr, membername)
member_t
get_member_by_fullname(fullname)
ssize_t
get_member_fullname(mid)
ssize_t
get_member_name(mid)
ssize_t
get_member_cmt(mid, repeatable)
bool
is_varmember(mptr)
member_t
get_best_fit_member(sptr, offset)
ssize_t
get_next_member_idx(sptr, off)
ssize_t
get_prev_member_idx(sptr, off)
tid_t
add_struc(idx, name, is_union=False)
bool
del_struc(sptr)
bool
set_struc_idx(sptr, idx)
bool
set_struc_align(sptr, shift)
bool
set_struc_name(id, name)
bool
set_struc_cmt(id, cmt, repeatable)
struc_error_t
add_struc_member(sptr, fieldname, offset, flag, mt, nbytes)
bool
del_struc_member(sptr, offset)
int
del_struc_members(sptr, off1, off2)
bool
set_member_name(sptr, offset, name)
bool
set_member_type(sptr, offset, flag, mt, nbytes)
bool
set_member_cmt(mptr, cmt, repeatable)
bool
expand_struc(sptr, offset, delta, recalc=True)
 
save_struc(sptr, may_update_ltypes=True)
 
set_struc_hidden(sptr, is_hidden)
 
set_struc_listed(sptr, is_listed)
bool
get_member_tinfo(tif, mptr)
bool
del_member_tinfo(sptr, mptr)
smt_code_t
set_member_tinfo(sptr, mptr, memoff, tif, flags)
bool
get_or_guess_member_tinfo(tif, mptr)
opinfo_t
retrieve_member_info(buf, mptr)
bool
is_anonymous_member_name(name)
bool
is_dummy_member_name(name)
member_t
get_member_by_id(mid)
bool
is_member_id(mid)
bool
is_special_member(id)
flags_t
visit_stroff_fields(sfv, path, disp, appzero)
bool
stroff_as_size(plen, sptr, value)
Variables
  STRUC_SEPARATOR = '.'
  MF_OK = 1
  MF_UNIMEM = 2
  MF_HASUNI = 4
  MF_BYTIL = 8
  MF_HASTI = 16
  SF_VAR = 1
  SF_UNION = 2
  SF_HASUNI = 4
  SF_NOLIST = 8
  SF_TYPLIB = 16
  SF_HIDDEN = 32
  SF_FRAME = 64
  SF_ALIGN = 3968
  SF_GHOST = 4096
  STRUC_ERROR_MEMBER_OK = 0
  STRUC_ERROR_MEMBER_NAME = -1
  STRUC_ERROR_MEMBER_OFFSET = -2
  STRUC_ERROR_MEMBER_SIZE = -3
  STRUC_ERROR_MEMBER_TINFO = -4
  STRUC_ERROR_MEMBER_STRUCT = -5
  STRUC_ERROR_MEMBER_UNIVAR = -6
  STRUC_ERROR_MEMBER_VARLAST = -7
  STRUC_ERROR_MEMBER_NESTED = -8
  SMT_BADARG = -6
  SMT_NOCOMPAT = -5
  SMT_WORSE = -4
  SMT_SIZE = -3
  SMT_ARRAY = -2
  SMT_OVERLAP = -1
  SMT_FAILED = 0
  SMT_OK = 1
  SMT_KEEP = 2
  SET_MEMTI_MAY_DESTROY = 1
  SET_MEMTI_COMPATIBLE = 2
  SET_MEMTI_FUNCARG = 4
  SET_MEMTI_BYTIL = 8
  SET_MEMTI_USERTI = 16
  __package__ = None