[][src]Crate binsec

lib.rs

Library interface for binsec static detection functionality.
Implements the deserializable components for output/file-IO, and
the main detection interface for parsing the binary for features to output.

Structs

BinInfo

struct defining parsed basic information from ELF binary to be outputted and deserialized if user chooses to.

Binsec

struct defining security features parsed from ELF, and derives serde de/serialize traits for structured output. TODO: SELinux, fortify-source, runpath

Detector

Detector defines the main interface struct for CLI. Used to store parsed cli opts generate a Binsec struct, and output accordingly using a builder pattern.

Enums

Format

defines the currently supported formats available to serialize information.

Relro

specifies type of relocation read-only, which defines how dynamic relocations are resolved as a security feature against GOT/PLT attacks.