Linux SPARSE checker discussions
 help / color / mirror / Atom feed
* updated variadic printf/scanf checking
@ 2026-06-19  7:05 Ben Dooks
  2026-06-19  7:05 ` [RFC v4 1/4] parse: initial parsing of __attribute__((format)) Ben Dooks
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Ben Dooks @ 2026-06-19  7:05 UTC (permalink / raw)
  To: linux-sparse

I'm reposting this as an RFC as there has been quite a bit of work on
this to get scanf in and to try and simplify the code, fix a few bugs
found when checking the kernel. Depending on the reviews I will post
this for inclusion.

I am also looking at some work to try and make printf and scanf extensible
with the interesting types the kernel adds to printk, either by a new flag
or by some sort of attribute. This is not included in this set.

I think the tests need some more work on scanf, otherwise it seems to work
well with the kernel, and not really found any further issues other than
the odd signed/unsigned and type.



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-06-19  7:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-19  7:05 updated variadic printf/scanf checking Ben Dooks
2026-06-19  7:05 ` [RFC v4 1/4] parse: initial parsing of __attribute__((format)) Ben Dooks
2026-06-19  7:05 ` [RFC v4 2/4] add -Wformat Ben Dooks
2026-06-19  7:05 ` [RFC v4 3/4] evaluate: check variadic argument types against formatting info Ben Dooks
2026-06-19  7:05 ` [RFC v4 4/4] tests: add varargs printf format tests Ben Dooks

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox