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;
86struct prebind_cksum_command;
87struct prebound_dylib_command;
88struct relocation_info;
89struct routines_command_32;
90struct routines_command_64;
92struct scattered_relocation_info;
95struct segment_command_32;
96struct segment_command_64;
97struct source_version_command;
98struct sub_client_command;
99struct sub_framework_command;
100struct sub_library_command;
101struct sub_umbrella_command;
102struct symseg_command;
103struct symtab_command;
104struct thread_command;
106struct twolevel_hints_command;
108struct version_min_command;
109struct x86_thread_state64_t;
110struct x86_thread_state_t;
111struct ppc_thread_state_t;
112struct 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:40
T get_swapped_endian(const T &other)
Definition endianness_support.hpp:121
void swap_endian(T *)
Definition endianness_support.hpp:117