Skip to content

Wrapping up the glibc allocation and free API functions via LD_PRELOAD to ease dynamic tracing

Notifications You must be signed in to change notification settings

koolhazz/wrapalloc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Name

wrapalloc - Wraps up glibc's memory allocation and freeing API functions to ease dynamic tracing

Synopsis

LD_PRELOAD=/path/to/wrapalloc/wrapalloc.so your_app

Description

The glibc binaries shipped with most mainstream Linux distributions usually suffer from the incorrect debuginfo generated by gcc under very aggressive optimizaton flags.

This LD_PRELOAD library wraps up the common glibc API functions for memory allocations and de-allocations so that dynamic tracing tools like those based on systemtap can work reliably.

Building

$ make

Author

Yichun Zhang (agentzh) agentzh@gmail.com

About

Wrapping up the glibc allocation and free API functions via LD_PRELOAD to ease dynamic tracing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 94.8%
  • Makefile 5.2%