bad64 0.12.0

Rust bindings for Binja's arm64 disassembler
Documentation
1
2
3
4
5
6
7
8
9
10
use rand::Rng;

fn main() {
    loop {
        if let Ok(decoded) = bad64::decode(rand::rng().random::<u32>(), rand::rng().random::<u64>())
        {
            println!("{:x}: {}", decoded.opcode(), decoded);
        }
    }
}