feat!: check C runtime and variadic interface contracts - #27
Merged
Merged
Conversation
Implement RFC 0024 so checked code can validate comparisons, searches, descriptor and stream I/O, formatted output, and variadic forwarding. Model initialized prefixes, promoted format types, independent cursors, cleanup and standard-stream lifetime across source units, objects and caches. Use checked encoding 6, summary format 19 and sidecar format 20. Reuse bounded immutable call ledgers and expanded report paths to contain the added explanation cost without changing proof or analysis budgets. Validation: 1171/1171 tests in both Debug and ASan/UBSan, 25 strict lint translation units, and 51/51 frozen runtime cases. Preserve all 130 baseline-complete corpus identities and gain 12. Uncached/cold/warm reports are equivalent; warm reuse has zero function analyses and 51 cache hits. Ordinary median time and RSS ratios are 0.9849 and 0.9884. Both Lua checked runs finish below 600 seconds with narrow margins. Retain failed timing attempts and the cJSON comparison and Jansson lifecycle misses in evidence. Design: docs/rfcs/0024-checked-runtime-contracts.md Evidence: docs/validation-rfc0024.md
Copy the guarded argument-list input, format precision, and search bound optionals directly. This satisfies bugprone-optional-value-conversion in the Linux clang-tidy job while preserving the RFC 0024 contract values. Validate the Debug build, strict lint and formatting for all three files, runtime unit tests, source/object/cache evaluations, and the full lit suite.
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.
No description provided.