Skip to content

Commit 6ecc49d

Browse files
authored
OK
1 parent 8d5388b commit 6ecc49d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lab5/antiasan.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
// TODO:
21
#include <sanitizer/asan_interface.h>
32

43
void antiasan(unsigned long address) {
5-
__asan_unpoison_memory_region((void *)address, sizeof(char));
4+
5+
__asan_unpoison_memory_region((void *)address, 1);
66
}
77

8+

0 commit comments

Comments
 (0)