Skip to content

Commit 73e0ce2

Browse files
authored
Merge pull request #357 from Aniina-ping/lab5
[LAB5] 313551010
2 parents 461e1e5 + 9b51beb commit 73e0ce2

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,6 +1,7 @@
11
#include <string.h>
2+
#include <sanitizer/asan_interface.h>
23

34
void antiasan(unsigned long addr)
45
{
5-
6-
}
6+
__asan_unpoison_memory_region((void *)addr, 0x100);
7+
}

0 commit comments

Comments
 (0)