File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
source/interprocedural_analyses/taint Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -187,14 +187,14 @@ module ReturnAccessPath = struct
187187 let less_or_equal ~left ~right = Abstract.TreeDomain.Label. is_prefix ~prefix: right left
188188
189189 let widen set =
190- let truncate = function
191- | p when List. length p > TaintConfiguration. maximum_return_access_path_depth ->
192- List. take p TaintConfiguration. maximum_return_access_path_depth
193- | x -> x
194- in
195190 if List. length set > TaintConfiguration. maximum_return_access_path_width then
196191 [[]]
197192 else
193+ let truncate = function
194+ | p when List. length p > TaintConfiguration. maximum_return_access_path_depth ->
195+ List. take p TaintConfiguration. maximum_return_access_path_depth
196+ | x -> x
197+ in
198198 List. map ~f: truncate set
199199end
200200
You can’t perform that action at this time.
0 commit comments