haruspex 0.8.0

Vulnerability research assistant that extracts pseudocode from IDA Hex-Rays decompiler.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! build.rs - See <https://github.com/idalib-rs/idalib/blob/master/README.md>

use std::error::Error;

fn main() -> Result<(), Box<dyn Error>> {
    let (_, ida_path, idalib_path) = idalib_build::idalib_install_paths_with(false);
    if !ida_path.exists() || !idalib_path.exists() {
        println!("cargo::warning=IDA installation not found, check your IDADIR env var");
        idalib_build::configure_idasdk_linkage();
    } else {
        idalib_build::configure_linkage()?;
    }
    Ok(())
}