struct
Cradare2::Model::ProcessInfo
- Cradare2::Model::ProcessInfo
- Struct
- Value
- Object
Overview
Represents process info returned by radare2 dplj (attachable/running processes).
Included Modules
- JSON::Serializable
Defined in:
cradare2/models/process_info.crConstructors
- .new(pull : JSON::PullParser)
- .new(pid : Int32, ppid : Int32 | Nil = nil, uid : Int32 | Nil = nil, status : String | Nil = nil, path : String | Nil = nil, current : Bool | Nil = nil)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
- #current : Bool | Nil
-
#current? : Bool
Returns true if this process is the currently attached process in radare2.
-
#name : String
Returns the base executable filename extracted from the path.
- #path : String | Nil
- #pid : Int32
- #ppid : Int32 | Nil
- #status : String | Nil
-
#to_s(io : IO) : Nil
Same as
#inspect(io). - #uid : Int32 | Nil
Constructor Detail
def self.new(pid : Int32, ppid : Int32 | Nil = nil, uid : Int32 | Nil = nil, status : String | Nil = nil, path : String | Nil = nil, current : Bool | Nil = nil)
#