Skip to content

Commit ea83c30

Browse files
Be more conservative for ioctl
1 parent 80b4f82 commit ea83c30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/library/libraryFunctions.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -750,7 +750,7 @@ let linux_kernel_descs_list: (string * LibraryDesc.t) list = LibraryDsl.[
750750
("__kmalloc", special [__ "size" []; drop "flags" []] @@ fun size -> Malloc size);
751751
("kzalloc", special [__ "size" []; drop "flags" []] @@ fun size -> Calloc {count = Cil.one; size});
752752
("usb_alloc_urb", special [__ "iso_packets" []; drop "mem_flags" []] @@ fun iso_packets -> Malloc MyCFG.unknown_exp);
753-
("ioctl", unknown (drop "fd" [] :: drop "request" [] :: VarArgs (drop' [r])));
753+
("ioctl", unknown (drop "fd" [] :: drop "request" [] :: VarArgs (drop' [r_deep; w_deep])));
754754
]
755755

756756
(** Goblint functions. *)

0 commit comments

Comments
 (0)