facebook/infer

DEAD STORE reports many harmless cases like int i = 0xFFFFFFFF; i = SomeFunc();

Open

#1,083 opened on Apr 10, 2019

View on GitHub
 (8 comments) (0 reactions) (0 assignees)HTML (1,688 forks)batch import
cgood first taskhelp wanted

Repository metrics

Stars
 (12,410 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

infer version v0.15.0 in my case, 0xFFFF or 0xFFFFFFFF is a common initializer and there are a lot of this semantics in our code. I would like to ignore those harmless. but if I turn off liveness checker, I worry about missing some truely harmful bugs. Does Infer provide some filtering option or method?

Contributor guide