IDA SDK

- Main Page
- Header Files
- Classes
- Modules

Variables
Calling convention
CM

## Detailed Description

## Variables
const cm_t | CM_CC_MASK = 0xF0
const cm_t | CM_CC_INVALID = 0x00
| this value is invalid
const cm_t | CM_CC_UNKNOWN = 0x10
| unknown calling convention
const cm_t | CM_CC_VOIDARG = 0x20
| function without arguments if has other cc and argnum == 0, represent as f() - unknown list
const cm_t | CM_CC_CDECL = 0x30
| stack
const cm_t | CM_CC_ELLIPSIS = 0x40
| cdecl + ellipsis
const cm_t | CM_CC_STDCALL = 0x50
| stack, purged
const cm_t | CM_CC_PASCAL = 0x60
| stack, purged, reverse order of args
const cm_t | CM_CC_FASTCALL = 0x70
| stack, purged (x86), first args are in regs (compiler-dependent)
const cm_t | CM_CC_THISCALL = 0x80
| stack, purged (x86), first arg is in reg (compiler-dependent)
const cm_t | CM_CC_MANUAL = 0x90
| special case for compiler specific
const cm_t | CM_CC_SPOILED = 0xA0
| This is NOT a cc! Mark of __spoil record the low nibble is count and after n {spoilreg_t} present real cm_t byte. More...
const cm_t | CM_CC_RESERVE4 = 0xB0
const cm_t | CM_CC_RESERVE3 = 0xC0
const cm_t | CM_CC_SPECIALE = 0xD0
| CM_CC_SPECIAL with ellipsis
const cm_t | CM_CC_SPECIALP = 0xE0
| Equal to CM_CC_SPECIAL, but with purged stack.
const cm_t | CM_CC_SPECIAL = 0xF0
| locations of all arguments and the return value are present in the function declaration. More...

## Variable Documentation

const cm_t CM_CC_SPOILED = 0xA0

This is NOT a cc! Mark of __spoil record the low nibble is count and after n {spoilreg_t} present real cm_t byte.

if n == 15, the next byte is the function attribute byte.

const cm_t CM_CC_SPECIAL = 0xF0

locations of all arguments and the return value are present in the function declaration.