mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 08:47:44 +00:00
LibCoreDump: Make symbolication work when .text isn't the first segment
This can happen with binaries built with Clang or with a custom linker script.
This commit is contained in:
parent
99d46caa28
commit
c9118b84b7
3 changed files with 21 additions and 3 deletions
|
@ -32,6 +32,7 @@ public:
|
|||
const ELF::Image& image() const { return m_coredump_image; }
|
||||
|
||||
Optional<FlatPtr> peek_memory(FlatPtr address) const;
|
||||
ELF::Core::MemoryRegionInfo const* first_region_for_object(StringView object_name) const;
|
||||
const ELF::Core::MemoryRegionInfo* region_containing(FlatPtr address) const;
|
||||
|
||||
struct LibraryData {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue