facebook / facebook/infer

UNITIALIZED_VALUE false positive

Abierto
#1,244 0 comentarios 0 reacciones 0 asignados Ver en GitHub
false-positive
Lenguaje dominante
OCaml
Estrellas
15.7k
Forks
2.1k
Merge medio
19 h 36 min
PR fusionados (30 d)
13

Descripción

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
```

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.