Closed GoogleCodeExporter closed 9 years ago
Forgot to put the output under ASan here:
=================================================================
&run_on_startup = 002A21A0, call_me_maybe = 00271000
.CRT$XI*: 002A2188 => 00000000
.CRT$XI*: 002A218C => 00000000
.CRT$XI*: 002A2190 => 00000000
.CRT$XI*: 002A2194 => 00000000
.CRT$XI*: 002A2198 => 00000000
.CRT$XI*: 002A219C => 00000000
.CRT$XI*: 002A21A0 => 00271000
=================================================================
==7588==ERROR: AddressSanitizer: global-buffer-overflow on address 0x002a21a4
at pc 0x2712cf sp 0x1af914
READ of size 4 at 0x002a21a4 thread T0
#0 0x2712ce in main test.cpp:34
0x002a21a4 is located 0 bytes to the right of global variable
'☺?run_on_startup@@3P6AXXZA' from 'test.cpp' (0x2a21a0) of size 4
SUMMARY: AddressSanitizer: global-buffer-overflow test.cpp:34 main
Shadow bytes around the buggy address:
0x200543e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x200543f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x20054400: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x20054410: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x20054420: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
=>0x20054430: 00 00 00 00[04]f9 f9 f9 f9 f9 f9 f9 00 00 00 00
Original comment by timurrrr@google.com
on 5 May 2014 at 1:12
http://llvm.org/viewvc/llvm-project?revision=207968&view=revision
Original comment by timurrrr@google.com
on 5 May 2014 at 2:45
Original issue reported on code.google.com by
timurrrr@google.com
on 5 May 2014 at 1:11