Repository navigation
Fix libdecb file I/O and segmented binary handling - #82
Merged
Merged
Conversation
Correct four bugs and add regression coverage in the TinyTest harness: - Report the full readln byte count when a line crosses granule boundaries. - Write the requested byte count when overwriting existing files, and return success when no file extension is needed. - Include address $FFFF when initializing and scanning binary concatenation memory so the last byte is preserved, including address wraparound. - Skip subsequent binary segments when extracting the first segment so data bytes cannot be mistaken for the execution-address postamble. Tests cover line contents and positions, persisted overwrites and extensions, binary segment merging and wraparound, and execution-address extraction. Also ignore AGENTS.md and group the optional debug and AddressSanitizer build settings in build/unix/rules.mak, leaving them disabled by default. Validation: make -C build/unix succeeded with all 36 tests passing; git diff --check passed. Each new regression failed before its fix.
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.
Correct four bugs and add regression coverage in the TinyTest harness:
Tests cover line contents and positions, persisted overwrites and extensions, binary segment merging and wraparound, and execution-address extraction.
Also ignore AGENTS.md and group the optional debug and AddressSanitizer build settings in build/unix/rules.mak, leaving them disabled by default.
Validation: make -C build/unix succeeded with all 36 tests passing; git diff --check passed. Each new regression failed before its fix.