Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

ilopc.h File Reference

#include "global.h"

Go to the source code of this file.

Classes

struct  ILOpcodeTabEntry

Defines

#define MAX_IL_OPCODE   256
#define MAX_IL_OPCODE_PREFIX   36
#define IL_OPCODE_ARGS_INVALID   0
#define IL_OPCODE_ARGS_NONE   1
#define IL_OPCODE_ARGS_INT8   2
#define IL_OPCODE_ARGS_UINT8   3
#define IL_OPCODE_ARGS_INT16   4
#define IL_OPCODE_ARGS_UINT16   5
#define IL_OPCODE_ARGS_INT32   6
#define IL_OPCODE_ARGS_INT64   7
#define IL_OPCODE_ARGS_FLOAT32   8
#define IL_OPCODE_ARGS_FLOAT64   9
#define IL_OPCODE_ARGS_TOKEN   10
#define IL_OPCODE_ARGS_SHORT_VAR   11
#define IL_OPCODE_ARGS_LONG_VAR   12
#define IL_OPCODE_ARGS_SHORT_ARG   13
#define IL_OPCODE_ARGS_LONG_ARG   14
#define IL_OPCODE_ARGS_SHORT_JUMP   15
#define IL_OPCODE_ARGS_LONG_JUMP   16
#define IL_OPCODE_ARGS_CALL   17
#define IL_OPCODE_ARGS_CALLI   18
#define IL_OPCODE_ARGS_CALLVIRT   19
#define IL_OPCODE_ARGS_SWITCH   20
#define IL_OPCODE_ARGS_STRING   21
#define IL_OPCODE_ARGS_NEW   22
#define IL_OPCODE_ARGS_ANN_DATA   23
#define IL_OPCODE_ARGS_ANN_DEAD   24
#define IL_OPCODE_ARGS_ANN_REF   25
#define IL_OPCODE_ARGS_ANN_PHI   26
#define IL_OPCODE_ARGS_ANN_LIVE   27
#define IL_OPCODE_ARGS_ANN_ARG   28
#define IL_OPCODE_ARGS_PREFIX   29
#define IL_META_TOKEN_MASK   0xff000000
#define IL_META_TOKEN_MODULE   0x00000000
#define IL_META_TOKEN_TYPE_REF   0x01000000
#define IL_META_TOKEN_TYPE_DEF   0x02000000
#define IL_META_TOKEN_FIELD_DEF   0x04000000
#define IL_META_TOKEN_METHOD_DEF   0x06000000
#define IL_META_TOKEN_PARAM_DEF   0x08000000
#define IL_META_TOKEN_INTERFACE_IMPL   0x09000000
#define IL_META_TOKEN_MEMBER_REF   0x0a000000
#define IL_META_TOKEN_CONSTANT   0x0b000000
#define IL_META_TOKEN_CUSTOM_ATTRIBUTE   0x0c000000
#define IL_META_TOKEN_CUSTOM_VALUE   IL_META_TOKEN_CUSTOM_ATTRIBUTE
#define IL_META_TOKEN_FIELD_MARSHAL   0x0d000000
#define IL_META_TOKEN_DECL_SECURITY   0x0e000000
#define IL_META_TOKEN_CLASS_LAYOUT   0x0f000000
#define IL_META_TOKEN_FIELD_LAYOUT   0x10000000
#define IL_META_TOKEN_STAND_ALONE_SIG   0x11000000
#define IL_META_TOKEN_EVENT_MAP   0x12000000
#define IL_META_TOKEN_EVENT   0x14000000
#define IL_META_TOKEN_PROPERTY_MAP   0x15000000
#define IL_META_TOKEN_PROPERTY   0x17000000
#define IL_META_TOKEN_METHOD_SEMANTICS   0x18000000
#define IL_META_TOKEN_METHOD_IMPL   0x19000000
#define IL_META_TOKEN_MODULE_REF   0x1a000000
#define IL_META_TOKEN_TYPE_SPEC   0x1b000000
#define IL_META_TOKEN_IMPL_MAP   0x1c000000
#define IL_META_TOKEN_FIELD_RVA   0x1d000000
#define IL_META_TOKEN_ASSEMBLY   0x20000000
#define IL_META_TOKEN_PROCESSOR_DEF   0x21000000
#define IL_META_TOKEN_OS_DEF   0x22000000
#define IL_META_TOKEN_ASSEMBLY_REF   0x23000000
#define IL_META_TOKEN_PROCESSOR_REF   0x24000000
#define IL_META_TOKEN_OS_REF   0x25000000
#define IL_META_TOKEN_FILE   0x26000000
#define IL_META_TOKEN_EXPORTED_TYPE   0x27000000
#define IL_META_TOKEN_MANIFEST_RESOURCE   0x28000000
#define IL_META_TOKEN_NESTED_CLASS   0x29000000
#define IL_META_TOKEN_STRING   0x70000000
#define IL_META_TOKEN_NAME   0x71000000
#define IL_META_TOKEN_BASE_TYPE   0x72000000

Variables

ILOpcodeTabEntry il_opcode_table [MAX_IL_OPCODE]
ILOpcodeTabEntry il_prefix_opcode_table [MAX_IL_OPCODE_PREFIX]


Define Documentation

#define IL_META_TOKEN_ASSEMBLY   0x20000000
 

Definition at line 89 of file ilopc.h.

#define IL_META_TOKEN_ASSEMBLY_REF   0x23000000
 

Definition at line 92 of file ilopc.h.

#define IL_META_TOKEN_BASE_TYPE   0x72000000
 

Definition at line 101 of file ilopc.h.

Referenced by ILunpackToken().

#define IL_META_TOKEN_CLASS_LAYOUT   0x0f000000
 

Definition at line 76 of file ilopc.h.

#define IL_META_TOKEN_CONSTANT   0x0b000000
 

Definition at line 71 of file ilopc.h.

#define IL_META_TOKEN_CUSTOM_ATTRIBUTE   0x0c000000
 

Definition at line 72 of file ilopc.h.

#define IL_META_TOKEN_CUSTOM_VALUE   IL_META_TOKEN_CUSTOM_ATTRIBUTE
 

Definition at line 73 of file ilopc.h.

#define IL_META_TOKEN_DECL_SECURITY   0x0e000000
 

Definition at line 75 of file ilopc.h.

#define IL_META_TOKEN_EVENT   0x14000000
 

Definition at line 80 of file ilopc.h.

#define IL_META_TOKEN_EVENT_MAP   0x12000000
 

Definition at line 79 of file ilopc.h.

#define IL_META_TOKEN_EXPORTED_TYPE   0x27000000
 

Definition at line 96 of file ilopc.h.

#define IL_META_TOKEN_FIELD_DEF   0x04000000
 

Definition at line 66 of file ilopc.h.

#define IL_META_TOKEN_FIELD_LAYOUT   0x10000000
 

Definition at line 77 of file ilopc.h.

#define IL_META_TOKEN_FIELD_MARSHAL   0x0d000000
 

Definition at line 74 of file ilopc.h.

#define IL_META_TOKEN_FIELD_RVA   0x1d000000
 

Definition at line 88 of file ilopc.h.

#define IL_META_TOKEN_FILE   0x26000000
 

Definition at line 95 of file ilopc.h.

#define IL_META_TOKEN_IMPL_MAP   0x1c000000
 

Definition at line 87 of file ilopc.h.

#define IL_META_TOKEN_INTERFACE_IMPL   0x09000000
 

Definition at line 69 of file ilopc.h.

#define IL_META_TOKEN_MANIFEST_RESOURCE   0x28000000
 

Definition at line 97 of file ilopc.h.

#define IL_META_TOKEN_MASK   0xff000000
 

Definition at line 62 of file ilopc.h.

Referenced by ILDisassembler::strf().

#define IL_META_TOKEN_MEMBER_REF   0x0a000000
 

Definition at line 70 of file ilopc.h.

#define IL_META_TOKEN_METHOD_DEF   0x06000000
 

Definition at line 67 of file ilopc.h.

#define IL_META_TOKEN_METHOD_IMPL   0x19000000
 

Definition at line 84 of file ilopc.h.

#define IL_META_TOKEN_METHOD_SEMANTICS   0x18000000
 

Definition at line 83 of file ilopc.h.

#define IL_META_TOKEN_MODULE   0x00000000
 

Definition at line 63 of file ilopc.h.

#define IL_META_TOKEN_MODULE_REF   0x1a000000
 

Definition at line 85 of file ilopc.h.

#define IL_META_TOKEN_NAME   0x71000000
 

Definition at line 100 of file ilopc.h.

#define IL_META_TOKEN_NESTED_CLASS   0x29000000
 

Definition at line 98 of file ilopc.h.

#define IL_META_TOKEN_OS_DEF   0x22000000
 

Definition at line 91 of file ilopc.h.

#define IL_META_TOKEN_OS_REF   0x25000000
 

Definition at line 94 of file ilopc.h.

#define IL_META_TOKEN_PARAM_DEF   0x08000000
 

Definition at line 68 of file ilopc.h.

#define IL_META_TOKEN_PROCESSOR_DEF   0x21000000
 

Definition at line 90 of file ilopc.h.

#define IL_META_TOKEN_PROCESSOR_REF   0x24000000
 

Definition at line 93 of file ilopc.h.

#define IL_META_TOKEN_PROPERTY   0x17000000
 

Definition at line 82 of file ilopc.h.

#define IL_META_TOKEN_PROPERTY_MAP   0x15000000
 

Definition at line 81 of file ilopc.h.

#define IL_META_TOKEN_STAND_ALONE_SIG   0x11000000
 

Definition at line 78 of file ilopc.h.

#define IL_META_TOKEN_STRING   0x70000000
 

Definition at line 99 of file ilopc.h.

Referenced by ILDisassembler::strf().

#define IL_META_TOKEN_TYPE_DEF   0x02000000
 

Definition at line 65 of file ilopc.h.

Referenced by ILunpackToken().

#define IL_META_TOKEN_TYPE_REF   0x01000000
 

Definition at line 64 of file ilopc.h.

Referenced by ILunpackToken().

#define IL_META_TOKEN_TYPE_SPEC   0x1b000000
 

Definition at line 86 of file ilopc.h.

Referenced by ILunpackToken().

#define IL_OPCODE_ARGS_ANN_ARG   28
 

Definition at line 57 of file ilopc.h.

#define IL_OPCODE_ARGS_ANN_DATA   23
 

Definition at line 52 of file ilopc.h.

#define IL_OPCODE_ARGS_ANN_DEAD   24
 

Definition at line 53 of file ilopc.h.

#define IL_OPCODE_ARGS_ANN_LIVE   27
 

Definition at line 56 of file ilopc.h.

#define IL_OPCODE_ARGS_ANN_PHI   26
 

Definition at line 55 of file ilopc.h.

#define IL_OPCODE_ARGS_ANN_REF   25
 

Definition at line 54 of file ilopc.h.

#define IL_OPCODE_ARGS_CALL   17
 

Definition at line 46 of file ilopc.h.

Referenced by ILDisassembler::decode(), and ILDisassembler::strf().

#define IL_OPCODE_ARGS_CALLI   18
 

Definition at line 47 of file ilopc.h.

Referenced by ILDisassembler::strf().

#define IL_OPCODE_ARGS_CALLVIRT   19
 

Definition at line 48 of file ilopc.h.

Referenced by ILDisassembler::decode(), and ILDisassembler::strf().

#define IL_OPCODE_ARGS_FLOAT32   8
 

Definition at line 37 of file ilopc.h.

#define IL_OPCODE_ARGS_FLOAT64   9
 

Definition at line 38 of file ilopc.h.

#define IL_OPCODE_ARGS_INT16   4
 

Definition at line 33 of file ilopc.h.

Referenced by ILDisassembler::decode().

#define IL_OPCODE_ARGS_INT32   6
 

Definition at line 35 of file ilopc.h.

Referenced by ILDisassembler::decode(), and ILDisassembler::strf().

#define IL_OPCODE_ARGS_INT64   7
 

Definition at line 36 of file ilopc.h.

#define IL_OPCODE_ARGS_INT8   2
 

Definition at line 31 of file ilopc.h.

Referenced by ILDisassembler::decode(), and ILDisassembler::strf().

#define IL_OPCODE_ARGS_INVALID   0
 

Definition at line 29 of file ilopc.h.

Referenced by ILDisassembler::decode().

#define IL_OPCODE_ARGS_LONG_ARG   14
 

Definition at line 43 of file ilopc.h.

#define IL_OPCODE_ARGS_LONG_JUMP   16
 

Definition at line 45 of file ilopc.h.

Referenced by ILDisassembler::decode(), and ILDisassembler::strf().

#define IL_OPCODE_ARGS_LONG_VAR   12
 

Definition at line 41 of file ilopc.h.

#define IL_OPCODE_ARGS_NEW   22
 

Definition at line 51 of file ilopc.h.

Referenced by ILDisassembler::decode(), and ILDisassembler::strf().

#define IL_OPCODE_ARGS_NONE   1
 

Definition at line 30 of file ilopc.h.

Referenced by ILDisassembler::decode(), and ILDisassembler::strf().

#define IL_OPCODE_ARGS_PREFIX   29
 

Definition at line 59 of file ilopc.h.

Referenced by ILDisassembler::decode().

#define IL_OPCODE_ARGS_SHORT_ARG   13
 

Definition at line 42 of file ilopc.h.

Referenced by ILDisassembler::decode(), and ILDisassembler::strf().

#define IL_OPCODE_ARGS_SHORT_JUMP   15
 

Definition at line 44 of file ilopc.h.

Referenced by ILDisassembler::decode(), and ILDisassembler::strf().

#define IL_OPCODE_ARGS_SHORT_VAR   11
 

Definition at line 40 of file ilopc.h.

Referenced by ILDisassembler::decode(), and ILDisassembler::strf().

#define IL_OPCODE_ARGS_STRING   21
 

Definition at line 50 of file ilopc.h.

Referenced by ILDisassembler::decode(), and ILDisassembler::strf().

#define IL_OPCODE_ARGS_SWITCH   20
 

Definition at line 49 of file ilopc.h.

#define IL_OPCODE_ARGS_TOKEN   10
 

Definition at line 39 of file ilopc.h.

Referenced by ILDisassembler::decode(), and ILDisassembler::strf().

#define IL_OPCODE_ARGS_UINT16   5
 

Definition at line 34 of file ilopc.h.

Referenced by ILDisassembler::decode().

#define IL_OPCODE_ARGS_UINT8   3
 

Definition at line 32 of file ilopc.h.

Referenced by ILDisassembler::decode(), and ILDisassembler::strf().

#define MAX_IL_OPCODE   256
 

Definition at line 26 of file ilopc.h.

#define MAX_IL_OPCODE_PREFIX   36
 

Definition at line 27 of file ilopc.h.

Referenced by ILDisassembler::decode().


Variable Documentation

ILOpcodeTabEntry il_opcode_table[MAX_IL_OPCODE]
 

Definition at line 110 of file ilopc.h.

Referenced by ILDisassembler::decode().

ILOpcodeTabEntry il_prefix_opcode_table[MAX_IL_OPCODE_PREFIX]
 

Definition at line 111 of file ilopc.h.

Referenced by ILDisassembler::decode().


Generated on Fri May 7 21:15:50 2004 by doxygen 1.3.5