class
Cradare2::Options
- Cradare2::Options
- Reference
- Object
Overview
Configuration options for establishing a radare2 session.
Defined in:
cradare2/options.crConstructors
-
.build(&block : Options -> Nil) : Options
Fluent builder helper
- .new(target : String | Nil = nil, flags : Array(String) = [] of String, debug : Bool = false, write : Bool = false, r2_path : String | Nil = nil, timeout : Time::Span | Nil = nil, attach_pid : Int64 | Nil = nil, source_paths : Array(String) = [] of String, path_mappings : Hash(String, String) = Hash(String, String).new, auto_analyze : Bool = false, log_commands : Bool = false, arch : String | Nil = nil, bits : Int32 | Nil = nil, cpu : String | Nil = nil, eval_commands : Array(String) = [] of String)
Instance Method Summary
- #add_flag(flag : String) : self
- #add_flags(flags : Array(String)) : self
- #analyze_on_open(enabled : Bool = true) : self
- #arch(val : String | Nil) : self
- #arch : String | Nil
- #arch=(arch : String | Nil)
- #attach_pid(val : Int32 | Int64 | Nil) : self
- #attach_pid : Int64 | Nil
- #attach_pid=(attach_pid : Int64 | Nil)
- #auto_analyze : Bool
- #auto_analyze=(auto_analyze : Bool)
- #bits(val : Int32 | Nil) : self
- #bits : Int32 | Nil
- #bits=(bits : Int32 | Nil)
- #clone : Options
- #cpu(val : String | Nil) : self
- #cpu : String | Nil
- #cpu=(cpu : String | Nil)
- #debug : Bool
- #debug=(debug : Bool)
- #debug_mode(enabled : Bool = true) : self
- #eval(key : String, value : String) : self
- #eval_commands : Array(String)
- #eval_commands=(eval_commands : Array(String))
- #flags : Array(String)
- #flags=(flags : Array(String))
- #gdb_target(host : String = "127.0.0.1", port : Int32 = 1234) : self
- #log_commands : Bool
- #log_commands=(log_commands : Bool)
- #path_mappings : Hash(String, String)
- #path_mappings=(path_mappings : Hash(String, String))
- #r2_path(path : String | Nil) : self
- #r2_path : String | Nil
- #r2_path=(r2_path : String | Nil)
- #read_only_mode : self
- #skip_analysis : self
- #source_paths : Array(String)
- #source_paths=(source_paths : Array(String))
- #target(val : String | Nil) : self
- #target : String | Nil
- #target=(target : String | Nil)
- #timeout(span : Time::Span | Nil) : self
- #timeout : Time::Span | Nil
- #timeout=(timeout : Time::Span | Nil)
- #write : Bool
- #write=(write : Bool)
- #write_mode(enabled : Bool = true) : self
Constructor Detail
def self.new(target : String | Nil = nil, flags : Array(String) = [] of String, debug : Bool = false, write : Bool = false, r2_path : String | Nil = nil, timeout : Time::Span | Nil = nil, attach_pid : Int64 | Nil = nil, source_paths : Array(String) = [] of String, path_mappings : Hash(String, String) = Hash(String, String).new, auto_analyze : Bool = false, log_commands : Bool = false, arch : String | Nil = nil, bits : Int32 | Nil = nil, cpu : String | Nil = nil, eval_commands : Array(String) = [] of String)
#