Comment #1 on issue 305 by [email protected]: ASan shouldn't instrument
globals defined in ".CRT*$*" sections
http://code.google.com/p/address-sanitizer/issues/detail?id=305
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
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
You received this message because you are subscribed to the Google Groups
"address-sanitizer" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.