sys: HasDbgBreakPoint and flesh out IRP handlers (to return STATUS_INVALID_REQUEST)

This commit is contained in:
Bill Zissimopoulos
2015-11-17 23:11:47 -08:00
parent 5424692f7f
commit f52e36e76e
17 changed files with 71 additions and 20 deletions

View File

@ -30,9 +30,11 @@
#define FSP_DEBUGLOG(rfmt, r, fmt, ...) ((void)0)
#endif
#if DBG
BOOLEAN HasDbgBreakPoint(const char *Function);
const char *NtStatusSym(NTSTATUS Status);
#define FSP_ENTER_(...) \
try { DbgBreakPoint(); } except(EXCEPTION_EXECUTE_HANDLER) {}\
if (HasDbgBreakPoint(__FUNCTION__)) \
try { DbgBreakPoint(); } except(EXCEPTION_EXECUTE_HANDLER) {}\
__VA_ARGS__; \
try \
{