[Bug sanitizer/85230] asan: false positives in kernel on allocas

2018-04-10 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85230 chefmax at gcc dot gnu.org changed: What|Removed |Added CC||chefmax at gcc dot gnu.org

[Bug sanitizer/85230] asan: false positives in kernel on allocas

2018-04-11 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85230 --- Comment #7 from chefmax at gcc dot gnu.org --- (In reply to Dmitry Vyukov from comment #6) > Right! > > Unpoisoning before restoring SP looks like a reasonable and simple solution > to me. I don't see any potential downs

[Bug sanitizer/85230] asan: false positives in kernel on allocas

2018-04-12 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85230 --- Comment #11 from chefmax at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #10) > Unfortunately that doesn't work, because the second argument to > __asan_allocas_unpoison is incorrect then. Unfortunately we can'

[Bug sanitizer/85230] asan: false positives in kernel on allocas

2018-04-12 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85230 --- Comment #14 from chefmax at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #13) > or introduce a new virtual pseudo register that vregs pass would map directly > to dynamic_offset. Yeah, that's what I though about

[Bug sanitizer/85230] asan: false positives in kernel on allocas

2018-04-12 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85230 --- Comment #17 from chefmax at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #15) > (In reply to chefmax from comment #14) > > (In reply to Jakub Jelinek from comment #13) > > > or introduce a new virtual pseudo r

[Bug sanitizer/86090] [ASAN] ASAN does not properly configure libbacktrace.

2018-06-13 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86090 --- Comment #3 from chefmax at gcc dot gnu.org --- Author: chefmax Date: Wed Jun 13 19:51:42 2018 New Revision: 261564 URL: https://gcc.gnu.org/viewcvs?rev=261564&root=gcc&view=rev Log: 2018-06-13 Denis Khalikov libsanitizer/

[Bug other/86198] Libbacktrace does not properly work with ".note.gnu.build-id" section

2018-06-20 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86198 --- Comment #4 from chefmax at gcc dot gnu.org --- Author: chefmax Date: Thu Jun 21 05:42:53 2018 New Revision: 261832 URL: https://gcc.gnu.org/viewcvs?rev=261832&root=gcc&view=rev Log: libbacktrace/ 2018-06-21 Denis Khalikov

[Bug sanitizer/84250] Symbol collision when using both Address and Undefined Behavior sanitizers (-fsanitize=address,undefined)

2018-07-04 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84250 --- Comment #5 from chefmax at gcc dot gnu.org --- Author: chefmax Date: Wed Jul 4 19:49:06 2018 New Revision: 262421 URL: https://gcc.gnu.org/viewcvs?rev=262421&root=gcc&view=rev Log: gcc/ 2018-07-04 Maxim Ostapenko PR s

[Bug objc/80798] Dynamic stack buffer (alloca) overflow in ObjC compiler.

2018-07-24 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80798 chefmax at gcc dot gnu.org changed: What|Removed |Added CC||chefmax at gcc dot gnu.org

[Bug other/86656] Issues found with -fsanitize=address

2018-07-24 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86656 Bug 86656 depends on bug 80798, which changed state. Bug 80798 Summary: Dynamic stack buffer (alloca) overflow in ObjC compiler. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80798 What|Removed |Added ---

[Bug objc/80798] Dynamic stack buffer (alloca) overflow in ObjC compiler.

2018-07-24 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80798 chefmax at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution

[Bug objc/85476] ASAN error in finish_class ../../gcc/objc/objc-act.c:8006

2018-07-24 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85476 chefmax at gcc dot gnu.org changed: What|Removed |Added CC||m.ostapenko at samsung dot

[Bug sanitizer/86755] [ASAN] Libasan failed to be build for arm with -mthumb and -fno-omit-frame-pointer

2018-08-13 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86755 chefmax at gcc dot gnu.org changed: What|Removed |Added CC||chefmax at gcc dot gnu.org

[Bug sanitizer/78651] Incorrect exception handling when catch clause uses local class and PIC and sanitizer are active

2018-08-20 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78651 --- Comment #10 from chefmax at gcc dot gnu.org --- Seems to be closed on GCC 8 and 7, OK to close?

[Bug sanitizer/78651] Incorrect exception handling when catch clause uses local class and PIC and sanitizer are active

2018-08-20 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78651 --- Comment #11 from chefmax at gcc dot gnu.org --- (In reply to chefmax from comment #10) > Seems to be closed on GCC 8 and 7, OK to close? s/closed/fixed/

[Bug c++/78651] Incorrect exception handling when catch clause uses local class and PIC and sanitizer are active

2018-03-14 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78651 chefmax at gcc dot gnu.org changed: What|Removed |Added CC||chefmax at gcc dot gnu.org

[Bug c++/78651] Incorrect exception handling when catch clause uses local class and PIC and sanitizer are active

2018-03-14 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78651 --- Comment #5 from chefmax at gcc dot gnu.org --- Created attachment 43652 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43652&action=edit Untested fix Simple untested fix that seems to cure the issue.

[Bug sanitizer/78651] Incorrect exception handling when catch clause uses local class and PIC and sanitizer are active

2018-03-19 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78651 --- Comment #6 from chefmax at gcc dot gnu.org --- Author: chefmax Date: Mon Mar 19 19:59:56 2018 New Revision: 258658 URL: https://gcc.gnu.org/viewcvs?rev=258658&root=gcc&view=rev Log: 2018-03-19 Maxim Ostapenko gcc/ PR s

[Bug sanitizer/87840] LSAN not always printing the leaks when -fsanitize=address is absent

2018-11-07 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87840 chefmax at gcc dot gnu.org changed: What|Removed |Added CC||chefmax at gcc dot gnu.org

[Bug sanitizer/88022] New: Support dynamic shadow offset in ASan

2018-11-14 Thread chefmax at gcc dot gnu.org
: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: chefmax at gcc dot gnu.org CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org, jakub at gcc dot gnu.org, kcc at gcc dot gnu.org, marxin at gcc dot gnu.org Target Milestone: --- This

[Bug sanitizer/88022] Support dynamic shadow offset in ASan

2018-11-14 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88022 --- Comment #2 from chefmax at gcc dot gnu.org --- I think nothing prevents us from trying several ranges, the question is whether upstream guys will accept this... I've just noticed that the code for dynamic shadow offset is already prese

[Bug testsuite/63292] ASan reports global-buffer-overflow in gcc.dg/vect/pr59594.c.

2018-11-19 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63292 chefmax at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC

[Bug sanitizer/88022] Support dynamic shadow offset in ASan

2018-11-19 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88022 --- Comment #5 from chefmax at gcc dot gnu.org --- (In reply to Martin Liška from comment #4) > Agree with Jakub that if really not necessary, I wouldn't complicate > libsanitizer. My point was that we won't need to complic

[Bug sanitizer/81697] Incorrect ASan global variables alignment on arm

2018-11-20 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81697 chefmax at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED CC

[Bug sanitizer/84250] Symbol collision when using both Address and Undefined Behavior sanitizers (-fsanitize=address,undefined)

2018-11-20 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84250 --- Comment #8 from chefmax at gcc dot gnu.org --- (In reply to Martin Liška from comment #7) > Maxim, Jakub: Can the bug be marked as resolved? Or at least update Known to > work? Hm, I think the bug is still present -- the first f

[Bug sanitizer/78878] stacktrace engine can't use compressed/separated debug info for extracting symbols.

2018-11-23 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78878 --- Comment #2 from chefmax at gcc dot gnu.org --- Should be fixed, I guess, by: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67165 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77631

[Bug sanitizer/70474] [4.9 Regression] Several hundred asan failures with 4.9.4 on x86_64-apple-darwin15

2016-04-05 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70474 --- Comment #6 from chefmax at gcc dot gnu.org --- Author: chefmax Date: Tue Apr 5 11:52:34 2016 New Revision: 234744 URL: https://gcc.gnu.org/viewcvs?rev=234744&root=gcc&view=rev Log: Cherry-pick r224315,221379 and r241487 from

[Bug sanitizer/70541] unnoticed invalid dereference when using address sanitizer

2016-04-08 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70541 --- Comment #5 from chefmax at gcc dot gnu.org --- Author: chefmax Date: Fri Apr 8 10:46:13 2016 New Revision: 234827 URL: https://gcc.gnu.org/viewcvs?rev=234827&root=gcc&view=rev Log: 2016-04-08 Maxim Ostapenko PR sanitiz

[Bug sanitizer/70624] [6/7 Regression] Several hundred asan failures with 6.0 on x86_64-apple-darwin10.8

2016-04-21 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70624 --- Comment #10 from chefmax at gcc dot gnu.org --- Author: chefmax Date: Thu Apr 21 12:12:53 2016 New Revision: 235337 URL: https://gcc.gnu.org/viewcvs?rev=235337&root=gcc&view=rev Log: Cherry-pick r266868 from upstream. PR s

[Bug sanitizer/70624] [6/7 Regression] Several hundred asan failures with 6.0 on x86_64-apple-darwin10.8

2016-04-21 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70624 --- Comment #11 from chefmax at gcc dot gnu.org --- Author: chefmax Date: Thu Apr 21 12:19:54 2016 New Revision: 235338 URL: https://gcc.gnu.org/viewcvs?rev=235338&root=gcc&view=rev Log: Cherry-pick r266868 from upstream. PR s

[Bug sanitizer/64354] no preprocessor symbol __SANITIZE_THREAD__

2016-05-19 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64354 --- Comment #2 from chefmax at gcc dot gnu.org --- Author: chefmax Date: Thu May 19 12:05:59 2016 New Revision: 236457 URL: https://gcc.gnu.org/viewcvs?rev=236457&root=gcc&view=rev Log: 2016-05-19 Maxim Ostapenko PR sanitiz

[Bug sanitizer/71480] ASan should align string constants to shadow granularity.

2016-06-10 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71480 --- Comment #4 from chefmax at gcc dot gnu.org --- Author: chefmax Date: Fri Jun 10 12:57:14 2016 New Revision: 237306 URL: https://gcc.gnu.org/viewcvs?rev=237306&root=gcc&view=rev Log: 2016-06-10 Maxim Ostapenko PR sanitiz

[Bug target/81861] [8.0 Regression] ASan pr64820.c testcase segfaults with LTO and -fstack-protector-strong

2017-08-17 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81861 --- Comment #8 from chefmax at gcc dot gnu.org --- Author: chefmax Date: Thu Aug 17 11:58:13 2017 New Revision: 251145 URL: https://gcc.gnu.org/viewcvs?rev=251145&root=gcc&view=rev Log: 2017-08-17 Maxim Ostapenko PR targ

[Bug tree-optimization/67328] range test rather than single bit test for code testing enum values

2017-06-13 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67328 --- Comment #7 from chefmax at gcc dot gnu.org --- Author: chefmax Date: Tue Jun 13 11:13:52 2017 New Revision: 249149 URL: https://gcc.gnu.org/viewcvs?rev=249149&root=gcc&view=rev Log: 2017-06-13 Yury Gribov gcc/

[Bug bootstrap/80565] [8 Regression] ICE at -O2 and -O3 in 32-bit mode (not 64-bit) on x86_64-linux-gnu (in edge_badness, at ipa-inline.c:1028)

2017-06-29 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80565 --- Comment #3 from chefmax at gcc dot gnu.org --- Author: chefmax Date: Thu Jun 29 08:50:21 2017 New Revision: 249771 URL: https://gcc.gnu.org/viewcvs?rev=249771&root=gcc&view=rev Log: 2017-06-29 Yury Gribov PR bootstr

[Bug sanitizer/78532] [7 Regression] libsanitizer fails to build on sparc64-linux-gnu

2016-11-30 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78532 --- Comment #8 from chefmax at gcc dot gnu.org --- Author: chefmax Date: Wed Nov 30 12:31:07 2016 New Revision: 243014 URL: https://gcc.gnu.org/viewcvs?rev=243014&root=gcc&view=rev Log: PR sanitizer/78532 * sanitize

[Bug sanitizer/78532] [7 Regression] libsanitizer fails to build on sparc64-linux-gnu

2016-11-30 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78532 --- Comment #9 from chefmax at gcc dot gnu.org --- Author: chefmax Date: Wed Nov 30 12:32:55 2016 New Revision: 243016 URL: https://gcc.gnu.org/viewcvs?rev=243016&root=gcc&view=rev Log: Add PR sanitizer/78532 patch to libsanitizer/LOCAL

[Bug lto/79042] LTO doesn't propagate node->dynamically_initialized bit for varpool nodes.

2017-01-11 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79042 --- Comment #2 from chefmax at gcc dot gnu.org --- Author: chefmax Date: Wed Jan 11 12:57:42 2017 New Revision: 244314 URL: https://gcc.gnu.org/viewcvs?rev=244314&root=gcc&view=rev Log: PR lto/79042 * lto-

[Bug lto/79042] LTO doesn't propagate node->dynamically_initialized bit for varpool nodes.

2017-01-11 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79042 --- Comment #3 from chefmax at gcc dot gnu.org --- Author: chefmax Date: Wed Jan 11 16:53:52 2017 New Revision: 244324 URL: https://gcc.gnu.org/viewcvs?rev=244324&root=gcc&view=rev Log: PR lto/79042 * lto-

[Bug lto/79042] LTO doesn't propagate node->dynamically_initialized bit for varpool nodes.

2017-01-11 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79042 --- Comment #4 from chefmax at gcc dot gnu.org --- Author: chefmax Date: Thu Jan 12 07:44:17 2017 New Revision: 244347 URL: https://gcc.gnu.org/viewcvs?rev=244347&root=gcc&view=rev Log: PR lto/79042 * lto-

[Bug sanitizer/78887] [7 Regression] Failure to build aarch64 allmodconfig Linux kernel 4.9

2017-01-13 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78887 --- Comment #8 from chefmax at gcc dot gnu.org --- Author: chefmax Date: Fri Jan 13 10:08:50 2017 New Revision: 244402 URL: https://gcc.gnu.org/viewcvs?rev=244402&root=gcc&view=rev Log: PR sanitizer/78887

[Bug lto/79061] [7 Regression][LTO][ASAN] LTO plus ASAN fails with "AddressSanitizer: initialization-order-fiasco"

2017-01-18 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79061 --- Comment #15 from chefmax at gcc dot gnu.org --- Author: chefmax Date: Wed Jan 18 16:06:31 2017 New Revision: 244581 URL: https://gcc.gnu.org/viewcvs?rev=244581&root=gcc&view=rev Log: PR lto/79061 gcc/

[Bug lto/79061] [7 Regression][LTO][ASAN] LTO plus ASAN fails with "AddressSanitizer: initialization-order-fiasco"

2017-01-23 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79061 --- Comment #17 from chefmax at gcc dot gnu.org --- Author: chefmax Date: Mon Jan 23 09:12:29 2017 New Revision: 244773 URL: https://gcc.gnu.org/viewcvs?rev=244773&root=gcc&view=rev Log: Revert fix for PR lto/79061 due to this regresses

[Bug lto/79061] [7 Regression][LTO][ASAN] LTO plus ASAN fails with "AddressSanitizer: initialization-order-fiasco"

2017-01-24 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79061 --- Comment #19 from chefmax at gcc dot gnu.org --- Author: chefmax Date: Wed Jan 25 07:45:40 2017 New Revision: 244890 URL: https://gcc.gnu.org/viewcvs?rev=244890&root=gcc&view=rev Log: PR lto/79061 gcc/

[Bug lto/79061] [7 Regression][LTO][ASAN] LTO plus ASAN fails with "AddressSanitizer: initialization-order-fiasco"

2017-01-30 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79061 --- Comment #30 from chefmax at gcc dot gnu.org --- Author: chefmax Date: Mon Jan 30 16:06:15 2017 New Revision: 245033 URL: https://gcc.gnu.org/viewcvs?rev=245033&root=gcc&view=rev Log: PR lto/79061

[Bug lto/79061] [7 Regression][LTO][ASAN] LTO plus ASAN fails with "AddressSanitizer: initialization-order-fiasco"

2017-02-02 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79061 --- Comment #32 from chefmax at gcc dot gnu.org --- Author: chefmax Date: Fri Feb 3 07:17:38 2017 New Revision: 245144 URL: https://gcc.gnu.org/viewcvs?rev=245144&root=gcc&view=rev Log: PR lto/79061 * asan.c (asan_ad

[Bug lto/79061] [7 Regression][LTO][ASAN] LTO plus ASAN fails with "AddressSanitizer: initialization-order-fiasco"

2017-02-03 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79061 --- Comment #33 from chefmax at gcc dot gnu.org --- Author: chefmax Date: Fri Feb 3 09:13:06 2017 New Revision: 245148 URL: https://gcc.gnu.org/viewcvs?rev=245148&root=gcc&view=rev Log: PR lto/79061 * asan.c (asan_ad

[Bug sanitizer/78663] [7 Regression] Hundreds of asan failures on x86_64-apple-darwin10 at r243019

2017-02-03 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78663 --- Comment #9 from chefmax at gcc dot gnu.org --- Author: chefmax Date: Fri Feb 3 12:17:59 2017 New Revision: 245149 URL: https://gcc.gnu.org/viewcvs?rev=245149&root=gcc&view=rev Log: PR sanitizer/78663 * sanitize

[Bug sanitizer/80414] [UBSAN] segfault with -fsanitize=undefined

2017-04-13 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80414 --- Comment #1 from chefmax at gcc dot gnu.org --- Author: chefmax Date: Thu Apr 13 14:52:23 2017 New Revision: 246909 URL: https://gcc.gnu.org/viewcvs?rev=246909&root=gcc&view=rev Log: PR sanitizer/80414 *

[Bug sanitizer/81697] Incorrect ASan global variables alignment on arm

2017-11-30 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81697 --- Comment #4 from chefmax at gcc dot gnu.org --- Author: chefmax Date: Thu Nov 30 21:38:16 2017 New Revision: 255283 URL: https://gcc.gnu.org/viewcvs?rev=255283&root=gcc&view=rev Log: gcc/ 2017-11-30 Maxim Ostapenko PR s

[Bug sanitizer/63958] [5 Regression] bootstrap failure in the sanitizer libs on sparc-linux-gnu

2016-11-08 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63958 --- Comment #15 from chefmax at gcc dot gnu.org --- Author: chefmax Date: Tue Nov 8 22:06:02 2016 New Revision: 241978 URL: https://gcc.gnu.org/viewcvs?rev=241978&root=gcc&view=rev Log: PR sanitizer/63958 Reapply:

[Bug sanitizer/78307] [7 Regression] missing symbols in libubsan without changing the soname

2016-11-16 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78307 --- Comment #8 from chefmax at gcc dot gnu.org --- Author: chefmax Date: Wed Nov 16 11:13:19 2016 New Revision: 242478 URL: https://gcc.gnu.org/viewcvs?rev=242478&root=gcc&view=rev Log: PR sanitizer/78307

[Bug other/60681] New: Libbacktrace library doesn't work with QEMU in application mode

2014-03-27 Thread chefmax at gcc dot gnu.org
ormal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: chefmax at gcc dot gnu.org CC: v.garbuzov at samsung dot com, y.gribov at samsung dot com The libbacktrace library doesn't work well with QEMU in application mo

[Bug sanitizer/61530] [4.10 Regression] segfault with asan

2014-06-20 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61530 --- Comment #7 from Maxim Ostapenko --- Author: chefmax Date: Fri Jun 20 10:26:55 2014 New Revision: 211846 URL: https://gcc.gnu.org/viewcvs?rev=211846&root=gcc&view=rev Log: 2014-06-18 Yury Gribov gcc/ PR sanitizer/61530 * asan.c (b

[Bug sanitizer/64820] Libsanitizer fails with ((AddrIsAlignedByGranularity(addr + size))) != (0)" (0x0, 0x0) if ssp is enabled.

2015-03-16 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64820 --- Comment #2 from Maxim Ostapenko --- Author: chefmax Date: Mon Mar 16 11:17:32 2015 New Revision: 221457 URL: https://gcc.gnu.org/viewcvs?rev=221457&root=gcc&view=rev Log: 2015-03-16 Max Ostapenko PR sanitizer/64820 gcc/ * cf

[Bug sanitizer/64820] Libsanitizer fails with ((AddrIsAlignedByGranularity(addr + size))) != (0)" (0x0, 0x0) if ssp is enabled.

2015-03-18 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64820 --- Comment #4 from Maxim Ostapenko --- Fixed by r22145.

[Bug sanitizer/64820] Libsanitizer fails with ((AddrIsAlignedByGranularity(addr + size))) != (0)" (0x0, 0x0) if ssp is enabled.

2015-03-18 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64820 Maxim Ostapenko changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/65624] New: ICE in aarch64-builtins.c when expanding 4-argument aarch64 intrinsic.

2015-03-29 Thread chefmax at gcc dot gnu.org
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: chefmax at gcc dot gnu.org Host: i686-linux-gnu Target: aarch64-linux-gnu Build: i686-pc-linux-gnu Created attachment 35178 --> ht

[Bug target/65624] ICE in aarch64-builtins.c when expanding 4-argument aarch64 intrinsic.

2015-03-29 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65624 --- Comment #1 from Maxim Ostapenko --- Created attachment 35179 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35179&action=edit Trivial fix Trivial fix.

[Bug target/65624] ICE in aarch64-builtins.c when expanding 4-argument aarch64 intrinsic.

2015-03-30 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65624 --- Comment #4 from Maxim Ostapenko --- (In reply to ktkachov from comment #3) > Actually, r218021 touches the argument expansion rather than builtin > expansion functions, so I'm not sure that would fix it. But still, I can't > reproduce this on

[Bug target/65624] ICE in aarch64-builtins.c when expanding 4-argument aarch64 intrinsic.

2015-04-01 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65624 --- Comment #6 from Maxim Ostapenko --- Author: chefmax Date: Wed Apr 1 11:18:03 2015 New Revision: 221807 URL: https://gcc.gnu.org/viewcvs?rev=221807&root=gcc&view=rev Log: 2015-04-01 Max Ostapenko PR target/65624 gcc/ * confi

[Bug target/65624] ICE in aarch64-builtins.c when expanding 4-argument aarch64 intrinsic.

2015-04-01 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65624 Maxim Ostapenko changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/57271] ARM: gcc generates insufficient alignment for memory passed as extra argument for function return large composite type

2015-05-05 Thread chefmax at gcc dot gnu.org
||chefmax at gcc dot gnu.org, ||ygribov at gcc dot gnu.org Host||x86_64-pc-linux-gnu Known to fail||6.0 --- Comment #7 from Maxim Ostapenko

[Bug testsuite/66046] New: UBSan output pattern tests fail on target ARM board.

2015-05-07 Thread chefmax at gcc dot gnu.org
Component: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: chefmax at gcc dot gnu.org CC: tetra2005 at gmail dot com Target Milestone: --- Host: x86_64-pc-linux-gnu Target: arm-linux-gnueabi I see lots of output pattern test

[Bug testsuite/66046] UBSan output pattern tests fail on target ARM board.

2015-05-07 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66046 --- Comment #5 from Maxim Ostapenko --- (In reply to Marek Polacek from comment #3) > Oops. Let me prepare a patch. But I won't be able to test -- are you > willing to test it once I have something?. If it passes both x86_64, I'll > just commi

[Bug target/57271] ARM: gcc generates insufficient alignment for memory passed as extra argument for function return large composite type

2015-05-13 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57271 Maxim Ostapenko changed: What|Removed |Added CC||ktkachov at gcc dot gnu.org,

[Bug testsuite/59897] FAIL: c-c++-common/asan/use-after-return-1.c -O* output pattern test, is 1: 0x2285020

2014-01-23 Thread chefmax at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59897 --- Comment #5 from chefmax at gcc dot gnu.org --- Author: chefmax Date: Thu Jan 23 12:48:25 2014 New Revision: 206961 URL: http://gcc.gnu.org/viewcvs?rev=206961&root=gcc&view=rev Log: 2014-01-23 Dominique Dhumieres PR sanitiz

[Bug sanitizer/60055] New: Invalid binding of __tsan_default_options

2014-02-04 Thread chefmax at gcc dot gnu.org
: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: chefmax at gcc dot gnu.org CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org, jakub at gcc dot gnu.org, kcc at gcc dot gnu.org It is impossible to override default value of

[Bug sanitizer/60055] Invalid binding of __tsan_default_options

2014-02-04 Thread chefmax at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60055 --- Comment #1 from chefmax at gcc dot gnu.org --- Created attachment 32034 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32034&action=edit Proposed patch Attached patch seems to fix the bug. $ readelf -s ~/gcc-master-instal

[Bug sanitizer/60055] Invalid binding of __tsan_default_options

2014-02-04 Thread chefmax at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60055 --- Comment #4 from Maxim Ostapenko --- (In reply to Dmitry Vyukov from comment #3) > Hi, > > Does this work for you > http://llvm.org/viewvc/llvm-project?view=revision&revision=200747 > ? > > These callbacks are intended for very specific usage

[Bug sanitizer/60055] Invalid binding of __tsan_default_options

2014-02-04 Thread chefmax at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60055 Maxim Ostapenko changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug sanitizer/67867] New: UBSan bootstrap fails with error: ‘otype’ may be used uninitialized in this function [-Werror=maybe-uninitialized]

2015-10-06 Thread chefmax at gcc dot gnu.org
: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: chefmax at gcc dot gnu.org CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org

[Bug sanitizer/67867] UBSan bootstrap fails with error: ‘otype’ may be used uninitialized in this function [-Werror=maybe-uninitialized]

2015-10-06 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67867 --- Comment #2 from Maxim Ostapenko --- Created attachment 36451 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36451&action=edit Reprocase.

[Bug sanitizer/68016] New: ASan doesn't catch overflow in globals when COPY relocation is involved.

2015-10-19 Thread chefmax at gcc dot gnu.org
ormal Priority: P3 Component: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: chefmax at gcc dot gnu.org CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org, jakub at gcc dot gnu.org, kcc at gcc dot gn

[Bug bootstrap/63888] [5 Regression] bootstrap failed when configured with -with-build-config=bootstrap-asan --disable-werror

2015-10-19 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63888 Maxim Ostapenko changed: What|Removed |Added CC||chefmax at gcc dot gnu.org

[Bug sanitizer/63958] [5 Regression] bootstrap failure in the sanitizer libs on sparc-linux-gnu

2015-10-21 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63958 --- Comment #14 from Maxim Ostapenko --- Author: chefmax Date: Wed Oct 21 07:44:35 2015 New Revision: 229113 URL: https://gcc.gnu.org/viewcvs?rev=229113&root=gcc&view=rev Log: libsanitizer/ PR sanitizer/63958 Reapply: 20

[Bug bootstrap/63888] [5 Regression] bootstrap failed when configured with -with-build-config=bootstrap-asan --disable-werror

2015-10-21 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63888 --- Comment #41 from Maxim Ostapenko --- Author: chefmax Date: Wed Oct 21 07:47:54 2015 New Revision: 229114 URL: https://gcc.gnu.org/viewcvs?rev=229114&root=gcc&view=rev Log: libsanitizer/ PR bootstrap/63888 Reapply: 20

[Bug bootstrap/68041] [6 Regression] Bootstrap broken on x86_64-apple-darwin14 at revision r229119

2015-10-21 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68041 --- Comment #1 from Maxim Ostapenko --- Yes, this is mine.

[Bug bootstrap/68041] [6 Regression] Bootstrap broken on x86_64-apple-darwin14 at revision r229119

2015-10-21 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68041 --- Comment #2 from Maxim Ostapenko --- Created attachment 36555 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36555&action=edit First version of the fix. Dominique, I'm sorry about that. Could you please try attached patch? There may be

[Bug sanitizer/68016] ASan doesn't catch overflow in globals when COPY relocation is involved.

2015-10-21 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68016 --- Comment #2 from Maxim Ostapenko --- Ok, I guess won't fix here.

[Bug bootstrap/68041] [6 Regression] Bootstrap broken on x86_64-apple-darwin14 at revision r229119

2015-10-21 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68041 --- Comment #5 from Maxim Ostapenko --- (In reply to Dominique d'Humieres from comment #4) > With the patch in comment 2, bootstrap completed without any problem. > > Preliminary tests for g++ and asan > > === g++ Summary for unix

[Bug sanitizer/68042] [6 Regression] c-c++-common/asan/(memcmp-1.c|sanity-check-pure-c-1.c) failures on x86_64-apple-darwin14 after r229111

2015-10-21 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68042 --- Comment #1 from Maxim Ostapenko --- I wonder if the fix would be just output patterns adjustment (just like here: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63939)?

[Bug bootstrap/68041] [6 Regression] Bootstrap broken on x86_64-apple-darwin14 at revision r229119

2015-10-21 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68041 --- Comment #8 from Maxim Ostapenko --- Created attachment 36556 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36556&action=edit The patch I've posted to gcc-patches ML for review.

[Bug bootstrap/68041] [6 Regression] Bootstrap broken on x86_64-apple-darwin14 at revision r229119

2015-10-22 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68041 --- Comment #10 from Maxim Ostapenko --- (In reply to Dominique d'Humieres from comment #9) > > Created attachment 36556 [details] > > The patch I've posted to gcc-patches ML for review. > > I have not tested the part "removes -lc++abi flag for

[Bug bootstrap/68041] [6 Regression] Bootstrap broken on x86_64-apple-darwin14 at revision r229119

2015-10-22 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68041 --- Comment #11 from Maxim Ostapenko --- Author: chefmax Date: Thu Oct 22 09:47:17 2015 New Revision: 229168 URL: https://gcc.gnu.org/viewcvs?rev=229168&root=gcc&view=rev Log: Fix bootstrap on x86_64-apple-darwin14 after r229119. libsanitizer/

[Bug bootstrap/68041] [6 Regression] Bootstrap broken on x86_64-apple-darwin14 at revision r229119

2015-10-22 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68041 --- Comment #12 from Maxim Ostapenko --- Should be fixed on trunk. Dominique, let me know if the issue still occurs.

[Bug sanitizer/68042] [6 Regression] c-c++-common/asan/(memcmp-1.c|sanity-check-pure-c-1.c) failures on x86_64-apple-darwin14 after r229111

2015-10-22 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68042 --- Comment #3 from Maxim Ostapenko --- Created attachment 36562 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36562&action=edit Draft patch. Here an expected patch for memcmp-1.c and sanity-check-pure-c-1.c output patterns. Does it fix t

[Bug sanitizer/68016] ASan doesn't catch overflow in globals when COPY relocation is involved.

2015-10-22 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68016 Maxim Ostapenko changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug sanitizer/68042] [6 Regression] c-c++-common/asan/(memcmp-1.c|sanity-check-pure-c-1.c) failures on x86_64-apple-darwin14 after r229111

2015-10-23 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68042 --- Comment #5 from Maxim Ostapenko --- Author: chefmax Date: Fri Oct 23 07:22:37 2015 New Revision: 229212 URL: https://gcc.gnu.org/viewcvs?rev=229212&root=gcc&view=rev Log: Fix ASan output pattern tests on Darwin. gcc/testsuite/ PR s

[Bug sanitizer/68042] [6 Regression] c-c++-common/asan/(memcmp-1.c|sanity-check-pure-c-1.c) failures on x86_64-apple-darwin14 after r229111

2015-10-23 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68042 --- Comment #6 from Maxim Ostapenko --- Should be fix on trunk.

[Bug sanitizer/68016] ASan doesn't catch overflow in globals when COPY relocation is involved.

2015-10-26 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68016 --- Comment #4 from Maxim Ostapenko --- Actualy, LLVM is not better here (perhaps even worse). Consider the following testcase (it's the same Jakub provided in PR63888): max@max:/tmp$ cat libfoo.c long f = 4; long foo (long *p) { return *p; }

[Bug sanitizer/68099] arm-*-linux-gnueabihf -fsanitize=undefined warning: '' is used uninitialized in this function

2015-10-26 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68099 Maxim Ostapenko changed: What|Removed |Added CC||chefmax at gcc dot gnu.org

[Bug sanitizer/68099] arm-*-linux-gnueabihf -fsanitize=undefined warning: '' is used uninitialized in this function

2015-10-26 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68099 --- Comment #5 from Maxim Ostapenko --- (In reply to Jonathan Ben-Avraham from comment #3) > (In reply to Maxim Ostapenko from comment #2) > > I actually believe this is a dup of PR66977, that was fixed by Marek quite > > time ago. Could you try

[Bug sanitizer/68016] ASan doesn't catch overflow in globals when COPY relocation is involved.

2015-10-27 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68016 --- Comment #8 from Maxim Ostapenko --- (In reply to Reid Kleckner from comment #7) > (In reply to Jakub Jelinek from comment #6) > > Because symbol size is part of the ABI, and LLVM emits different symbol size > > between -fsanitize=address and

[Bug sanitizer/68122] ICE in gcc/toplev.c:353 with -fsanitize=undefined and -fgnu-tm

2015-10-28 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68122 Maxim Ostapenko changed: What|Removed |Added CC||chefmax at gcc dot gnu.org

[Bug sanitizer/64820] Libsanitizer fails with ((AddrIsAlignedByGranularity(addr + size))) != (0)" (0x0, 0x0) if ssp is enabled.

2015-11-17 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64820 --- Comment #7 from Maxim Ostapenko --- (In reply to joakim.tjernl...@transmode.se from comment #6) > Is this fix in gcc 4.9.3? No, this didn't go to GCC 4.9, only to GCC 5. > If not, will go into 4.9.4? Well, actually we didn't plan backport

[Bug driver/64690] -freport-bug issue with comments

2015-01-21 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64690 --- Comment #1 from Maxim Ostapenko --- Thanks, I'll send the fix shortly.

[Bug driver/64690] -freport-bug issue with comments

2015-01-22 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64690 --- Comment #2 from Maxim Ostapenko --- Author: chefmax Date: Thu Jan 22 10:55:32 2015 New Revision: 219990 URL: https://gcc.gnu.org/viewcvs?rev=219990&root=gcc&view=rev Log: 2015-01-22 Max Ostapenko PR driver/64690 * gcc.c (insert_c

[Bug sanitizer/64820] New: Libsanitizer fails with ((AddrIsAlignedByGranularity(addr + size))) != (0)" (0x0, 0x0) if ssp is enabled.

2015-01-27 Thread chefmax at gcc dot gnu.org
: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: chefmax at gcc dot gnu.org CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gn

[Bug sanitizer/63507] New: boostrap-asan failure: /usr/bin/ld: /home/max/build/bootstrap-asan/./gcc/liblto_plugin.so: error loading plugin

2014-10-10 Thread chefmax at gcc dot gnu.org
Status: UNCONFIRMED Severity: normal Priority: P3 Component: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: chefmax at gcc dot gnu.org CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org

  1   2   >