| Crates.io | aegis_vm_macro |
| lib.rs | aegis_vm_macro |
| version | 0.2.51 |
| created_at | 2025-11-28 13:37:40.718273+00 |
| updated_at | 2025-12-16 11:16:39.919521+00 |
| description | Proc-macro for VM-protected functions - RustAegis |
| homepage | |
| repository | https://github.com/onurkun/RustAegis-vm-macro |
| max_upload_size | |
| id | 1955302 |
| size | 389,549 |
Proc-macro crate for RustAegis - a code virtualization and obfuscation framework.
This crate is re-exported by aegis_vm. You should use aegis_vm directly:
[dependencies]
aegis_vm = "0.2.2"
use aegis_vm::vm_protect;
#[vm_protect]
fn secret_function(x: u64) -> u64 {
x + 42
}
// NEW in v0.2.2: Native function calls work automatically!
fn external_check() -> bool { true }
#[vm_protect]
fn protected_with_calls() -> bool {
let result: bool = external_check(); // Auto-wrapped
result
}
aegis_str! macro for compile-time string encryptionbool type annotations: let x: bool = func();println!, etc.) not supported - use wrapper functionsu64, u32, i64, i32, u16, u8, bool, charMIT