You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -85,7 +85,7 @@ When enabled, the `CPU_PIN` feature will restrict allocations from a given zone
85
85
* When destroying private zones if `NEVER_REUSE_ZONES` is enabled IsoAlloc won't attempt to repurpose the zone
86
86
* Zones are retired and replaced after they've allocated and freed a specific number of chunks. This is calculated as `ZONE_ALLOC_RETIRE * max_chunk_count_for_zone`.
87
87
*`MEMORY_TAGGING` When enabled IsoAlloc will create a 1 byte tag for each chunk in private zones. See the [MEMORY_TAGGING.md](MEMORY_TAGGING.md) documentation, or [this test](tests/tagged_ptr_test.cpp) for an example of how to use it.
88
-
*`MEMCPY_SANITY` Configures the allocator will hook all calls to `memcpy` and check for out of bounds r/w operations when either src or dst points to a chunk allocated by IsoAlloc
88
+
*`MEMCPY_SANITY`and `MEMSET_SANITY`Configures the allocator will hook all calls to `memcpy`/`memset` and check for out of bounds r/w operations when either src or dst points to a chunk allocated by IsoAlloc
89
89
*`STRONG_SIZE_ISOLATION` Enables a policy that enforces stronger memory isolation by size
90
90
91
91
## Building
@@ -102,6 +102,8 @@ The Makefile targets are very simple:
102
102
103
103
`make tests` - Builds and runs all tests
104
104
105
+
`make libc_sanity_tests` - Builds the memcpy/memset libc hook sanity tests
106
+
105
107
`make perf_tests` - Builds and runs a simple performance test that uses gprof. Linux only
106
108
107
109
`make malloc_cmp_test` - Builds and runs a test that uses both iso_alloc and malloc for comparison
0 commit comments