Skip to content
Snippets Groups Projects
Commit c4b845a0 authored by Julien Signoles's avatar Julien Signoles
Browse files

[E-ACSL] fix crash with typedef on pointer types

parent adafe5b9
No related branches found
No related tags found
No related merge requests found
......@@ -15,6 +15,7 @@
# E-ACSL: the Whole E-ACSL plug-in
###############################################################################
-* E-ACSL [2013/06/26] Fix crash with typedef on pointer types.
- E-ACSL [2013/06/21] Fewer unknown locations.
-* E-ACSL [2013/06/18] Fixed bug when generating RTEs on the E-ACSL
generated project.
......
......@@ -453,7 +453,7 @@ and mmodel_call_with_size ~loc kf name ctx env t =
None
ctx
(fun v _ ->
let sizeof = match typ with
let sizeof = match Cil.unrollType typ with
| TPtr (t', _) -> Cil.new_exp ~loc (SizeOf t')
| _ -> assert false
in
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment