CertainLach/vmprotect ? reverse-engineered prompt
Reverse engineered prompt
Build me a Rust SDK for VMProtect that feels easy to use in normal Rust code.
I want a protected attribute for functions and a protected! macro for wrapping both code blocks and strings, so I can mark parts of my app to be virtualized, mutated, or otherwise protected without fighting the API. Please include support for optional license locked functions, and make the string helper work for both normal and wide strings. I’d also like a small licensing module with HWID support, plus a few simple examples showing how to use everything in real code.
Make it fit together cleanly as a crate, with any needed macro support and low level bindings hidden away so the public API stays simple. If you need to check the current VMProtect docs or Rust macro patterns online, go ahead. Add enough tests or examples that I can tell the basic features work, and keep the README style clear so someone can copy and paste the examples right away.
Are you gonna build this?
make sure you review the code using coderabbit