IDAPython 8.4
Loading...
Searching...
No Matches
switch_info_t Class Reference

Proxy of C++ switch_info_t class.

Inheritance diagram for switch_info_t:

Public Member Functions

"int" get_shift (self, *args)
 get_shift(self) -> int See SWI_SHIFT_MASK.
 
"void" set_shift (self, *args)
 set_shift(self, shift) See SWI_SHIFT_MASK.
 
"int" get_jtable_element_size (self, *args)
 get_jtable_element_size(self) -> int
 
"void" set_jtable_element_size (self, *args)
 set_jtable_element_size(self, size)
 
"int" get_vtable_element_size (self, *args)
 get_vtable_element_size(self) -> int
 
"void" set_vtable_element_size (self, *args)
 set_vtable_element_size(self, size)
 
"bool" has_default (self, *args)
 has_default(self) -> bool
 
"bool" has_elbase (self, *args)
 has_elbase(self) -> bool
 
"bool" is_sparse (self, *args)
 is_sparse(self) -> bool
 
"bool" is_custom (self, *args)
 is_custom(self) -> bool
 
"bool" is_indirect (self, *args)
 is_indirect(self) -> bool
 
"bool" is_subtract (self, *args)
 is_subtract(self) -> bool
 
"bool" is_nolowcase (self, *args)
 is_nolowcase(self) -> bool
 
"bool" use_std_table (self, *args)
 use_std_table(self) -> bool
 
"bool" is_user_defined (self, *args)
 is_user_defined(self) -> bool
 
"sval_t" get_lowcase (self, *args)
 get_lowcase(self) -> sval_t
 
"int" get_jtable_size (self, *args)
 get_jtable_size(self) -> int
 
"void" set_jtable_size (self, *args)
 set_jtable_size(self, size)
 
"void" set_elbase (self, *args)
 set_elbase(self, base)
 
"void" set_expr (self, *args)
 set_expr(self, r, dt)
 
"bool" get_jrange_vrange (self, *args)
 get_jrange_vrange(self, jrange=None, vrange=None) -> bool get separate parts of the switch
 
"int" get_version (self, *args)
 get_version(self) -> int
 
 __init__ (self, *args)
 init(self) -> switch_info_t
 
"void" clear (self, *args)
 clear(self)
 
"void" assign (self, *args)
 assign(self, other)
 

Static Public Attributes

 SWITCH_INFO_VERSION = _ida_nalt.switch_info_t_SWITCH_INFO_VERSION
 

Protected Member Functions

"ea_t" _get_values_lowcase (self, *args)
 _get_values_lowcase(self) -> ea_t
 
"void" _set_values_lowcase (self, *args)
 _set_values_lowcase(self, values)
 

Properties

 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 
 flags = property(_ida_nalt.switch_info_t_flags_get, _ida_nalt.switch_info_t_flags_set, doc=)
 
 ncases = property(_ida_nalt.switch_info_t_ncases_get, _ida_nalt.switch_info_t_ncases_set, doc=)
 
 jumps = property(_ida_nalt.switch_info_t_jumps_get, _ida_nalt.switch_info_t_jumps_set, doc=)
 
 values = property(_ida_nalt.switch_info_t_values_get, _ida_nalt.switch_info_t_values_set, doc=)
 
 lowcase = property(_ida_nalt.switch_info_t_lowcase_get, _ida_nalt.switch_info_t_lowcase_set, doc=)
 
 defjump = property(_ida_nalt.switch_info_t_defjump_get, _ida_nalt.switch_info_t_defjump_set, doc=)
 
 startea = property(_ida_nalt.switch_info_t_startea_get, _ida_nalt.switch_info_t_startea_set, doc=)
 
 jcases = property(_ida_nalt.switch_info_t_jcases_get, _ida_nalt.switch_info_t_jcases_set, doc=)
 
 ind_lowcase = property(_ida_nalt.switch_info_t_ind_lowcase_get, _ida_nalt.switch_info_t_ind_lowcase_set, doc=)
 
 elbase = property(_ida_nalt.switch_info_t_elbase_get, _ida_nalt.switch_info_t_elbase_set, doc=)
 
 regnum = property(_ida_nalt.switch_info_t_regnum_get, _ida_nalt.switch_info_t_regnum_set, doc=)
 
 regdtype = property(_ida_nalt.switch_info_t_regdtype_get, _ida_nalt.switch_info_t_regdtype_set, doc=)
 
 custom = property(_ida_nalt.switch_info_t_custom_get, _ida_nalt.switch_info_t_custom_set, doc=)
 
 expr_ea = property(_ida_nalt.switch_info_t_expr_ea_get, _ida_nalt.switch_info_t_expr_ea_set, doc=)
 
 marks = property(_ida_nalt.switch_info_t_marks_get, _ida_nalt.switch_info_t_marks_set, doc=)
 

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self,
* args )

Member Function Documentation

◆ _get_values_lowcase()

"ea_t" _get_values_lowcase ( self,
* args )
protected

◆ _set_values_lowcase()

"void" _set_values_lowcase ( self,
* args )
protected

Parameters

values: ea_t

◆ assign()

"void" assign ( self,
* args )
Parameters
otherswitch_info_t const &

◆ clear()

"void" clear ( self,
* args )

◆ get_jrange_vrange()

"bool" get_jrange_vrange ( self,
* args )
Parameters
jrange(C++: range_t *)
vrange(C++: range_t *)

◆ get_jtable_element_size()

"int" get_jtable_element_size ( self,
* args )

◆ get_jtable_size()

"int" get_jtable_size ( self,
* args )

◆ get_lowcase()

"sval_t" get_lowcase ( self,
* args )

◆ get_shift()

"int" get_shift ( self,
* args )

possible answers: 0..3.

◆ get_version()

"int" get_version ( self,
* args )

◆ get_vtable_element_size()

"int" get_vtable_element_size ( self,
* args )

◆ has_default()

"bool" has_default ( self,
* args )

◆ has_elbase()

"bool" has_elbase ( self,
* args )

◆ is_custom()

"bool" is_custom ( self,
* args )

◆ is_indirect()

"bool" is_indirect ( self,
* args )

◆ is_nolowcase()

"bool" is_nolowcase ( self,
* args )

◆ is_sparse()

"bool" is_sparse ( self,
* args )

◆ is_subtract()

"bool" is_subtract ( self,
* args )

◆ is_user_defined()

"bool" is_user_defined ( self,
* args )

◆ set_elbase()

"void" set_elbase ( self,
* args )
Parameters
baseea_t

◆ set_expr()

"void" set_expr ( self,
* args )
Parameters
rint
dtop_dtype_t

◆ set_jtable_element_size()

"void" set_jtable_element_size ( self,
* args )
Parameters
sizeint

◆ set_jtable_size()

"void" set_jtable_size ( self,
* args )
Parameters
sizeint

◆ set_shift()

"void" set_shift ( self,
* args )
Parameters
shift(C++: int)

◆ set_vtable_element_size()

"void" set_vtable_element_size ( self,
* args )
Parameters
sizeint

◆ use_std_table()

"bool" use_std_table ( self,
* args )

Member Data Documentation

◆ SWITCH_INFO_VERSION

SWITCH_INFO_VERSION = _ida_nalt.switch_info_t_SWITCH_INFO_VERSION
static

Property Documentation

◆ custom

custom = property(_ida_nalt.switch_info_t_custom_get, _ida_nalt.switch_info_t_custom_set, doc=)
static

◆ defjump

defjump = property(_ida_nalt.switch_info_t_defjump_get, _ida_nalt.switch_info_t_defjump_set, doc=)
static

◆ elbase

elbase = property(_ida_nalt.switch_info_t_elbase_get, _ida_nalt.switch_info_t_elbase_set, doc=)
static

◆ expr_ea

expr_ea = property(_ida_nalt.switch_info_t_expr_ea_get, _ida_nalt.switch_info_t_expr_ea_set, doc=)
static

◆ flags

flags = property(_ida_nalt.switch_info_t_flags_get, _ida_nalt.switch_info_t_flags_set, doc=)
static

◆ ind_lowcase

ind_lowcase = property(_ida_nalt.switch_info_t_ind_lowcase_get, _ida_nalt.switch_info_t_ind_lowcase_set, doc=)
static

◆ jcases

jcases = property(_ida_nalt.switch_info_t_jcases_get, _ida_nalt.switch_info_t_jcases_set, doc=)
static

◆ jumps

jumps = property(_ida_nalt.switch_info_t_jumps_get, _ida_nalt.switch_info_t_jumps_set, doc=)
static

◆ lowcase

lowcase = property(_ida_nalt.switch_info_t_lowcase_get, _ida_nalt.switch_info_t_lowcase_set, doc=)
static

◆ marks

marks = property(_ida_nalt.switch_info_t_marks_get, _ida_nalt.switch_info_t_marks_set, doc=)
static

◆ ncases

ncases = property(_ida_nalt.switch_info_t_ncases_get, _ida_nalt.switch_info_t_ncases_set, doc=)
static

◆ regdtype

regdtype = property(_ida_nalt.switch_info_t_regdtype_get, _ida_nalt.switch_info_t_regdtype_set, doc=)
static

◆ regnum

regnum = property(_ida_nalt.switch_info_t_regnum_get, _ida_nalt.switch_info_t_regnum_set, doc=)
static

◆ startea

startea = property(_ida_nalt.switch_info_t_startea_get, _ida_nalt.switch_info_t_startea_set, doc=)
static

◆ thisown

thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
static

◆ values

values = property(_ida_nalt.switch_info_t_values_get, _ida_nalt.switch_info_t_values_set, doc=)
static

The documentation for this class was generated from the following file: