mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 18:10:56 +09:00
LibELF: Name library maps with the full file path
This commit is contained in:
parent
2b7b7f2816
commit
89da0f2da5
Notes:
sideshowbarker
2024-07-17 11:13:34 +09:00
Author: https://github.com/timschumi
Commit: 89da0f2da5
Pull-request: https://github.com/SerenityOS/serenity/pull/13946
4 changed files with 17 additions and 15 deletions
|
@ -336,7 +336,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
}
|
||||
|
||||
int fd = TRY(Core::System::open(path, O_RDONLY));
|
||||
auto result = ELF::DynamicLoader::try_create(fd, path);
|
||||
auto result = ELF::DynamicLoader::try_create(fd, path, path);
|
||||
if (result.is_error()) {
|
||||
outln("{}", result.error().text);
|
||||
return 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue