memflex 0.8.4

Memory hacking library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#[cfg(windows)]
fn main() {
    use memflex::types::win::Teb;

    unsafe {
        let ldr = Teb::get().peb.as_ref().ldr.as_ref();
        for e in ldr.iter() {
            println!("{}", e.base_dll_name.to_string().unwrap());
        }
    }
}

#[cfg(not(windows))]
fn main() {
    panic!("This example can only run on windows");
}