Crate winapi_hash[−][src]
Expand description
This crate is a simple implementation of Windows API hashing using some expiremental features such as generic_const_exprs and adt_const_params. It should be noted that this crate is very unsafe and should be used with extreme caution or just as a proof of concept.
There are many good resources outlining the concept behind API hashing such as on ired.team, or on 0xf0x’s blog.
Re-exports
pub use winapi;
Macros
Macro that will automaically hash your function string, resolve and transmute the function, and finally call it.
Structs
Generic structure holding a HashFunction trait with, associated functions used for resolving windows APIs dynamically.
Traits
A trait providing a common digest function and length to be used by the ApiHashResolver.