IDA C++ SDK 9.2
Loading...
Searching...
No Matches
Derived type: pointer

Variables

const type_t BT_PTR = 0x0A
 pointer.
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.

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_DEFPTR

const type_t BTMT_DEFPTR = 0x00

default for model

◆ BTMT_NEAR

const type_t BTMT_NEAR = 0x10

near

◆ BTMT_FAR

const type_t BTMT_FAR = 0x20

far

◆ 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