@@ -77,8 +77,8 @@ class DLL_PUBLIC Binary : public LIEF::Binary {
77
77
const Section& section_from_rva (uint64_t virtual_address) const ;
78
78
79
79
// ! @brief Return binary's sections
80
- it_sections get_sections (void );
81
- it_const_sections get_sections (void ) const ;
80
+ it_sections sections (void );
81
+ it_const_sections sections (void ) const ;
82
82
83
83
// =======
84
84
// Headers
@@ -98,10 +98,10 @@ class DLL_PUBLIC Binary : public LIEF::Binary {
98
98
99
99
// ! @brief Compute the binary's virtual size.
100
100
// ! It should match with OptionalHeader::sizeof_image
101
- uint64_t get_virtual_size (void ) const ;
101
+ uint64_t virtual_size (void ) const ;
102
102
103
103
// ! @brief Compute the size of all headers
104
- uint32_t get_sizeof_headers (void ) const ;
104
+ uint32_t sizeof_headers (void ) const ;
105
105
106
106
// ! @brief Return a reference to the TLS object
107
107
TLS& tls (void );
@@ -169,8 +169,8 @@ class DLL_PUBLIC Binary : public LIEF::Binary {
169
169
const std::vector<Symbol>& symbols (void ) const ;
170
170
171
171
// ! @brief Return resources as a tree
172
- ResourceNode& get_resources (void );
173
- const ResourceNode& get_resources (void ) const ;
172
+ ResourceNode& resources (void );
173
+ const ResourceNode& resources (void ) const ;
174
174
175
175
// ! @brief Set a new resource tree
176
176
void set_resources (const ResourceDirectory& resource);
@@ -179,8 +179,8 @@ class DLL_PUBLIC Binary : public LIEF::Binary {
179
179
void set_resources (const ResourceData& resource);
180
180
181
181
// ! @brief Return the ResourcesManager (class to manage resources more easily than the tree one)
182
- ResourcesManager get_resources_manager (void );
183
- const ResourcesManager get_resources_manager (void ) const ;
182
+ ResourcesManager resources_manager (void );
183
+ const ResourcesManager resources_manager (void ) const ;
184
184
185
185
// ==========================
186
186
// Methods to manage sections
@@ -193,8 +193,8 @@ class DLL_PUBLIC Binary : public LIEF::Binary {
193
193
const Section& get_section (const std::string& name) const ;
194
194
195
195
// ! @brief Return the section associated with import table
196
- const Section& get_import_section (void ) const ;
197
- Section& get_import_section (void );
196
+ const Section& import_section (void ) const ;
197
+ Section& import_section (void );
198
198
199
199
// ! @brief Delete the section with the given name
200
200
// !
@@ -232,8 +232,8 @@ class DLL_PUBLIC Binary : public LIEF::Binary {
232
232
const DataDirectory& data_directory (DATA_DIRECTORY index) const ;
233
233
234
234
// ! @brief Return the Debug object
235
- Debug& get_debug (void );
236
- const Debug& get_debug (void ) const ;
235
+ Debug& debug (void );
236
+ const Debug& debug (void ) const ;
237
237
238
238
// =======
239
239
// Overlay
0 commit comments