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

Function test_branch

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

Source from the content-addressed store, hash-verified

754
755#[test]
756fn test_branch() {
757 let mut block = pcode::Block::new();
758 let tmp = block.alloc_tmp(8);
759 block.push((tmp, pcode::Op::Load(0), 0x1000));
760 block.push((pcode::Op::Branch(pcode::BranchHint::Call), (1_u8, tmp)));
761
762 // Need all bits for a call/branch operation.
763 check(block, 0, None);
764}
765
766#[test]
767fn test_branch_with_tmps() {

Callers

nothing calls this directly

Calls 1

checkFunction · 0.85

Tested by

no test coverage detected