Skip to content
7 changes: 6 additions & 1 deletion lab5/antiasan.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
#include <string.h>
#include <sanitizer/asan_interface.h>
#include "antiasan.h"

//extern char gS[0x18];
//extern char gBadBuf[0x87];

void antiasan(unsigned long addr)
{

__asan_unpoison_memory_region((void *)addr, 0x87);
}
Loading