Module gxa

Module gxa 

Source
Expand description

This contains types that are useful to manipulate Guest Virtual Addresses (Gva) and Guest Physical Addresses (Gpa). Because ultimately they are both u64 under the hood, a lot of operations apply to both Gva & Gpa (Gxa::page_align, etc.) and those are implemented into the parent trait Gxa.

§Examples

use kdmp_parser::gxa::{Gxa, Gva};
let gva = Gva::new(1337);
let page_aligned_gva = gva.page_align();
let page_offset = gva.offset();

Structs§

Gpa
Strong type for Guest Physical Addresses.
Gva
Strong type for Guest Virtual Addresses.

Traits§

Gxa
A bunch of useful methods to manipulate 64-bit addresses of any kind.