Please make sure your issue is not addressed in the FAQ.
Please include the following information:
[x] The version of infer from infer --version.
[x] Your operating system and version, for example "Debian 9", "MacOS High Sierra", whether you are using Docker, etc.
[x] Which command you ran, for example infer -- make.
[x] The full output in a paste, for instance a gist.
[x] If possible, a minimal example to reproduce your problem (for instance, some code where
infer reports incorrectly, together with the way you run infer to reproduce the incorrect
report).
Infer version v1.1.0-669338131
OS: Linux 5.15.81-1-MANJARO
When trying to run a property in topl the following command fails if there is no newline at the end of file.
Please make sure your issue is not addressed in the FAQ.
Please include the following information:
[x] The version of infer from
infer --version
.[x] Your operating system and version, for example "Debian 9", "MacOS High Sierra", whether you are using Docker, etc.
[x] Which command you ran, for example
infer -- make
.[x] The full output in a paste, for instance a gist.
[x] If possible, a minimal example to reproduce your problem (for instance, some code where infer reports incorrectly, together with the way you run infer to reproduce the incorrect report).
Infer version v1.1.0-669338131
OS:
Linux 5.15.81-1-MANJARO
When trying to run a property in topl the following command fails if there is no newline at the end of file.
Running
infer --topl-only --topl-properties property.topl -- clang -c file.c
where
file.c
is:and
property.topl
is:When there is a newline at the end of
property.topl
topl detect the property as expected:When there is no newline at the end of
property.topl
the following error occursI don't know if this an expected behavior but couldn't find its explanation anywhere on the topl docs.
CC: @dgutson