facebook / facebook/infer

pulse NULLPTR_DEREFERENCE False negative when run the java example in checker-pulse doc

Open
#1,761 0 comments 1 reaction 0 assignees View on GitHub
false-negative pulse
Dominant language
OCaml
Stars
15.7k
Forks
2.1k
Avg merge
19h 36m
Merged PRs (30d)
13

Description

1. infer-version
**Infer version v1.1.0-605603504e**
I pull the newest code from github and compile.

2. operating system and version
**Ubuntu 20.04.6 LTS**
Run in windows10 wsl

3. Command
**infer run --pulse -- javac Test.java**
Same as the command in [https://fbinfer.com/docs/checker-pulse](https://fbinfer.com/docs/checker-pulse)

4. The full output

![1684313542418](https://github.com/facebook/infer/assets/10009181/5ad37d2c-5783-4b39-b0a6-31e06a6d2f0f)

5. a minimal example to reproduce your problem
just do as the doc show in [https://fbinfer.com/docs/checker-pulse](https://fbinfer.com/docs/checker-pulse)

6. Others
when i open debug mode, i get some thing different.
![1684313723719](https://github.com/facebook/infer/assets/10009181/aa11af6d-a86c-42b8-bf84-6171b2498f26)
I get the thing about Bad_footprint in [https://github.com/facebook/infer/issues?q=Bad_footprint](https://github.com/facebook/infer/issues?q=Bad_footprint),but i still wonder whether it effect the analysis when debug mode disable

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.