Lines Matching full:tmp
20 ASAN_OPTIONS=detect_stack_use_after_return=1 sanitize/asan/$case 2>tmp
22 ASAN_OPTIONS=check_initialization_order=true sanitize/asan/$case 2>tmp
24 ASAN_OPTIONS='' sanitize/asan/$case 2>tmp
29 grep -nr 'SUMMARY: ' tmp | grep "leaked in"
31 grep -nr 'SUMMARY: ' tmp | grep $case
51 cat /dev/null > tmp
54 sanitize/scudo/$case valid 2>tmp
56 SCUDO_OPTIONS=allocator_may_return_null=1 sanitize/scudo/$case invalid 2>tmp
58 SCUDO_OPTIONS=allocator_may_return_null=0 sanitize/scudo/$case invalid 2>tmp #not
59 grep -nr 'Scudo ERROR: ' tmp >/dev/null
64 sanitize/scudo/$case pointers 2>tmp #not
65 grep -nr 'Scudo ERROR: ' tmp >/dev/null
68 SCUDO_OPTIONS="QuarantineChunksUpToSize=0" sanitize/scudo/$case 2>tmp
71 sanitize/scudo/$case malloc 2>tmp
72 grep -nr "ERROR: invalid chunk state" tmp >/dev/null
74 sanitize/scudo/$case new 2>tmp
75 grep -nr "ERROR: invalid chunk state" tmp >/dev/null
77 sanitize/scudo/$case newarray 2>tmp
78 grep -nr "ERROR: invalid chunk state" tmp >/dev/null
86 sanitize/scudo/$case ownership 2>tmp
88 sanitize/scudo/$case ownership-and-size 2>tmp
90 sanitize/scudo/$case heap-size 2>tmp
92 SCUDO_OPTIONS="allocator_may_return_null=1" sanitize/scudo/$case soft-limit 2>tmp
94 SCUDO_OPTIONS="allocator_may_return_null=1" sanitize/scudo/$case hard-limit 2>tmp
95 grep -nr 'Scudo ERROR: ' tmp >/dev/null
102 # sanitize/scudo/$case valid 2>tmp
103 # sanitize/scudo/$case invalid 2>tmp
104 # scudo_opts=allocator_may_return_null=1 sanitize/scudo/$case invalid 2>tmp
105 # sanitize/scudo/$case double-free 2>tmp
106 # scudo_opts=DeallocationTypeMismatch=1 sanitize/scudo/$case realloc 2>tmp
107 # scudo_opts=DeallocationTypeMismatch=0 sanitize/scudo/$case realloc 2>tmp
109 SCUDO_OPTIONS=DeallocationTypeMismatch=1 sanitize/scudo/$case mallocdel 2>tmp #not
110 grep -nr 'Scudo ERROR: ' tmp >/dev/null
112 SCUDO_OPTIONS=DeallocationTypeMismatch=0 sanitize/scudo/$case mallocdel 2>tmp
114 SCUDO_OPTIONS=DeallocationTypeMismatch=1 sanitize/scudo/$case newfree 2>tmp #not
115 grep -nr 'Scudo ERROR: ' tmp >/dev/null
117 SCUDO_OPTIONS=DeallocationTypeMismatch=0 sanitize/scudo/$case newfree 2>tmp
125 sanitize/scudo/$case 2>tmp
127 SCUDO_OPTIONS=DeallocationTypeMismatch=0 sanitize/scudo/$case 2>tmp
129 SCUDO_OPTIONS=DeallocationTypeMismatch=1 sanitize/scudo/$case 2>tmp #not
130 grep -nr 'Scudo ERROR: ' tmp >/dev/null
137 # env LD_PRELOAD=%shared_libscudo not %run %t 2>tmp | FileCheck %s
138 # env LD_PRELOAD=%shared_minlibscudo not %run %t 2>tmp | FileCheck %s
142 # sanitize/scudo/$case pointers 2>tmp
143 # sanitize/scudo/$case contents 2>tmp
144 # sanitize/scudo/$case usablesize 2>tmp
146 sanitize/scudo/$case 2>tmp
148 SCUDO_OPTIONS="soft_rss_limit_mb=128" sanitize/scudo/$case 2>tmp
150 SCUDO_OPTIONS="hard_rss_limit_mb=128" sanitize/scudo/$case 2>tmp
152 SCUDO_OPTIONS="soft_rss_limit_mb=32:allocator_may_return_null=0" sanitize/scudo/$case 2>tmp
153 grep -nr 'Scudo ERROR: ' tmp >/dev/null
155 SCUDO_OPTIONS="soft_rss_limit_mb=32:allocator_may_return_null=1" sanitize/scudo/$case 2>tmp
157 …t_rss_limit_mb=32:allocator_may_return_null=0:can_use_proc_maps_statm=0" sanitize/scudo/$case 2>tmp
158 grep -nr 'Scudo ERROR: ' tmp >/dev/null
160 …t_rss_limit_mb=32:allocator_may_return_null=1:can_use_proc_maps_statm=0" sanitize/scudo/$case 2>tmp
162 SCUDO_OPTIONS="hard_rss_limit_mb=32:allocator_may_return_null=0" sanitize/scudo/$case 2>tmp
163 grep -nr 'Scudo ERROR: ' tmp >/dev/null
165 SCUDO_OPTIONS="hard_rss_limit_mb=32:allocator_may_return_null=1" sanitize/scudo/$case 2>tmp
166 grep -nr 'Scudo ERROR: ' tmp >/dev/null
168 …d_rss_limit_mb=32:allocator_may_return_null=0:can_use_proc_maps_statm=0" sanitize/scudo/$case 2>tmp
169 grep -nr 'Scudo ERROR: ' tmp >/dev/null
171 …d_rss_limit_mb=32:allocator_may_return_null=1:can_use_proc_maps_statm=0" sanitize/scudo/$case 2>tmp
172 grep -nr 'Scudo ERROR: ' tmp >/dev/null
177 SCUDO_OPTIONS=DeleteSizeMismatch=1 sanitize/scudo/$case gooddel 2>tmp
179 SCUDO_OPTIONS=DeleteSizeMismatch=1 sanitize/scudo/$case baddel 2>tmp #not
180 grep -nr 'Scudo ERROR: ' tmp >/dev/null
182 SCUDO_OPTIONS=DeleteSizeMismatch=0 sanitize/scudo/$case baddel 2>tmp
184 SCUDO_OPTIONS=DeleteSizeMismatch=1 sanitize/scudo/$case gooddelarr 2>tmp
186 SCUDO_OPTIONS=DeleteSizeMismatch=1 sanitize/scudo/$case baddelarr 2>tmp #not
187 grep -nr 'Scudo ERROR: ' tmp >/dev/null
189 SCUDO_OPTIONS=DeleteSizeMismatch=0 sanitize/scudo/$case baddelarr 2>tmp
194 SCUDO_OPTIONS=allocator_may_return_null=0 sanitize/scudo/$case malloc 2>tmp #not
195 grep -nr 'Scudo ERROR: ' tmp >/dev/null
197 SCUDO_OPTIONS=allocator_may_return_null=1 sanitize/scudo/$case malloc 2>tmp
199 SCUDO_OPTIONS=allocator_may_return_null=0 sanitize/scudo/$case calloc 2>tmp #not
200 grep -nr 'Scudo ERROR: ' tmp >/dev/null
202 SCUDO_OPTIONS=allocator_may_return_null=1 sanitize/scudo/$case calloc 2>tmp
204 SCUDO_OPTIONS=allocator_may_return_null=0 sanitize/scudo/$case new 2>tmp #not
205 grep -nr 'Scudo ERROR: ' tmp >/dev/null
207 SCUDO_OPTIONS=allocator_may_return_null=1 sanitize/scudo/$case new 2>tmp #not
208 grep -nr 'Scudo ERROR: ' tmp >/dev/null
210 SCUDO_OPTIONS=allocator_may_return_null=0 sanitize/scudo/$case new-nothrow 2>tmp #not
211 grep -nr 'Scudo ERROR: ' tmp >/dev/null
213 SCUDO_OPTIONS=allocator_may_return_null=1 sanitize/scudo/$case new-nothrow 2>tmp
215 sanitize/scudo/$case usable 2>tmp
220 sanitize/scudo/$case 2>tmp
221 grep -nr 'Scudo ERROR: ' tmp >/dev/null
241 sanitize/ubsan/$case 2>tmp
243 grep -nr 'SUMMARY: UndefinedBehaviorSanitizer' tmp
260 rm tmp