We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd1c562 commit 8d5388bCopy full SHA for 8d5388b
lab5/antiasan.c
@@ -1,5 +1,7 @@
1
// TODO:
2
-void antiasan(unsigned long addr)
3
-{
+#include <sanitizer/asan_interface.h>
4
+void antiasan(unsigned long address) {
5
+ __asan_unpoison_memory_region((void *)address, sizeof(char));
6
}
7
+
0 commit comments