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:
parent
0220b5361e
commit
93b68f5566
4 changed files with 26 additions and 20 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue