add coredump tools

This commit is contained in:
2023-09-20 22:26:39 +08:00
parent 0bc99d6f39
commit 01d1f0a250
8 changed files with 574 additions and 23 deletions

View File

@ -442,7 +442,8 @@ namespace Unvirt::Context {
void Unvirt::Context::UnvirtContext::ProcTest(const CmdHelper::ArgumentsMap* amap) {
#if defined(LIBCMO_BUILD_DEBUG)
// MARK: Add the debug code here.
char p = 0;
char a = 1 / p;
#else
PrintCommonError("Test command only available in Debug mode.");