Closed tedinski closed 2 years ago
afaik ctags is a dependency.
If so, then some documentation needs updating. Besides the release notes I mentioned above:
https://model-checking.github.io/cbmc-viewer/installation/
The installation of ctags is optional
The installation of ctags should be optional. What will be lost is linking to source code definitions for symbols found by ctags that do not appear in the symbol table of the goto binary (eg, types). The choice between exhuberant ctags and universal ctags should be optional, but the installation of universal ctags is preferred because, for example, it supports rust symbols. I will look into whether recent changes have implicitly assumed ctags or universal ctags.
The releases documentation says:
(Emphasis mine.) It doesn't seem like it's meant to be required. (Though on second read, maybe it's recommending a better version of ctags vs the usual one?)
But when I invoke viewer like the following, in a docker container with minimal dependencies:
I get this traceback:
Is ctags required actually (release text should probably be updated if so), or is this a bug?
(I'm also not clear on what viewer is using ctags for... is this possibly pointless for Kani/Rust code? Is there an option we can supply to avoid using ctags?)