rust-dlopen
rust-dlopen copied to clipboard
Rust library for opening and working with dynamic link libraries.
Rust on Windows has to call `SymInitializeW` before generating a backtrace, and it doesn't call `SymCleanup` afterward. If `AddressInfoObtainer` is then used, it calls `SymInitializeW` again, which fails because it...
I can see in the source code that there's a global lock for `dlerror`, since this crate assumes that it's not thread-safe. However, the manuals for Linux and macOS do...
If possible `#[derive(WrapperApi)]` should copy the documentation from the corresponding field to the generated method. An example of this not happening can be seen here: - Documentation: https://docs.rs/netcorehost/0.2.2/netcorehost/bindings/hostfxr/struct.HostfxrLib.html - Source:...
This library looks promising for my needs, but looks like not much has happened for a while? What is the plan with this library, is it going to be maintained?
This is reported when turning on the `#![no-std]`. ```rust dlopen-test on main [?] via 🦀 v1.60.0-nightly ✗✗✗ RUSTFLAGS="-Z macro-backtrace" cargo build --release error[E0433]: failed to resolve: could not...
This messes up the formatting otherwise
I had to add this to Cargo.toml in addition for `dlopen = "0.1"` `dlopen_derive = "0.1"` Please add it to the docs
I'm using the raw API, and would like to get the DLL base address. It's currently possible to use `AddressInfoObtainer` to get the base address, but that requires the user...
I am using the library to verify that a dynamic linked library exports a specific set of symbols. Currently, the library returns an error in cases of missing symbols that...