class
Lapis::Debugger::RadareDriver
- Lapis::Debugger::RadareDriver
- Reference
- Object
Defined in:
libgodot/debugger/radare_driver.crConstructors
Class Method Summary
-
.available?(custom_path : String | Nil = nil) : Bool
Returns true if radare2 is installed and functional
-
.find_radare2(custom_path : String | Nil = nil) : String | Nil
Discovers radare2 executable path on system
Instance Method Summary
-
#attach(pid : Int64) : Bool
Spawns radare2 session and attaches to target process ID
- #attached_pid : Int64 | Nil
- #breakpoints : Hash(Int32, BreakpointInfo)
- #classifier : ContextClassifier
- #client : Cradare2::Client | Nil
-
#continue_exec : Void
Resumes execution in the target process asynchronously via worker thread
- #decompiler : Decompiler | Nil
-
#detach : Void
Detaches radare2 cleanly
-
#evaluate(expr : String) : String
Evaluates an expression in radare2
-
#interrupt_exec : Void
Interrupts/pauses the target process
-
#lockstep_paused_externally : Bool
Indicates whether the current pause was triggered by a cooperative peer lockstep break
-
#lockstep_paused_externally=(lockstep_paused_externally : Bool)
Indicates whether the current pause was triggered by a cooperative peer lockstep break
- #on_backtrace : Proc(Array(StackFrame), Nil) | Nil
- #on_backtrace=(on_backtrace : Proc(Array(StackFrame), Nil) | Nil)
- #on_continue : Proc(Nil) | Nil
- #on_continue=(on_continue : Proc(Nil) | Nil)
- #on_exit : Proc(Int32, Nil) | Nil
- #on_exit=(on_exit : Proc(Int32, Nil) | Nil)
- #on_output : Proc(String, Nil) | Nil
- #on_output=(on_output : Proc(String, Nil) | Nil)
- #on_stop : Proc(StopInfo, Nil) | Nil
- #on_stop=(on_stop : Proc(StopInfo, Nil) | Nil)
- #parse_frame_line(line : String) : StackFrame | Nil
-
#parse_stop_info(line : String) : StopInfo
Parses stop event string for mock testing
- #parse_stop_reason(line : String) : StopReason
-
#poll : Void
Pumps background events non-blockingly on the Godot main thread
-
#process_line(line : String) : Void
Processes streaming raw text line for headless testing or mock events
-
#remove_breakpoint(file : String, line : Int32) : Bool
Removes a breakpoint by file and line
-
#remove_breakpoint(id : Int32) : Bool
Removes a breakpoint by ID
-
#request_backtrace : Void
Requests call stack frames and dispatches on_backtrace
-
#request_variables(frame_index : Int32 = 0) : Array(VariableInfo)
Requests local variables for active frame
-
#send_command(command : String) : String
Sends an interactive raw command string to radare2
-
#set_breakpoint(file : String, line : Int32) : BreakpointInfo
Sets a breakpoint at the given file and line
- #state : DriverState
- #state=(state : DriverState)
-
#step_instruction : Void
Single instruction step
-
#step_into : Void
Step into source call
-
#step_out : Void
Step out of current function
-
#step_over : Void
Step over source call
-
#sync_all_breakpoints : Void
Synchronizes all cached breakpoints to the active radare2 process
Constructor Detail
Class Method Detail
Returns true if radare2 is installed and functional
Discovers radare2 executable path on system
Instance Method Detail
Indicates whether the current pause was triggered by a cooperative peer lockstep break
Indicates whether the current pause was triggered by a cooperative peer lockstep break
Processes streaming raw text line for headless testing or mock events
Requests local variables for active frame
Sets a breakpoint at the given file and line