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

Result parsing: do not use shallow copies #99

Closed tautschnig closed 2 years ago

tautschnig commented 2 years ago

When parsing multiple input files, shallow copies of EMPTY_RESULT cannot be used for any file after the first one would end up modifying shared data structures.

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