File tree 1 file changed +2
-0
lines changed
1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -218,6 +218,7 @@ let focusOnMemSafetySpecification () =
218
218
enableAnalyses uafAna
219
219
| ValidDeref -> (* Enable the memOutOfBounds analysis *)
220
220
let memOobAna = [" memOutOfBounds" ] in
221
+ set_bool " ana.arrayoob" true ;
221
222
print_endline " Setting \" cil.addNestedScopeAttr\" to true" ;
222
223
set_bool " cil.addNestedScopeAttr" true ;
223
224
print_endline @@ " Specification: ValidDeref -> enabling memOutOfBounds analysis \" " ^ (String. concat " , " memOobAna) ^ " \" " ;
@@ -232,6 +233,7 @@ let focusOnMemSafetySpecification () =
232
233
print_endline @@ " Specification: ValidMemtrack and ValidMemcleanup -> enabling memLeak analysis \" " ^ (String. concat " , " memLeakAna) ^ " \" " ;
233
234
enableAnalyses memLeakAna
234
235
| MemorySafety -> (* TODO: This is a temporary solution for the memory safety category *)
236
+ set_bool " ana.arrayoob" true ;
235
237
(print_endline " Setting \" cil.addNestedScopeAttr\" to true" ;
236
238
set_bool " cil.addNestedScopeAttr" true ;
237
239
if (get_int " ana.malloc.unique_address_count" ) < 1 then (
You can’t perform that action at this time.
0 commit comments