Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply "printf format" to APIs #81316

Open
AaronRobinsonMSFT opened this issue Jan 28, 2023 · 1 comment
Open

Apply "printf format" to APIs #81316

AaronRobinsonMSFT opened this issue Jan 28, 2023 · 1 comment

Comments

@AaronRobinsonMSFT
Copy link
Member

There are APIs throughout the codebase that accept printf-style-formats. Now that our internal printf implementation has been removed, #81243, these APIs should be marked appropriately so the compiler can validate them.

Examples

void ThreadStressLog::LogMsg(unsigned facility, int cArgs, const char* format, ...)

int logf(const char* fmt, ...)

int DumpMD_VWrite(_In_ _In_z_ const char *str, ...)

@AaronRobinsonMSFT
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant