dolphin/Source/Core/Common/Logging
Léo Lam 62eeb05519
Common: Validate the number of {} fields in format strings
Unfortunately, {fmt} allows passing too many arguments to a format call
without raising any runtime or compile-time error [1].

As this is a common source of bugs since we started migrating to {fmt},
this commit adds some custom logic to validate the number of
replacement fields in format strings in addition to {fmt}'s own checks.

[1] https://github.com/fmtlib/fmt/issues/492
2020-11-19 17:09:24 +01:00
..
ConsoleListener.h Common: Unify logging namespace with Common 2019-11-28 05:13:21 -05:00
ConsoleListenerDroid.cpp Common: Unify logging namespace with Common 2019-11-28 05:13:21 -05:00
ConsoleListenerNix.cpp Common: Unify logging namespace with Common 2019-11-28 05:13:21 -05:00
ConsoleListenerWin.cpp Common: Rename UTF16ToUTF8 2020-07-08 14:51:35 +02:00
Log.h Common: Validate the number of {} fields in format strings 2020-11-19 17:09:24 +01:00
LogManager.cpp Common/Log: Check format strings 2020-11-19 17:09:24 +01:00
LogManager.h Common/Log: Add basic fmt-capable functions to the interface. 2020-10-21 10:49:35 -04:00