platform_bionic/libc/malloc_debug
Christopher Ferris 7993b80f89 Add better free tracking.
Included in this change:

- Change the tag when a pointer is freed so it's easy to detect if
  an already freed pointer is being used.
- Move the free backtrace out of the header. This backtrace is only
  used under only some circumstances, so no need to allocate space
  in all headers for it.
- Add new option free_track_backtrace_num_frames to specify how many
  frames to record when the free occurs. This removes the dependency
  on the backtrace option to get backtraces.

Bug: 26739265
Change-Id: I76f5209507dcf46af67ada162a7cb2bf282116f2
2016-01-29 15:19:22 -08:00
..
tests Add better free tracking. 2016-01-29 15:19:22 -08:00
Android.mk Fix gcc test issues. 2016-01-25 17:27:40 -08:00
backtrace.cpp Add better free tracking. 2016-01-29 15:19:22 -08:00
backtrace.h Add better free tracking. 2016-01-29 15:19:22 -08:00
BacktraceData.cpp Add better free tracking. 2016-01-29 15:19:22 -08:00
BacktraceData.h Add better free tracking. 2016-01-29 15:19:22 -08:00
Config.cpp Add better free tracking. 2016-01-29 15:19:22 -08:00
Config.h Add better free tracking. 2016-01-29 15:19:22 -08:00
debug_disable.cpp Malloc debug rewrite. 2016-01-25 10:54:21 -08:00
debug_disable.h Malloc debug rewrite. 2016-01-25 10:54:21 -08:00
debug_log.h Malloc debug rewrite. 2016-01-25 10:54:21 -08:00
DebugData.cpp Malloc debug rewrite. 2016-01-25 10:54:21 -08:00
DebugData.h Add better free tracking. 2016-01-29 15:19:22 -08:00
exported32.map Malloc debug rewrite. 2016-01-25 10:54:21 -08:00
exported64.map Malloc debug rewrite. 2016-01-25 10:54:21 -08:00
FreeTrackData.cpp Add better free tracking. 2016-01-29 15:19:22 -08:00
FreeTrackData.h Add better free tracking. 2016-01-29 15:19:22 -08:00
GuardData.cpp Malloc debug rewrite. 2016-01-25 10:54:21 -08:00
GuardData.h Malloc debug rewrite. 2016-01-25 10:54:21 -08:00
malloc_debug.cpp Add better free tracking. 2016-01-29 15:19:22 -08:00
malloc_debug.h Add better free tracking. 2016-01-29 15:19:22 -08:00
MapData.cpp Malloc debug rewrite. 2016-01-25 10:54:21 -08:00
MapData.h Malloc debug rewrite. 2016-01-25 10:54:21 -08:00
TrackData.cpp Malloc debug rewrite. 2016-01-25 10:54:21 -08:00
TrackData.h Malloc debug rewrite. 2016-01-25 10:54:21 -08:00