Skip to content

DemonGiggle/ruby-object-tracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ruby-object-tracer

Construct object space graph in graphviz format

Usage

ruby main.rb -t HelloTreasure -i samples/heap.json

Since there's lots of stuffs in the memory, we only choose the string "HelloTreasure" as the starting point.

All references referenced by the start point will be traced as the next layer, and this layer will be traced for the next layer until there nothing to trace.

Currently, we only support string type as the initial starting point.

The output is out.dot which can be rendered via

xdot out.dot

xdot can be downloaded from here

About

Construct object space graph in `graphviz` format

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages