MCPcopy Create free account
hub / github.com/GJDuck/e9patch / e9panic

Function e9panic

src/e9patch/e9loader_pe.cpp:201–210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199#define INVALID_HANDLE_VALUE ((void *)(-1))
200
201static inline void e9panic(void)
202{
203 asm volatile (
204 "mov $0x7, %ecx\n" // FAST_FAIL_FATAL_APP_EXIT
205 "int $0x29" // __fast_fail
206 );
207 while (true)
208 asm volatile ("ud2");
209 __builtin_unreachable();
210}
211
212/*
213 * Write an error message and exit.

Callers 1

e9loaderFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected