Skip to content

Add a GuardedPageAllocator fuzz target. - #1055

Draft
copybara-service[bot] wants to merge 1 commit into
masterfrom
test_985488098
Draft

copybara-service[bot] wants to merge 1 commit into
masterfrom
test_985488098

Conversation

@copybara-service

Copy link
Copy Markdown

Add a GuardedPageAllocator fuzz target.

Drives one allocator through allocation, deallocation, writes to live
allocations, and mlock()/munlock()/mlockall()/munlockall() over the pages it has
handed out. Locking constrains which operations the kernel permits on the
pool's mapping, so the mechanism that quarantines a page and the one that
releases it have to pair up however these are interleaved. Every allocation
carries a fill pattern that is verified on each access and at deallocation.

Drives one allocator through allocation, deallocation, writes to live
allocations, and mlock()/munlock()/mlockall()/munlockall() over the pages it has
handed out.  Locking constrains which operations the kernel permits on the
pool's mapping, so the mechanism that quarantines a page and the one that
releases it have to pair up however these are interleaved.  Every allocation
carries a fill pattern that is verified on each access and at deallocation.

PiperOrigin-RevId: 985488098

This branch has not been deployed

No deployments
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.

1 participant