Duplicate byte strings through the process heap #46
No reviewers
Labels
No labels
alpha-1
bug
ci
docs
duplicate
enhancement
help wanted
invalid
performance
phase-6
question
refactor
security
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
erix/lib-cstd!46
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/heap-owned-string-duplication"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Add strdup and strndup with checked terminated extents and independent same-heap ownership. Keep native error reporting on the initialized current EriX thread, preserve successful errno, and expose the same contracts through Rust and partial C/C++ declarations.
Depends on #45. Refs #18. Tracks erix/integration#65.
Include the scoped source and contract changes.
Use main-tracking dependency declarations, frozen explicit sources and complete the original runtime checks.
WIP: Duplicate byte strings through the process heapto Duplicate byte strings through the process heapThe prepared branch passes the complete original component pipeline. It retains the original duplication code and same-heap ownership contracts on the corrected startup/source-owner chain.
Ready for human review at
50d7996cecbc0446fd28fb5d953f5085da5ab052; approval of that exact head is pending. The original source branch remains intact. Guest and release-image acceptance remain separate.