pub(crate) struct Ram {
pub(crate) memory: Vec<u8>,
pub(crate) listed: Vec<bool>,
pub(crate) tainted: Vec<bool>,
pub(crate) touched: Vec<u32>,
pub(crate) seen: Vec<(u8, u32, u8)>,
pub(crate) unlisted: Option<u32>,
pub(crate) pending_taint: bool,
pub(crate) own_cells: Vec<u32>,
pub(crate) overlapped: bool,
}Expand description
The case’s sparse RAM over the flat 2 MB, and the bookkeeping the reference keeps in dicts and sets.
Fields§
§memory: Vec<u8>§listed: Vec<bool>The address is a key of the reference’s memory dict.
tainted: Vec<bool>Block transfers read far more than the 500 RAM pairs the generator kept: a read of an address the case does not list returns 0 and taints the byte written next, and anything that depends on a tainted byte is not compared.
touched: Vec<u32>§seen: Vec<(u8, u32, u8)>§unlisted: Option<u32>§pending_taint: bool§own_cells: Vec<u32>§overlapped: boolImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Ram
impl RefUnwindSafe for Ram
impl Send for Ram
impl Sync for Ram
impl Unpin for Ram
impl UnwindSafe for Ram
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more