Skip to content

Commit

Permalink
Merge pull request #1135 from mrstanb/support-quick-exit
Browse files Browse the repository at this point in the history
Add support for `quick_exit`
  • Loading branch information
michael-schwarz authored Aug 11, 2023
2 parents f47d983 + 0652ea0 commit 1be70e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/analyses/libraryFunctions.ml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ let c_descs_list: (string * LibraryDesc.t) list = LibraryDsl.[
("free", special [__ "ptr" [f]] @@ fun ptr -> Free ptr);
("abort", special [] Abort);
("exit", special [drop "exit_code" []] Abort);
("quick_exit", special [drop "exit_code" []] Abort);
("ungetc", unknown [drop "c" []; drop "stream" [r; w]]);
("scanf", unknown ((drop "format" [r]) :: (VarArgs (drop' [w]))));
("fscanf", unknown ((drop "stream" [r_deep; w_deep]) :: (drop "format" [r]) :: (VarArgs (drop' [w]))));
Expand Down

0 comments on commit 1be70e1

Please sign in to comment.