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

Method matches_context

icicle-cortexm/src/mmio.rs:12–15  ·  view source on GitHub ↗
(&self, pc: u64, mem_addr: u64)

Source from the content-addressed store, hash-verified

10
11impl Model {
12 fn matches_context(&self, pc: u64, mem_addr: u64) -> bool {
13 (self.pc == u32::MAX || self.pc as u64 == pc)
14 && (self.addr == u32::MAX || self.addr as u64 == mem_addr)
15 }
16}
17
18pub enum ModelKind {

Callers 1

readMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected