Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mmap-alloc: Improve tests for permissions, fix realloc bugs
- Add the ability to verify memory permissions by parsing /proc/<pid>/maps on Linux and using the VirtualQuery function on Windows - Remove checks for allocation at the 0 page, as it turns out that these are unnecessary on all platforms that we support (Linux, Mac, Windows) - Change the way boolean configuration functions work for MapAllocBuilder (instead of xxx() and no_xxx(), we now supply a single xxx(xxx: bool) method that accepts a boolean indicating whether the configuration should be on or off) - Fix bugs in realloc tests on Windows - Move tests module into separate file - Remove test-no-std feature Closes #83 Closes #72 and #80 by making them unnecessary since this commit removes the use cases for mark_unused and alloc_helper
- Loading branch information