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

Function with_right_shift

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

Source from the content-addressed store, hash-verified

784
785#[test]
786fn with_right_shift() {
787 let r1 = pcode::VarNode::new(1, 8);
788 let r2 = pcode::VarNode::new(2, 8);
789
790 let mut block = pcode::Block::new();
791 let tmp = block.alloc_tmp(8);
792 block.push((tmp, pcode::Op::Load(0), 0x1000));
793
794 block.push((r2, pcode::Op::IntRight, (tmp, r1)));
795 check(block, 0, None);
796}
797
798#[test]
799fn with_left_shift() {

Callers

nothing calls this directly

Calls 1

checkFunction · 0.85

Tested by

no test coverage detected