mod x86;
use capstone::{Arch, Capstone, Insn};
pub fn identify_jump_target(insn: &Insn, caps: &Capstone) -> Jump {
match caps.arch() {
Arch::X86 => x86::identify_jump_target(insn, caps),
_ => Jump::None,
}
}
#[derive(Debug, Copy, Clone)]
pub enum Jump {
Internal(usize),
External(u64),
None,
}