MCPcopy Create free account
hub / github.com/MultiFuzz/MultiFuzz / new

Method new

icicle-cortexm/src/arm.rs:20–28  ·  view source on GitHub ↗
(cpu: &mut Cpu)

Source from the content-addressed store, hash-verified

18
19impl XpsrHandler {
20 pub fn new(cpu: &mut Cpu) -> Self {
21 Self {
22 ng: cpu.arch.sleigh.get_varnode("NG").unwrap(),
23 zr: cpu.arch.sleigh.get_varnode("ZR").unwrap(),
24 cy: cpu.arch.sleigh.get_varnode("CY").unwrap(),
25 ov: cpu.arch.sleigh.get_varnode("OV").unwrap(),
26 xpsr: cpu.arch.sleigh.get_varnode("xpsr").unwrap(),
27 }
28 }
29}
30
31const XPSR_NZCV_MASK: u32 = 0xf000_0000;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected