Skip to content

Commit

Permalink
clock
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-schwarz committed Oct 1, 2023
1 parent b8f24dd commit b916048
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/analyses/libraryFunctions.ml
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ let c_descs_list: (string * LibraryDesc.t) list = LibraryDsl.[
("atol", unknown [drop "nptr" [r]]);
("atoll", unknown [drop "nptr" [r]]);
("setlocale", unknown [drop "category" []; drop "locale" [r]]);
("clock", unknown []);
]

(** C POSIX library functions.
Expand Down Expand Up @@ -1161,7 +1162,6 @@ let invalidate_actions = [
"assert_failed", readsAll; (*safe*)
"munmap", readsAll;(*safe*)
"mmap", readsAll;(*safe*)
"clock", readsAll;
"__builtin_va_arg_pack_len", readsAll;
"__open_too_many_args", readsAll;
"usb_submit_urb", readsAll; (* first argument is written to but according to specification must not be read from anymore *)
Expand Down

0 comments on commit b916048

Please sign in to comment.