5 releases

0.2.2 Nov 23, 2022
0.2.1 Nov 22, 2022
0.2.0 Nov 22, 2022
0.1.1 Nov 22, 2022
0.1.0 Nov 22, 2022

#81 in #dll


Used in proxy-dll

GPL-2.0 license

10KB
64 lines

dll-proxy-rs

placeholder readme

under construction


lib.rs:

A Macro for defining an entry point for a cdylib.

On Windows, this macro will wrap your function in DllMain, and call it when the DLL attaches. It will lookup exports of supported proxies, based on our own Module Name, and store them. Effectively, creating a dynamic proxy that we could add any number of supported proxies to.

Supported Targets

  • Windows
    • x86_64-pc-windows-msvc
    • i686-pc-windows-msvc

Safety

This crate is pretty unsafe

Dependencies

~1.5MB
~34K SLoC