Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Add description of format string support checking for varargs #499

Open
dtarditi opened this issue Jul 11, 2023 · 0 comments
Open

Add description of format string support checking for varargs #499

dtarditi opened this issue Jul 11, 2023 · 0 comments
Assignees

Comments

@dtarditi
Copy link
Member

dtarditi commented Jul 11, 2023

The clang compiler has a format string checker. It checks for functions like printf that take a format string and a variable number of arguments that the variable arguments have the expected type for the format string. This covers most of the in-practice uses of varargs. We've extended the format string checker in the Checked C clang compiler to understand some simple uses of checked pointers, ensuring that those uses in varargs are safe and can be used in checked scopes.

We need to update the Wiki to describe this and add some information to the specification about this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant