Latest available version: IDA and decompilers v8.4.240320sp1 see all releases
Hex-Rays logo State-of-the-art binary code analysis tools
email icon
Calling convention

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_SWIFT = 0x90
 (Swift) arguments and return values in registers (compiler-dependent)
 
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_GOLANG = 0xB0
 (Go) arguments and return value in stack
 
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
 usercall: locations of all arguments and the return value are explicitly specified
 

Detailed Description

Variable Documentation

◆ CM_CC_SPOILED

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 == BFA_FUNC_MARKER, the next byte is the function attribute byte.