The attribute should be in the header on declaration.
It's almost pointless in the source file.
Depends on D107977.
Differential D107978
scudo: fix __attribute__((format)) Authored by dvyukov on Aug 12 2021, 11:17 AM.
Details
The attribute should be in the header on declaration. Depends on D107977.
Diff Detail
Event TimelineComment Actions Note that this is the legacy copy of Scudo. Looks like scudo/standalone has the same problem (see ScopedString::Append and Printf in compiler-rt/lib/scudo/standalone/string_utils.cpp). |