Skip to content

Commit

Permalink
Add some missing library functions for concrat/sysbench
Browse files Browse the repository at this point in the history
  • Loading branch information
sim642 committed Oct 10, 2023
1 parent 0af8ba7 commit 85ce4b2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/analyses/libraryFunctions.ml
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,9 @@ let posix_descs_list: (string * LibraryDesc.t) list = LibraryDsl.[
("alphasort", unknown [drop "a" [r]; drop "b" [r]]);
("gmtime_r", unknown [drop "timer" [r]; drop "result" [w]]);
("rand_r", special [drop "seedp" [r; w]] Rand);
("srandom", unknown [drop "seed" []]);
("random", special [] Rand);
("posix_memalign", unknown [drop "memptr" [w]; drop "alignment" []; drop "size" []]); (* TODO: Malloc *)
]

(** Pthread functions. *)
Expand Down

0 comments on commit 85ce4b2

Please sign in to comment.