Skip to content

Commit

Permalink
Fix memOutOfBounds indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
sim642 committed Oct 10, 2023
1 parent 5aa4204 commit b96c010
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/analyses/memOutOfBounds.ml
Original file line number Diff line number Diff line change
Expand Up @@ -397,8 +397,7 @@ struct
match desc.special arglist with
| Memset { dest; ch; count; } -> check_count ctx f.vname dest count;
| Memcpy { dest; src; n = count; } -> check_count ctx f.vname dest count;
| _ -> ();
ctx.local
| _ -> ctx.local

let enter ctx (lval: lval option) (f:fundec) (args:exp list) : (D.t * D.t) list =
List.iter (fun arg -> check_exp_for_oob_access ctx arg) args;
Expand Down

0 comments on commit b96c010

Please sign in to comment.