Class: CFrida::Process

Inherits:
GObject
  • Object
show all
Defined in:
ext/c_frida/Process.c

Instance Method Summary collapse

Instance Method Details

#inspectObject 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);
}

#nameObject



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")));
}

#parametersObject



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")));
}

#pidObject



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")));
}