Skip to content

Conversation

@mcy
Copy link
Member

@mcy mcy commented Sep 25, 2025

This PR adds some code to test data specimen construction to ensure that test data is always at the end of a heap allocation. This ensures that if we read past the end of the allocation without using a blessed //go:nocheckptr function, we see a crash. See internal/testdata.go:snapBytes for more information on how this is implemented.

@mcy mcy marked this pull request as draft September 25, 2025 19:55
@github-actions
Copy link

github-actions bot commented Sep 25, 2025

The latest Buf updates on your PR. Results from workflow Buf CI / buf (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed⏩ skipped✅ passed✅ passedSep 25, 2025, 8:42 PM

@mcy
Copy link
Member Author

mcy commented Sep 25, 2025

Still need to fix all the new test failures :D

@mcy mcy requested a review from rodaine September 25, 2025 20:42
@mcy mcy marked this pull request as ready for review September 25, 2025 20:43
@rodaine rodaine removed their request for review November 17, 2025 14:08
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.

2 participants