Skip to content

Commit

Permalink
Move fnmatch to posix group
Browse files Browse the repository at this point in the history
  • Loading branch information
karoliineh committed Aug 21, 2023
1 parent 5713231 commit 039edfe
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 @@ -118,7 +118,6 @@ let c_descs_list: (string * LibraryDesc.t) list = LibraryDsl.[
("_setjmp", special [__ "env" [w]] @@ fun env -> Setjmp { env }); (* only has one underscore *)
("setjmp", special [__ "env" [w]] @@ fun env -> Setjmp { env });
("longjmp", special [__ "env" [r]; __ "value" []] @@ fun env value -> Longjmp { env; value });
("fnmatch", unknown [drop "pattern" [r]; drop "string" [r]; drop "flags" []]);
]

(** C POSIX library functions.
Expand Down Expand Up @@ -281,6 +280,7 @@ let posix_descs_list: (string * LibraryDesc.t) list = LibraryDsl.[
("__sigsetjmp", special [__ "env" [w]; drop "savesigs" []] @@ fun env -> Setjmp { env }); (* has two underscores *)
("sigsetjmp", special [__ "env" [w]; drop "savesigs" []] @@ fun env -> Setjmp { env });
("siglongjmp", special [__ "env" [r]; __ "value" []] @@ fun env value -> Longjmp { env; value });
("fnmatch", unknown [drop "pattern" [r]; drop "string" [r]; drop "flags" []]);
]

(** Pthread functions. *)
Expand Down

0 comments on commit 039edfe

Please sign in to comment.