Skip to content

0.6.1

Choose a tag to compare

@sonic182 sonic182 released this 12 Nov 11:11
· 43 commits to main since this release
9dbf8ed

cchecker 0.6.1 is a hotfix: it keeps cchecker building with the next Agentica, and fixes two ownership false results.

  • The sources compile with the next Agentica, which refuses a method call right after the end of a do block (CHECK-CHAIN-AFTER-END); they still need Agentica 0.29.0 or later.
  • c = b; zap(&b); no longer clears c too: free(c) or work(c) after it is a CC-OWN-DOUBLE-FREE or a CC-OWN-USE-AFTER-FREE.
  • A self-assignment of an owning pointer or field (p.right = p.right) is no longer a false CC-OWN-LEAK.

Install and run (needs Agentica 0.29.0 or later, gcc 10+, clang and clang-tidy):

git clone --branch 0.6.1 https://github.com/agentica-lang/cchecker ~/cchecker
agentica ~/cchecker/cchecker.agc -p build    # in your project, with build/compile_commands.json

See the CHANGELOG.