mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-02-08 21:38:40 -06:00
nodes: Added support for nested, shareable, custom data processor nodes
This commit is contained in:
@@ -20,10 +20,12 @@ namespace hex::plugin::windows {
|
||||
// Explicitly trigger a segfault by writing to an invalid memory location
|
||||
// Used for debugging crashes
|
||||
*reinterpret_cast<u8 *>(0x10) = 0x10;
|
||||
std::unreachable();
|
||||
} else if (ImGui::GetIO().KeyShift) {
|
||||
// Explicitly trigger an abort by throwing an uncaught exception
|
||||
// Used for debugging exception errors
|
||||
throw std::runtime_error("Debug Error");
|
||||
std::unreachable();
|
||||
} else {
|
||||
hex::openWebpage("https://imhex.werwolv.net/debug");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user