asterisk/utils
Matthew Jordan c43f380d03 Add backtrace generation to MALLOC_DEBUG memory corruption reports
This patch allows astmm to access the backtrace generation code in Asterisk.
When memory is allocated, a backtrace is created and stored with the memory
region that tracks the allocation. If a memory corruption is detected, the
backtrace is printed to the astmm log. The backtrace will make use of the
BETTER_BACKTRACES build option if available.

As a result, this patch moves the backtrace generation code into its own file
and uses the non-wrapped versions of the C library memory allocation routines.
This allows the memory allocation code to safely use the backtrace generation
routines without infinitely recursing.

Review: https://reviewboard.asterisk.org/r/2567


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@391012 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-06-08 22:09:07 +00:00
..
db1-ast Replace Berkeley DB with SQLite 3 2011-07-06 20:58:12 +00:00
Makefile Update utils Makefile to handle r387294 2013-05-02 17:15:46 +00:00
ael_main.c Enable macros in 1.8 to find the next highest "h" extension in a context, like in 1.4. 2012-03-13 08:06:20 +00:00
astcanary.c Merged revisions 328247 via svnmerge from 2011-07-14 20:28:54 +00:00
astdb2bdb.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
astdb2sqlite3.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
astman.1 remove extraneous svn:executable properties 2005-11-29 18:24:39 +00:00
astman.c Fix incorrect sizeof() in astman. 2012-03-14 00:45:02 +00:00
check_expr.c Merged revisions 328247 via svnmerge from 2011-07-14 20:28:54 +00:00
clicompat.c simplify this file 2007-12-10 08:35:35 +00:00
conf2ael.c Enable macros in 1.8 to find the next highest "h" extension in a context, like in 1.4. 2012-03-13 08:06:20 +00:00
expr2.testinput Merged revisions 179807 via svnmerge from 2009-03-03 22:12:02 +00:00
extconf.c Add backtrace generation to MALLOC_DEBUG memory corruption reports 2013-06-08 22:09:07 +00:00
frame.c AST-2009-005 2009-08-10 19:20:57 +00:00
frame.h remove extraneous svn:executable properties 2005-11-29 18:24:39 +00:00
muted.c Doxygen Updates 2012-10-14 21:57:42 +00:00
refcounter.c Doxygen Updates Janitor Work 2012-09-22 20:43:30 +00:00
smsq.c Merged revisions 328247 via svnmerge from 2011-07-14 20:28:54 +00:00
stereorize.c Merged revisions 328247 via svnmerge from 2011-07-14 20:28:54 +00:00
streamplayer.c Merged revisions 328247 via svnmerge from 2011-07-14 20:28:54 +00:00
utils.xml Migrate hashtest/hashtest2 to be unit tests. 2012-11-16 00:08:00 +00:00