Skip to content

Commit 1acf8cb

Browse files
fixup! [WIP][ASan] Interceptors for WASI
1 parent 2a6551e commit 1acf8cb

File tree

4 files changed

+9
-6478
lines changed

4 files changed

+9
-6478
lines changed

compiler-rt/lib/asan/asan_malloc_linux.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,6 @@ INTERCEPTOR(void*, realloc, void *ptr, uptr size) {
8383
return asan_realloc(ptr, size, &stack);
8484
}
8585

86-
#if SANITIZER_WASI
87-
extern "C" void *__libc_malloc(uptr) __attribute__((alias("malloc")));
88-
extern "C" void __libc_free(void *) __attribute__((alias("free")));
89-
extern "C" void *__libc_calloc(uptr nmemb, uptr size) __attribute__((alias("calloc")));
90-
#endif
91-
9286
#if SANITIZER_INTERCEPT_REALLOCARRAY
9387
INTERCEPTOR(void*, reallocarray, void *ptr, uptr nmemb, uptr size) {
9488
AsanInitFromRtl();

compiler-rt/lib/asan/wasi/dlmalloc.c

Lines changed: 0 additions & 101 deletions
This file was deleted.

0 commit comments

Comments
 (0)