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

Function test_lowest_bit

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

Source from the content-addressed store, hash-verified

713
714#[test]
715fn test_lowest_bit() {
716 let reg = pcode::VarNode::new(1, 2);
717
718 let mut block = pcode::Block::new();
719 let tmp = block.alloc_tmp(2);
720 block.push((tmp, pcode::Op::Load(0), 0x1000));
721 block.push((reg, pcode::Op::IntAnd, (tmp, 1_u16)));
722 check(block, 0, Some((0, 0)));
723}
724
725#[test]
726fn test_high_bits() {

Callers

nothing calls this directly

Calls 1

checkFunction · 0.85

Tested by

no test coverage detected