Skip to content

Instantly share code, notes, and snippets.

@gayanpathirage
Created April 7, 2016 09:10
Show Gist options
  • Save gayanpathirage/f4ce60f5a5f50e53b6f0358bd3a834e1 to your computer and use it in GitHub Desktop.
Save gayanpathirage/f4ce60f5a5f50e53b6f0358bd3a834e1 to your computer and use it in GitHub Desktop.
C++ Sanitizers Review Test Suite Results
=================================================================================================================================
== Starting Test 1
=================================================================================================================================
~~Dr.M~~ Dr. Memory version 1.10.0
~~Dr.M~~ (Uninitialized read checking is not yet supported for 64-bit)
~~Dr.M~~
~~Dr.M~~ Error #1: UNADDRESSABLE ACCESS of freed memory: reading 0x000000000060c7e0-0x000000000060c7e4 4 byte(s)
~~Dr.M~~ # 0 useAfterFreeRead [/home/gayancp/sanitizerstestsuite/main.cpp:26]
~~Dr.M~~ # 1 main [/home/gayancp/sanitizerstestsuite/main.cpp:339]
~~Dr.M~~ Note: @0:00:00.232 in thread 26501
~~Dr.M~~ Note: 0x000000000060c7e0-0x000000000060c7e4 overlaps memory 0x000000000060c7e0-0x000000000060c970 that was freed here:
~~Dr.M~~ Note: # 0 replace_operator_delete_array [/work/drmemory_package/common/alloc_replace.c:2998]
~~Dr.M~~ Note: # 1 useAfterFreeRead [/home/gayancp/sanitizerstestsuite/main.cpp:25]
~~Dr.M~~ Note: # 2 MCTester!? +0x0 (0x0000000000400c09 <MCTester+0xc09>)
~~Dr.M~~ Note: instruction: mov (%rbx) -> %eax
Executing : 1 : Testing Use after free UAF read
~~Dr.M~~
~~Dr.M~~ ERRORS FOUND:
~~Dr.M~~ 1 unique, 1 total unaddressable access(es)
~~Dr.M~~ 0 unique, 0 total invalid heap argument(s)
~~Dr.M~~ 0 unique, 0 total warning(s)
~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of leak(s)
~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of possible leak(s)
~~Dr.M~~ ERRORS IGNORED:
~~Dr.M~~ 27 unique, 45 total, 19222 byte(s) of still-reachable allocation(s)
~~Dr.M~~ (re-run with "-show_reachable" for details)
~~Dr.M~~ Details: /x01/exd10/DrMemory-Linux-1.10.0-2/drmemory/logs/DrMemory-MCTester.26501.000/results.txt
=================================================================================================================================
=================================================================================================================================
== Starting Test 2
=================================================================================================================================
~~Dr.M~~ Dr. Memory version 1.10.0
~~Dr.M~~ (Uninitialized read checking is not yet supported for 64-bit)
~~Dr.M~~
~~Dr.M~~ Error #1: UNADDRESSABLE ACCESS of freed memory: writing 0x000000000060c7e0-0x000000000060c7e4 4 byte(s)
~~Dr.M~~ # 0 useAfterFreeWrite [/home/gayancp/sanitizerstestsuite/main.cpp:35]
~~Dr.M~~ # 1 main [/home/gayancp/sanitizerstestsuite/main.cpp:340]
~~Dr.M~~ Note: @0:00:00.160 in thread 26502
~~Dr.M~~ Note: 0x000000000060c7e0-0x000000000060c7e4 overlaps memory 0x000000000060c7e0-0x000000000060c970 that was freed here:
~~Dr.M~~ Note: # 0 replace_operator_delete_array [/work/drmemory_package/common/alloc_replace.c:2998]
~~Dr.M~~ Note: # 1 useAfterFreeWrite [/home/gayancp/sanitizerstestsuite/main.cpp:34]
~~Dr.M~~ Note: # 2 MCTester!? +0x0 (0x0000000000400c09 <MCTester+0xc09>)
~~Dr.M~~ Note: instruction: mov $0x00000001 -> (%rbx)
Executing : 2 : Testing Use after free UAF write
~~Dr.M~~
~~Dr.M~~ ERRORS FOUND:
~~Dr.M~~ 1 unique, 1 total unaddressable access(es)
~~Dr.M~~ 0 unique, 0 total invalid heap argument(s)
~~Dr.M~~ 0 unique, 0 total warning(s)
~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of leak(s)
~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of possible leak(s)
~~Dr.M~~ ERRORS IGNORED:
~~Dr.M~~ 28 unique, 45 total, 19222 byte(s) of still-reachable allocation(s)
~~Dr.M~~ (re-run with "-show_reachable" for details)
~~Dr.M~~ Details: /x01/exd10/DrMemory-Linux-1.10.0-2/drmemory/logs/DrMemory-MCTester.26502.000/results.txt
=================================================================================================================================
=================================================================================================================================
== Starting Test 3
=================================================================================================================================
~~Dr.M~~ Dr. Memory version 1.10.0
~~Dr.M~~ (Uninitialized read checking is not yet supported for 64-bit)
~~Dr.M~~
~~Dr.M~~ Error #1: UNADDRESSABLE ACCESS beyond heap bounds: reading 0x000000000060c970-0x000000000060c974 4 byte(s)
~~Dr.M~~ # 0 heapOutOfBoundRead [/home/gayancp/sanitizerstestsuite/main.cpp:43]
~~Dr.M~~ # 1 main [/home/gayancp/sanitizerstestsuite/main.cpp:341]
~~Dr.M~~ Note: @0:00:00.119 in thread 26503
~~Dr.M~~ Note: refers to 0 byte(s) beyond last valid byte in prior malloc
~~Dr.M~~ Note: prev lower malloc: 0x000000000060c7e0-0x000000000060c970
~~Dr.M~~ Note: allocated here:
~~Dr.M~~ Note: # 0 replace_operator_new_array [/work/drmemory_package/common/alloc_replace.c:2928]
~~Dr.M~~ Note: # 1 heapOutOfBoundRead [/home/gayancp/sanitizerstestsuite/main.cpp:41]
~~Dr.M~~ Note: # 2 MCTester!? +0x0 (0x0000000000400c09 <MCTester+0xc09>)
~~Dr.M~~ Note: instruction: mov 0x00000190(%rax) -> %ebx
Executing : 3 : Testing heap out of bound read
~~Dr.M~~
~~Dr.M~~ ERRORS FOUND:
~~Dr.M~~ 1 unique, 1 total unaddressable access(es)
~~Dr.M~~ 0 unique, 0 total invalid heap argument(s)
~~Dr.M~~ 0 unique, 0 total warning(s)
~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of leak(s)
~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of possible leak(s)
~~Dr.M~~ ERRORS IGNORED:
~~Dr.M~~ 27 unique, 45 total, 19222 byte(s) of still-reachable allocation(s)
~~Dr.M~~ (re-run with "-show_reachable" for details)
~~Dr.M~~ Details: /x01/exd10/DrMemory-Linux-1.10.0-2/drmemory/logs/DrMemory-MCTester.26503.000/results.txt
=================================================================================================================================
=================================================================================================================================
== Starting Test 4
=================================================================================================================================
~~Dr.M~~ Dr. Memory version 1.10.0
~~Dr.M~~ (Uninitialized read checking is not yet supported for 64-bit)
Executing : 4 : Testing heap out of bound write
~~Dr.M~~
~~Dr.M~~ NO ERRORS FOUND:
~~Dr.M~~ 0 unique, 0 total unaddressable access(es)
~~Dr.M~~ 0 unique, 0 total invalid heap argument(s)
~~Dr.M~~ 0 unique, 0 total warning(s)
~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of leak(s)
~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of possible leak(s)
~~Dr.M~~ ERRORS IGNORED:
~~Dr.M~~ 27 unique, 45 total, 19222 byte(s) of still-reachable allocation(s)
~~Dr.M~~ (re-run with "-show_reachable" for details)
~~Dr.M~~ Details: /x01/exd10/DrMemory-Linux-1.10.0-2/drmemory/logs/DrMemory-MCTester.26505.000/results.txt
=================================================================================================================================
=================================================================================================================================
== Starting Test 5
=================================================================================================================================
~~Dr.M~~ Dr. Memory version 1.10.0
~~Dr.M~~ (Uninitialized read checking is not yet supported for 64-bit)
Executing : 5 : Testing stack out of bound read100 -
~~Dr.M~~
~~Dr.M~~ NO ERRORS FOUND:
~~Dr.M~~ 0 unique, 0 total unaddressable access(es)
~~Dr.M~~ 0 unique, 0 total invalid heap argument(s)
~~Dr.M~~ 0 unique, 0 total warning(s)
~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of leak(s)
~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of possible leak(s)
~~Dr.M~~ ERRORS IGNORED:
~~Dr.M~~ 27 unique, 45 total, 19222 byte(s) of still-reachable allocation(s)
~~Dr.M~~ (re-run with "-show_reachable" for details)
~~Dr.M~~ Details: /x01/exd10/DrMemory-Linux-1.10.0-2/drmemory/logs/DrMemory-MCTester.26506.000/results.txt
=================================================================================================================================
=================================================================================================================================
== Starting Test 6
=================================================================================================================================
~~Dr.M~~ Dr. Memory version 1.10.0
~~Dr.M~~ (Uninitialized read checking is not yet supported for 64-bit)
Executing : 6 : Testing stack out of bound write i : 33 ¸B(,P
~~Dr.M~~
~~Dr.M~~ NO ERRORS FOUND:
~~Dr.M~~ 0 unique, 0 total unaddressable access(es)
~~Dr.M~~ 0 unique, 0 total invalid heap argument(s)
~~Dr.M~~ 0 unique, 0 total warning(s)
~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of leak(s)
~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of possible leak(s)
~~Dr.M~~ ERRORS IGNORED:
~~Dr.M~~ 27 unique, 45 total, 19222 byte(s) of still-reachable allocation(s)
~~Dr.M~~ (re-run with "-show_reachable" for details)
~~Dr.M~~ Details: /x01/exd10/DrMemory-Linux-1.10.0-2/drmemory/logs/DrMemory-MCTester.26507.000/results.txt
=================================================================================================================================
=================================================================================================================================
== Starting Test 7
=================================================================================================================================
~~Dr.M~~ Dr. Memory version 1.10.0
~~Dr.M~~ (Uninitialized read checking is not yet supported for 64-bit)
Executing : 7 : Testing global out of bound read
~~Dr.M~~
~~Dr.M~~ NO ERRORS FOUND:
~~Dr.M~~ 0 unique, 0 total unaddressable access(es)
~~Dr.M~~ 0 unique, 0 total invalid heap argument(s)
~~Dr.M~~ 0 unique, 0 total warning(s)
~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of leak(s)
~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of possible leak(s)
~~Dr.M~~ ERRORS IGNORED:
~~Dr.M~~ 27 unique, 45 total, 19222 byte(s) of still-reachable allocation(s)
~~Dr.M~~ (re-run with "-show_reachable" for details)
~~Dr.M~~ Details: /x01/exd10/DrMemory-Linux-1.10.0-2/drmemory/logs/DrMemory-MCTester.26508.000/results.txt
=================================================================================================================================
=================================================================================================================================
== Starting Test 8
=================================================================================================================================
~~Dr.M~~ Dr. Memory version 1.10.0
~~Dr.M~~ (Uninitialized read checking is not yet supported for 64-bit)
Executing : 8 : Testing global out of bound write
~~Dr.M~~
~~Dr.M~~ NO ERRORS FOUND:
~~Dr.M~~ 0 unique, 0 total unaddressable access(es)
~~Dr.M~~ 0 unique, 0 total invalid heap argument(s)
~~Dr.M~~ 0 unique, 0 total warning(s)
~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of leak(s)
~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of possible leak(s)
~~Dr.M~~ ERRORS IGNORED:
~~Dr.M~~ 27 unique, 45 total, 19222 byte(s) of still-reachable allocation(s)
~~Dr.M~~ (re-run with "-show_reachable" for details)
~~Dr.M~~ Details: /x01/exd10/DrMemory-Linux-1.10.0-2/drmemory/logs/DrMemory-MCTester.26509.000/results.txt
=================================================================================================================================
=================================================================================================================================
== Starting Test 9
=================================================================================================================================
~~Dr.M~~ Dr. Memory version 1.10.0
~~Dr.M~~ (Uninitialized read checking is not yet supported for 64-bit)
Executing : 9 : Testing use after return
~~Dr.M~~
~~Dr.M~~ NO ERRORS FOUND:
~~Dr.M~~ 0 unique, 0 total unaddressable access(es)
~~Dr.M~~ 0 unique, 0 total invalid heap argument(s)
~~Dr.M~~ 0 unique, 0 total warning(s)
~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of leak(s)
~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of possible leak(s)
~~Dr.M~~ ERRORS IGNORED:
~~Dr.M~~ 27 unique, 45 total, 19222 byte(s) of still-reachable allocation(s)
~~Dr.M~~ (re-run with "-show_reachable" for details)
~~Dr.M~~ Details: /x01/exd10/DrMemory-Linux-1.10.0-2/drmemory/logs/DrMemory-MCTester.26510.000/results.txt
=================================================================================================================================
=================================================================================================================================
== Starting Test 10
=================================================================================================================================
~~Dr.M~~ Dr. Memory version 1.10.0
~~Dr.M~~ (Uninitialized read checking is not yet supported for 64-bit)
Executing : 10 : Testing simple memory leak
~~Dr.M~~
~~Dr.M~~ Error #1: LEAK 400 direct bytes 0x000000000060c7e0-0x000000000060c970 + 0 indirect bytes
~~Dr.M~~ # 0 replace_operator_new_array [/work/drmemory_package/common/alloc_replace.c:2928]
~~Dr.M~~ # 1 memoryLeakSimple [/home/gayancp/sanitizerstestsuite/main.cpp:140]
~~Dr.M~~ # 2 MCTester!? +0x0 (0x0000000000400c09 <MCTester+0xc09>)
~~Dr.M~~
~~Dr.M~~ ERRORS FOUND:
~~Dr.M~~ 0 unique, 0 total unaddressable access(es)
~~Dr.M~~ 0 unique, 0 total invalid heap argument(s)
~~Dr.M~~ 0 unique, 0 total warning(s)
~~Dr.M~~ 1 unique, 1 total, 400 byte(s) of leak(s)
~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of possible leak(s)
~~Dr.M~~ ERRORS IGNORED:
~~Dr.M~~ 27 unique, 45 total, 19222 byte(s) of still-reachable allocation(s)
~~Dr.M~~ (re-run with "-show_reachable" for details)
~~Dr.M~~ Details: /x01/exd10/DrMemory-Linux-1.10.0-2/drmemory/logs/DrMemory-MCTester.26511.000/results.txt
=================================================================================================================================
=================================================================================================================================
== Starting Test 11
=================================================================================================================================
~~Dr.M~~ Dr. Memory version 1.10.0
~~Dr.M~~ (Uninitialized read checking is not yet supported for 64-bit)
Executing : 11 : Testing indirect memory leak
~~Dr.M~~
~~Dr.M~~ Error #1: LEAK 8 direct bytes 0x0000000000609930-0x0000000000609938 + 40 indirect bytes
~~Dr.M~~ # 0 replace_operator_new [/work/drmemory_package/common/alloc_replace.c:2899]
~~Dr.M~~ # 1 memoryLeakIndirectly [/home/gayancp/sanitizerstestsuite/main.cpp:155]
~~Dr.M~~ # 2 MCTester!? +0x0 (0x0000000000400c09 <MCTester+0xc09>)
~~Dr.M~~
~~Dr.M~~ ERRORS FOUND:
~~Dr.M~~ 0 unique, 0 total unaddressable access(es)
~~Dr.M~~ 0 unique, 0 total invalid heap argument(s)
~~Dr.M~~ 0 unique, 0 total warning(s)
~~Dr.M~~ 1 unique, 1 total, 48 byte(s) of leak(s)
~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of possible leak(s)
~~Dr.M~~ ERRORS IGNORED:
~~Dr.M~~ 27 unique, 45 total, 19222 byte(s) of still-reachable allocation(s)
~~Dr.M~~ (re-run with "-show_reachable" for details)
~~Dr.M~~ Details: /x01/exd10/DrMemory-Linux-1.10.0-2/drmemory/logs/DrMemory-MCTester.26514.000/results.txt
=================================================================================================================================
=================================================================================================================================
== Starting Test 12
=================================================================================================================================
~~Dr.M~~ Dr. Memory version 1.10.0
~~Dr.M~~ (Uninitialized read checking is not yet supported for 64-bit)
Executing : 12 : Testing use of uninitialized stack : x is 0
~~Dr.M~~
~~Dr.M~~ NO ERRORS FOUND:
~~Dr.M~~ 0 unique, 0 total unaddressable access(es)
~~Dr.M~~ 0 unique, 0 total invalid heap argument(s)
~~Dr.M~~ 0 unique, 0 total warning(s)
~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of leak(s)
~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of possible leak(s)
~~Dr.M~~ ERRORS IGNORED:
~~Dr.M~~ 27 unique, 45 total, 19222 byte(s) of still-reachable allocation(s)
~~Dr.M~~ (re-run with "-show_reachable" for details)
~~Dr.M~~ Details: /x01/exd10/DrMemory-Linux-1.10.0-2/drmemory/logs/DrMemory-MCTester.26515.000/results.txt
=================================================================================================================================
=================================================================================================================================
== Starting Test 13
=================================================================================================================================
~~Dr.M~~ Dr. Memory version 1.10.0
~~Dr.M~~ (Uninitialized read checking is not yet supported for 64-bit)
Executing : 13 : Testing use of uninitialized heap array : Char* is []
~~Dr.M~~
~~Dr.M~~ NO ERRORS FOUND:
~~Dr.M~~ 0 unique, 0 total unaddressable access(es)
~~Dr.M~~ 0 unique, 0 total invalid heap argument(s)
~~Dr.M~~ 0 unique, 0 total warning(s)
~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of leak(s)
~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of possible leak(s)
~~Dr.M~~ ERRORS IGNORED:
~~Dr.M~~ 27 unique, 45 total, 19222 byte(s) of still-reachable allocation(s)
~~Dr.M~~ (re-run with "-show_reachable" for details)
~~Dr.M~~ Details: /x01/exd10/DrMemory-Linux-1.10.0-2/drmemory/logs/DrMemory-MCTester.26516.000/results.txt
=================================================================================================================================
=================================================================================================================================
== Starting Test 14
=================================================================================================================================
~~Dr.M~~ Dr. Memory version 1.10.0
~~Dr.M~~ (Uninitialized read checking is not yet supported for 64-bit)
Executing : 14 : Testing conditional use of uninitialized stack value >>> condition (x < 1) met based on uninitialized value : 0
~~Dr.M~~
~~Dr.M~~ NO ERRORS FOUND:
~~Dr.M~~ 0 unique, 0 total unaddressable access(es)
~~Dr.M~~ 0 unique, 0 total invalid heap argument(s)
~~Dr.M~~ 0 unique, 0 total warning(s)
~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of leak(s)
~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of possible leak(s)
~~Dr.M~~ ERRORS IGNORED:
~~Dr.M~~ 27 unique, 45 total, 19222 byte(s) of still-reachable allocation(s)
~~Dr.M~~ (re-run with "-show_reachable" for details)
~~Dr.M~~ Details: /x01/exd10/DrMemory-Linux-1.10.0-2/drmemory/logs/DrMemory-MCTester.26517.000/results.txt
=================================================================================================================================
=================================================================================================================================
== Starting Test 15
=================================================================================================================================
~~Dr.M~~ Dr. Memory version 1.10.0
~~Dr.M~~ (Uninitialized read checking is not yet supported for 64-bit)
Executing : 15 : Testing conditional use of uninitialized heap value >>> condition (x < 1) met based on uninitialized value : 0
~~Dr.M~~
~~Dr.M~~ NO ERRORS FOUND:
~~Dr.M~~ 0 unique, 0 total unaddressable access(es)
~~Dr.M~~ 0 unique, 0 total invalid heap argument(s)
~~Dr.M~~ 0 unique, 0 total warning(s)
~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of leak(s)
~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of possible leak(s)
~~Dr.M~~ ERRORS IGNORED:
~~Dr.M~~ 28 unique, 45 total, 19222 byte(s) of still-reachable allocation(s)
~~Dr.M~~ (re-run with "-show_reachable" for details)
~~Dr.M~~ Details: /x01/exd10/DrMemory-Linux-1.10.0-2/drmemory/logs/DrMemory-MCTester.26543.000/results.txt
=================================================================================================================================
=================================================================================================================================
== Starting Test 16
=================================================================================================================================
~~Dr.M~~ Dr. Memory version 1.10.0
~~Dr.M~~ (Uninitialized read checking is not yet supported for 64-bit)
~~Dr.M~~
~~Dr.M~~ Error #1: UNADDRESSABLE ACCESS beyond heap bounds: writing 0x0000000000609938-0x0000000000609940 8 byte(s)
~~Dr.M~~ # 0 charBufferOverflow [/home/gayancp/sanitizerstestsuite/main.cpp:192]
~~Dr.M~~ # 1 main [/home/gayancp/sanitizerstestsuite/main.cpp:368]
~~Dr.M~~ Note: @0:00:00.128 in thread 26545
~~Dr.M~~ Note: refers to 6 byte(s) beyond last valid byte in prior malloc
~~Dr.M~~ Note: prev lower malloc: 0x0000000000609930-0x0000000000609932
~~Dr.M~~ Note: allocated here:
~~Dr.M~~ Note: # 0 replace_operator_new_array [/work/drmemory_package/common/alloc_replace.c:2928]
~~Dr.M~~ Note: # 1 charBufferOverflow [/home/gayancp/sanitizerstestsuite/main.cpp:191]
~~Dr.M~~ Note: # 2 MCTester!? +0x0 (0x0000000000400c09 <MCTester+0xc09>)
~~Dr.M~~ Note: instruction: mov %rcx -> 0x08(%rax)
~~Dr.M~~
~~Dr.M~~ Error #2: UNADDRESSABLE ACCESS beyond heap bounds: writing 0x0000000000609940-0x0000000000609948 8 byte(s)
~~Dr.M~~ # 0 charBufferOverflow [/home/gayancp/sanitizerstestsuite/main.cpp:192]
~~Dr.M~~ # 1 main [/home/gayancp/sanitizerstestsuite/main.cpp:368]
~~Dr.M~~ Note: @0:00:00.131 in thread 26545
~~Dr.M~~ Note: prev lower malloc: 0x0000000000609930-0x0000000000609932
~~Dr.M~~ Note: allocated here:
~~Dr.M~~ Note: # 0 replace_operator_new_array [/work/drmemory_package/common/alloc_replace.c:2928]
~~Dr.M~~ Note: # 1 charBufferOverflow [/home/gayancp/sanitizerstestsuite/main.cpp:191]
~~Dr.M~~ Note: # 2 MCTester!? +0x0 (0x0000000000400c09 <MCTester+0xc09>)
~~Dr.M~~ Note: instruction: mov %rsi -> 0x10(%rax)
Executing : 16 : Testing buffer overflow char pointer overlfow i
~~Dr.M~~
~~Dr.M~~ Error #3: LEAK 2 direct bytes 0x0000000000609930-0x0000000000609932 + 0 indirect bytes
~~Dr.M~~ # 0 replace_operator_new_array [/work/drmemory_package/common/alloc_replace.c:2928]
~~Dr.M~~ # 1 charBufferOverflow [/home/gayancp/sanitizerstestsuite/main.cpp:191]
~~Dr.M~~ # 2 MCTester!? +0x0 (0x0000000000400c09 <MCTester+0xc09>)
~~Dr.M~~
~~Dr.M~~ ERRORS FOUND:
~~Dr.M~~ 2 unique, 2 total unaddressable access(es)
~~Dr.M~~ 0 unique, 0 total invalid heap argument(s)
~~Dr.M~~ 0 unique, 0 total warning(s)
~~Dr.M~~ 1 unique, 1 total, 2 byte(s) of leak(s)
~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of possible leak(s)
~~Dr.M~~ ERRORS IGNORED:
~~Dr.M~~ 27 unique, 45 total, 19222 byte(s) of still-reachable allocation(s)
~~Dr.M~~ (re-run with "-show_reachable" for details)
~~Dr.M~~ Details: /x01/exd10/DrMemory-Linux-1.10.0-2/drmemory/logs/DrMemory-MCTester.26545.000/results.txt
=================================================================================================================================
=================================================================================================================================
== Starting Test 17
=================================================================================================================================
~~Dr.M~~ Dr. Memory version 1.10.0
~~Dr.M~~ (Uninitialized read checking is not yet supported for 64-bit)
~~Dr.M~~
~~Dr.M~~ Error #1: INVALID HEAP ARGUMENT to free 0x000000000060c7e0
~~Dr.M~~ # 0 replace_operator_delete_array [/work/drmemory_package/common/alloc_replace.c:2998]
~~Dr.M~~ # 1 invalidFree [/home/gayancp/sanitizerstestsuite/main.cpp:209]
~~Dr.M~~ # 2 MCTester!? +0x0 (0x0000000000400c09 <MCTester+0xc09>)
~~Dr.M~~ Note: @0:00:00.146 in thread 26546
~~Dr.M~~ Note: memory was previously freed here:
~~Dr.M~~ Note: # 0 replace_operator_delete_array [/work/drmemory_package/common/alloc_replace.c:2998]
~~Dr.M~~ Note: # 1 invalidFree [/home/gayancp/sanitizerstestsuite/main.cpp:208]
~~Dr.M~~ Note: # 2 MCTester!? +0x0 (0x0000000000400c09 <MCTester+0xc09>)
Executing : 17 : Testing invalid free
~~Dr.M~~
~~Dr.M~~ ERRORS FOUND:
~~Dr.M~~ 0 unique, 0 total unaddressable access(es)
~~Dr.M~~ 1 unique, 1 total invalid heap argument(s)
~~Dr.M~~ 0 unique, 0 total warning(s)
~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of leak(s)
~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of possible leak(s)
~~Dr.M~~ ERRORS IGNORED:
~~Dr.M~~ 27 unique, 45 total, 19222 byte(s) of still-reachable allocation(s)
~~Dr.M~~ (re-run with "-show_reachable" for details)
~~Dr.M~~ Details: /x01/exd10/DrMemory-Linux-1.10.0-2/drmemory/logs/DrMemory-MCTester.26546.000/results.txt
=================================================================================================================================
=================================================================================================================================
== Starting Test 18
=================================================================================================================================
~~Dr.M~~ Dr. Memory version 1.10.0
~~Dr.M~~ (Uninitialized read checking is not yet supported for 64-bit)
~~Dr.M~~
~~Dr.M~~ Error #1: INVALID HEAP ARGUMENT: allocated with operator new[], freed with operator delete
~~Dr.M~~ # 0 replace_operator_delete [/work/drmemory_package/common/alloc_replace.c:2974]
~~Dr.M~~ # 1 mismatchedFree [/home/gayancp/sanitizerstestsuite/main.cpp:217]
~~Dr.M~~ # 2 MCTester!? +0x0 (0x0000000000400c09 <MCTester+0xc09>)
~~Dr.M~~ Note: @0:00:00.155 in thread 26547
~~Dr.M~~ Note: memory was allocated here:
~~Dr.M~~ Note: # 0 replace_operator_new_array [/work/drmemory_package/common/alloc_replace.c:2928]
~~Dr.M~~ Note: # 1 mismatchedFree [/home/gayancp/sanitizerstestsuite/main.cpp:215]
~~Dr.M~~ Note: # 2 MCTester!? +0x0 (0x0000000000400c09 <MCTester+0xc09>)
Executing : 18 : Testing mismatched free
~~Dr.M~~
~~Dr.M~~ ERRORS FOUND:
~~Dr.M~~ 0 unique, 0 total unaddressable access(es)
~~Dr.M~~ 1 unique, 1 total invalid heap argument(s)
~~Dr.M~~ 0 unique, 0 total warning(s)
~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of leak(s)
~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of possible leak(s)
~~Dr.M~~ ERRORS IGNORED:
~~Dr.M~~ 27 unique, 45 total, 19222 byte(s) of still-reachable allocation(s)
~~Dr.M~~ (re-run with "-show_reachable" for details)
~~Dr.M~~ Details: /x01/exd10/DrMemory-Linux-1.10.0-2/drmemory/logs/DrMemory-MCTester.26547.000/results.txt
=================================================================================================================================
=================================================================================================================================
== Starting Test 19
=================================================================================================================================
~~Dr.M~~ Dr. Memory version 1.10.0
~~Dr.M~~ (Uninitialized read checking is not yet supported for 64-bit)
Executing : 19 : Testing speed : 3.098111 seconds elapsed
~~Dr.M~~
~~Dr.M~~ NO ERRORS FOUND:
~~Dr.M~~ 0 unique, 0 total unaddressable access(es)
~~Dr.M~~ 0 unique, 0 total invalid heap argument(s)
~~Dr.M~~ 0 unique, 0 total warning(s)
~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of leak(s)
~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of possible leak(s)
~~Dr.M~~ ERRORS IGNORED:
~~Dr.M~~ 27 unique, 45 total, 19222 byte(s) of still-reachable allocation(s)
~~Dr.M~~ (re-run with "-show_reachable" for details)
~~Dr.M~~ Details: /x01/exd10/DrMemory-Linux-1.10.0-2/drmemory/logs/DrMemory-MCTester.26548.000/results.txt
=================================================================================================================================
=================================================================================================================================
== Starting Test 20
=================================================================================================================================
~~Dr.M~~ Dr. Memory version 1.10.0
~~Dr.M~~ (Uninitialized read checking is not yet supported for 64-bit)
~~Dr.M~~
~~Dr.M~~ Error #1: UNADDRESSABLE ACCESS: writing 0x0000000000000019-0x000000000000001a 1 byte(s)
~~Dr.M~~ # 0 MCTester!? +0x0 (0x0000000000400073 <MCTester+0x73>)
~~Dr.M~~ # 1 MCTester!? +0x0 (0x0000000000400c09 <MCTester+0xc09>)
~~Dr.M~~ Note: @0:00:00.126 in thread 26558
~~Dr.M~~ Note: instruction: add %al (%rax) -> (%rax)
~~Dr.M~~
~~Dr.M~~ ERRORS FOUND:
~~Dr.M~~ 1 unique, 2 total unaddressable access(es)
~~Dr.M~~ 0 unique, 0 total invalid heap argument(s)
~~Dr.M~~ 0 unique, 0 total warning(s)
~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of leak(s)
~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of possible leak(s)
~~Dr.M~~ ERRORS IGNORED:
~~Dr.M~~ 28 unique, 46 total, 19246 byte(s) of still-reachable allocation(s)
~~Dr.M~~ (re-run with "-show_reachable" for details)
~~Dr.M~~ Details: /x01/exd10/DrMemory-Linux-1.10.0-2/drmemory/logs/DrMemory-MCTester.26558.000/results.txt
=================================================================================================================================
=================================================================================================================================
== Starting Test 21
=================================================================================================================================
~~Dr.M~~ Dr. Memory version 1.10.0
~~Dr.M~~ (Uninitialized read checking is not yet supported for 64-bit)
~~Dr.M~~
~~Dr.M~~ Error #1: UNADDRESSABLE ACCESS: reading 0x000000000066e260-0x000000000066e264 4 byte(s)
~~Dr.M~~ # 0 heapOutOfBoundReadLarge [/home/gayancp/sanitizerstestsuite/main.cpp:257]
~~Dr.M~~ # 1 main [/home/gayancp/sanitizerstestsuite/main.cpp:373]
~~Dr.M~~ Note: @0:00:00.130 in thread 26559
~~Dr.M~~ Note: instruction: mov 0x00061a80(%rax) -> %ebx
~~Dr.M~~
~~Dr.M~~ ERRORS FOUND:
~~Dr.M~~ 1 unique, 1 total unaddressable access(es)
~~Dr.M~~ 0 unique, 0 total invalid heap argument(s)
~~Dr.M~~ 0 unique, 0 total warning(s)
~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of leak(s)
~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of possible leak(s)
~~Dr.M~~ ERRORS IGNORED:
~~Dr.M~~ 29 unique, 47 total, 19646 byte(s) of still-reachable allocation(s)
~~Dr.M~~ (re-run with "-show_reachable" for details)
~~Dr.M~~ Details: /x01/exd10/DrMemory-Linux-1.10.0-2/drmemory/logs/DrMemory-MCTester.26559.000/results.txt
=================================================================================================================================
=================================================================================================================================
== Starting Test 22
=================================================================================================================================
~~Dr.M~~ Dr. Memory version 1.10.0
~~Dr.M~~ (Uninitialized read checking is not yet supported for 64-bit)
~~Dr.M~~
~~Dr.M~~ Error #1: UNADDRESSABLE ACCESS: writing 0x000000000066e260-0x000000000066e264 4 byte(s)
~~Dr.M~~ # 0 heapOutOfBoundWriteLarge [/home/gayancp/sanitizerstestsuite/main.cpp:268]
~~Dr.M~~ # 1 main [/home/gayancp/sanitizerstestsuite/main.cpp:374]
~~Dr.M~~ Note: @0:00:00.145 in thread 26560
~~Dr.M~~ Note: instruction: mov $0x00000064 -> 0x00061a80(%rbp)
~~Dr.M~~
~~Dr.M~~ Error #2: LEAK 800000 direct bytes 0x00007fb31034a040-0x00007fb31040d540 + 0 indirect bytes
~~Dr.M~~ # 0 replace_operator_new_array [/work/drmemory_package/common/alloc_replace.c:2928]
~~Dr.M~~ # 1 heapOutOfBoundWriteLarge [/home/gayancp/sanitizerstestsuite/main.cpp:266]
~~Dr.M~~ # 2 main [/home/gayancp/sanitizerstestsuite/main.cpp:374]
~~Dr.M~~
~~Dr.M~~ ERRORS FOUND:
~~Dr.M~~ 1 unique, 1 total unaddressable access(es)
~~Dr.M~~ 0 unique, 0 total invalid heap argument(s)
~~Dr.M~~ 0 unique, 0 total warning(s)
~~Dr.M~~ 1 unique, 1 total, 800000 byte(s) of leak(s)
~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of possible leak(s)
~~Dr.M~~ ERRORS IGNORED:
~~Dr.M~~ 30 unique, 47 total, 19646 byte(s) of still-reachable allocation(s)
~~Dr.M~~ (re-run with "-show_reachable" for details)
~~Dr.M~~ Details: /x01/exd10/DrMemory-Linux-1.10.0-2/drmemory/logs/DrMemory-MCTester.26560.000/results.txt
=================================================================================================================================
=================================================================================================================================
== Starting Test 23
=================================================================================================================================
~~Dr.M~~ Dr. Memory version 1.10.0
~~Dr.M~~ (Uninitialized read checking is not yet supported for 64-bit)
~~Dr.M~~
~~Dr.M~~ Error #1: UNADDRESSABLE ACCESS: reading 0x00007fffa6461230-0x00007fffa6461231 1 byte(s)
~~Dr.M~~ # 0 stackOutOfBoundReadLarge [/home/gayancp/sanitizerstestsuite/main.cpp:72]
~~Dr.M~~ # 1 main [/home/gayancp/sanitizerstestsuite/main.cpp:375]
~~Dr.M~~ Note: @0:00:00.131 in thread 26561
~~Dr.M~~ Note: instruction: movsx 0x000186a0(%rsp) -> %esi
~~Dr.M~~
~~Dr.M~~ ERRORS FOUND:
~~Dr.M~~ 1 unique, 1 total unaddressable access(es)
~~Dr.M~~ 0 unique, 0 total invalid heap argument(s)
~~Dr.M~~ 0 unique, 0 total warning(s)
~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of leak(s)
~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of possible leak(s)
~~Dr.M~~ ERRORS IGNORED:
~~Dr.M~~ 28 unique, 46 total, 19246 byte(s) of still-reachable allocation(s)
~~Dr.M~~ (re-run with "-show_reachable" for details)
~~Dr.M~~ Details: /x01/exd10/DrMemory-Linux-1.10.0-2/drmemory/logs/DrMemory-MCTester.26561.000/results.txt
=================================================================================================================================
=================================================================================================================================
== Starting Test 24
=================================================================================================================================
~~Dr.M~~ Dr. Memory version 1.10.0
~~Dr.M~~ (Uninitialized read checking is not yet supported for 64-bit)
~~Dr.M~~
~~Dr.M~~ Error #1: UNADDRESSABLE ACCESS: writing 0x00007fff7fbbbe20-0x00007fff7fbbbe21 1 byte(s)
~~Dr.M~~ # 0 stackOutOfBoundWriteLarge [/home/gayancp/sanitizerstestsuite/main.cpp:96]
~~Dr.M~~ # 1 main [/home/gayancp/sanitizerstestsuite/main.cpp:376]
~~Dr.M~~ Note: @0:00:00.186 in thread 26562
~~Dr.M~~ Note: instruction: mov $0x00 -> 0x000186a0(%rsp)
~~Dr.M~~
~~Dr.M~~ ERRORS FOUND:
~~Dr.M~~ 1 unique, 1 total unaddressable access(es)
~~Dr.M~~ 0 unique, 0 total invalid heap argument(s)
~~Dr.M~~ 0 unique, 0 total warning(s)
~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of leak(s)
~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of possible leak(s)
~~Dr.M~~ ERRORS IGNORED:
~~Dr.M~~ 28 unique, 46 total, 19246 byte(s) of still-reachable allocation(s)
~~Dr.M~~ (re-run with "-show_reachable" for details)
~~Dr.M~~ Details: /x01/exd10/DrMemory-Linux-1.10.0-2/drmemory/logs/DrMemory-MCTester.26562.000/results.txt
=================================================================================================================================
=================================================================================================================================
== Starting Test 25
=================================================================================================================================
~~Dr.M~~ Dr. Memory version 1.10.0
~~Dr.M~~ (Uninitialized read checking is not yet supported for 64-bit)
Executing : 25 : Testing stack out of bound read integer100 0
~~Dr.M~~
~~Dr.M~~ NO ERRORS FOUND:
~~Dr.M~~ 0 unique, 0 total unaddressable access(es)
~~Dr.M~~ 0 unique, 0 total invalid heap argument(s)
~~Dr.M~~ 0 unique, 0 total warning(s)
~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of leak(s)
~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of possible leak(s)
~~Dr.M~~ ERRORS IGNORED:
~~Dr.M~~ 27 unique, 45 total, 19222 byte(s) of still-reachable allocation(s)
~~Dr.M~~ (re-run with "-show_reachable" for details)
~~Dr.M~~ Details: /x01/exd10/DrMemory-Linux-1.10.0-2/drmemory/logs/DrMemory-MCTester.26563.000/results.txt
=================================================================================================================================
=================================================================================================================================
== Starting Test 26
=================================================================================================================================
~~Dr.M~~ Dr. Memory version 1.10.0
~~Dr.M~~ (Uninitialized read checking is not yet supported for 64-bit)
Executing : 26 : Testing stack out of bound write integeri : 33 0
~~Dr.M~~
~~Dr.M~~ NO ERRORS FOUND:
~~Dr.M~~ 0 unique, 0 total unaddressable access(es)
~~Dr.M~~ 0 unique, 0 total invalid heap argument(s)
~~Dr.M~~ 0 unique, 0 total warning(s)
~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of leak(s)
~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of possible leak(s)
~~Dr.M~~ ERRORS IGNORED:
~~Dr.M~~ 27 unique, 45 total, 19222 byte(s) of still-reachable allocation(s)
~~Dr.M~~ (re-run with "-show_reachable" for details)
~~Dr.M~~ Details: /x01/exd10/DrMemory-Linux-1.10.0-2/drmemory/logs/DrMemory-MCTester.26564.000/results.txt
=================================================================================================================================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment