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 returned record pointer unproven through 'a local is stored or its address taken' (53 functions) or 'a local has more than one source' (14) #3179
Part of #3115; clusters from the #3116 survey: 'a local is stored or its address taken' 40 + 13 through a callee (xz_utils lzma_index_init, libarchive archive_entry_partial_links), 'a local has more than one source' 9 + 5 (sqlite3 sqlite3_str_new), 'a local is passed to a callee that retains it' 24 + 14 (sqlite3 sqlite3_value_dup, cjson cJSON_Duplicate_rec: the local is passed to the destroyer on the error path, which the proof reads as retention). The producer pattern 'allocate, fill through the pointer, return it; free it on failure' is the normal C constructor and must prove.
Two of the three shapes are fixed in #3196: the error-path free (fd_callee_retains is false for a destroying callee) and the address of a field of the local (f(&p->field) is no store of p). Left here: 'a local has more than one source' (sqlite3_str_new: 9 + 5 functions), and the destroyer-through-a-walking-local case that the fixture exposed is #3195. Measured again once the survey rerun on the reseeded compiler lands.
Activity
#3179: a producer's error-path free and the address of a field of its…
ehartford commentedon Nov 9, 2026
Two of the three shapes are fixed in #3196: the error-path free (
fd_callee_retainsis false for a destroying callee) and the address of a field of the local (f(&p->field)is no store of p). Left here: 'a local has more than one source' (sqlite3_str_new: 9 + 5 functions), and the destroyer-through-a-walking-local case that the fixture exposed is #3195. Measured again once the survey rerun on the reseeded compiler lands.Facade coverage table regenerated on main 6d478f1: 22 of 29 libraries…