[PATCH] D59555: [analyzer] Add yaml parser to GenericTaintChecker

Artem Dergachev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 19 13:08:33 PDT 2019


NoQ added inline comments.


================
Comment at: test/Analysis/taint-generic.c:24
+// CHECK-INVALID-FILE-SAME:        'alpha.security.taint.TaintPropagation:Config',
+// CHECK-INVALID-FILE-SAME:        that expects a valid filename
 
----------------
Szelethus wrote:
> NoQ wrote:
> > Szelethus wrote:
> > > Could you please add the rest of the error message?
> > I'd rather remove the rest of the error message. There's no need to duplicate something that the user has already written on the command line.
> > 
> > Or do we think like \escapes?
> I'm not sure what \escapes mean -- however, if we emit the filename in the error message, we should test it. Also, how many filenames has the user written in the comand line? Include paths for this and that, output file, inputfile, files to link against... I would very much prefer preserving the current error message.
I'm thinking, like, the user is using zsh and writing `file#1.txt` instead of `file\#1.txt`.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D59555/new/

https://reviews.llvm.org/D59555





More information about the cfe-commits mailing list