mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-20 09:21:55 +00:00
LibCoredump: Add Coredump::Inspector
The coredump Inspector implements the ProcessInspector interface for a coredump. It is implemented using Coredump::Reader.
This commit is contained in:
parent
ac762fbbc3
commit
1c0a7cde63
Notes:
sideshowbarker
2024-07-18 00:57:16 +09:00
Author: https://github.com/itamar8910
Commit: 1c0a7cde63
Pull-request: https://github.com/SerenityOS/serenity/pull/10973
Reviewed-by: https://github.com/linusg ✅
5 changed files with 125 additions and 2 deletions
|
@ -15,7 +15,7 @@
|
|||
|
||||
namespace Coredump {
|
||||
|
||||
OwnPtr<Reader> Reader::create(const String& path)
|
||||
OwnPtr<Reader> Reader::create(StringView path)
|
||||
{
|
||||
auto file_or_error = MappedFile::map(path);
|
||||
if (file_or_error.is_error())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue