Class: CFrida::Process
- Inherits:
-
GObject
- Object
- GObject
- CFrida::Process
- Defined in:
- ext/c_frida/Process.c
Instance Method Summary collapse
- #inspect ⇒ Object (also: #to_s)
- #name ⇒ Object
- #parameters ⇒ Object
- #pid ⇒ Object
Instance Method Details
#inspect ⇒ Object Also known as: to_s
19 20 21 22 23 24 25 26 27 28 29 |
# File 'ext/c_frida/Process.c', line 19
static VALUE Process_inspect(VALUE self)
{
VALUE s;
s = rb_sprintf("#<Process: name=%+"PRIsVALUE", pid=%+"PRIsVALUE", parameters=%+"PRIsVALUE">", \
rb_funcall(self, rb_intern("name"), 0, NULL),
rb_funcall(self, rb_intern("pid"), 0, NULL),
rb_funcall(self, rb_intern("parameters"), 0, NULL)
);
return (s);
}
|
#name ⇒ Object
44 45 46 47 |
# File 'ext/c_frida/Process.c', line 44
static VALUE Process_name(VALUE self)
{
return (rb_ivar_get(self, rb_intern("name")));
}
|
#parameters ⇒ Object
53 54 55 56 |
# File 'ext/c_frida/Process.c', line 53
static VALUE Process_parameters(VALUE self)
{
return (rb_ivar_get(self, rb_intern("parameters")));
}
|
#pid ⇒ Object
35 36 37 38 |
# File 'ext/c_frida/Process.c', line 35
static VALUE Process_pid(VALUE self)
{
return (rb_ivar_get(self, rb_intern("pid")));
}
|