airbus-seclab / c-compiler-security

Security-related flags and options for C compilers
https://airbus-seclab.github.io/c-compiler-security/
Creative Commons Attribution Share Alike 4.0 International
184 stars 16 forks source link

gcc -wformat-signedness #6

Closed szennou closed 3 years ago

szennou commented 3 years ago

Found it difficult to read. Suggestion: Warn about sign mismatches in format functions between their format specifiers and actual parameters