public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug sanitizer/62089] Sanitizer may fail to instrument struct accesses [not found] <bug-62089-4@http.gcc.gnu.org/bugzilla/> @ 2014-08-11 14:24 ` y.gribov at samsung dot com 2014-08-18 8:24 ` ygribov at gcc dot gnu.org ` (2 subsequent siblings) 3 siblings, 0 replies; 4+ messages in thread From: y.gribov at samsung dot com @ 2014-08-11 14:24 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62089 Yury Gribov <y.gribov at samsung dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |y.gribov at samsung dot com --- Comment #1 from Yury Gribov <y.gribov at samsung dot com> --- Created attachment 33289 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33289&action=edit Proposed patch Attached a simple patch which seems to fix the problem. Bootstrap and regtests passed but I want to test Asan-bootstrap as well. I'll then send patch for review to gcc-patches. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug sanitizer/62089] Sanitizer may fail to instrument struct accesses [not found] <bug-62089-4@http.gcc.gnu.org/bugzilla/> 2014-08-11 14:24 ` [Bug sanitizer/62089] Sanitizer may fail to instrument struct accesses y.gribov at samsung dot com @ 2014-08-18 8:24 ` ygribov at gcc dot gnu.org 2014-08-19 11:42 ` y.gribov at samsung dot com 2014-10-16 13:53 ` ygribov at gcc dot gnu.org 3 siblings, 0 replies; 4+ messages in thread From: ygribov at gcc dot gnu.org @ 2014-08-18 8:24 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62089 --- Comment #2 from ygribov at gcc dot gnu.org --- Author: ygribov Date: Mon Aug 18 08:23:47 2014 New Revision: 214086 URL: https://gcc.gnu.org/viewcvs?rev=214086&root=gcc&view=rev Log: 2014-08-18 Yury Gribov <y.gribov@samsung.com> PR sanitizer/62089 gcc/ * asan.c (instrument_derefs): Fix bitfield check. gcc/testsuite/ * c-c++-common/asan/pr62089.c: New test. * c-c++-common/asan/bitfield-1.c: New test. * c-c++-common/asan/bitfield-2.c: New test. * c-c++-common/asan/bitfield-3.c: New test. * c-c++-common/asan/bitfield-4.c: New test. Added: trunk/gcc/testsuite/c-c++-common/asan/bitfield-1.c trunk/gcc/testsuite/c-c++-common/asan/bitfield-2.c trunk/gcc/testsuite/c-c++-common/asan/bitfield-3.c trunk/gcc/testsuite/c-c++-common/asan/bitfield-4.c trunk/gcc/testsuite/c-c++-common/asan/pr62089.c Modified: trunk/gcc/ChangeLog trunk/gcc/asan.c trunk/gcc/testsuite/ChangeLog ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug sanitizer/62089] Sanitizer may fail to instrument struct accesses [not found] <bug-62089-4@http.gcc.gnu.org/bugzilla/> 2014-08-11 14:24 ` [Bug sanitizer/62089] Sanitizer may fail to instrument struct accesses y.gribov at samsung dot com 2014-08-18 8:24 ` ygribov at gcc dot gnu.org @ 2014-08-19 11:42 ` y.gribov at samsung dot com 2014-10-16 13:53 ` ygribov at gcc dot gnu.org 3 siblings, 0 replies; 4+ messages in thread From: y.gribov at samsung dot com @ 2014-08-19 11:42 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62089 Yury Gribov <y.gribov at samsung dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #3 from Yury Gribov <y.gribov at samsung dot com> --- Fixed. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug sanitizer/62089] Sanitizer may fail to instrument struct accesses [not found] <bug-62089-4@http.gcc.gnu.org/bugzilla/> ` (2 preceding siblings ...) 2014-08-19 11:42 ` y.gribov at samsung dot com @ 2014-10-16 13:53 ` ygribov at gcc dot gnu.org 3 siblings, 0 replies; 4+ messages in thread From: ygribov at gcc dot gnu.org @ 2014-10-16 13:53 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62089 --- Comment #4 from ygribov at gcc dot gnu.org --- Author: ygribov Date: Thu Oct 16 13:52:45 2014 New Revision: 216331 URL: https://gcc.gnu.org/viewcvs?rev=216331&root=gcc&view=rev Log: 2014-10-16 Yury Gribov <y.gribov@samsung.com> Backport from mainline 2014-08-18 Yury Gribov <y.gribov@samsung.com> PR sanitizer/62089 * asan.c (instrument_derefs): Fix bitfield check. * c-c++-common/asan/pr62089.c: New test. * c-c++-common/asan/bitfield-1.c: New test. * c-c++-common/asan/bitfield-2.c: New test. * c-c++-common/asan/bitfield-3.c: New test. * c-c++-common/asan/bitfield-4.c: New test. Backport from mainline 2014-08-28 Yury Gribov <y.gribov@samsung.com> * c-c++-common/asan/pr62089.c: Fix test on 32-bit platforms. Added: branches/gcc-4_9-branch/gcc/testsuite/c-c++-common/asan/bitfield-1.c branches/gcc-4_9-branch/gcc/testsuite/c-c++-common/asan/bitfield-2.c branches/gcc-4_9-branch/gcc/testsuite/c-c++-common/asan/bitfield-3.c branches/gcc-4_9-branch/gcc/testsuite/c-c++-common/asan/bitfield-4.c branches/gcc-4_9-branch/gcc/testsuite/c-c++-common/asan/pr62089.c Modified: branches/gcc-4_9-branch/gcc/ChangeLog branches/gcc-4_9-branch/gcc/asan.c branches/gcc-4_9-branch/gcc/testsuite/ChangeLog ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-10-16 13:53 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <bug-62089-4@http.gcc.gnu.org/bugzilla/> 2014-08-11 14:24 ` [Bug sanitizer/62089] Sanitizer may fail to instrument struct accesses y.gribov at samsung dot com 2014-08-18 8:24 ` ygribov at gcc dot gnu.org 2014-08-19 11:42 ` y.gribov at samsung dot com 2014-10-16 13:53 ` ygribov at gcc dot gnu.org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).