checksec 0.0.6

Fast multi-platform (ELF/PE/MachO) binary checksec command line utility and library.
Documentation
1
2
3
4
5
6
7
8
9
10
11
/// dirty hack to return colorized boolean result as a String
#[macro_export]
macro_rules! colorize_bool {
    ($tf:expr) => {
        if $tf {
            format!("{}", $tf).bright_green().to_string()
        } else {
            format!("{}", $tf).red().to_string()
        };
    };
}