rust-osdev / linked-list-allocator

Apache License 2.0
219 stars 53 forks source link

detect fragmentation when fuzzing #73

Closed evanrichter closed 1 year ago

evanrichter commented 1 year ago

after a single fuzz run, we already free all allocations, so this adds an assertion that we can indeed allocate the full span of the Heap.

This should be a good regression test, as it does catch the fragmentation issue #66 when on the affected version. (and the current impl passes!)