struct
Cradare2::Model::SecurityInfo
- Cradare2::Model::SecurityInfo
- Struct
- Value
- Object
Overview
Comprehensive binary security posture model evaluated from executable headers.
Included Modules
- JSON::Serializable
Defined in:
cradare2/models/security_info.crConstructors
-
.from_bin_info(bin : BinInfo | Nil) : SecurityInfo
Computes security metrics from BinInfo
- .new(pull : JSON::PullParser)
- .new(canary : Bool = false, nx : Bool = false, pic : Bool = false, relocs : Bool = false, stripped : Bool = false, crypto : Bool = false, sanitize : Bool = false, score : Int32 = 0, recommendations : Array(String) = [] of String)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
- #aslr? : Bool
- #canary : Bool
- #crypto : Bool
- #dep? : Bool
- #nx : Bool
- #nx? : Bool
- #pic : Bool
- #pic? : Bool
- #recommendations : Array(String)
- #relocs : Bool
- #sanitize : Bool
- #score : Int32
- #secure? : Bool
- #stripped : Bool
Constructor Detail
Computes security metrics from BinInfo
def self.new(canary : Bool = false, nx : Bool = false, pic : Bool = false, relocs : Bool = false, stripped : Bool = false, crypto : Bool = false, sanitize : Bool = false, score : Int32 = 0, recommendations : Array(String) = [] of String)
#