{"id":59318,"library":"vm-memory","title":"vm-memory","description":"Safe abstractions for accessing VM physical memory, used in virtualization.","status":"active","version":"0.18.0","language":"rust","source_language":null,"source_url":"https://github.com/rust-vmm/vm-memory","tags":["vm","memory","virtualization","vmm"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nvm-memory = \"0.18.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add vm-memory","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"GuestMemory","correct":"use vm_memory::GuestMemory;"}],"quickstart":{"code":"use vm_memory::{GuestMemory, GuestAddress};\n\nfn main() {\n    let mem = vm_memory::GuestMemoryMmap::new();\n    let addr = GuestAddress(0x1000);\n    let result = mem.read_obj::<u32>(addr);\n    println!(\"Read: {:?}\", result);\n}","lang":"rust","description":"Reads a u32 from guest memory at a given address."},"warnings":[{"fix":"Always check address ranges before reading/writing.","message":"Requires careful handling of guest address validity; invalid addresses may panic.","severity":"gotcha","affected_versions":">=0.1.0"}],"env_vars":null,"search_vec":"'abstract':5 'access':7 'memori':3,10,15 'physic':9 'safe':4 'use':11 'virtual':13,16 'vm':2,8,14 'vm-memori':1 'vmm':17","created_at":"2026-06-16T16:58:41.333927+00:00","updated_at":"2026-06-16T16:58:41.333927+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/rust-vmm/vm-memory","github":"https://github.com/rust-vmm/vm-memory","docs":"https://docs.rs/vm-memory/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["other"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-16","next_check":"2026-12-13","install_tag":null}}