Skip to content

AndycptOrg/Allocator-Tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Allocation Counter

Goal

This library captures all malloc calls and prints the total number of bytes being allocated by calls to malloc throughout the lifetime of the program being tracked

How to Run

If the library file (mal.so) is not included, run gcc -shared -fPIC -o mal.so mal.c to generate the library file.

To track any file, run LD_PRELOAD={absolute path to mal.so} {program to track}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages