summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibELF
diff options
context:
space:
mode:
authorTim Schumacher <timschumi@gmx.de>2022-02-18 19:21:51 +0100
committerLinus Groh <mail@linusgroh.de>2022-03-08 23:21:35 +0100
commit7bd0a3e9bac9bd7afd6e8c9fb2e9b87c56a7edea (patch)
tree8d84309eee68e5759cb06df2905ba603b8a0636f /Userland/Libraries/LibELF
parent03c46a261f8f5dc6897aeb64a287364f23787515 (diff)
downloadserenity-7bd0a3e9bac9bd7afd6e8c9fb2e9b87c56a7edea.zip
DynamicLoader: Make the cached DynamicObject publicly accessible
Diffstat (limited to 'Userland/Libraries/LibELF')
-rw-r--r--Userland/Libraries/LibELF/DynamicLoader.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibELF/DynamicLoader.h b/Userland/Libraries/LibELF/DynamicLoader.h
index d7c0c71e75..c6ca8fc7ab 100644
--- a/Userland/Libraries/LibELF/DynamicLoader.h
+++ b/Userland/Libraries/LibELF/DynamicLoader.h
@@ -80,6 +80,8 @@ public:
static Optional<DynamicObject::SymbolLookupResult> lookup_symbol(const ELF::DynamicObject::Symbol&);
void copy_initial_tls_data_into(ByteBuffer& buffer) const;
+ DynamicObject const& dynamic_object() const;
+
private:
DynamicLoader(int fd, String filename, void* file_data, size_t file_size);
@@ -107,8 +109,6 @@ private:
ElfW(Phdr) m_program_header; // Explicitly a copy of the PHDR in the image
};
- const DynamicObject& dynamic_object() const;
-
// Stage 1
void load_program_headers();