LIEF: Library to Instrument Executable Formats Version 0.15.0
Loading...
Searching...
No Matches
DWARF/enums.hpp
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
LIEF namespace.
Definition Abstract/Binary.hpp:32