1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 14:07:46 +00:00

LibELF: Move the implementation of find_demangled_function to ELF::Image

This commit is contained in:
Itamar 2020-11-28 15:04:20 +02:00 committed by Andreas Kling
parent 0220b5361e
commit 93b68f5566
4 changed files with 26 additions and 20 deletions

View file

@ -208,6 +208,8 @@ public:
FlatPtr base_address() const { return (FlatPtr)m_buffer; }
size_t size() const { return m_size; }
Optional<Symbol> find_demangled_function(const String& name) const;
private:
const char* raw_data(unsigned offset) const;
const Elf32_Ehdr& header() const;