edk2/UnitTestFrameworkPkg/Library/UnitTestLib
Michael D Kinney 8c8aea0e0a UnitTestFrameworkPkg/UnitTestLib: Fix printf() error from clang
Update UnitTestLib to not pass UnitTest->Log as the format
string to printf(). If UnitTest->Log contains any printf()
format specifiers, then printf() will look for arguments that
are not present and will read beyond the stack frame.

Change use of printf() to an fwrite() to stdout followed by
an fflush() to stdout.

Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
2025-12-23 01:10:46 +00:00
..
Assert.c UnitTestFrameworkPkg: UnitTestLib: Support Failure Strings of 512 Chars 2024-10-08 01:26:36 +00:00
AssertCmocka.c UnitTestFrameworkPkg/UnitTestLib: Reduce sanitizer false positive 2025-01-21 05:02:38 +00:00
Log.c UnitTestFrameworkPkg: UnitTestLib: Support Failure Strings of 512 Chars 2024-10-08 01:26:36 +00:00
RunTests.c UnitTestFrameworkPkg/UnitTestLib: GetActiveFrameworkHandle() no ASSERT() 2024-02-14 02:37:16 +00:00
RunTestsCmocka.c UnitTestFrameworkPkg/UnitTestLib: Fix printf() error from clang 2025-12-23 01:10:46 +00:00
UnitTestLib.c UnitTestFrameworkPkg/UnitTestLib: Implement Free*() services 2025-01-21 05:02:38 +00:00
UnitTestLib.inf UnitTestFrameworkPg: Fix build failure of MdeModulePkg with UnitTestLib 2020-12-05 01:52:14 +00:00
UnitTestLib.uni UnitTestFrameworkPkg/Library: Add library instances 2020-02-07 19:18:53 +00:00
UnitTestLibCmocka.inf UnitTestFrameworkPkg/Library: Add library instances 2020-02-07 19:18:53 +00:00
UnitTestLibCmocka.uni UnitTestFrameworkPkg/Library: Add library instances 2020-02-07 19:18:53 +00:00