mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:57:44 +00:00
LibELF: Move ELF hash functions to their own file (and make constexpr)
This commit is contained in:
parent
145923bdc9
commit
37420f1baf
3 changed files with 67 additions and 35 deletions
|
@ -200,9 +200,6 @@ public:
|
|||
Optional<Symbol> lookup_symbol(const StringView& name) const;
|
||||
|
||||
private:
|
||||
static u32 calculate_elf_hash(const StringView& name);
|
||||
static u32 calculate_gnu_hash(const StringView& name);
|
||||
|
||||
Optional<Symbol> lookup_elf_symbol(const StringView& name) const;
|
||||
Optional<Symbol> lookup_gnu_symbol(const StringView& name) const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue