[PATCH] D48800: libFuzzer: prevent irrelevant strings from leaking into auto-dictionary

Kostya Serebryany via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 6 13:24:50 PDT 2018


kcc added a comment.

In https://reviews.llvm.org/D48800#1152873, @pdknsk wrote:

> In https://reviews.llvm.org/D48800#1151316, @kcc wrote:
>
> > Why do you need the new variable InCB? 
> >  Will the existing RunningCB not work?
>
>
> To be honest, my C++ knowledge becomes wobbly here. I don't think the hooks can access Fuzzer (and its RunningCB).


you will need to add one accessor method, just like in your current variant:

  bool isRunningCB() const { return RunningCB; }


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D48800





More information about the llvm-commits mailing list