File tree Expand file tree Collapse file tree 2 files changed +7
-18
lines changed Expand file tree Collapse file tree 2 files changed +7
-18
lines changed Original file line number Diff line number Diff line change 12
12
"OneFuzzJobs" : [
13
13
{
14
14
"ProjectName" : " Direct3D" ,
15
- "TargetName" : " DirectXTK"
15
+ "TargetName" : " DirectXTK" ,
16
+ "TargetOptions" : [
17
+ " -rss_limit_mb=4096"
18
+ ],
19
+ "TargetEnv" : {
20
+ "ASAN_OPTIONS" : " allocator_may_return_null=1"
21
+ }
16
22
}
17
23
],
18
24
"JobDependencies" : [
Original file line number Diff line number Diff line change @@ -7,23 +7,6 @@ function Execute-Setup {
7
7
# Exclude any uploaded DLL from known DLLs
8
8
gci - filter ' *.dll' | Exclude- Library
9
9
10
- # Update environment values for ASAN_OPTIONS.
11
- # These environment variables affect how the ASan runtime operates.
12
- # Use the 'allocator_may_return_null=1' environment variable if you have compiled
13
- # your fuzzer using clang with the ASan flags
14
- #
15
- # Use 'windows_hook_rtl_allocators=true:allocator_may_return_null=1' if your fuzzer has
16
- # been compiled using MSVC with the ASan flags
17
- #
18
- # $AsanOptions = 'windows_hook_rtl_allocators=true:allocator_may_return_null=1'
19
- # $AsanOptions = 'allocator_may_return_null=1'
20
-
21
- $AsanOptions = ' windows_hook_rtl_allocators=true:allocator_may_return_null=1'
22
-
23
- # Use the 'machine' scope to make this permanent because the machine will reboot
24
- [Environment ]::SetEnvironmentVariable(' ASAN_OPTIONS' , $AsanOptions , ' Machine' )
25
- Write-Log " Set ASAN_OPTIONS to $AsanOptions "
26
-
27
10
# Done. Useful to know that the script did not prematurely error out
28
11
Write-Log ' Setup script finished successfully'
29
12
}
You can’t perform that action at this time.
0 commit comments