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

Fix destination path to be relative to current directory. #46

Closed vecchiot-aws closed 3 years ago

vecchiot-aws commented 3 years ago

Issue #, if available:

Fixes issue #45

Description of changes:

Converts to/from files to relative paths before passing them into path_to_file, which expects two paths relative to the same root.

I don't believe this should cause issues with existing CBMC-viewer usage:

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

markrtuttle commented 3 years ago

I prefer this solution https://github.com/awslabs/aws-viewer-for-cbmc/pull/47

markrtuttle commented 3 years ago

Closing in favor of https://github.com/awslabs/aws-viewer-for-cbmc/pull/47