Microcode error codes

Defines

#define MERR_OK   0
 ok
#define MERR_BLOCK   1
 no error, switch to new block
#define MERR_INTERR   (-1)
 internal error
#define MERR_INSN   (-2)
 can not convert to microcode
#define MERR_MEM   (-3)
 not enough memory
#define MERR_BADBLK   (-4)
 bad block found
#define MERR_BADSP   (-5)
 positive sp value has been found
#define MERR_PROLOG   (-6)
 prolog analysis failed
#define MERR_SWITCH   (-7)
 wrong switch idiom
#define MERR_EXCEPTION   (-8)
 exception analysis failed
#define MERR_HUGESTACK   (-9)
 stack frame is too big
#define MERR_LVARS   (-10)
 local variable allocation failed
#define MERR_BITNESS   (-11)
 16bit programs are not supported (yet)
#define MERR_BADCALL   (-12)
 could not determine call arguments
#define MERR_BADFRAME   (-13)
 function frame is wrong
#define MERR_UNKTYPE   (-14)
 undefined type s
#define MERR_BADIDB   (-15)
 inconsistent database information
#define MERR_SIZEOF   (-16)
 wrong basic type sizes in compiler settings
#define MERR_REDO   (-17)
 redecompilation has been requested
#define MERR_CANCELED   (-18)
 decompilation has been cancelled
#define MERR_RECDEPTH   (-19)
 max recursion depth reached during lvar allocation
#define MERR_OVERLAP   (-20)
 variables would overlap: s
#define MERR_PARTINIT   (-21)
 partially initialized variable s
#define MERR_COMPLEX   (-22)
 too complex function
#define MERR_LICENSE   (-23)
 no license available
#define MERR_MAX_ERR   23
#define MERR_LOOP   (-24)
 internal code: redo last loop (never reported)