module Dumpster::Entry

Overview

Parser for building properly typed structs from ObjectSpace JSON dumps.

See https://github.com/ruby/ruby/blob/01995df6453de45ba0d99835e26799260517657c/include/ruby/ruby.h#L486-L519

Extended Modules

Defined in:

dumpster/entry.cr
dumpster/entry/common.cr

Constant Summary

VT_START_POS = 32

Instance Method Summary

Instance Method Detail

def parse(line : ::String) : EntryStruct | Nil #

Parse an single line of a mem dump into its associated entry struct.


[View source]
def type_of(line : ::String) #

Infer the type of a line based on it's raw String form.


[View source]