Skip to content

test(checked): cover raw FFI address boundary - #15

Merged
caokai674 merged 3 commits into
masterfrom
test/checked-ffi-address-boundary
Oct 11, 2026
Merged

caokai674 merged 3 commits into
masterfrom
test/checked-ffi-address-boundary

Conversation

@caokai674

Copy link
Copy Markdown
Member

Scope

  • Add an executable checked-mode fixture for a valid raw address returned by an extern C function.
  • Verify the documented conservative behavior: raw FFI addresses are rejected by checked dereference because they carry no registered boundary metadata.

Plan: PR 15
Issues: SAFE-001
Focused tests: hsc_checked_ffi_address_boundary_runtime_error; GitHub Actions: Sanitizers, HS-Smith first phase, and Release
Acceptance: Checked dereference of the unregistered raw FFI address fails deterministically with invalid checked load on supported targets; declared extern globals remain covered by PR 14.

@caokai674
caokai674 merged commit 9aa2950 into master Oct 11, 2026
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant