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
commit efec344803
Notes: sideshowbarker 2024-07-17 02:22:44 +09:00
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;