| IDA SDK

Enumerations
Move segment result codes
Segments » Segment manipulation functions

## Detailed Description

Return values for move_segm() add rebase_program()

## Enumerations
enum | move_segm_code_t { MOVE_SEGM_OK = 0 , MOVE_SEGM_PARAM = -1 , MOVE_SEGM_ROOM = -2 , MOVE_SEGM_IDP = -3 , MOVE_SEGM_CHUNK = -4 , MOVE_SEGM_LOADER = -5 , MOVE_SEGM_ODD = -6 , MOVE_SEGM_ORPHAN = -7 , MOVE_SEGM_DEBUG = -8 , MOVE_SEGM_SOURCEFILES = -9 , MOVE_SEGM_MAPPING = -10 , MOVE_SEGM_INVAL = -11 }

## Enumeration Type Documentation

## ◆ move_segm_code_t

enum move_segm_code_t

Enumerator
MOVE_SEGM_OK | all ok
MOVE_SEGM_PARAM | The specified segment does not exist.
MOVE_SEGM_ROOM | Not enough free room at the target address.
MOVE_SEGM_IDP | IDP module forbids moving the segment.
MOVE_SEGM_CHUNK | Too many chunks are defined, can't move.
MOVE_SEGM_LOADER | The segment has been moved but the loader complained.
MOVE_SEGM_ODD | Cannot move segments by an odd number of bytes.
MOVE_SEGM_ORPHAN | Orphan bytes hinder segment movement.
MOVE_SEGM_DEBUG | Debugger segments cannot be moved.
MOVE_SEGM_SOURCEFILES | Source files ranges of addresses hinder segment movement.
MOVE_SEGM_MAPPING | Memory mapping ranges of addresses hinder segment movement.
MOVE_SEGM_INVAL | Invalid argument (delta/target does not fit the address space)