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

Allow markup functions to return None when text to markup is None #50

Closed markrtuttle closed 3 years ago

markrtuttle commented 3 years ago

The source location for a global variable (a static variable) will give a file name and a line number, but the function name will be omitted (because there is no enclosing function to name). Trying to link a global variable to its source location will invoke markup functions with text set to None (the missing function name).

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