You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// When we get a pointer from GenMC, then we must have sent it to GenMC before in the same execution (since the reads-from relation is always respected).
96
-
let alloc_id = genmc_ctx.exec_state.genmc_shared_allocs_map.borrow()[&scalar.extra];
94
+
// `provenance` is non-zero, we have a pointer.
95
+
// When we get a pointer from GenMC, then we must have sent it to GenMC before in the same
96
+
// execution (since the reads-from relation is always respected).
97
+
let alloc_id = genmc_ctx.exec_state.genmc_shared_allocs_map.borrow()[&scalar.provenance];
97
98
// FIXME(genmc,borrow tracking): Borrow tracking not yet supported.
98
99
let provenance = machine::Provenance::Concrete{ alloc_id,tag:BorTag::default()};
99
100
let ptr = interpret::Pointer::new(provenance,Size::from_bytes(scalar.value));
0 commit comments