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

Function test_used

hail-fuzz/src/load_resizer.rs:680–686  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

678
679#[test]
680fn test_used() {
681 let mut block = pcode::Block::new();
682 let reg = pcode::VarNode::new(1, 2);
683 block.push((reg, pcode::Op::Load(0), 0x1000));
684 // If all bits of the load are used then we must keep the original load size.
685 check(block, 0, None);
686}
687
688#[test]
689fn test_unused() {

Callers

nothing calls this directly

Calls 1

checkFunction · 0.85

Tested by

no test coverage detected