struct Cradare2::Model::SecurityInfo

Overview

Comprehensive binary security posture model evaluated from executable headers.

Included Modules

Defined in:

cradare2/models/security_info.cr

Constructors

Instance Method Summary

Constructor Detail

def self.from_bin_info(bin : BinInfo | Nil) : SecurityInfo #

Computes security metrics from BinInfo


[View source]
def self.new(pull : JSON::PullParser) #

[View source]
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) #

[View source]
def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

[View source]

Instance Method Detail

def aslr? : Bool #

[View source]
def canary : Bool #

[View source]
def crypto : Bool #

[View source]
def dep? : Bool #

[View source]
def nx : Bool #

[View source]
def nx? : Bool #

[View source]
def pic : Bool #

[View source]
def pic? : Bool #

[View source]
def recommendations : Array(String) #

[View source]
def relocs : Bool #

[View source]
def sanitize : Bool #

[View source]
def score : Int32 #

[View source]
def secure? : Bool #

[View source]
def stripped : Bool #

[View source]