15#ifndef LIEF_MACHO_ENUMS_H
16#define LIEF_MACHO_ENUMS_H
18#include "LIEF/MachO/undef.h"
60 X86_64_RELOC_SIGNED_1 = 6,
61 X86_64_RELOC_SIGNED_2 = 7,
62 X86_64_RELOC_SIGNED_4 = 8,
67enum class PPC_RELOCATION {
68 PPC_RELOC_VANILLA = 0,
76 PPC_RELOC_SECTDIFF = 8,
77 PPC_RELOC_PB_LA_PTR = 9,
78 PPC_RELOC_HI16_SECTDIFF = 10,
79 PPC_RELOC_LO16_SECTDIFF = 11,
80 PPC_RELOC_HA16_SECTDIFF = 12,
82 PPC_RELOC_LO14_SECTDIFF = 14,
83 PPC_RELOC_LOCAL_SECTDIFF = 15,
87enum class ARM_RELOCATION {
88 ARM_RELOC_VANILLA = 0,
90 ARM_RELOC_SECTDIFF = 2,
91 ARM_RELOC_LOCAL_SECTDIFF = 3,
92 ARM_RELOC_PB_LA_PTR = 4,
94 ARM_THUMB_RELOC_BR22 = 6,
95 ARM_THUMB_32BIT_BRANCH = 7,
97 ARM_RELOC_HALF_SECTDIFF = 9,
ARM64_RELOCATION
Definition MachO/enums.hpp:101
@ ARM64_RELOC_POINTER_TO_GOT
@ ARM64_RELOC_TLVP_LOAD_PAGEOFF12
@ ARM64_RELOC_GOT_LOAD_PAGE21
@ ARM64_RELOC_GOT_LOAD_PAGEOFF12
@ ARM64_RELOC_TLVP_LOAD_PAGE21
X86_64_RELOCATION
Definition MachO/enums.hpp:53
@ X86_64_RELOC_SUBTRACTOR
N_LIST_TYPES
Constants for the "n_type & SYMBOL_TYPES::N_TYPE" in nlist.
Definition MachO/enums.hpp:36
@ N_PBUD
The symbol is undefined and the image is using a prebound value for the symbol. Set the n_sect field ...
@ N_INDR
The symbol is defined to be the same as another symbol. The n_value field is an index into the string...
@ N_ABS
The symbol is absolute. The linker doesn't update his value.
@ N_UNDF
The symbol is undefined. It is referenced in a different module.
@ N_SECT
The symbol is defined in the section number given in nlist_base.n_sect .
X86_RELOCATION
Definition MachO/enums.hpp:44
@ GENERIC_RELOC_LOCAL_SECTDIFF
@ GENERIC_RELOC_PB_LA_PTR
MACHO_TYPES
Definition MachO/enums.hpp:24
@ MH_CIGAM_64
64-bit little-endian magic
@ FAT_MAGIC
big-endian fat magic
@ FAT_CIGAM
little-endian fat magic
@ MH_MAGIC
32-bit big-endian magic
@ MH_CIGAM
32-bit little-endian magic
@ MH_MAGIC_64
64-bit big-endian magic
LIEF namespace.
Definition Abstract/Binary.hpp:32