php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
ir_elf.h File Reference

Go to the source code of this file.

Data Structures

struct  _ir_elf_header
 
struct  ir_elf_sectheader
 
struct  ir_elf_symbol
 

Macros

#define ELFSECT_IDX_ABS   0xfff1
 
#define ELFSECT_FLAGS_WRITE   (1 << 0)
 
#define ELFSECT_FLAGS_ALLOC   (1 << 1)
 
#define ELFSECT_FLAGS_EXEC   (1 << 2)
 
#define ELFSECT_FLAGS_TLS   (1 << 10)
 
#define ELFSYM_BIND(info)
 
#define ELFSYM_TYPE(info)
 
#define ELFSYM_INFO(bind, type)
 

Typedefs

typedef struct _ir_elf_header ir_elf_header
 
typedef struct ir_elf_sectheader ir_elf_sectheader
 
typedef struct ir_elf_symbol ir_elf_symbol
 

Enumerations

enum  {
  ELFSECT_TYPE_PROGBITS = 1 , ELFSECT_TYPE_SYMTAB = 2 , ELFSECT_TYPE_STRTAB = 3 , ELFSECT_TYPE_NOBITS = 8 ,
  ELFSECT_TYPE_DYNSYM = 11
}
 
enum  { ELFSYM_TYPE_DATA = 2 , ELFSYM_TYPE_FUNC = 2 , ELFSYM_TYPE_FILE = 4 }
 
enum  { ELFSYM_BIND_LOCAL = 0 , ELFSYM_BIND_GLOBAL = 1 }
 

Macro Definition Documentation

◆ ELFSECT_FLAGS_ALLOC

#define ELFSECT_FLAGS_ALLOC   (1 << 1)

Definition at line 64 of file ir_elf.h.

◆ ELFSECT_FLAGS_EXEC

#define ELFSECT_FLAGS_EXEC   (1 << 2)

Definition at line 65 of file ir_elf.h.

◆ ELFSECT_FLAGS_TLS

#define ELFSECT_FLAGS_TLS   (1 << 10)

Definition at line 66 of file ir_elf.h.

◆ ELFSECT_FLAGS_WRITE

#define ELFSECT_FLAGS_WRITE   (1 << 0)

Definition at line 63 of file ir_elf.h.

◆ ELFSECT_IDX_ABS

#define ELFSECT_IDX_ABS   0xfff1

Definition at line 53 of file ir_elf.h.

◆ ELFSYM_BIND

#define ELFSYM_BIND ( info)
Value:
((info) >> 4)

Definition at line 86 of file ir_elf.h.

◆ ELFSYM_INFO

#define ELFSYM_INFO ( bind,
type )
Value:
(((bind) << 4) | (type))
zend_ffi_type * type
Definition ffi.c:3812

Definition at line 88 of file ir_elf.h.

◆ ELFSYM_TYPE

#define ELFSYM_TYPE ( info)
Value:
((info) & 0xf)

Definition at line 87 of file ir_elf.h.

Typedef Documentation

◆ ir_elf_header

typedef struct _ir_elf_header ir_elf_header

◆ ir_elf_sectheader

typedef struct ir_elf_sectheader ir_elf_sectheader

◆ ir_elf_symbol

typedef struct ir_elf_symbol ir_elf_symbol

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
ELFSYM_TYPE_DATA 
ELFSYM_TYPE_FUNC 
ELFSYM_TYPE_FILE 

Definition at line 90 of file ir_elf.h.

◆ anonymous enum

anonymous enum
Enumerator
ELFSECT_TYPE_PROGBITS 
ELFSECT_TYPE_SYMTAB 
ELFSECT_TYPE_STRTAB 
ELFSECT_TYPE_NOBITS 
ELFSECT_TYPE_DYNSYM 

Definition at line 55 of file ir_elf.h.

◆ anonymous enum

anonymous enum
Enumerator
ELFSYM_BIND_LOCAL 
ELFSYM_BIND_GLOBAL 

Definition at line 96 of file ir_elf.h.