Skip to content

quantumvm/hash-the-sheap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hash-the-sheap

A tool designed for analyzing and dumping heap memory from a process overtime.

###Installation

$ make
# make install

###Use

hashthesheap [ options ]
  -p pid      - Process to analyze
  -t          - Build hash tree
  -i int      - Set hash tree height (defaults to 8 if left blank)
  -d file     - Take a single snapshot of the heap and dump to a file
  -h          - Print help screen
  -v          - verbose mode (prints hash tree)

###Example The following is an example of using hashthesheap to look at the heap of the popular irc client "irssi" before and after it has made a connection to freenode.

Find a process to dump

$ ps -aux
thephan+  5337  0.0  0.0 118288  5180 pts/25   Sl+  00:02   0:00 irssi
thephan+  5405  0.0  0.0  15936   940 pts/1    S+   00:13   0:00 grep --color=auto irssi

Dump the process hashthesheap

About

Tool for looking at elf heap memory over time

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published