Skip to content

0.7.0

Choose a tag to compare

@sonic182 sonic182 released this 12 Nov 14:03
· 31 commits to main since this release
6766717

cchecker 0.7.0 follows a trylock result kept in a local variable.

  • Breaking: r = pthread_mutex_trylock(&mu); if (r == 0) (and bool ok = ... == 0, if ((r = ...) != 0)) now takes the lock on the path where the call gave 0, and later tests of r follow 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-baseline once 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.json

See the CHANGELOG.