1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 15:57:35 +00:00

LibCoredump: Respect coredump's LD_LIBRARY_PATH when searching libraries

Previously, we would only resolve libraries from `/usr/lib`, which is
not the only path from which the crashed process could've loaded the
libraries from.
This commit is contained in:
Sviatoslav Peleshko 2022-02-07 05:42:05 +02:00 committed by Andreas Kling
parent 334ed9225a
commit a666140a68
4 changed files with 52 additions and 19 deletions

View file

@ -70,6 +70,8 @@ public:
};
const LibraryData* library_containing(FlatPtr address) const;
String resolve_object_path(StringView object_name) const;
int process_pid() const;
u8 process_termination_signal() const;
String process_executable_path() const;