-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[Runtime] Validate scribble data when metadata allocation scribbling is enabled. #34828
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Runtime] Validate scribble data when metadata allocation scribbling is enabled. #34828
Conversation
This catches the overflow fixed by #34822. |
@swift-ci please test |
Build failed |
4f8a64b
to
e2d1095
Compare
@swift-ci please test |
Build failed |
@swift-ci please test os x platform |
Build failed |
e2d1095
to
d94cbe9
Compare
@swift-ci please test os x platform |
Build failed |
@swift-ci please test os x platform |
d94cbe9
to
e0cd86c
Compare
…is enabled. Instead of scribbling each allocation as it's parceled out, scribble the entire chunk up-front. Then, when handing out an allocation, check to make sure it still has the right scribbled data in it.
e0cd86c
to
b47607c
Compare
@swift-ci please test |
Build failed |
@swift-ci please test os x platform |
Build failed |
@swift-ci please test windows platform |
Instead of scribbling each allocation as it's parceled out, scribble the entire chunk up-front. Then, when handing out an allocation, check to make sure it still has the right scribbled data in it.