File: lib_test.rs

package info (click to toggle)
rust-yaxpeax-x86 2.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 8,684 kB
  • sloc: makefile: 13
file content (6 lines) | stat: -rw-r--r-- 159 bytes parent folder | download
1
2
3
4
5
6
#[test]
fn test_disasm() {
    let mut instr = Instruction::invalid();
    arch::x86_64::instr::decode_one(&[0x33, 0xc0], &mut instr);
    assert_eq!(1, 1);
}