Skip to content

Commit

Permalink
Consider alloca in special in region
Browse files Browse the repository at this point in the history
  • Loading branch information
karoliineh committed Jan 11, 2024
1 parent 1ec35c4 commit a18137a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/analyses/region.ml
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ struct
let special ctx (lval: lval option) (f:varinfo) (arglist:exp list) : D.t =
let desc = LibraryFunctions.find f in
match desc.special arglist with
| Malloc _ | Calloc _ | Realloc _ -> begin
| Malloc _ | Calloc _ | Realloc _ | Alloca _ -> begin
match ctx.local, lval with
| `Lifted reg, Some lv ->
let old_regpart = ctx.global () in
Expand Down

0 comments on commit a18137a

Please sign in to comment.