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

Function with_bool_op

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

Source from the content-addressed store, hash-verified

807
808#[test]
809fn with_bool_op() {
810 let r1 = pcode::VarNode::new(1, 4);
811 let r2 = pcode::VarNode::new(1, 4);
812 let r3 = pcode::VarNode::new(1, 1);
813
814 let mut block = pcode::Block::new();
815 let tmp = block.alloc_tmp(4);
816 block.push((tmp, pcode::Op::Load(0), 0x1000));
817 let tmp2 = block.alloc_tmp(4);
818 block.push((tmp2, pcode::Op::IntRight, (tmp, r1)));
819 block.push((r3, pcode::Op::IntEqual, (tmp2, r2)));
820 check(block, 0, None);
821}
822
823#[test]
824fn test_with_store() {

Callers

nothing calls this directly

Calls 1

checkFunction · 0.85

Tested by

no test coverage detected