Class: CFrida::Crash
Instance Method Summary collapse
- #inspect ⇒ Object (also: #to_s)
- #parameters ⇒ Object
- #pid ⇒ Object
- #process_name ⇒ Object
- #report ⇒ Object
- #summary ⇒ Object
Methods inherited from GObject
Instance Method Details
#inspect ⇒ Object Also known as: to_s
21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
# File 'ext/c_frida/Crash.c', line 21
VALUE Crash_inspect(VALUE self)
{
VALUE s, report;
report = rb_funcall(self, rb_intern("report"), 0, NULL);
s = rb_sprintf("#<Crash: pid=%+"PRIsVALUE", process_name=%+"PRIsVALUE", summary=%+"PRIsVALUE", report=<%+"PRIsVALUE" bytes>, parameters=%+"PRIsVALUE">", \
rb_funcall(self, rb_intern("pid"), 0, NULL),
rb_funcall(self, rb_intern("process_name"), 0, NULL),
rb_funcall(self, rb_intern("summary"), 0, NULL),
(report == Qnil) ? UINT2NUM(0) : rb_funcall(report, rb_intern("length"), 0, NULL),
rb_funcall(self, rb_intern("parameters"), 0, NULL)
);
return (s);
}
|
#parameters ⇒ Object
76 77 78 79 |
# File 'ext/c_frida/Crash.c', line 76
static VALUE Crash_parameters(VALUE self)
{
return (rb_ivar_get(self, rb_intern("parameters")));
}
|
#pid ⇒ Object
40 41 42 43 |
# File 'ext/c_frida/Crash.c', line 40
static VALUE Crash_pid(VALUE self)
{
return (rb_ivar_get(self, rb_intern("pid")));
}
|
#process_name ⇒ Object
49 50 51 52 |
# File 'ext/c_frida/Crash.c', line 49
static VALUE Crash_process_name(VALUE self)
{
return (rb_ivar_get(self, rb_intern("process_name")));
}
|
#report ⇒ Object
67 68 69 70 |
# File 'ext/c_frida/Crash.c', line 67
static VALUE Crash_report(VALUE self)
{
return (rb_ivar_get(self, rb_intern("report")));
}
|
#summary ⇒ Object
58 59 60 61 |
# File 'ext/c_frida/Crash.c', line 58
static VALUE Crash_summary(VALUE self)
{
return (rb_ivar_get(self, rb_intern("summary")));
}
|