On 06/02/2015 04:11 PM, Marat Zakirov wrote:
On 05/26/2015 05:03 PM, Marat Zakirov wrote:
On 05/20/2015 10:01 AM, Marat Zakirov wrote:
On 05/12/2015 02:16 PM, Marat Zakirov wrote:
On 04/07/2015 03:22 PM, Jakub Jelinek wrote:
How are the automatic misaligned variables different from say
On 05/26/2015 05:03 PM, Marat Zakirov wrote:
On 05/20/2015 10:01 AM, Marat Zakirov wrote:
On 05/12/2015 02:16 PM, Marat Zakirov wrote:
On 04/07/2015 03:22 PM, Jakub Jelinek wrote:
How are the automatic misaligned variables different from say heap
allocated ones, or global vars etc
On 05/20/2015 10:01 AM, Marat Zakirov wrote:
On 05/12/2015 02:16 PM, Marat Zakirov wrote:
On 04/07/2015 03:22 PM, Jakub Jelinek wrote:
How are the automatic misaligned variables different from say heap
allocated ones, or global vars etc.?
No difference you are right Jakub. Shadow memory
On 05/12/2015 02:16 PM, Marat Zakirov wrote:
On 04/07/2015 03:22 PM, Jakub Jelinek wrote:
How are the automatic misaligned variables different from say heap
allocated ones, or global vars etc.?
No difference you are right Jakub. Shadow memory initialization for
heap values and globals
the issue with 'movq' you were mentioned in a previous mail.
--Marat
gcc/ChangeLog:
2015-02-25 Marat Zakirov m.zaki...@samsung.com
* asan.c (asan_emit_stack_protection): Support for misalign accesses.
(asan_expand_check_ifn): Likewise.
* params.def: New option asan-catch-misaligned.
* params.h
$0,
2147450896(%rbp) change.
Fixed in new patch. But I believe joining movs (2 movl to one movq)
is a x86 RTL job - not ASan.
--Marat
gcc/ChangeLog:
2015-02-25 Marat Zakirov m.zaki...@samsung.com
* asan.c (asan_emit_stack_protection): Support for misalign accesses
On 03/26/2015 02:50 PM, Jakub Jelinek wrote:
On Thu, Mar 26, 2015 at 09:53:03AM +0300, Marat Zakirov wrote:
gcc/ChangeLog:
2015-03-12 Marat Zakirov m.zaki...@samsung.com
* asan.c (asan_emit_stack_protection): Support for misalign accesses.
(asan_expand_check_ifn): Likewise
On 03/19/2015 09:01 AM, Marat Zakirov wrote:
On 03/04/2015 11:07 AM, Andrew Pinski wrote:
On Wed, Mar 4, 2015 at 12:00 AM, Marat Zakirov
m.zaki...@samsung.com wrote:
Hi all!
Here is the patch which forces ASan to work on memory access without
proper
alignment. it's useful because some
On 03/04/2015 11:07 AM, Andrew Pinski wrote:
On Wed, Mar 4, 2015 at 12:00 AM, Marat Zakirov m.zaki...@samsung.com wrote:
Hi all!
Here is the patch which forces ASan to work on memory access without proper
alignment. it's useful because some programs like linux kernel often cheat
On 03/04/2015 11:00 AM, Marat Zakirov wrote:
Hi all!
Here is the patch which forces ASan to work on memory access without
proper alignment. it's useful because some programs like linux kernel
often cheat with alignment which may cause false negatives. This patch
needs additional support
On 03/03/2015 10:36 AM, Marat Zakirov wrote:
On 02/24/2015 03:49 PM, Marat Zakirov wrote:
On 02/20/2015 03:07 PM, Jakub Jelinek wrote:
On Fri, Feb 20, 2015 at 02:59:51PM +0300, Marat Zakirov wrote:
Here is simple patch that moves asan phase just behind sanopt for all
O0/O1/O2/O3 modes
Hi all!
Currently !ASAN_GLOBALS disables red-zones for global variables but
keeps their checks. This simple patch disables these checks too.
--Marat
gcc/ChangeLog:
2015-01-22 Marat Zakirov m.zaki...@samsung.com
* asan.c (instrument_derefs): asan-globals=0 disable instrumentation.
gcc
data and heap. It will be implemented in libsanitizer by separate patch.
--Marat
gcc/ChangeLog:
2015-02-25 Marat Zakirov m.zaki...@samsung.com
* asan.c (asan_emit_stack_protection): Support for misalign accesses.
(asan_expand_check_ifn): Likewise.
* params.def: New option asan-catch
On 02/24/2015 03:49 PM, Marat Zakirov wrote:
On 02/20/2015 03:07 PM, Jakub Jelinek wrote:
On Fri, Feb 20, 2015 at 02:59:51PM +0300, Marat Zakirov wrote:
Here is simple patch that moves asan phase just behind sanopt for all
O0/O1/O2/O3 modes which gives +7% on x86 SPEC2006 (ref dataset
On 02/20/2015 03:07 PM, Jakub Jelinek wrote:
On Fri, Feb 20, 2015 at 02:59:51PM +0300, Marat Zakirov wrote:
Here is simple patch that moves asan phase just behind sanopt for all
O0/O1/O2/O3 modes which gives +7% on x86 SPEC2006 (ref dataset).
Regression testing and sanitized GCC bootstrapping
7.07%
gcc/ChangeLog:
2015-02-20 Marat Zakirov m.zaki...@samsung.com
* asan.c (make_pass_asan_O0): Pass remove.
* passes.def: Change place for ASan pass.
* tree-pass.h: Passes remove.
* tsan.c (make_pass_tsan_O0): Pass remove.
gcc/testsuite/ChangeLog:
2015-02-20 Marat Zakirov m.zaki
On 11/27/2014 05:14 PM, Marat Zakirov wrote:
On 11/19/2014 06:01 PM, Marat Zakirov wrote:
Hi all!
Here is the patch which forces ASan to ignore alignment of memory
access. It increases ASan overhead but it's still useful because some
programs like linux kernel often cheat with alignment
On 11/19/2014 06:01 PM, Marat Zakirov wrote:
Hi all!
Here is the patch which forces ASan to ignore alignment of memory
access. It increases ASan overhead but it's still useful because some
programs like linux kernel often cheat with alignment which may cause
false negatives.
--Marat
gcc
Hi all!
Here is the patch which forces ASan to ignore alignment of memory
access. It increases ASan overhead but it's still useful because some
programs like linux kernel often cheat with alignment which may cause
false negatives.
--Marat
gcc/ChangeLog:
2014-11-14 Marat Zakirov m.zaki
://gcc.gnu.org/ml/gcc/2014-11/msg00148.html
--Marat
gcc/ChangeLog:
2014-11-12 Marat Zakirov m.zaki...@samsung.com
* opts.c (finish_options): Disable aggressive opts for sanitizer.
(common_handle_option): Move code to finish_options.
gcc/testsuite/ChangeLog:
2014-11-12 Marat Zakirov
changes for asan_intercepted_p which are do
not exist.
Patched mklog output:
gcc/ChangeLog:
DATE
* asan.h (maybe_tree_to_shwi):
Attached patch make mklog to stop search for changes inside function
once '}' occur.
Ok, to commit?
--Marat
contrib/ChangeLog:
2014-11-06 Marat Zakirov
* cfg.c (free_aux_for_edges):
(debug_bb):
Patched mklog output:
gcc/ChangeLog:
DATE
* cfg.c (free_aux_for_edges):
Ok to commit?
--Marat
contrib/ChangeLog:
2014-11-05 Marat Zakirov m.zaki...@samsung.com
* mklog: Always doubt in functions.
Add EOF protection.
diff --git a/contrib
On 10/03/2014 10:47 AM, Marat Zakirov wrote:
On 09/26/2014 12:55 PM, Marat Zakirov wrote:
Hi all!
Here's a patch which instruments byte-aligned BIT_FIELD_REFs. During
GCC asan-bootstrap and Linux kernel build I didn't find any cases
where BIT_FIELD_REF is not 8 bits aligned. But I do
On 09/26/2014 12:55 PM, Marat Zakirov wrote:
Hi all!
Here's a patch which instruments byte-aligned BIT_FIELD_REFs. During
GCC asan-bootstrap and Linux kernel build I didn't find any cases
where BIT_FIELD_REF is not 8 bits aligned. But I do not have
sufficient confidence to replace current
.
Ok to commit?
--Marat
gcc/ChangeLog:
2014-09-19 Marat Zakirov m.zaki...@samsung.com
* asan.c (instrument_derefs): BIT_FIELD_REF added.
gcc/testsuite/ChangeLog:
2014-09-19 Marat Zakirov m.zaki...@samsung.com
* c-c++-common/asan/bitfield-5.c: New test.
diff --git a/gcc/asan.c b/gcc
On 09/10/2014 04:30 PM, Marat Zakirov wrote:
On 09/02/2014 07:09 PM, Marat Zakirov wrote:
Hi all!
Here's a simple optimization patch for Asan. It stores alignment
information into ASAN_CHECK which is then extracted by sanopt to
reduce number of and 0x7 instructions for sufficiently aligned
On 09/02/2014 07:09 PM, Marat Zakirov wrote:
Hi all!
Here's a simple optimization patch for Asan. It stores alignment
information into ASAN_CHECK which is then extracted by sanopt to
reduce number of and 0x7 instructions for sufficiently aligned
accesses. I checked it on linux kernel
in anyway to the
first review.
Thank you all.
Committed revision 214956.
--Marat
gcc/testsuite/ChangeLog:
2014-07-23 Marat Zakirov m.zaki...@samsung.com
* gcc.dg/vect/vect-109.c: Skip predicate added.
* gcc.dg/vect/vect-93.c: Test check fixed.
* gcc.dg/vect/bb-slp-10.c: Likewise.
* lib
| grep and.*0x7, for optimized and regular cases. It
eliminates 12% of and 0x7's.
No regressions. Sanitized GCC was successfully Asan-bootstrapped. No
false positives were found in kernel.
--Marat
gcc/ChangeLog:
2014-09-02 Marat Zakirov m.zaki...@samsung.com
* asan.c (build_check_stmt
Sorry for wrong subject!
On 09/02/2014 07:03 PM, Marat Zakirov wrote:
Hi all!
Here's a simple optimization patch for Asan. It stores alignment
information into ASAN_CHECK which is then extracted by sanopt to
reduce number of and 0x7 instructions for sufficiently aligned
accesses. I checked
On 08/26/2014 12:47 PM, Marat Zakirov wrote:
On 08/18/2014 07:37 PM, Marat Zakirov wrote:
Hi there!
I have a fix for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61875.
This situation occurs when somebody decides to build GCC with
-fexeptions and -frtti which are forbidden for libsanitizer
On 08/18/2014 07:37 PM, Marat Zakirov wrote:
Hi there!
I have a fix for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61875.
This situation occurs when somebody decides to build GCC with
-fexeptions and -frtti which are forbidden for libsanitizer. They get
strange error (see bug above) which
On 08/14/2014 05:40 PM, Marat Zakirov wrote:
On 08/07/2014 12:52 PM, Marat Zakirov wrote:
On 07/31/2014 04:08 PM, Marat Zakirov wrote:
On 07/24/2014 07:40 PM, Marat Zakirov wrote:
On 07/24/2014 04:27 PM, Marat Zakirov wrote:
On 07/23/2014 06:23 PM, Marat Zakirov wrote:
Hi there!
I
of it attached patch forces configure to fail when meet -fexceptions or
-frtti option in CXXFLAGS.
--Marat
libsanitizer/ChangeLog:
2014-08-18 Marat Zakirov m.zaki...@samsung.com
* configure.ac: Check -fexceptions and -frtti.
* configure: Regenerate.
diff --git a/libsanitizer/configure b
On 08/07/2014 12:52 PM, Marat Zakirov wrote:
On 07/31/2014 04:08 PM, Marat Zakirov wrote:
On 07/24/2014 07:40 PM, Marat Zakirov wrote:
On 07/24/2014 04:27 PM, Marat Zakirov wrote:
On 07/23/2014 06:23 PM, Marat Zakirov wrote:
Hi there!
I made a patch which fixes regressions on ARM
Thank you.
$ svn commit
Sendinggcc/ChangeLog
Sendinggcc/config/arm/thumb1.md
Sendinggcc/config/arm/thumb2.md
Transmitting file data ...
Committed revision 213695.
P.S.
Minor nit was reg. tested.
On 08/06/2014 06:44 PM, Richard Earnshaw wrote:
On 06/08/14 15:14, Ramana
--Marat
On 08/07/2014 12:00 PM, Ramana Radhakrishnan wrote:
On Thu, Aug 7, 2014 at 8:36 AM, Marat Zakirov m.zaki...@samsung.com wrote:
Thank you.
$ svn commit
Sendinggcc/ChangeLog
Sendinggcc/config/arm/thumb1.md
Sendinggcc/config/arm/thumb2.md
Transmitting file data
On 07/31/2014 04:08 PM, Marat Zakirov wrote:
On 07/24/2014 07:40 PM, Marat Zakirov wrote:
On 07/24/2014 04:27 PM, Marat Zakirov wrote:
On 07/23/2014 06:23 PM, Marat Zakirov wrote:
Hi there!
I made a patch which fixes regressions on ARM platforms with
disabled unaligned accesses
Sendinggcc/ChangeLog
Sendinggcc/config/arm/thumb1.md
Transmitting file data ..
Committed revision 213710.
P.S. Sorry for inconvenience.
On 08/07/2014 01:02 PM, Marat Zakirov wrote:
Sorry ;( Will testfix it.
On 08/07/2014 12:50 PM, Richard Earnshaw wrote:
On 08/06/2014 06:44
On 07/30/2014 04:56 PM, Marat Zakirov wrote:
On 07/23/2014 05:33 PM, Marat Zakirov wrote:
Hi all!
This is a friendly reminder message.
On 07/17/2014 03:22 PM, Marat Zakirov wrote:
On 07/16/2014 01:32 PM, Kyrill Tkachov wrote:
On 16/07/14 10:22, Marat Zakirov wrote:
Christophe,
Please
On 07/24/2014 07:40 PM, Marat Zakirov wrote:
On 07/24/2014 04:27 PM, Marat Zakirov wrote:
On 07/23/2014 06:23 PM, Marat Zakirov wrote:
Hi there!
I made a patch which fixes regressions on ARM platforms with
disabled unaligned accesses. The problem is that
'arm_vect_no_misalign' predicate
On 07/23/2014 05:33 PM, Marat Zakirov wrote:
Hi all!
This is a friendly reminder message.
On 07/17/2014 03:22 PM, Marat Zakirov wrote:
On 07/16/2014 01:32 PM, Kyrill Tkachov wrote:
On 16/07/14 10:22, Marat Zakirov wrote:
Christophe,
Please look at a new patch. Draft tests are OK.
I'll
On 07/23/2014 06:23 PM, Marat Zakirov wrote:
Hi there!
I made a patch which fixes regressions on ARM platforms with disabled
unaligned accesses. The problem is that 'arm_vect_no_misalign'
predicate do not check 'unaligned_access' global variable to determine
whether unaligned access
On 07/24/2014 04:27 PM, Marat Zakirov wrote:
On 07/23/2014 06:23 PM, Marat Zakirov wrote:
Hi there!
I made a patch which fixes regressions on ARM platforms with disabled
unaligned accesses. The problem is that 'arm_vect_no_misalign'
predicate do not check 'unaligned_access' global variable
Hi all!
This is a friendly reminder message.
On 07/17/2014 03:22 PM, Marat Zakirov wrote:
On 07/16/2014 01:32 PM, Kyrill Tkachov wrote:
On 16/07/14 10:22, Marat Zakirov wrote:
Christophe,
Please look at a new patch. Draft tests are OK.
I'll ask your commit approval when full regression
--enable-languages=c,c++,fortran
--Marat
gcc/testsuite/ChangeLog:
2014-07-23 Marat Zakirov m.zaki...@samsung.com
* gcc.dg/vect/vect-109.c: Predicate added.
* gcc.dg/vect/vect-93.c: Test check fixed.
* lib/target-supports.exp (check_effective_target_arm_vect_no_misalign):
Check unaligned
On 07/16/2014 01:32 PM, Kyrill Tkachov wrote:
On 16/07/14 10:22, Marat Zakirov wrote:
Christophe,
Please look at a new patch. Draft tests are OK.
I'll ask your commit approval when full regression (ARM/thumb1/thumb2)
tests are done.
Hi Marat,
I was about to propose the thumb2.md hunk
--with-thumb or when forcing -mthumb.
Christophe.
On 11 July 2014 11:08, Marat Zakirov m.zaki...@samsung.com wrote:
Thank to you all.
Committed revision 212450.
--Marat
Original Message
Subject:Re: [PING][PATCH] Fix for PR 61561
Date: Thu, 10 Jul 2014 14:01:24
--with-thumb or when forcing -mthumb.
Christophe.
On 11 July 2014 11:08, Marat Zakirov m.zaki...@samsung.com wrote:
Thank to you all.
Committed revision 212450.
--Marat
Original Message
Subject:Re: [PING][PATCH] Fix for PR 61561
Date: Thu, 10 Jul 2014 14:01:24 +0100
From
Thank to you all.
Committed revision 212450.
--Marat
Original Message
Subject:Re: [PING][PATCH] Fix for PR 61561
Date: Thu, 10 Jul 2014 14:01:24 +0100
From: Ramana Radhakrishnan ramana.radhakrish...@arm.com
To: Marat Zakirov m.zaki...@samsung.com, gcc-patches
Original Message
Subject:[PING][PATCH] Fix for PR 61561
Date: Mon, 30 Jun 2014 19:21:49 +0400
From: Marat Zakirov m.zaki...@samsung.com
To: gcc-patches@gcc.gnu.org gcc-patches@gcc.gnu.org
CC: Ramana Radhakrishnan ramana.radhakrish...@arm.com, Richard
Earnshaw
.
Marat.
gcc/ChangeLog:
2014-06-30 Marat Zakirov m.zaki...@samsung.com
PR target/61561
* config/arm/arm.md (*movhi_insn_arch4): Handle stack pointer.
(*movhi_bytes): Likewise.
(*arm_movqi_insn): Likewise.
gcc/testsuite/ChangeLog:
2014-06-30 Marat Zakirov m.zaki...@samsung.com
PR target
Hi all,
Here's my new patch for PR 61561
(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61561).
Which fixes ICE appeared due to QI/HI pattern lack in arm.md for stack
pointer register.
Reg. tested on arm-v7.
--Marat
arm.diff
Description: Binary data
Hi all,
Here's a patch for PR 61561
(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61561).
It fixes ICE.
Reg. tested on arm15.
--Marat
arm.md.diff.diff
Description: Binary data
-Original Message-
From: Marat Zakirov [mailto:m.zaki...@samsung.com]
Sent: Friday, June 06, 2014 3:43 PM
To: 'gcc-patches@gcc.gnu.org'
Cc: 'Konstantin Serebryany'; 'Jakub Jelinek'; 'Slava Garbuzov'; Gribov Yury;
'Marat Zakirov'
Subject: [PATCH] Fix for PR 61422
Hi all,
Here's a patch
Hi all,
Here's a patch for PR 61422
(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61422).
It fixes false positive on 16 byte access in ffmpeg standard library opus
file NLSF_del_dec_quant.c.
Reg. tested on x64.
--Marat
PR61422.diff
Description: Binary data
[mailto:eugeni.stepa...@gmail.com]
Sent: Thursday, May 29, 2014 1:58 PM
To: Konstantin Serebryany
Cc: Marat Zakirov; GCC Patches; Konstantin Serebryany; Jakub Jelinek;
Viacheslav Garbuzov; Yuri Gribov; Marat Zakirov
Subject: Re: [PATCH] Inline asm asan instrumentation
Cool, we don't have this in LLVM-ASan
situation as with compiler warnings - sometimes they are
bothering but if you think you do not need them - just do not use them.
-Original Message-
From: Jakub Jelinek [mailto:ja...@redhat.com]
Sent: Thursday, May 29, 2014 2:09 PM
To: Marat Zakirov
Cc: gcc-patches@gcc.gnu.org; 'Konstantin
Hi all,
Here's a patch for optional Asan instrumentation of inline assembly.
This version scans gimple for GIMPLE_ASMs and performs usual instrumentation
of arguments with memory constraints (m, o, etc.) with fixed size.
Instrumentation is turned off by default.
This was successfully
59 matches
Mail list logo