|
IDA C++ SDK 9.2
|
See Segment types. More...
Functions | |
| idaman ssize_t ida_export | get_segm_class (qstring *buf, const segment_t *s) |
| Get segment class. | |
| idaman int ida_export | set_segm_class (segment_t *s, const char *sclass, int flags=0) |
| Set segment class. | |
| idaman uchar ida_export | segtype (ea_t ea) |
| Get segment type. | |
See Segment types.
Get segment class.
Segment class is arbitrary text (max 8 characters).
| buf | output buffer. cannot be nullptr. |
| 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 nullptr) |
| sclass | segment class (may be nullptr). If segment type is #SEG_NORM and segment class is one of predefined names, then segment type is changed to:
|
| flags | Add segment flags |
| 1 | ok, name is good and segment is renamed |
| 0 | failure, name is nullptr or bad or segment is nullptr |
Get segment type.
| ea | any linear address within the segment |