about summary refs log tree commit diff
diff options
context:
space:
mode:
authorhexcoder- <heiko@hexco.de>2019-10-27 08:12:01 +0100
committerhexcoder- <heiko@hexco.de>2019-10-27 08:12:01 +0100
commit10af76a50c1ff8ffe66c4358ad08bab87d23f98e (patch)
treea70f1c0e051090d483a7c5816de93e963335acea
parent2fafb9f2fbc82e05aeacb51b876d142041d8c468 (diff)
downloadafl++-10af76a50c1ff8ffe66c4358ad08bab87d23f98e.tar.gz
added a TODO item for posix_memalign wrapper
-rw-r--r--libdislocator/libdislocator.so.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libdislocator/libdislocator.so.c b/libdislocator/libdislocator.so.c
index 7f44071a..d172f7a2 100644
--- a/libdislocator/libdislocator.so.c
+++ b/libdislocator/libdislocator.so.c
@@ -188,6 +188,10 @@ void* calloc(size_t elem_len, size_t elem_cnt) {
 
 }
 
+/* TODO: add a wrapper for posix_memalign, otherwise apps who use it,
+   will fail when freeing the memory.
+*/
+
 /* The wrapper for malloc(). Roughly the same, also clobbers the returned
    memory (unlike calloc(), malloc() is not guaranteed to return zeroed
    memory). */