Opal::UI::BinaryMetrics
Inherits Opal::UI::Element < Opal::UI::Themable < Reference < Object
Generic visual dashboard for radare2 / binary static and dynamic analysis. Displays section distribution, function size outliers, security hardening posture, and code-to-data memory balance.
Constructors
new(target_name : String = "binary", total_size : UInt64 = 0_u64, code_size : UInt64 = 0_u64, sections : Array(Opal::UI::BinarySection) = [] of BinarySection, top_functions : Array(Opal::UI::BinaryFunction) = [] of BinaryFunction, hardening : Array(Opal::UI::HardeningFlag) = [] of HardeningFlag, title : String | Nil = "RADARE2 BINARY ANALYSIS & HARDENING METRICS", bar_char : Char = '|')
SourceInstance methods
add_section(name : String, size : UInt64, percentage : Float64, is_code : Bool = false, is_data : Bool = false) : Nil
Sourcebar_char
Sourcecode_size
Sourcehardening
Sourcesections
Sourcetarget_name
Sourcetitle
Sourcetop_functions
Sourcetotal_size
Source