Skip to content

Instantly share code, notes, and snippets.

View gayanpathirage's full-sized avatar

Gayan Pathirage gayanpathirage

  • London Stock Exchange Group (LSEG Technology)
  • Sri Lanka
  • X @gayanpathirage
View GitHub Profile
@gayanpathirage
gayanpathirage / dr_m_result.log
Created April 7, 2016 09:10
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
@gayanpathirage
gayanpathirage / asan_result.log
Created April 7, 2016 09:09
C++ Sanitizers Review Test Suite Results
=================================================================================================================================
== Starting Test 1
=================================================================================================================================
=================================================================
==26460==ERROR: AddressSanitizer: heap-use-after-free on address 0x61400000fe40 at pc 0x47887a bp 0x7fff2cd4c100 sp 0x7fff2cd4c0f8
READ of size 4 at 0x61400000fe40 thread T0
#0 0x478879 in useAfterFreeRead() /home/gayancp/sanitizerstestsuite/main.cpp:25
#1 0x479d9e in main /home/gayancp/sanitizerstestsuite/main.cpp:317
#2 0x7f8543d4dc35 in __libc_start_main (/lib64/libc.so.6+0x1ec35)
#3 0x415330 (/x01/exd10/bin_release/MCTester_ASAN+0x415330)
@gayanpathirage
gayanpathirage / valgrind_result.log
Created April 7, 2016 09:06
C++ Sanitizers Review Test Suite Results
=================================================================================================================================
== Starting Test 1
=================================================================================================================================
==26362== Memcheck, a memory error detector
==26362== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
==26362== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info
==26362== Command: MCTester 1 1
==26362==
==26362== Invalid read of size 4
==26362== at 0x400D8D: useAfterFreeRead() (main.cpp:26)