mostly implemented extra information output for dwarf info section dump
[pyelftools.git] / elftools / dwarf / constants.py
1 #-------------------------------------------------------------------------------
2 # elftools: dwarf/constants.py
3 #
4 # Constants and flags
5 #
6 # Eli Bendersky (eliben@gmail.com)
7 # This code is in the public domain
8 #-------------------------------------------------------------------------------
9
10 # Inline codes
11 #
12 DW_INL_not_inlined=0
13 DW_INL_inlined=1
14 DW_INL_declared_not_inlined=2
15 DW_INL_declared_inlined=3
16
17
18 # Source languages
19 #
20 DW_LANG_C89=0x0001
21 DW_LANG_C=0x0002
22 DW_LANG_Ada83=0x0003
23 DW_LANG_C_plus_plus=0x0004
24 DW_LANG_Cobol74=0x0005
25 DW_LANG_Cobol85=0x0006
26 DW_LANG_Fortran77=0x0007
27 DW_LANG_Fortran90=0x0008
28 DW_LANG_Pascal83=0x0009
29 DW_LANG_Modula2=0x000a
30 DW_LANG_Java=0x000b
31 DW_LANG_C99=0x000c
32 DW_LANG_Ada95=0x000d
33 DW_LANG_Fortran95=0x000e
34 DW_LANG_PLI=0x000f
35 DW_LANG_ObjC=0x0010
36 DW_LANG_ObjC_plus_plus=0x0011
37 DW_LANG_UPC=0x0012
38 DW_LANG_D=0x0013
39 DW_LANG_Python=0x0014
40 DW_LANG_Mips_Assembler=0x8001
41 DW_LANG_Upc=0x8765
42 DW_LANG_HP_Bliss=0x8003
43 DW_LANG_HP_Basic91=0x8004
44 DW_LANG_HP_Pascal91=0x8005
45 DW_LANG_HP_IMacro=0x8006
46 DW_LANG_HP_Assembler=0x8007
47
48
49 # Encoding
50 #
51 DW_ATE_void=0x0
52 DW_ATE_address=0x1
53 DW_ATE_boolean=0x2
54 DW_ATE_complex_float=0x3
55 DW_ATE_float=0x4
56 DW_ATE_signed=0x5
57 DW_ATE_signed_char=0x6
58 DW_ATE_unsigned=0x7
59 DW_ATE_unsigned_char=0x8
60 DW_ATE_imaginary_float=0x9
61 DW_ATE_packed_decimal=0xa
62 DW_ATE_numeric_string=0xb
63 DW_ATE_edited=0xc
64 DW_ATE_signed_fixed=0xd
65 DW_ATE_unsigned_fixed=0xe
66 DW_ATE_decimal_float=0xf
67 DW_ATE_UTF=0x10
68 DW_ATE_lo_user=0x80
69 DW_ATE_hi_user=0xff
70 DW_ATE_HP_float80=0x80
71 DW_ATE_HP_complex_float80=0x81
72 DW_ATE_HP_float128=0x82
73 DW_ATE_HP_complex_float128=0x83
74 DW_ATE_HP_floathpintel=0x84
75 DW_ATE_HP_imaginary_float80=0x85
76 DW_ATE_HP_imaginary_float128=0x86
77
78
79 # Access
80 #
81 DW_ACCESS_public=1
82 DW_ACCESS_protected=2
83 DW_ACCESS_private=3
84
85
86 # Visibility
87 #
88 DW_VIS_local=1
89 DW_VIS_exported=2
90 DW_VIS_qualified=3
91
92
93 # Virtuality
94 #
95 DW_VIRTUALITY_none=0
96 DW_VIRTUALITY_virtual=1
97 DW_VIRTUALITY_pure_virtual=2
98
99
100 # ID case
101 #
102 DW_ID_case_sensitive=0
103 DW_ID_up_case=1
104 DW_ID_down_case=2
105 DW_ID_case_insensitive=3
106
107
108 # Calling convention
109 #
110 DW_CC_normal=0x1
111 DW_CC_program=0x2
112 DW_CC_nocall=0x3
113
114
115 # Ordering
116 #
117 DW_ORD_row_major=0
118 DW_ORD_col_major=1
119
120