Skip to content

Commit

Permalink
Fix __printf_chk library function specification (closes #1541)
Browse files Browse the repository at this point in the history
  • Loading branch information
sim642 committed Aug 12, 2024
1 parent e630b74 commit 476f20b
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 @@ -712,7 +712,7 @@ let linux_userspace_descs_list: (string * LibraryDesc.t) list = LibraryDsl.[
("__errno", unknown []);
("__errno_location", unknown []);
("__h_errno_location", unknown []);
("__printf_chk", unknown [drop "flag" []; drop "format" [r]]);
("__printf_chk", unknown (drop "flag" [] :: drop "format" [r] :: VarArgs (drop' [r])));
("__fprintf_chk", unknown (drop "stream" [r_deep; w_deep] :: drop "flag" [] :: drop "format" [r] :: VarArgs (drop' [r])));
("__vfprintf_chk", unknown [drop "stream" [r_deep; w_deep]; drop "flag" []; drop "format" [r]; drop "ap" [r_deep]]);
("sysinfo", unknown [drop "info" [w_deep]]);
Expand Down

0 comments on commit 476f20b

Please sign in to comment.