libmwemu 0.24.1

x86 32/64bits and system internals emulator, for securely emulating malware and other stuff.
Documentation
1
2
3
4
5
6
use crate::{constants, emu};

pub fn GetVersion(emu: &mut emu::Emu) {
    emu.regs_mut().rax = constants::VERSION;
    log_red!(emu, "kernel32!GetVersion   =0x{:x}", emu.regs().rax);
}