mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-26 21:02:14 +03:00
Fix test config of lg_san_uaf_align.
The option may be configure-disabled, which resulted in the invalid options output from the tests.
This commit is contained in:
parent
eabe889162
commit
d660683d3d
5 changed files with 17 additions and 5 deletions
|
|
@ -1,3 +1,11 @@
|
|||
#if defined(JEMALLOC_UAF_DETECTION) || defined(JEMALLOC_DEBUG)
|
||||
# define TEST_SAN_UAF_ALIGN_ENABLE "lg_san_uaf_align:12"
|
||||
# define TEST_SAN_UAF_ALIGN_DISABLE "lg_san_uaf_align:-1"
|
||||
#else
|
||||
# define TEST_SAN_UAF_ALIGN_ENABLE ""
|
||||
# define TEST_SAN_UAF_ALIGN_DISABLE ""
|
||||
#endif
|
||||
|
||||
static inline bool
|
||||
extent_is_guarded(tsdn_t *tsdn, void *ptr) {
|
||||
edata_t *edata = emap_edata_lookup(tsdn, &arena_emap_global, ptr);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue