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:
parent
9227e66bb4
commit
a28954a882
3 changed files with 39 additions and 9 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue