diff options
author | Brendan Coles <bcoles@gmail.com> | 2021-03-20 09:19:06 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-03-21 09:40:30 +0100 |
commit | f8c603fe7ef142ed64fedb6c79a0de44f8f2dcd2 (patch) | |
tree | bd4e6f3a9e910c094da255ec27cd336d85850db8 /Userland/Libraries/LibELF | |
parent | d0e7d45b85853e5d99aa1a347c0eec010d94bd30 (diff) | |
download | serenity-f8c603fe7ef142ed64fedb6c79a0de44f8f2dcd2.zip |
LibELF: DynamicObject: set for_each_symbol/for_each_dynamic_entry public
Diffstat (limited to 'Userland/Libraries/LibELF')
-rw-r--r-- | Userland/Libraries/LibELF/DynamicObject.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Userland/Libraries/LibELF/DynamicObject.h b/Userland/Libraries/LibELF/DynamicObject.h index 2f2b2972e7..151f5d898d 100644 --- a/Userland/Libraries/LibELF/DynamicObject.h +++ b/Userland/Libraries/LibELF/DynamicObject.h @@ -251,6 +251,12 @@ public: template<typename F> void for_each_initialization_array_function(F f) const; + template<typename F> + void for_each_dynamic_entry(F) const; + + template<typename F> + void for_each_symbol(F) const; + struct SymbolLookupResult { FlatPtr value { 0 }; VirtualAddress address; @@ -273,12 +279,6 @@ private: const char* raw_symbol_string_table_string(Elf32_Word) const; void parse(); - template<typename F> - void for_each_symbol(F) const; - - template<typename F> - void for_each_dynamic_entry(F) const; - VirtualAddress m_base_address; VirtualAddress m_dynamic_address; VirtualAddress m_elf_base_address; |