Open centreboard opened 2 years ago
For suppression by file or directory, I think this should work:
https://github.com/facebook/infer/issues/935
If you have a custom blacklist regex you'd like to add, you can add it to the .inferconfig in the WSL distro located at ~/infersharp/.inferconfig
Alternatively, you can apply a regex to your directory to copy a subset of the files to be analyzed..
For suppression by file or directory, I think this should work:
If you have a custom blacklist regex you'd like to add, you can add it to the .inferconfig in the WSL distro located at ~/infersharp/.inferconfig
Alternatively, you can apply a regex to your directory to copy a subset of the files to be analyzed..
Will @SuppressLint("
Not yet. It should probably be fairly straightforward to add in the next release though.
Is there a way to 1) Configure not analysing some .dlls (e.g. by name or pattern)? and/or 2) Configure some suppressions of specific warnings (e.g. by file)?
Problem
Infer# copies and analyses any .dll with a .pdb. This results in it copying and analysing some upstream .dlls from Nuget Packages, e.g.
NUnit3.TestAdapter.dll
And warnings in Visual Studio (#183)
From the Error list window in VS there is an option suppress this in the sarif file, but this seems to be lost when the Infer# analysis is rerun.