IDA SDK

- Main Page
- Header Files
- Classes
- Modules

Modules | Classes | Functions
Segment structure
Segments

## Detailed Description

Definition of segment_t and related functions.

## Modules
| Segment alignment codes
| Used by segment_t::align.
| Segment combination codes
| Used by segment_t::comb.
| Segment permissions
| Used by segment_t::perm.
| Segment flags
| Used by segment_t::flags.
| Segment types
| Used by segment_t::type.

## Classes
class | segment_t
| Describes a program segment. More...
class | lock_segment
| Helper class to lock a segment pointer so it stays valid. More...

## Functions
bool | is_visible_segm (segment_t *s)
| See SFL_HIDDEN.
bool | is_finally_visible_segm (segment_t *s)
| See SFL_HIDDEN, SW_SHHID_SEGM.
idaman void ida_export | set_visible_segm (segment_t *s, bool visible)
| See SFL_HIDDEN.
idaman bool ida_export | is_spec_segm (uchar seg_type)
| Has segment a special type?. More...
idaman bool ida_export | is_spec_ea (ea_t ea)
| Does the address belong to a segment with a special type?. More...
bool | is_segm_locked (const segment_t *segm)
| Is a segment pointer locked?

## Function Documentation

idaman bool ida_export is_spec_segm | ( | uchar | seg_type | ) |

Has segment a special type?.

(SEG_XTRN, SEG_GRP, SEG_ABSSYM, SEG_COMM)

idaman bool ida_export is_spec_ea | ( | ea_t | ea | ) |

Does the address belong to a segment with a special type?.

(SEG_XTRN, SEG_GRP, SEG_ABSSYM, SEG_COMM)

Parameters

  ea | linear address