Skip to content

support opening existing library #27

@yuval-k

Description

@yuval-k

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions