You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Facade proof: a destroyer that frees its parameter through a walking local (cJSON_Delete: cur = item; while (cur) { next = cur->next; free(cur); cur = next; }) is not seen destroying it #3195
gets no param_destroys mark: the parameter is copied into a local and the local is freed, so the record has "1 producer(s) and no unary destroyer in the package; a registry fact names the drop", and every producer of it is raw. cJSON_Delete, libxml2's list frees and most linked-structure destroyers are written this way. The proof should follow a parameter into a local assigned from it (localsrc:cur:param:0, then cur = next from a field of cur) and count free(cur) on the first iteration as destroying the parameter. The sibling case for returns (fd_local_verdict) already follows localsrc.
Fixed in #3197 (main 6d478f1): a local that walks from the parameter stands for it at the first destroying sink; a for statement's increment is recorded after its body. Fixture conan_facade_walking_destroyer_test (a while walk, a for walk, and an advance-then-free that must not count).
Activity
#3195: a destroyer that frees its parameter through a walking local d…
#3195: a destroyer that frees its parameter through a walking local d…
ehartford commentedon Nov 9, 2026
Fixed in #3197 (main 6d478f1): a local that walks from the parameter stands for it at the first destroying sink; a for statement's increment is recorded after its body. Fixture conan_facade_walking_destroyer_test (a while walk, a for walk, and an advance-then-free that must not count).
Facade coverage table regenerated on main 6d478f1: 22 of 29 libraries…