1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 17:37:34 +00:00

LibCoredump: Show frames from Loader.so if the crash occurs in it

Previously we rejected all entries from Loader.so even if the faulting
address was located in it, i.e. the actual issue was with the dynamic
loader. We no longer do that to make debugging Loader crashes easier.
This commit is contained in:
Daniel Bertalan 2021-10-10 08:06:28 +02:00 committed by Linus Groh
parent bb4bb3c2f4
commit 3c3df95958
2 changed files with 8 additions and 2 deletions

View file

@ -47,6 +47,7 @@ private:
void add_entry(const Reader&, FlatPtr ip);
ELFObjectInfo const* object_info_for_region(ELF::Core::MemoryRegionInfo const&);
bool m_skip_loader_so { false };
ELF::Core::ThreadInfo m_thread_info;
Vector<Entry> m_entries;
HashMap<String, NonnullOwnPtr<ELFObjectInfo>> m_debug_info_cache;