https://bugs.kde.org/show_bug.cgi?id=512037
Bug ID: 512037
Summary: malloc trace does not print free size or alignment
Classification: Developer tools
Product: valgrind
Version First unspecified
Reported In:
Platform: Compiled Sources
OS: All
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Just one example of this:
#define FREE_SIZED(, fnname, vg_replacement, tag) \
contains
MALLOC_TRACE(#fnname "(%p)\n", p ); \
That should be
MALLOC_TRACE(#fnname "(%p, %z)\n", p, size ); \
I also see that there are lots of casts to ULong and %llu format strings. No
casts and %zu should be enough. Lastly some of the uses of MALLOC_TRACE add
"size" and "al" strings before the values. If they are never ambiguous I'll
remove them.
--
You are receiving this mail because:
You are watching all bug changes.