ladybird/Userland/DynamicLoader
William Marlow 146fac2481 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.
2020-12-31 00:52:02 +01:00
..
CMakeLists.txt Loader: Add dynamic loader program 2020-12-14 23:05:53 +01:00
main.cpp DynamicLoader: Handle Loader.so being invoked directly as an executable 2020-12-31 00:52:02 +01:00
math.cpp Loader: Add dynamic loader program 2020-12-14 23:05:53 +01:00
math.h Loader: Add dynamic loader program 2020-12-14 23:05:53 +01:00
misc.cpp Loader: Stabilize loader & Use shared libraries everywhere :^) 2020-12-14 23:05:53 +01:00
misc.h Loader: Add dynamic loader program 2020-12-14 23:05:53 +01:00