diff options
author | William Marlow <william.marlow@lux01.co.uk> | 2020-12-30 21:48:42 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-12-31 00:52:02 +0100 |
commit | 146fac24816651cfc8bb3420f015a43acc6593fc (patch) | |
tree | b65b84dde4e8a3a5cbf9895f7be06d6a809a8c56 /Applications | |
parent | a7c014125fcf82be8c3cb39398e439babe21c99f (diff) | |
download | serenity-146fac24816651cfc8bb3420f015a43acc6593fc.zip |
DynamicLoader: Handle Loader.so being invoked directly as an executable
Loader.so is an actual executable, as well as the interpreter for dynamic
libraries. Currently launching Loader.so as a standalone executable results
in an obsucre crash as it tries to load itself over itself.
Now we at least print a helpful message saying that you're doing the wrong
thing and exit gracefully. In future we may wish to allow users to specify
additional options to learn more about what's going on during dynamic
linking, such as ld-linux.so.2 on Linux.
Diffstat (limited to 'Applications')
0 files changed, 0 insertions, 0 deletions