From f8c603fe7ef142ed64fedb6c79a0de44f8f2dcd2 Mon Sep 17 00:00:00 2001 From: Brendan Coles Date: Sat, 20 Mar 2021 09:19:06 +0000 Subject: LibELF: DynamicObject: set for_each_symbol/for_each_dynamic_entry public --- Userland/Libraries/LibELF/DynamicObject.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Userland/Libraries/LibELF') 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 void for_each_initialization_array_function(F f) const; + template + void for_each_dynamic_entry(F) const; + + template + 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 - void for_each_symbol(F) const; - - template - void for_each_dynamic_entry(F) const; - VirtualAddress m_base_address; VirtualAddress m_dynamic_address; VirtualAddress m_elf_base_address; -- cgit v1.2.3