Re: Add support to trace comparison instructions and switch statements

2017-09-07 Thread ()
-- From:Jakub Jelinek Time:2017 Sep 6 (Wed) 22:37 To:Wish Wu Cc:Dmitry Vyukov ; gcc-patches ; Jeff Law ; wishwu007 Subject:Re: Add support to trace comparison instructions and switch statements On Wed, Sep 06, 2017 at 07:47:29PM +0800, 吴潍浠(此彼) wrote: > Hi Jakub > I compiled li

Re: Add support to trace comparison instructions and switch statements

2017-09-06 Thread ()
upport to trace comparison instructions and switch statements On Tue, Sep 05, 2017 at 09:03:52PM +0800, 吴潍浠(此彼) wrote: > Attachment is my updated path. > The implementation of parse_sanitizer_options is not elegance enough. Mixing > handling flags of fsanitize is easy to make mistakes. T

Re: Add support to trace comparison instructions and switch statements

2017-09-05 Thread ()
, 吴潍浠(此彼) wrote: > gcc/ChangeLog: > > 2017-09-04 Wish Wu > > * asan.c (initialize_sanitizer_builtins): > * builtin-types.def (BT_F

Re: Add support to trace comparison instructions and switch statements

2017-09-04 Thread ()
ements On Sun, Sep 3, 2017 at 12:38 PM, 吴潍浠(此彼) wrote: > Hi > I will update the patch according to your requirements, and with some my > suggestions. > It will take me one or two days. Thanks! No hurry, just wanted to make sure you still want

Re: Add support to trace comparison instructions and switch statements

2017-09-04 Thread ()
rison. Wish Wu -- From:Dmitry Vyukov Time:2017 Sep 3 (Sun) 19:05 To:Wish Wu Cc:Jakub Jelinek ; gcc ; gcc-patches ; Jeff Law ; wishwu007 Subject:Re: Add support to trace comparison instructions and switch statements On Sun, Sep 3, 2017 at 12:38 PM, 吴潍浠(此

Re: Add support to trace comparison instructions and switch statements

2017-09-03 Thread ()
Hi I will update the patch according to your requirements, and with some my suggestions. It will take me one or two days. Wish Wu -- From:Dmitry Vyukov Time:2017 Sep 3 (Sun) 18:21 To:Jakub Jelinek Cc:Wish Wu ; gcc ; gcc-patches ;

Re: Add support to trace comparison instructions and switch statements

2017-08-05 Thread ()
t to trace comparison instructions and switch statements On 07/10/2017 06:07 AM, 吴潍浠(此彼) wrote: > Hi > > I write some codes to make gcc support comparison-guided fuzzing. > It is very like > http://clang.llvm.org/docs/SanitizerCoverage.html#tracing-data-flow . > With -fsanitize-cov

Re: Add support to trace comparison instructions and switch statements

2017-07-20 Thread ()
les. With -- From:Jeff Law Time:2017 Jul 14 (Fri) 15:37 To:Wish Wu ; gcc ; gcc-patches Cc:wishwu007 Subject:Re: Add support to trace comparison instructions and switch statements On 07/10/2017 06:07 AM, 吴潍浠(此彼) wrote: > Hi > > I write some codes to make gcc

Re: Add support to trace comparison instructions and switch statements

2017-07-15 Thread ()
Hi Implementing __sanitizer_cov_trace_cmp[1248]_const is OK . And I will try to find some determinate way to judge this comparison is for loop or not. Because all the loops(for() or while()) seem to be transformed to "if" and "goto" before running sancov pass. Does it necessary to include APIs

Add support to trace comparison instructions and switch statements

2017-07-10 Thread ()
Hi I write some codes to make gcc support comparison-guided fuzzing. It is very like http://clang.llvm.org/docs/SanitizerCoverage.html#tracing-data-flow . With -fsanitize-coverage=trace-cmp the compiler will insert extra instrumentation around comparison instructions and switch statements. I thi