model-checking / cbmc-viewer

CBMC Viewer scans the output of CBMC and produces a browsable summary of its findings, making it easy to root cause the issues it finds.
https://model-checking.github.io/cbmc-viewer/
Apache License 2.0
32 stars 11 forks source link

Correct the parsing of source locations in the textual output of cbmc. #28

Closed markrtuttle closed 3 years ago

markrtuttle commented 3 years ago

In a trace in the textual output of cbmc, the source location for an intrinsic function like the gcc atomic built-in functions may include only the function name and may omit the file name and line number.

This patch corrects the parsing of such source locations.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.