Remove unsafe banned functions (dotnet/coreclr#8162)
authorJan Vorlicek <janvorli@microsoft.com>
Mon, 21 Nov 2016 15:22:45 +0000 (16:22 +0100)
committerJan Kotas <jkotas@microsoft.com>
Mon, 21 Nov 2016 15:22:45 +0000 (07:22 -0800)
commit657c6a36e460ca369582bb96c3a1b46beec51419
tree03d08d27f99693eda416ea841966849f6fb1767e
parent5306409dcd7c237c37a87e1e95b00b8772885f77
Remove unsafe banned functions (dotnet/coreclr#8162)

This change removes _snwprintf, _snprintf and _vsnwprintf usage from CoreCLR and
their implementations from PAL.
PAL exposes their secure variants instead and CoreCLR now uses those instead.
I have also removed the StringCchPrintfA/W, StringCchVPrintfA/W, StringCbVPrintfA/W,
StringCbPrintfA/W, StringCbPrintfExA/W, StringCchVPrintfExA/W, StringCbVPrintfExA/W
and StringCchPrintfExA/W replaced their usage by the secure variants of the sprintf
functions, since they were used at only few places and implementing all of the variants
using the secure sprintf variants would be a hassle.
I also needed to fix a missing support for size modifiers for %p formatting character
and for wide characters / strings in the secure sprintf functions that was revealed
by the PAL tests.
I have also removed a bunch of PAL tests that were using %n formatting character which
was not implemented since it is considered unsafe and translated PAL tests that were using
the removed functions to use the safe variants of those.

Commit migrated from https://github.com/dotnet/coreclr/commit/716cb7ea87e40abb4b106df55af7ff4666170296
232 files changed:
src/coreclr/src/ToolBox/SOS/Strike/stressLogDump.cpp
src/coreclr/src/ToolBox/superpmi/superpmi-shared/logging.cpp
src/coreclr/src/ToolBox/superpmi/superpmi/neardiffer.cpp
src/coreclr/src/debug/daccess/daccess.cpp
src/coreclr/src/dlls/mscordac/mscordac_unixexports.src
src/coreclr/src/ilasm/main.cpp
src/coreclr/src/nativeresources/resourcestring.cpp
src/coreclr/src/pal/inc/mbusafecrt.h
src/coreclr/src/pal/inc/pal.h
src/coreclr/src/pal/inc/rt/palrt.h
src/coreclr/src/pal/inc/rt/safecrt.h
src/coreclr/src/pal/inc/strsafe.h
src/coreclr/src/pal/src/config.h.in
src/coreclr/src/pal/src/configure.cmake
src/coreclr/src/pal/src/cruntime/printf.cpp
src/coreclr/src/pal/src/include/pal/palinternal.h
src/coreclr/src/pal/src/safecrt/mbusafecrt.cpp
src/coreclr/src/pal/src/safecrt/output.inl
src/coreclr/src/pal/src/safecrt/snprintf.cpp
src/coreclr/src/pal/src/safecrt/sprintf.cpp
src/coreclr/src/pal/src/safecrt/swprintf.cpp
src/coreclr/src/pal/src/safecrt/vsprintf.cpp
src/coreclr/src/pal/src/safecrt/vswprint.cpp
src/coreclr/src/pal/src/thread/process.cpp
src/coreclr/src/pal/tests/palsuite/c_runtime/CMakeLists.txt
src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf/test5/CMakeLists.txt [deleted file]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf/test5/test5.cpp [deleted file]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf/test5/testinfo.dat [deleted file]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/CMakeLists.txt [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf/CMakeLists.txt with 95% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/_snprintf_s.h [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf/_snprintf.h with 87% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test1/CMakeLists.txt [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf/test1/CMakeLists.txt with 100% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test1/test1.cpp [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf/test1/test1.cpp with 76% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test1/testinfo.dat [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf/test1/testinfo.dat with 71% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test10/CMakeLists.txt [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf/test10/CMakeLists.txt with 100% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test10/test10.cpp [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf/test10/test10.cpp with 94% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test10/testinfo.dat [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf/test10/testinfo.dat with 74% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test11/CMakeLists.txt [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf/test11/CMakeLists.txt with 100% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test11/test11.cpp [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf/test11/test11.cpp with 94% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test11/testinfo.dat [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf/test11/testinfo.dat with 74% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test12/CMakeLists.txt [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf/test12/CMakeLists.txt with 100% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test12/test12.cpp [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf/test12/test12.cpp with 94% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test12/testinfo.dat [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf/test12/testinfo.dat with 72% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test13/CMakeLists.txt [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf/test13/CMakeLists.txt with 100% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test13/test13.cpp [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf/test13/test13.cpp with 94% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test13/testinfo.dat [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf/test13/testinfo.dat with 72% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test14/CMakeLists.txt [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf/test14/CMakeLists.txt with 100% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test14/test14.cpp [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf/test14/test14.cpp with 95% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test14/testinfo.dat [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf/test14/testinfo.dat with 70% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test15/CMakeLists.txt [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf/test15/CMakeLists.txt with 100% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test15/test15.cpp [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf/test15/test15.cpp with 95% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test15/testinfo.dat [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf/test15/testinfo.dat with 70% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test16/CMakeLists.txt [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf/test16/CMakeLists.txt with 100% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test16/test16.cpp [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf/test16/test16.cpp with 95% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test16/testinfo.dat [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf/test16/testinfo.dat with 71% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test17/CMakeLists.txt [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf/test17/CMakeLists.txt with 100% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test17/test17.cpp [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf/test17/test17.cpp with 94% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test17/testinfo.dat [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf/test17/testinfo.dat with 70% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test18/CMakeLists.txt [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf/test18/CMakeLists.txt with 100% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test18/test18.cpp [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf/test18/test18.cpp with 94% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test18/testinfo.dat [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf/test18/testinfo.dat with 70% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test19/CMakeLists.txt [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf/test19/CMakeLists.txt with 100% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test19/test19.cpp [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf/test19/test19.cpp with 90% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test19/testinfo.dat [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf/test19/testinfo.dat with 71% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test2/CMakeLists.txt [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf/test2/CMakeLists.txt with 100% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test2/test2.cpp [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf/test2/test2.cpp with 94% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test2/testinfo.dat [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf/test2/testinfo.dat with 75% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test3/CMakeLists.txt [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf/test3/CMakeLists.txt with 100% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test3/test3.cpp [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf/test3/test3.cpp with 94% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test3/testinfo.dat [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf/test3/testinfo.dat with 74% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test4/CMakeLists.txt [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf/test4/CMakeLists.txt with 100% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test4/test4.cpp [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf/test4/test4.cpp with 97% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test4/testinfo.dat [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf/test4/testinfo.dat with 75% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test6/CMakeLists.txt [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf/test6/CMakeLists.txt with 100% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test6/test6.cpp [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf/test6/test6.cpp with 94% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test6/testinfo.dat [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf/test6/testinfo.dat with 75% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test7/CMakeLists.txt [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf/test7/CMakeLists.txt with 100% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test7/test7.cpp [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf/test7/test7.cpp with 93% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test7/testinfo.dat [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf/test7/testinfo.dat with 74% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test8/CMakeLists.txt [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf/test8/CMakeLists.txt with 100% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test8/test8.cpp [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf/test8/test8.cpp with 94% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test8/testinfo.dat [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf/test8/testinfo.dat with 74% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test9/CMakeLists.txt [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf/test9/CMakeLists.txt with 100% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test9/test9.cpp [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf/test9/test9.cpp with 94% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf_s/test9/testinfo.dat [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snprintf/test9/testinfo.dat with 74% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf/test5/CMakeLists.txt [deleted file]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf/test5/test5.cpp [deleted file]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf/test5/testinfo.dat [deleted file]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/CMakeLists.txt [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf/CMakeLists.txt with 95% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/_snwprintf_s.h [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf/_snwprintf.h with 87% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test1/CMakeLists.txt [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf/test1/CMakeLists.txt with 100% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test1/test1.cpp [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf/test1/test1.cpp with 80% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test1/testinfo.dat [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf/test1/testinfo.dat with 71% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test10/CMakeLists.txt [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf/test10/CMakeLists.txt with 100% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test10/test10.cpp [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf/test10/test10.cpp with 95% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test10/testinfo.dat [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf/test10/testinfo.dat with 74% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test11/CMakeLists.txt [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf/test11/CMakeLists.txt with 100% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test11/test11.cpp [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf/test11/test11.cpp with 95% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test11/testinfo.dat [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf/test11/testinfo.dat with 73% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test12/CMakeLists.txt [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf/test12/CMakeLists.txt with 100% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test12/test12.cpp [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf/test12/test12.cpp with 95% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test12/testinfo.dat [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf/test12/testinfo.dat with 72% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test13/CMakeLists.txt [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf/test13/CMakeLists.txt with 100% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test13/test13.cpp [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf/test13/test13.cpp with 95% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test13/testinfo.dat [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf/test13/testinfo.dat with 72% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test14/CMakeLists.txt [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf/test14/CMakeLists.txt with 100% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test14/test14.cpp [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf/test14/test14.cpp with 96% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test14/testinfo.dat [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf/test14/testinfo.dat with 69% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test15/CMakeLists.txt [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf/test15/CMakeLists.txt with 100% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test15/test15.cpp [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf/test15/test15.cpp with 96% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test15/testinfo.dat [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf/test15/testinfo.dat with 69% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test16/CMakeLists.txt [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf/test16/CMakeLists.txt with 100% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test16/test16.cpp [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf/test16/test16.cpp with 96% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test16/testinfo.dat [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf/test16/testinfo.dat with 71% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test17/CMakeLists.txt [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf/test17/CMakeLists.txt with 100% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test17/test17.cpp [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf/test17/test17.cpp with 96% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test17/testinfo.dat [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf/test17/testinfo.dat with 70% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test18/CMakeLists.txt [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf/test18/CMakeLists.txt with 100% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test18/test18.cpp [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf/test18/test18.cpp with 96% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test18/testinfo.dat [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf/test18/testinfo.dat with 70% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test19/CMakeLists.txt [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf/test19/CMakeLists.txt with 100% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test19/test19.cpp [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf/test19/test19.cpp with 91% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test19/testinfo.dat [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf/test19/testinfo.dat with 71% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test2/CMakeLists.txt [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf/test2/CMakeLists.txt with 100% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test2/test2.cpp [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf/test2/test2.cpp with 95% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test2/testinfo.dat [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf/test2/testinfo.dat with 75% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test3/CMakeLists.txt [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf/test3/CMakeLists.txt with 100% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test3/test3.cpp [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf/test3/test3.cpp with 94% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test3/testinfo.dat [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf/test3/testinfo.dat with 74% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test4/CMakeLists.txt [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf/test4/CMakeLists.txt with 100% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test4/test4.cpp [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf/test4/test4.cpp with 97% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test4/testinfo.dat [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf/test4/testinfo.dat with 75% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test6/CMakeLists.txt [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf/test6/CMakeLists.txt with 100% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test6/test6.cpp [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf/test6/test6.cpp with 94% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test6/testinfo.dat [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf/test6/testinfo.dat with 74% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test7/CMakeLists.txt [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf/test7/CMakeLists.txt with 100% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test7/test7.cpp [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf/test7/test7.cpp with 94% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test7/testinfo.dat [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf/test7/testinfo.dat with 73% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test8/CMakeLists.txt [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf/test8/CMakeLists.txt with 100% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test8/test8.cpp [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf/test8/test8.cpp with 95% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test8/testinfo.dat [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf/test8/testinfo.dat with 73% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test9/CMakeLists.txt [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf/test9/CMakeLists.txt with 100% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test9/test9.cpp [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf/test9/test9.cpp with 95% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf_s/test9/testinfo.dat [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_snwprintf/test9/testinfo.dat with 73% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf/test1/testinfo.dat
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf/test10/testinfo.dat
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf/test11/testinfo.dat
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf/test12/testinfo.dat
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf/test13/testinfo.dat
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf/test14/testinfo.dat
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf/test15/testinfo.dat
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf/test16/testinfo.dat
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf/test17/testinfo.dat
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf/test18/testinfo.dat
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf/test19/testinfo.dat
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf/test2/testinfo.dat
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf/test3/testinfo.dat
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf/test4/testinfo.dat
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf/test5/testinfo.dat
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf/test6/testinfo.dat
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf/test7/testinfo.dat
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf/test8/testinfo.dat
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnprintf/test9/testinfo.dat
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf/test4/test4.cpp [deleted file]
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf/test5/CMakeLists.txt [deleted file]
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf/test5/test5.cpp [deleted file]
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf/test5/testinfo.dat [deleted file]
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/CMakeLists.txt [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf/CMakeLists.txt with 95% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/_vsnwprintf_s.h [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf/_vsnwprintf.h with 85% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test1/CMakeLists.txt [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf/test1/CMakeLists.txt with 100% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test1/test1.cpp [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf/test1/test1.cpp with 81% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test1/testinfo.dat [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf/test1/testinfo.dat with 63% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test10/CMakeLists.txt [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf/test10/CMakeLists.txt with 100% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test10/test10.cpp [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf/test10/test10.cpp with 95% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test10/testinfo.dat [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf/test10/testinfo.dat with 65% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test11/CMakeLists.txt [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf/test11/CMakeLists.txt with 100% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test11/test11.cpp [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf/test11/test11.cpp with 95% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test11/testinfo.dat [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf/test11/testinfo.dat with 64% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test12/CMakeLists.txt [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf/test12/CMakeLists.txt with 100% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test12/test12.cpp [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf/test12/test12.cpp with 95% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test12/testinfo.dat [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf/test12/testinfo.dat with 64% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test13/CMakeLists.txt [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf/test13/CMakeLists.txt with 100% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test13/test13.cpp [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf/test13/test13.cpp with 95% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test13/testinfo.dat [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf/test13/testinfo.dat with 64% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test14/CMakeLists.txt [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf/test14/CMakeLists.txt with 100% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test14/test14.cpp [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf/test14/test14.cpp with 96% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test14/testinfo.dat [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf/test14/testinfo.dat with 62% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test15/CMakeLists.txt [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf/test15/CMakeLists.txt with 100% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test15/test15.cpp [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf/test15/test15.cpp with 96% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test15/testinfo.dat [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf/test15/testinfo.dat with 62% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test16/CMakeLists.txt [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf/test16/CMakeLists.txt with 100% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test16/test16.cpp [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf/test16/test16.cpp with 96% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test16/testinfo.dat [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf/test16/testinfo.dat with 63% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test17/CMakeLists.txt [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf/test17/CMakeLists.txt with 100% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test17/test17.cpp [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf/test17/test17.cpp with 96% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test17/testinfo.dat [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf/test17/testinfo.dat with 62% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test18/CMakeLists.txt [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf/test18/CMakeLists.txt with 100% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test18/test18.cpp [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf/test18/test18.cpp with 96% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test18/testinfo.dat [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf/test18/testinfo.dat with 62% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test19/CMakeLists.txt [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf/test19/CMakeLists.txt with 100% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test19/test19.cpp [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf/test19/test19.cpp with 96% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test19/testinfo.dat [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf/test19/testinfo.dat with 63% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test2/CMakeLists.txt [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf/test2/CMakeLists.txt with 100% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test2/test2.cpp [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf/test2/test2.cpp with 94% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test2/testinfo.dat [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf/test2/testinfo.dat with 66% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test3/CMakeLists.txt [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf/test3/CMakeLists.txt with 100% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test3/test3.cpp [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf/test3/test3.cpp with 94% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test3/testinfo.dat [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf/test3/testinfo.dat with 65% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test4/CMakeLists.txt [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf/test4/CMakeLists.txt with 100% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test4/test4.cpp [new file with mode: 0644]
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test4/testinfo.dat [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf/test4/testinfo.dat with 65% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test6/CMakeLists.txt [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf/test6/CMakeLists.txt with 100% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test6/test6.cpp [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf/test6/test6.cpp with 94% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test6/testinfo.dat [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf/test6/testinfo.dat with 65% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test7/CMakeLists.txt [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf/test7/CMakeLists.txt with 100% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test7/test7.cpp [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf/test7/test7.cpp with 94% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test7/testinfo.dat [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf/test7/testinfo.dat with 65% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test8/CMakeLists.txt [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf/test8/CMakeLists.txt with 100% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test8/test8.cpp [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf/test8/test8.cpp with 95% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test8/testinfo.dat [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf/test8/testinfo.dat with 65% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test9/CMakeLists.txt [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf/test9/CMakeLists.txt with 100% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test9/test9.cpp [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf/test9/test9.cpp with 95% similarity]
src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf_s/test9/testinfo.dat [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_vsnwprintf/test9/testinfo.dat with 65% similarity]
src/coreclr/src/pal/tests/palsuite/paltestlist.txt
src/coreclr/src/pal/tests/palsuite/paltestlist_to_be_reviewed.txt
src/coreclr/src/pal/tests/palsuite/palverify.dat
src/coreclr/src/pal/tests/palsuite/threading/OpenEventW/test3/test3.cpp
src/coreclr/src/pal/tests/palsuite/threading/WaitForMultipleObjectsEx/test5/helper.cpp
src/coreclr/src/pal/tests/palsuite/threading/WaitForMultipleObjectsEx/test5/test5.cpp
src/coreclr/src/pal/tests/palsuite/threading/WaitForMultipleObjectsEx/test6/child6.cpp
src/coreclr/src/pal/tests/palsuite/threading/WaitForMultipleObjectsEx/test6/test6.cpp
src/coreclr/src/utilcode/sstring.cpp
src/coreclr/src/vm/codeman.cpp