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

Method add_usage

hail-fuzz/src/load_resizer.rs:307–311  ·  view source on GitHub ↗

Track any bits in `value` that originate from load expressions.

(&mut self, dst: OutputExprId, has_side_effects: bool, value: &[Bit])

Source from the content-addressed store, hash-verified

305
306 /// Track any bits in `value` that originate from load expressions.
307 fn add_usage(&mut self, dst: OutputExprId, has_side_effects: bool, value: &[Bit]) {
308 for bit in value {
309 self.add_bit_use(dst, has_side_effects, *bit);
310 }
311 }
312
313 /// Tracks a usage of `bit` as part of the expression at `dst`.
314 fn add_bit_use(&mut self, dst: OutputExprId, has_side_effects: bool, bit: Bit) {

Callers 1

find_loads_and_usesMethod · 0.80

Calls 1

add_bit_useMethod · 0.80

Tested by

no test coverage detected