mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 07:25:07 +00:00
LibELF: Make ELF::Loader RefCounted
This commit is contained in:
parent
5c1b3ce42e
commit
edaa9c06d9
5 changed files with 15 additions and 10 deletions
|
@ -80,7 +80,7 @@ DisassemblyModel::DisassemblyModel(Profile& profile, ProfileNode& node)
|
|||
if (!m_file->is_valid())
|
||||
return;
|
||||
|
||||
auto elf_loader = make<ELF::Loader>((const u8*)m_file->data(), m_file->size());
|
||||
auto elf_loader = ELF::Loader::create((const u8*)m_file->data(), m_file->size());
|
||||
|
||||
auto symbol = elf_loader->find_symbol(node.address());
|
||||
if (!symbol.has_value())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue