MCPcopy Create free account
hub / github.com/AI45Lab/Code / wipe

Method wipe

core/src/security/default.rs:261–264  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

259 }
260
261 fn wipe(&self) {
262 let mut tainted = self.tainted_data.write().unwrap();
263 tainted.clear();
264 }
265
266 fn register_hooks(&self, _hook_engine: &HookEngine) {
267 // Security enforcement is handled directly in execute_loop via

Callers 1

test_wipeFunction · 0.45

Calls 2

writeMethod · 0.80
clearMethod · 0.45

Tested by 1

test_wipeFunction · 0.36