|
IDA SDK
|
See Segment types.
Functions | |
| idaman ssize_t ida_export | get_segm_class (qstring *buf, const segment_t *s) |
| Get segment class. More... | |
| idaman int ida_export | set_segm_class (segment_t *s, const char *sclass, int flags=0) |
| Set segment class. More... | |
| idaman uchar ida_export | segtype (ea_t ea) |
| Get segment type. More... | |
| idaman ssize_t ida_export get_segm_class | ( | qstring * | buf, |
| const segment_t * | s | ||
| ) |
Get segment class.
Segment class is arbitrary text (max 8 characters).
| buf | output buffer. can not be NULL. |
| s | pointer to segment |
| idaman int ida_export set_segm_class | ( | segment_t * | s, |
| const char * | sclass, | ||
| int | flags = 0 |
||
| ) |
Set segment class.
| s | pointer to segment (may be NULL) |
| sclass | segment class (may be NULL). If segment type is SEG_NORM and segment class is one of predefined names, then segment type is changed to: |
| 1 | ok, name is good and segment is renamed |
| 0 | failure, name is NULL or bad or segment is NULL |
| idaman uchar ida_export segtype | ( | ea_t | ea | ) |
Get segment type.
| ea | any linear address within the segment |
1.8.9.1