Function falcon_capstone::capstone::engine_version
[−]
[src]
pub fn engine_version() -> (i32, i32, u32)
Get the version of the capstone engine.
Returns major, minor and combined. combined is (major << 8 | minor), and it encodes both major & minor versions.
Examples
use capstone_rust::capstone as cs; let (major, minor, combined) = cs::engine_version(); println!("Capstone version: {}.{}", major, minor); assert_eq!(((major << 8) | minor) as u32, combined);