1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 05:47:34 +00:00

LibELF: Export static resolve_library method of the DynamicLinker code

It will be used in the following commit to introduce a new utility to
use this method.
This commit is contained in:
Liav A 2022-12-18 16:41:09 +02:00 committed by Andrew Kaster
parent ab8522aa17
commit efec344803
2 changed files with 6 additions and 4 deletions

View file

@ -17,6 +17,8 @@ public:
static Optional<DynamicObject::SymbolLookupResult> lookup_global_symbol(StringView symbol);
[[noreturn]] static void linker_main(DeprecatedString&& main_program_path, int fd, bool is_secure, int argc, char** argv, char** envp);
static Optional<DeprecatedString> resolve_library(DeprecatedString const& name, DynamicObject const& parent_object);
private:
DynamicLinker() = delete;
~DynamicLinker() = delete;