1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 18:58:12 +00:00

LibELF+LibCoreDump: Add a ProcessInfo notes entry

This is a new NotesEntry type which contains information related to the
coredump's process:

- PID
- executable path

Having these in the coredump explicitly avoids having to parse them from
the coredump filename and backtrace, respectively.
This commit is contained in:
Linus Groh 2020-12-30 13:18:32 +01:00 committed by Andreas Kling
parent 9227e66bb4
commit a28954a882
3 changed files with 39 additions and 9 deletions

View file

@ -44,6 +44,8 @@ public:
Reader(OwnPtr<MappedFile>&&);
const ELF::Core::ProcessInfo& process_info() const;
template<typename Func>
void for_each_memory_region_info(Func func) const;