1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:28:12 +00:00

ELFLoader should fail with an error message for unresolved symbols.

This commit is contained in:
Andreas Kling 2018-10-25 10:00:37 +02:00
parent ec1d16b307
commit 16f318408d
14 changed files with 80 additions and 24 deletions

View file

@ -201,6 +201,7 @@ Task* Task::create(const String& path, uid_t uid, gid_t gid, pid_t parentPID)
bool success = space.loadELF(move(elfData));
if (!success) {
delete t;
kprintf("Failure loading ELF %s\n", path.characters());
return nullptr;
}