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