class
Cradare2::TUI::ExplorerModel
- Cradare2::TUI::ExplorerModel
- Reference
- Object
Overview
Interactive terminal binary explorer and decompiler model powered by Opal TEA.
Included Modules
- Opal::TEA::Model
Defined in:
cradare2/tui/explorer.crConstructors
Class Method Summary
Instance Method Summary
- #active_function : Model::Function | Nil
- #active_tab : Int32
- #client : Client
- #code_scroll : Int32
- #current_decompilation : String
- #current_disassembly : String
- #filtered_functions : Array(Model::Function)
- #focus_pane : Symbol
- #functions : Array(Model::Function)
- #height : Int32
- #height=(height : Int32)
-
#init : Opal::TEA::Cmd
Returns initial commands to execute upon application startup.
- #search_query : String
- #searching? : Bool
- #selected_func_idx : Int32
- #show_asm? : Bool
- #side_by_side? : Bool
-
#update(msg : Opal::TEA::Msg) : Tuple(Opal::TEA::Model, Opal::TEA::Cmd)
Updates the model state based on an incoming message, returning the new model and optional command.
- #view(width : Int32, height : Int32) : String
-
#view : String
Renders the current state as a formatted terminal string.
- #width : Int32
- #width=(width : Int32)
Constructor Detail
Class Method Detail
Instance Method Detail
def init : Opal::TEA::Cmd
#
Description copied from module Opal::TEA::Model
Returns initial commands to execute upon application startup.
def update(msg : Opal::TEA::Msg) : Tuple(Opal::TEA::Model, Opal::TEA::Cmd)
#
Description copied from module Opal::TEA::Model
Updates the model state based on an incoming message, returning the new model and optional command.
def view : String
#
Description copied from module Opal::TEA::Model
Renders the current state as a formatted terminal string.