Move attribute((format)) to the function declarations in the header file.
It's almost pointless in the source file.
But disable the warning with -Wno-format for now
since there is a number of existing warnings.
Depends on D107984.
Differential D108014
scudo/standalone: prepare for enabling format string checking dvyukov on Aug 12 2021, 10:31 PM. Authored by
Details Move attribute((format)) to the function declarations in the header file. Depends on D107984.
Diff Detail
Event TimelineComment Actions This change maybe a bit pointless on its own, but it makes state of scudo/standalone consistent with other sanitizers. scudo/standalone/size_class_map.h:339:24: warning: format specifies type 'size_t' (aka 'unsigned long') but the argument has type 'scudo::u32' (aka 'unsigned int') |