IDA SDK
Macros
Move segment result codes

Detailed Description

Return values for move_segm() add rebase_program()

Macros

#define MOVE_SEGM_OK   0
 all ok
 
#define MOVE_SEGM_PARAM   -1
 The specified segment does not exist.
 
#define MOVE_SEGM_ROOM   -2
 Not enough free room at the target address.
 
#define MOVE_SEGM_IDP   -3
 IDP module forbids moving the segment.
 
#define MOVE_SEGM_CHUNK   -4
 Too many chunks are defined, can't move.
 
#define MOVE_SEGM_LOADER   -5
 The segment has been moved but the loader complained.
 
#define MOVE_SEGM_ODD   -6
 Can not move segments by an odd number of bytes.
 
#define MOVE_SEGM_ORPHAN   -7
 Orphan bytes hinder segment movement.