Repository navigation
test: cover fnptr-field cycle grounding and least fixed point (#3174) - #3649
Merged
Merged
Conversation
Contributor
Author
|
Battery verdict on
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #3174, #3206, and #3176 by completing the remaining verification items from Eric's 2026-11-25 ruling on #3174:
with get c.<lib>just works — every popular Conan C library ships a complete, reviewed facade #3115 list (673ca2631):written in several places: 84 → 0the record is passed to a call through a field the proofs do not close: 1,138 → 51 (95% eliminated; remaining 39 are macOS Objective-C_glfwConnectCocoainglfwand 10 inxz_utilslzma_filter_info_s.init)chain of calls too deep to follow: 53 → 0yyjson(Facade: a record 'destroyed but never produced here' (198 records, 10 libraries) and 'produced, several unary destroyers' (21): the caller-allocated and the multi-destroyer resource #3176): the remaining raw functions (yyjson_alc_dyn_new,yyjson_mut_doc_new,yyjson_mut_doc_free, etc.) all accurately reportthe record is assigned wholeonyyjson_alc(a caller-replaceable allocator struct, Shape 2 of Facade: calls through function-pointer fields (allocator hooks, dispatch tables) are the largest raw cluster: 1648 functions in 14 libraries #3206, stated in registry facts under Registry facade for c.yyjson (JSON): complete, reviewed, with a zero-unsafe UAT #3150).test/internals/conan_facade_fnptr_field_proof_test.with):cyc_lend_show: mutually recursive cycle through a closed function-pointer table with no store resolves aslend(least fixed point forretains).cyc_keep_show: mutually recursive cycle where one member stores into a global staysraw: retains param 0.cyc_ungrounded_new: mutually recursive cycle with no base allocation staysraw: returns *mut Thing unproven(grounded fixed point forowns_return).cyc_grounded_new: closed table whose members are grounded inmallocprovesowned producer of Thing.Closes #3174.
Closes #3206.
Closes #3176.