module Rubellite::Diagnostics::R2

Overview

High-performance radare2 diagnostics driver for Rubellite

Defined in:

rubellite/diagnostics/r2.cr

Constant Summary

REQUIRED_RUBY_SYMBOLS = ["ruby_init", "ruby_init_stack", "ruby_sysinit", "ruby_init_loadpath", "rb_eval_string_protect", "rb_funcallv", "rb_intern", "rb_str_new", "rb_int2inum", "rb_thread_call_without_gvl"]

Class Method Summary

Class Method Detail

def self.audit_environment : AuditReport #

[View source]
def self.audit_ruby_binary(path : String = Tooling::ImportLibGenerator.find_ruby_dll) : AuditReport #

Audits the target Ruby binary / DLL using radare2


[View source]
def self.disassemble(path : String, symbol_name : String, instructions : Int32 = 10) : String #

Disassembles a given Ruby exported function using radare2


[View source]
def self.find_r2_exe : String #

[View source]