| Crates.io | dma-rs |
| lib.rs | dma-rs |
| version | 1.0.0 |
| created_at | 2025-12-15 11:50:56.131434+00 |
| updated_at | 2025-12-15 15:58:51.555828+00 |
| description | A Rust library for hardware DMA interaction on Windows |
| homepage | |
| repository | https://github.com/vasie1337/dma-rs |
| max_upload_size | |
| id | 1985889 |
| size | 3,071,881 |
A Rust library for DMA access on Windows.
use dma_rs::Dma;
fn main() -> Result<(), Box<dyn std::error::Error>> {
let dma = Dma::new("fpga://algo=0")?;
let process = dma.attach("explorer.exe")?;
let modules = process.list_modules()?;
if let Some(module) = modules.first() {
let value: u64 = process.read(module.base)?;
println!("Read: 0x{:X}", value);
}
Ok(())
}
MIT