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

Public Member Functions

bool is_16bit (self)
 
bool is_32bit (self)
 
bool is_64bit (self)
 
int abits (self)
 
int abytes (self)
 
bool comorg (self)
 
None set_comorg (self)
 
None clr_comorg (self)
 
bool ob_ok (self)
 
None set_ob_ok (self)
 
None clr_ob_ok (self)
 
bool is_visible_segm (self)
 
None set_visible_segm (self, bool visible)
 
None set_debugger_segm (self, bool debseg)
 
bool is_loader_segm (self)
 
None set_loader_segm (self, bool ldrseg)
 
bool is_hidden_segtype (self)
 
None set_hidden_segtype (self, bool hide)
 
bool is_header_segm (self)
 
None set_header_segm (self, bool on)
 
bool update (self)
 
 __init__ (self)
 
- Public Member Functions inherited from range_t
bool __eq__ (self, 'range_t' r)
 
bool __ne__ (self, 'range_t' r)
 
bool __lt__ (self, 'range_t' r)
 
bool __gt__ (self, 'range_t' r)
 
bool __le__ (self, 'range_t' r)
 
bool __ge__ (self, 'range_t' r)
 
int compare (self, 'range_t' r)
 
bool contains (self, *args)
 
bool overlaps (self, 'range_t' r)
 
None clear (self)
 
bool empty (self)
 
'asize_t' size (self)
 
None intersect (self, 'range_t' r)
 
None extend (self, ida_idaapi.ea_t ea)
 

Static Public Attributes

str name
 
str sclass
 
str orgbase
 
str align
 
str comb
 
str perm
 
str bitness
 
str flags
 
str sel
 
str defsr
 
str type
 
str color
 
str start_ea
 
str end_ea
 
bool use64 = is_64bit
 
- Static Public Attributes inherited from range_t
str start_ea
 
str end_ea
 

Properties

 thisown
 
- Properties inherited from range_t
 thisown
 

Additional Inherited Members

- Protected Member Functions inherited from range_t
'size_t' _print (self, *args)
 

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self)

Reimplemented from range_t.

Member Function Documentation

◆ abits()

int abits ( self)
Get number of address bits.

◆ abytes()

int abytes ( self)
Get number of address bytes.

◆ clr_comorg()

None clr_comorg ( self)

◆ clr_ob_ok()

None clr_ob_ok ( self)

◆ comorg()

bool comorg ( self)

◆ is_16bit()

bool is_16bit ( self)
Is a 16-bit segment?

◆ is_32bit()

bool is_32bit ( self)
Is a 32-bit segment?

◆ is_64bit()

bool is_64bit ( self)
Is a 64-bit segment?

◆ is_header_segm()

bool is_header_segm ( self)

◆ is_hidden_segtype()

bool is_hidden_segtype ( self)

◆ is_loader_segm()

bool is_loader_segm ( self)

◆ is_visible_segm()

bool is_visible_segm ( self)

◆ ob_ok()

bool ob_ok ( self)

◆ set_comorg()

None set_comorg ( self)

◆ set_debugger_segm()

None set_debugger_segm ( self,
bool debseg )

◆ set_header_segm()

None set_header_segm ( self,
bool on )

◆ set_hidden_segtype()

None set_hidden_segtype ( self,
bool hide )

◆ set_loader_segm()

None set_loader_segm ( self,
bool ldrseg )

◆ set_ob_ok()

None set_ob_ok ( self)

◆ set_visible_segm()

None set_visible_segm ( self,
bool visible )

◆ update()

bool update ( self)
Update segment information. You must call this function after modification of segment characteristics. Note that not all fields of segment structure may be modified directly, there are special functions to modify some fields. 

@returns success

Member Data Documentation

◆ align

str align
static
Initial value:
= property(_ida_segment.segment_t_align_get,
_ida_segment.segment_t_align_set)

◆ bitness

str bitness
static
Initial value:
= property(_ida_segment.segment_t_bitness_get,
_ida_segment.segment_t_bitness_set)

◆ color

str color
static
Initial value:
= property(_ida_segment.segment_t_color_get,
_ida_segment.segment_t_color_set)

◆ comb

str comb
static
Initial value:
= property(_ida_segment.segment_t_comb_get, _ida_segment.
segment_t_comb_set)

◆ defsr

defsr
static
Initial value:
= property(_ida_segment.segment_t_defsr_get,
_ida_segment.segment_t_defsr_set)

◆ end_ea

str end_ea
static
Initial value:
= property(_ida_segment.segment_t_end_ea_get,
_ida_segment.segment_t_end_ea_set)

◆ flags

str flags
static
Initial value:
= property(_ida_segment.segment_t_flags_get,
_ida_segment.segment_t_flags_set)

◆ name

str name
static
Initial value:
= property(_ida_segment.segment_t_name_get, _ida_segment
.segment_t_name_set)

◆ orgbase

str orgbase
static
Initial value:
= property(_ida_segment.segment_t_orgbase_get,
_ida_segment.segment_t_orgbase_set)

◆ perm

str perm
static
Initial value:
= property(_ida_segment.segment_t_perm_get, _ida_segment.
segment_t_perm_set)

◆ sclass

str sclass
static
Initial value:
= property(_ida_segment.segment_t_sclass_get,
_ida_segment.segment_t_sclass_set)

◆ sel

str sel
static
Initial value:
= property(_ida_segment.segment_t_sel_get, _ida_segment.
segment_t_sel_set)

◆ start_ea

str start_ea
static
Initial value:
= property(_ida_segment.segment_t_start_ea_get,
_ida_segment.segment_t_start_ea_set)

◆ type

str type
static
Initial value:
= property(_ida_segment.segment_t_type_get, _ida_segment.
segment_t_type_set)

◆ use64

bool use64 = is_64bit
static

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: