Skip to content

Commit

Permalink
Be more conservative for ioctl
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-schwarz committed Dec 13, 2023
1 parent 80b4f82 commit ea83c30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/library/libraryFunctions.ml
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ let linux_kernel_descs_list: (string * LibraryDesc.t) list = LibraryDsl.[
("__kmalloc", special [__ "size" []; drop "flags" []] @@ fun size -> Malloc size);
("kzalloc", special [__ "size" []; drop "flags" []] @@ fun size -> Calloc {count = Cil.one; size});
("usb_alloc_urb", special [__ "iso_packets" []; drop "mem_flags" []] @@ fun iso_packets -> Malloc MyCFG.unknown_exp);
("ioctl", unknown (drop "fd" [] :: drop "request" [] :: VarArgs (drop' [r])));
("ioctl", unknown (drop "fd" [] :: drop "request" [] :: VarArgs (drop' [r_deep; w_deep])));
]

(** Goblint functions. *)
Expand Down

0 comments on commit ea83c30

Please sign in to comment.