Repository navigation
0.6.1
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
endof adoblock (CHECK-CHAIN-AFTER-END); they still need Agentica 0.29.0 or later. c = b; zap(&b);no longer clearsctoo:free(c)orwork(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.jsonSee the CHANGELOG.