Repository navigation
0.7.0
cchecker 0.7.0 follows a trylock result kept in a local variable.
- Breaking:
r = pthread_mutex_trylock(&mu); if (r == 0)(andbool ok = ... == 0,if ((r = ...) != 0)) now takes the lock on the path where the call gave 0, and later tests ofrfollow it. A release on the path where the call failed shows where it came from (6:11 fails). A trylock spin with a blocking fallback passes. Run--update-baselineonce after upgrading. - A function too large to walk with its conditions (over 200 000 states) is listed in
incomplete_functions.
Install and run (needs Agentica 0.29.0 or later, gcc 10+, clang and clang-tidy):
git clone --branch 0.7.0 https://github.com/agentica-lang/cchecker ~/cchecker
agentica ~/cchecker/cchecker.agc -p build # in your project, with build/compile_commands.jsonSee the CHANGELOG.