mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 10:05:29 +00:00
don't just call the unmangled versions, but do the appropriate stuff themselves directly (this was necessary for Massif). This means that stack traces for them have one fewer function. And I was able to gather up several very similar functions into a macro, reducing the amount of code, which was nice. Had to update one regtest's expected output accordingly. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1875
66 lines
2.7 KiB
Plaintext
66 lines
2.7 KiB
Plaintext
Mismatched free() / delete / delete []
|
|
at 0x........: operator delete(void*) (vg_replace_malloc.c:...)
|
|
by 0x........: main (mismatches.cpp:6)
|
|
by 0x........: __libc_start_main (...libc...)
|
|
by 0x........: ...
|
|
Address 0x........ is 0 bytes inside a block of size 10 alloc'd
|
|
at 0x........: malloc (vg_replace_malloc.c:...)
|
|
by 0x........: main (mismatches.cpp:5)
|
|
by 0x........: __libc_start_main (...libc...)
|
|
by 0x........: ...
|
|
|
|
Mismatched free() / delete / delete []
|
|
at 0x........: operator delete[](void*) (vg_replace_malloc.c:...)
|
|
by 0x........: main (mismatches.cpp:8)
|
|
by 0x........: __libc_start_main (...libc...)
|
|
by 0x........: ...
|
|
Address 0x........ is 0 bytes inside a block of size 10 alloc'd
|
|
at 0x........: malloc (vg_replace_malloc.c:...)
|
|
by 0x........: main (mismatches.cpp:7)
|
|
by 0x........: __libc_start_main (...libc...)
|
|
by 0x........: ...
|
|
|
|
Mismatched free() / delete / delete []
|
|
at 0x........: operator delete(void*) (vg_replace_malloc.c:...)
|
|
by 0x........: main (mismatches.cpp:13)
|
|
by 0x........: __libc_start_main (...libc...)
|
|
by 0x........: ...
|
|
Address 0x........ is 0 bytes inside a block of size 40 alloc'd
|
|
at 0x........: operator new[](unsigned) (vg_replace_malloc.c:...)
|
|
by 0x........: main (mismatches.cpp:12)
|
|
by 0x........: __libc_start_main (...libc...)
|
|
by 0x........: ...
|
|
|
|
Mismatched free() / delete / delete []
|
|
at 0x........: free (vg_replace_malloc.c:...)
|
|
by 0x........: main (mismatches.cpp:15)
|
|
by 0x........: __libc_start_main (...libc...)
|
|
by 0x........: ...
|
|
Address 0x........ is 0 bytes inside a block of size 40 alloc'd
|
|
at 0x........: operator new[](unsigned) (vg_replace_malloc.c:...)
|
|
by 0x........: main (mismatches.cpp:14)
|
|
by 0x........: __libc_start_main (...libc...)
|
|
by 0x........: ...
|
|
|
|
Mismatched free() / delete / delete []
|
|
at 0x........: operator delete[](void*) (vg_replace_malloc.c:...)
|
|
by 0x........: main (mismatches.cpp:20)
|
|
by 0x........: __libc_start_main (...libc...)
|
|
by 0x........: ...
|
|
Address 0x........ is 0 bytes inside a block of size 4 alloc'd
|
|
at 0x........: operator new(unsigned) (vg_replace_malloc.c:...)
|
|
by 0x........: main (mismatches.cpp:19)
|
|
by 0x........: __libc_start_main (...libc...)
|
|
by 0x........: ...
|
|
|
|
Mismatched free() / delete / delete []
|
|
at 0x........: free (vg_replace_malloc.c:...)
|
|
by 0x........: main (mismatches.cpp:22)
|
|
by 0x........: __libc_start_main (...libc...)
|
|
by 0x........: ...
|
|
Address 0x........ is 0 bytes inside a block of size 4 alloc'd
|
|
at 0x........: operator new(unsigned) (vg_replace_malloc.c:...)
|
|
by 0x........: main (mismatches.cpp:21)
|
|
by 0x........: __libc_start_main (...libc...)
|
|
by 0x........: ...
|