class Cradare2::Engine::Godot::Helper

Overview

High-level helper for Godot 4.x & Lapis GDExtension forensics.

Defined in:

cradare2/engine/godot/helper.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(client : Client) #

[View source]

Instance Method Detail

def classify_crash : Tuple(String, String) #

Classifies execution crash based on faulting PC register and loaded module boundaries.


[View source]
def client : Client #

[View source]
def inject_classdb_symbols(symbols : Hash(String, Address), space_name : String = "godot") : self #

Batch-injects dynamic ClassDB symbols into the specified flag space (default: "godot").


[View source]
def inspect_vtable(address : Address, count : Int32 = 8) : Array(Tuple(UInt64, String | Nil)) #

Inspects a Virtual Method Table (vtable) and attempts to resolve symbol names for each entry.


[View source]
def inspector : GDExtensionInspector #

[View source]
def read_object(address : Address) : GodotObjectHeader #

Reads and decodes a Godot Object header at target virtual address.


[View source]
def read_variant(address : Address) : DecodedVariant #

Reads and decodes a Godot Variant payload at target virtual address.


[View source]
def register_formats : self #

Registers Godot print formats (pf.godot_*) in the radare2 session.


[View source]
def verify_gdextension : GDExtensionCheck #

Verifies GDExtension binary validity, export tables, and standard entrypoints.


[View source]