LIEF: Library to Instrument Executable Formats Version 2.0.0
Loading...
Searching...
No Matches
DWARF/enums.hpp
Go to the documentation of this file.
1/* Copyright 2017 - 2026 R. Thomas
2 *
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15#ifndef LIEF_DWARF_ENUMS_H
16#define LIEF_DWARF_ENUMS_H
17
18
19namespace LIEF::dwarf {
20
21enum class EH_ENCODING {
22 ABSPTR = 0x00,
23 OMIT = 0xff,
24 ULEB128 = 0x01,
25 UDATA2 = 0x02,
26 UDATA4 = 0x03,
27 UDATA8 = 0x04,
28 SLEB128 = 0x09,
29 SDATA2 = 0x0a,
30 SDATA4 = 0x0b,
31 SDATA8 = 0x0c,
32 SIGNED = 0x09,
33
34 PCREL = 0x10,
35 INDIRECT = 0x80,
36 TEXTREL = 0x20,
37 DATAREL = 0x30,
38 FUNCREL = 0x40,
39 ALIGNED = 0x50,
40};
41
42} // dwarf
43// LIEF
44
45#endif
Namespace for the DWARF debug format.
Definition DWARF/CompilationUnit.hpp:31
EH_ENCODING
Definition DWARF/enums.hpp:21
@ UDATA4
Definition DWARF/enums.hpp:26
@ SDATA2
Definition DWARF/enums.hpp:29
@ ALIGNED
Definition DWARF/enums.hpp:39
@ OMIT
Definition DWARF/enums.hpp:23
@ PCREL
Definition DWARF/enums.hpp:34
@ INDIRECT
Definition DWARF/enums.hpp:35
@ ULEB128
Definition DWARF/enums.hpp:24
@ FUNCREL
Definition DWARF/enums.hpp:38
@ SIGNED
Definition DWARF/enums.hpp:32
@ UDATA8
Definition DWARF/enums.hpp:27
@ ABSPTR
Definition DWARF/enums.hpp:22
@ TEXTREL
Definition DWARF/enums.hpp:36
@ DATAREL
Definition DWARF/enums.hpp:37
@ SDATA8
Definition DWARF/enums.hpp:31
@ UDATA2
Definition DWARF/enums.hpp:25
@ SDATA4
Definition DWARF/enums.hpp:30
@ SLEB128
Definition DWARF/enums.hpp:28