liblisa::state::random

Function random_state

pub fn random_state<A: Arch, M: MappableArea, R: Rng>(
    rng: &mut R,
    instr: &Instruction,
    mappable: &M,
    pc: u64,
) -> SystemState<A>
Expand description

Generates a randomized SystemState, with only one memory mapping for the provided instruction instr.