infer icon indicating copy to clipboard operation
infer copied to clipboard

Disable outputing bug traces in infer bug report

Open xi-liu-ds opened this issue 2 years ago • 2 comments

Hi,

I am wondering is it possible (a command flag or something) to disable outputting bug traces, such as those shown in the screenshot below, in infer bug report?

image

Thanks!

xi-liu-ds avatar Dec 10 '21 19:12 xi-liu-ds

There is no such option at the moment. Can you say more about why you'd want to do this? You can post-process the json to get rid of them (for example using jq) but these bug traces are generally needed to understand infer reports.

jvillard avatar Dec 13 '21 11:12 jvillard

Currently Sarif Viewer extension has some incompatibility with SARIF files with bug traces. We have to disable it to unblock us from deploying InferSharp on some platforms. I have created this PR to disable outputting bug traces in SARIF files through a -no-sarif-codeflows flag.

xi-liu-ds avatar Dec 13 '21 19:12 xi-liu-ds

PR has been closed, issue seems resolved.

jvillard avatar Feb 20 '24 16:02 jvillard