mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:34:59 +00:00
LibELF: Name library maps with the full file path
This commit is contained in:
parent
2b7b7f2816
commit
89da0f2da5
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