Implement bounded C string copies and concatenation #24

Manually merged
erikinkinen merged 9 commits from feature/bounded-string-copy-concatenation into main 2026-11-21 07:03:18 +01:00
Owner

Add strcpy, strncpy, strcat and strncat through one original byte-loop
runtime section with versioned Rust entry points and opt-in public C aliases.
Document destination capacity, source validity, nonoverlap, zero counts,
padding and termination. Keep existing memory and query instructions intact;
the operations retain no pointers and require no allocation or authority.

Depends on #23. Tracks erix/integration#65.

  • Include the scoped source and contract changes.
  • Complete prerequisite integration and review.
Add strcpy, strncpy, strcat and strncat through one original byte-loop runtime section with versioned Rust entry points and opt-in public C aliases. Document destination capacity, source validity, nonoverlap, zero counts, padding and termination. Keep existing memory and query instructions intact; the operations retain no pointers and require no allocation or authority. Depends on #23. Tracks erix/integration#65. - [x] Include the scoped source and contract changes. - [ ] Complete prerequisite integration and review.
erikinkinen added this to the Alpha 1 milestone 2026-10-30 19:16:04 +01:00
feat: Implement bounded C string copies and concatenation
All checks were successful
CI / markdown (pull_request) Has been skipped
CI / memory (pull_request) Has been skipped
CI / markdown (push) Successful in 8s
CI / memory (push) Successful in 1m49s
f05ae1f9bb
Add strcpy, strncpy, strcat and strncat through one original byte-loop
runtime section with versioned Rust entry points and opt-in public C aliases.
Document destination capacity, source validity, nonoverlap, zero counts,
padding and termination. Keep existing memory and query instructions intact;
the operations retain no pointers and require no allocation or authority.
erikinkinen changed title from WIP: Implement bounded C string copies and concatenation to Implement bounded C string copies and concatenation 2026-11-07 13:39:40 +01:00
ci: Record shared source selections beside native witnesses
All checks were successful
CI / memory (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 8s
CI / memory (push) Successful in 1m13s
94af20c3e6
Record the exact component and moving shared helper once per run. This component has no external Cargo Git providers; keep its existing native process and instruction acceptance witnesses and all acceptance commands unchanged.
feat: Add freestanding C string span and set queries
All checks were successful
CI / memory (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 10s
CI / memory (push) Successful in 1m56s
b787dc1d12
Implement strspn, strcspn and strpbrk using caller-local 32-byte bitmaps.
Preserve byte-only input reads, NUL boundaries, read-only overlap and source
pointer permissions without shared state, heap allocation or service authority.
One selected companion retains all preceding memory and string instructions.
ci: Bind native producers to original receipt custody
All checks were successful
CI / memory (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 9s
CI / memory (push) Successful in 1m57s
2d2da4c514
Select the checked process owner and its exact import identity independently
from the instruction witness. Preserve exclusive receipt custody and document
the original accounting boundary without changing runtime instruction bodies.
ci: Record shared source selections beside native witnesses
All checks were successful
CI / memory (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 4s
CI / memory (push) Successful in 1m24s
763a66879e
Record the exact component and moving shared helper once per run. This component has no external Cargo Git providers; keep its existing native process and instruction acceptance witnesses and all acceptance commands unchanged.
ci: Record shared source selections beside native witnesses
All checks were successful
CI / memory (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 8s
CI / memory (push) Successful in 1m16s
453cb27280
Record the exact component and moving shared helper once per run. This component has no external Cargo Git providers; keep its existing native process and instruction acceptance witnesses and all acceptance commands unchanged.
feat: Merge native producers to original receipt custody
All checks were successful
CI / memory (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / memory (push) Successful in 41s
CI / markdown (push) Successful in 2s
15bcc5f71c
Bind native producers to original receipt custody. Integrate the reviewed feature into feature/bounded-string-span-queries while the upstream work retains its own completion requirements.

#26
ci: Reconcile span and set query checks with bounded string writers
All checks were successful
CI / markdown (push) Successful in 2s
CI / memory (push) Successful in 33s
8cace44973
feat: Merge freestanding string span and set queries
All checks were successful
CI / memory (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / memory (push) Successful in 42s
CI / markdown (push) Successful in 2s
92cae14182
erikinkinen changed target branch from feature/readonly-byte-string-queries to main 2026-11-21 07:03:16 +01:00
erikinkinen manually merged commit 4c01641134 into main 2026-11-21 07:03:18 +01:00
erikinkinen referenced this pull request from a commit 2026-11-21 07:03:19 +01:00
Sign in to join this conversation.
No description provided.