mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-08 08:44:22 +00:00
LibELF: Add find_demangled_function
Also, added AK::String::index_of and fixed a bug in ELF::Loader::symbol_ptr
This commit is contained in:
@@ -30,8 +30,8 @@
|
||||
|
||||
DebugSession::DebugSession(int pid)
|
||||
: m_debugee_pid(pid)
|
||||
, m_executable(make<MappedFile>(String::format("/proc/%d/exe", pid)))
|
||||
, m_elf_image(make<ELF::Image>(reinterpret_cast<u8*>(m_executable->data()), m_executable->size()))
|
||||
, m_executable(String::format("/proc/%d/exe", pid))
|
||||
, m_elf(reinterpret_cast<u8*>(m_executable.data()), m_executable.size())
|
||||
{
|
||||
}
|
||||
|
||||
@@ -176,8 +176,3 @@ void DebugSession::continue_debugee()
|
||||
ASSERT_NOT_REACHED();
|
||||
}
|
||||
}
|
||||
|
||||
VirtualAddress DebugSession::get_entry_point() const
|
||||
{
|
||||
return m_elf_image->entry();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user