Go to the documentation of this file.
17#ifndef LIEF_ELF_BUIDLER_H
18#define LIEF_ELF_BUIDLER_H
40class ObjectFileLayout;
49 friend class ObjectFileLayout;
51 friend class ExeLayout;
53 public:
struct config_t {
58 bool dynamic_section =
true;
59 bool fini_array =
true;
61 bool init_array =
true;
62 bool interpreter =
true;
65 bool preinit_array =
true;
67 bool android_rela =
true;
69 bool static_symtab =
true;
70 bool sym_verdef =
true;
71 bool sym_verneed =
true;
72 bool sym_versym =
true;
74 bool coredump_notes =
true;
75 bool force_relocate =
false;
98 void write(
const std::string& filename)
const;
101 void write(std::ostream& os)
const;
106 template<
typename ELF_T>
109 template<
typename ELF_T>
112 template<
typename ELF_T>
115 template<
typename ELF_T>
118 template<
typename ELF_T>
121 template<
typename ELF_T>
124 template<
typename ELF_T>
127 template<
typename ELF_T>
130 template<
typename ELF_T>
133 template<
typename ELF_T>
136 template<
typename ELF_T>
139 template<
typename ELF_T>
142 template<
typename ELF_T>
145 template<
typename ELF_T>
148 template<
typename ELF_T>
151 template<
typename ELF_T>
156 template<
typename ELF_T>
159 template<
typename ELF_T>
164 template<
typename ELF_T>
167 template<
typename ELF_T>
170 template<
typename ELF_T>
173 template<
typename ELF_T>
176 template<
typename ELF_T>
181 template<
typename ELF_T>
186 template<
class ELF_T>
192 mutable vector_iostream ios_;
193 Binary* binary_{
nullptr};
194 std::unique_ptr<Layout> layout_;
Class that represent an Array in the dynamic table. This entry is associated with constructors:
Definition DynamicEntryArray.hpp:35
Class which represents an entry in the dynamic table These entries are located in the ....
Definition DynamicEntry.hpp:36
result< ok_t > ok_error_t
Opaque structure that is used by LIEF to avoid writing result<void> f(...). Instead,...
Definition errors.hpp:109