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
Derived type: pointer

Variables

const type_t BT_PTR = 0x0A
 pointer. More...
 
const type_t BTMT_DEFPTR = 0x00
 default for model
 
const type_t BTMT_NEAR = 0x10
 near
 
const type_t BTMT_FAR = 0x20
 far
 
const type_t BTMT_CLOSURE = 0x30
 closure. More...
 

Detailed Description

Pointers to undeclared yet BT_COMPLEX types are prohibited

Variable Documentation

◆ BT_PTR

const type_t BT_PTR = 0x0A

pointer.

has the following format: [db sizeof(ptr)]; [tah-typeattrs]; type_t...

◆ BTMT_CLOSURE

const type_t BTMT_CLOSURE = 0x30

closure.

  • if ptr to BT_FUNC - __closure. in this case next byte MUST be RESERVED_BYTE, and after it BT_FUNC
  • else the next byte contains sizeof(ptr) allowed values are 1 - ph.max_ptr_size
  • if value is bigger than ph.max_ptr_size, based_ptr_name_and_size() is called to find out the typeinfo