facebook / facebook/infer

UNITIALIZED_VALUE false positive

オープン
#1,244 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
false-positive
主要言語
OCaml
スター
15.7k
フォーク
2.1k
平均マージ
19時間 36分
マージ済み PR(30日)
13

説明

Please include the following information:
- [x] The version of infer from https://github.com/facebook/infer/commit/d1de5db6c88036c5e7693b1de8ca6e81e845c08d commit
- [x] Debian docker from Infer repository
- [x] Which command you ran: `infer run -- make`.
```c
void myfun(size_t i) {
size_t j;
for (; j = i * 2+ 1, j < 10; i = j) { j++; }
return;
}
```
It prints (wrongly) this warning:
```
error: UNITIALIZED_VALUE
The value read from j was never initialized
```

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。