bootstraps

Crates.iobootstraps
lib.rsbootstraps
version0.1.1
sourcesrc
created_at2022-10-17 23:33:46.256882
updated_at2022-10-18 14:47:40.015246
descriptionProc macro for Windows DllMain entry point
homepage
repositoryhttps://github.com/0xFounders/bootstraps
max_upload_size
id690488
size3,327
Chase (ohchase)

documentation

README

Crate

Bootstraps

Proc macro for Windows DllMain entry point

Todo

Make the proc macro send in the hinstDLL, needed for injected applications to be able to free themselves.

Example

cargo.toml

[lib]
crate-type = ["cdylib"]

[dependencies]
winapi = { version = "0.3.9", features = ["consoleapi", "processthreadsapi"] }
bootstraps = { version = "0.1.1" }

lib.rs

#[bootstraps::entry]
fn dll_main() {
  println!("Hi from DllMain")
}
Commit count: 0

cargo fmt