Hello,
Currently you can do Library::new() which loads a library.
For my use case it would be create to have Library::open that opens an already existing library.
- I'm trying to query optionally exported functions in preloaded shared library.
Implementation can be accomplished with the RTLD_NOLOAD flag for dlopen on most unixes and GetModuleHandleEx in windows.
I can write the code myself and submit a PR if that works for you.
Hello,
Currently you can do
Library::new()which loads a library.For my use case it would be create to have
Library::openthat opens an already existing library.Implementation can be accomplished with the RTLD_NOLOAD flag for dlopen on most unixes and GetModuleHandleEx in windows.
I can write the code myself and submit a PR if that works for you.