malloc-stats

Some very basic malloc stat example. Use the tools to explore malloc behavior in each testing case.

build

  • make
  • make clean
  • make CC=gcc

usage

  • ./malloc-stats-1
  • ./tools/pmapof malloc-stats-1
  • ./tools/htopof malloc-stats-1
  • ./tools/straceof malloc-stats-1
  • ./tools/leakcheck malloc-stats-1