struct Cradare2::Model::ProcessInfo

Overview

Represents process info returned by radare2 dplj (attachable/running processes).

Included Modules

Defined in:

cradare2/models/process_info.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
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) #

[View source]
def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

[View source]

Instance Method Detail

def current : Bool | Nil #

[View source]
def current? : Bool #

Returns true if this process is the currently attached process in radare2.


[View source]
def name : String #

Returns the base executable filename extracted from the path.


[View source]
def path : String | Nil #

[View source]
def pid : Int32 #

[View source]
def ppid : Int32 | Nil #

[View source]
def status : String | Nil #

[View source]
def to_s(io : IO) : Nil #
Description copied from struct Struct

Same as #inspect(io).


[View source]
def uid : Int32 | Nil #

[View source]