From 0375c152931e1d2ff7f992713fbbc78e7cc2ee7f Mon Sep 17 00:00:00 2001 From: p0tat0ba11 <181969527+p0tat0ba11@users.noreply.github.com> Date: Thu, 1 May 2025 21:37:59 +0800 Subject: [PATCH] feat(lab5): bypass detection of ASan in --- lab5/antiasan.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lab5/antiasan.c b/lab5/antiasan.c index 8a8936d..70dc1b6 100644 --- a/lab5/antiasan.c +++ b/lab5/antiasan.c @@ -1,6 +1,7 @@ +#include #include +#include -void antiasan(unsigned long addr) -{ - +void antiasan(unsigned long addr) { + __asan_unpoison_memory_region((void *) addr, 0x200); }