Differences between current version and predecessor to the previous major change of mcheck.
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 3 | Last edited on Thursday, September 4, 2003 3:45:58 am | by MartinGadbois | |
Older page: | version 1 | Last edited on Friday, June 13, 2003 9:07:10 pm | by JohnMcPherson | Revert |
@@ -11,7 +11,9 @@
then:
$ export MALLOC_TRACE=<outputfilename>
$ <runprog>
$ mtrace <prog> <outputfilename>
+
+Do not use mcheck() and malloc_usable_size() at the same time, as mcheck() changes the implementation of malloc(), and malloc_usable_size() looks for the size at the wrong place.
----
-See also [LD_DEBUG], [MALLOC_CHECK_]
+See also [LD_DEBUG], [MALLOC_CHECK_], [http://www.gnu.org/manual/glibc-2..6/html_node/libc_30.html
]