16#ifndef LIEF_ENDIANNESS_SUPPORT_H
17#define LIEF_ENDIANNESS_SUPPORT_H
22#define LIEF_ENDIAN_SUPPORT(X) \
24 LIEF_API void swap_endian<X>(X * hdr)
33struct Elf32_FileEntry;
46struct Elf64_FileEntry;
61struct arm_thread_state64_t;
62struct arm_thread_state_t;
63struct build_tool_version;
64struct build_version_command;
65struct data_in_code_entry;
66struct dyld_info_command;
68struct dylib_module_32;
69struct dylib_module_64;
70struct dylib_reference;
71struct dylib_table_of_contents;
72struct dylinker_command;
73struct dysymtab_command;
74struct encryption_info_command;
75struct entry_point_command;
76struct fileset_entry_command;
77struct fvmfile_command;
79struct linkedit_data_command;
80struct linker_option_command;
87struct prebind_cksum_command;
88struct prebound_dylib_command;
89struct relocation_info;
90struct routines_command_32;
91struct routines_command_64;
93struct scattered_relocation_info;
96struct segment_command_32;
97struct segment_command_64;
98struct source_version_command;
99struct sub_client_command;
100struct sub_framework_command;
101struct sub_library_command;
102struct sub_umbrella_command;
103struct symseg_command;
104struct symtab_command;
105struct thread_command;
107struct twolevel_hints_command;
109struct version_min_command;
110struct x86_thread_state64_t;
111struct x86_thread_state_t;
112struct ppc_thread_state_t;
113struct ppc_thread_state64_t;
140#if defined(LIEF_ELF_SUPPORT)
169#if defined(LIEF_MACHO_SUPPORT)
#define LIEF_ENDIAN_SUPPORT(X)
Definition endianness_support.hpp:22
Definition endianness_support.hpp:60
LIEF namespace.
Definition Abstract/Binary.hpp:41
T get_swapped_endian(const T &other)
Definition endianness_support.hpp:121
void swap_endian(T *)
Definition endianness_support.hpp:118