Closed ghost closed 8 months ago
I've just taken a look and it seems that for reachability, there is a special function called reach_error
which is not recognized by Clam front-end.
I think it should suffice just to modify this code https://github.com/seahorn/clam/blob/master/lib/Clam/CfgBuilderUtils.cc#L211 to consider also reach_error
. The only thing you need to be careful is to make sure that the function is not inlined by LLVM. I would be very happy to merge a PR from you.
Regarding printing analysis and time and memory usage. When you run clam.py
it prints something like
BRUNCH_STAT Clam 0.01
BRUNCH_STAT ClamPP 0.00
BRUNCH_STAT Clang 0.02
The first one includes the translation from LLVM to Crab and abstract interpreter. However, Clam doesn't print memory usage because it's hard to do it in a portable way.
I am happy to solve this problem, but I don't have much time to spend on it. I am very sorry. I have decided to convert the programs in the benchmark to a format supported by Clam.
I want to use clam to do some tests on SV-COMP 2024 benchmark, but meet some problems: