What's the best way to enable a list of checkers in Coverity Analize. I've got a list of checkers but don't want to enable them all.
To enable all you can either leave blank or --all
cov-analyze --dir cov
or
cov-analyze --dir cov --all
I want to have a list like the following but many more . . .
cov-analyze --dir cov -en STRING_NULL -en NULL_RETURNS
Can you have a small text file to read? Or do you just have to list them all out?
If you're mainly asking how to avoid listing all of the checkers on the command line, you could use a response file:
With that, your analysis command line would look like:
where
enable-checkers.txtcontains:with the
...consisting of additional pairs of lines consisting of--enablefollowed by a checker name.