IDAPython 9.0
Loading...
Searching...
No Matches
switch_info_t Class Reference
Inheritance diagram for switch_info_t:

Public Member Functions

int get_shift (self)
 
None set_shift (self, int shift)
 
int get_jtable_element_size (self)
 
None set_jtable_element_size (self, int size)
 
int get_vtable_element_size (self)
 
None set_vtable_element_size (self, int size)
 
bool has_default (self)
 
bool has_elbase (self)
 
bool is_sparse (self)
 
bool is_custom (self)
 
bool is_indirect (self)
 
bool is_subtract (self)
 
bool is_nolowcase (self)
 
bool use_std_table (self)
 
bool is_user_defined (self)
 
int get_lowcase (self)
 
int get_jtable_size (self)
 
None set_jtable_size (self, int size)
 
None set_elbase (self, ida_idaapi.ea_t base)
 
None set_expr (self, int r, 'op_dtype_t' dt)
 
bool get_jrange_vrange (self, 'range_t' jrange=None, 'range_t' vrange=None)
 
int get_version (self)
 
 __init__ (self)
 
None clear (self)
 
None assign (self, 'switch_info_t' other)
 

Static Public Attributes

str flags
 
str ncases
 
str jumps
 
str values
 
str lowcase
 
str defjump
 
str startea
 
str jcases
 
str ind_lowcase
 
str elbase
 
str regnum
 
str regdtype
 
str custom
 
 SWITCH_INFO_VERSION = _ida_nalt.switch_info_t_SWITCH_INFO_VERSION
 
str expr_ea
 
str marks
 

Protected Member Functions

ida_idaapi.ea_t _get_values_lowcase (self)
 
None _set_values_lowcase (self, ida_idaapi.ea_t values)
 

Properties

 thisown
 

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self)

Member Function Documentation

◆ _get_values_lowcase()

ida_idaapi.ea_t _get_values_lowcase ( self)
protected

◆ _set_values_lowcase()

None _set_values_lowcase ( self,
ida_idaapi.ea_t values )
protected

◆ assign()

None assign ( self,
'switch_info_t' other )

◆ clear()

None clear ( self)

◆ get_jrange_vrange()

bool get_jrange_vrange ( self,
'range_t' jrange = None,
'range_t' vrange = None )
get separate parts of the switch

◆ get_jtable_element_size()

int get_jtable_element_size ( self)

◆ get_jtable_size()

int get_jtable_size ( self)

◆ get_lowcase()

int get_lowcase ( self)

◆ get_shift()

int get_shift ( self)
See SWI_SHIFT_MASK. possible answers: 0..3. 

◆ get_version()

int get_version ( self)

◆ get_vtable_element_size()

int get_vtable_element_size ( self)

◆ has_default()

bool has_default ( self)

◆ has_elbase()

bool has_elbase ( self)

◆ is_custom()

bool is_custom ( self)

◆ is_indirect()

bool is_indirect ( self)

◆ is_nolowcase()

bool is_nolowcase ( self)

◆ is_sparse()

bool is_sparse ( self)

◆ is_subtract()

bool is_subtract ( self)

◆ is_user_defined()

bool is_user_defined ( self)

◆ set_elbase()

None set_elbase ( self,
ida_idaapi.ea_t base )

◆ set_expr()

None set_expr ( self,
int r,
'op_dtype_t' dt )

◆ set_jtable_element_size()

None set_jtable_element_size ( self,
int size )

◆ set_jtable_size()

None set_jtable_size ( self,
int size )

◆ set_shift()

None set_shift ( self,
int shift )
See SWI_SHIFT_MASK.

◆ set_vtable_element_size()

None set_vtable_element_size ( self,
int size )

◆ use_std_table()

bool use_std_table ( self)

Member Data Documentation

◆ custom

str custom
static
Initial value:
= property(_ida_nalt.switch_info_t_custom_get,
_ida_nalt.switch_info_t_custom_set)

◆ defjump

str defjump
static
Initial value:
= property(_ida_nalt.switch_info_t_defjump_get,
_ida_nalt.switch_info_t_defjump_set)

◆ elbase

str elbase
static
Initial value:
= property(_ida_nalt.switch_info_t_elbase_get, _ida_nalt
.switch_info_t_elbase_set)

◆ expr_ea

str expr_ea
static
Initial value:
= property(_ida_nalt.switch_info_t_expr_ea_get,
_ida_nalt.switch_info_t_expr_ea_set)

◆ flags

str flags
static
Initial value:
= property(_ida_nalt.switch_info_t_flags_get, _ida_nalt
.switch_info_t_flags_set)

◆ ind_lowcase

str ind_lowcase
static
Initial value:
= property(_ida_nalt.
switch_info_t_ind_lowcase_get, _ida_nalt.switch_info_t_ind_lowcase_set)

◆ jcases

str jcases
static
Initial value:
= property(_ida_nalt.switch_info_t_jcases_get, _ida_nalt.
switch_info_t_jcases_set)

◆ jumps

str jumps
static
Initial value:
= property(_ida_nalt.switch_info_t_jumps_get, _ida_nalt.
switch_info_t_jumps_set)

◆ lowcase

lowcase
static
Initial value:
= property(_ida_nalt.switch_info_t_lowcase_get,
_ida_nalt.switch_info_t_lowcase_set)

◆ marks

str marks
static
Initial value:
= property(_ida_nalt.switch_info_t_marks_get,
_ida_nalt.switch_info_t_marks_set)

◆ ncases

str ncases
static
Initial value:
= property(_ida_nalt.switch_info_t_ncases_get,
_ida_nalt.switch_info_t_ncases_set)

◆ regdtype

str regdtype
static
Initial value:
= property(_ida_nalt.switch_info_t_regdtype_get,
_ida_nalt.switch_info_t_regdtype_set)

◆ regnum

str regnum
static
Initial value:
= property(_ida_nalt.switch_info_t_regnum_get, _ida_nalt.
switch_info_t_regnum_set)

◆ startea

str startea
static
Initial value:
= property(_ida_nalt.switch_info_t_startea_get,
_ida_nalt.switch_info_t_startea_set)

◆ SWITCH_INFO_VERSION

SWITCH_INFO_VERSION = _ida_nalt.switch_info_t_SWITCH_INFO_VERSION
static

◆ values

values
static
Initial value:
= property(_ida_nalt.switch_info_t_values_get, _ida_nalt
.switch_info_t_values_set)

Property Documentation

◆ thisown

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

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