mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-13 18:48:08 +00:00
libdislocator on macOS to get memory block size is malloc_size is
instead.
This commit is contained in:
@ -505,7 +505,10 @@ void *reallocarray(void *ptr, size_t elem_len, size_t elem_cnt) {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#if !defined(__ANDROID__)
|
#if defined(__APPLE__)
|
||||||
|
size_t malloc_size(const void *ptr) {
|
||||||
|
|
||||||
|
#elif !defined(__ANDROID__)
|
||||||
size_t malloc_usable_size(void *ptr) {
|
size_t malloc_usable_size(void *ptr) {
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
Reference in New Issue
Block a user