16#ifndef LIEF_ENDIANNESS_SUPPORT_H
17#define LIEF_ENDIANNESS_SUPPORT_H
21#define LIEF_ENDIAN_SUPPORT(X) \
23 void swap_endian<X>(X* hdr)
32struct Elf32_FileEntry;
45struct Elf64_FileEntry;
60struct arm_thread_state64_t;
61struct arm_thread_state_t;
62struct build_tool_version;
63struct build_version_command;
64struct data_in_code_entry;
65struct dyld_info_command;
67struct dylib_module_32;
68struct dylib_module_64;
69struct dylib_reference;
70struct dylib_table_of_contents;
71struct dylinker_command;
72struct dysymtab_command;
73struct encryption_info_command;
74struct entry_point_command;
75struct fileset_entry_command;
76struct fvmfile_command;
78struct linkedit_data_command;
79struct linker_option_command;
85struct prebind_cksum_command;
86struct prebound_dylib_command;
87struct relocation_info;
88struct routines_command_32;
89struct routines_command_64;
91struct scattered_relocation_info;
94struct segment_command_32;
95struct segment_command_64;
96struct source_version_command;
97struct sub_client_command;
98struct sub_framework_command;
99struct sub_library_command;
100struct sub_umbrella_command;
101struct symseg_command;
102struct symtab_command;
103struct thread_command;
105struct twolevel_hints_command;
107struct version_min_command;
108struct x86_thread_state64_t;
109struct x86_thread_state_t;
110struct ppc_thread_state_t;
111struct ppc_thread_state64_t;
139#if defined (LIEF_ELF_SUPPORT)
168#if defined (LIEF_MACHO_SUPPORT)
#define LIEF_ENDIAN_SUPPORT(X)
Definition endianness_support.hpp:21
Definition DynamicEntry.hpp:29
Namespace related to the LIEF's ELF module.
Definition Abstract/Header.hpp:28
Definition endianness_support.hpp:59
Namespace related to the LIEF's Mach-O module.
Definition Abstract/Header.hpp:36
LIEF namespace.
Definition Abstract/Binary.hpp:36
T get_swapped_endian(const T &other)
Definition endianness_support.hpp:120
void swap_endian(T *)
Definition endianness_support.hpp:116