moon-windows-symbols

Crates.iomoon-windows-symbols
lib.rsmoon-windows-symbols
version0.1.0
sourcesrc
created_at2024-11-14 09:29:20.597966
updated_at2024-11-14 09:29:20.597966
descriptionGet windows kernel using windows DbgHelp API
homepage
repository
max_upload_size
id1447581
size6,634
zanpocc (zanpocc)

documentation

README

Get windows kernel using windows DbgHelp API

Start

cargo add moon-windows-symbol

Simple exampel

pub fn main(){
    let loader = SymbolLoader::new(None).unwrap();
    let address = loader
        .get_kernel_symbol_address("KeUserModeCallback")
        .unwrap();

    println!("0x{:X}", address);
}

Assign pdb download path

pub fn main(){
    let loader = SymbolLoader::new(Some("C:\\Symbols")).unwrap();
    let address = loader
        .get_kernel_symbol_address("KeUserModeCallback")
        .unwrap();

    println!("0x{:X}", address);
}
Commit count: 0

cargo fmt