about summary refs log tree commit diff homepage
path: root/runtime/Runtest/intrinsics.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/Runtest/intrinsics.c')
-rw-r--r--runtime/Runtest/intrinsics.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/runtime/Runtest/intrinsics.c b/runtime/Runtest/intrinsics.c
index bcd072ac..7ec21901 100644
--- a/runtime/Runtest/intrinsics.c
+++ b/runtime/Runtest/intrinsics.c
@@ -94,21 +94,6 @@ void klee_make_symbolic(void *array, unsigned nbytes, const char *name) {
   }
 }
 
-void *klee_malloc_n(unsigned nelems, unsigned size, unsigned alignment) {
-#if 1
-  return mmap((void*) 0x90000000, nelems*size, PROT_READ|PROT_WRITE, 
-              MAP_PRIVATE
-#ifdef MAP_ANONYMOUS
-              |MAP_ANONYMOUS
-#endif
-              , 0, 0);
-#else
-  char *buffer = malloc(nelems*size + alignment - 1);
-  buffer += (alignment - (long)buffer % alignment);
-  return buffer;
-#endif
-}
-
 void klee_silent_exit(int x) {
   exit(x);
 }