ptos: bugcheck: Add BUGCHECK_BAD_FREE reason
Signed-off-by: Chloe M <chloe@mensia.org>
This commit is contained in:
@@ -21,6 +21,7 @@
|
|||||||
* @BUGCHECK_EXCEPTION: Fatal exception
|
* @BUGCHECK_EXCEPTION: Fatal exception
|
||||||
* @BUGCHECK_IRQL_NOT_GTE: IRQL not greater than or equal
|
* @BUGCHECK_IRQL_NOT_GTE: IRQL not greater than or equal
|
||||||
* @BUGCHECK_IRQL_NOT_LTE: IRQL not less than or equal
|
* @BUGCHECK_IRQL_NOT_LTE: IRQL not less than or equal
|
||||||
|
* @BUGCHECK_BAD_FREE: Bad free operation
|
||||||
*/
|
*/
|
||||||
typedef enum {
|
typedef enum {
|
||||||
BUGCHECK_MISC,
|
BUGCHECK_MISC,
|
||||||
@@ -29,7 +30,8 @@ typedef enum {
|
|||||||
BUGCHECK_UNBOUND_RESRC,
|
BUGCHECK_UNBOUND_RESRC,
|
||||||
BUGCHECK_EXCEPTION,
|
BUGCHECK_EXCEPTION,
|
||||||
BUGCHECK_IRQL_NOT_GTE,
|
BUGCHECK_IRQL_NOT_GTE,
|
||||||
BUGCHECK_IRQL_NOT_LTE
|
BUGCHECK_IRQL_NOT_LTE,
|
||||||
|
BUGCHECK_BAD_FREE
|
||||||
} BUGCHECK_REASON;
|
} BUGCHECK_REASON;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@@ -38,7 +38,8 @@ static CHAR *ReasonTable[] = {
|
|||||||
[BUGCHECK_UNBOUND_RESRC] = "unbounded resource",
|
[BUGCHECK_UNBOUND_RESRC] = "unbounded resource",
|
||||||
[BUGCHECK_EXCEPTION] = "fatal exception",
|
[BUGCHECK_EXCEPTION] = "fatal exception",
|
||||||
[BUGCHECK_IRQL_NOT_GTE] = "irql not greater than or equal",
|
[BUGCHECK_IRQL_NOT_GTE] = "irql not greater than or equal",
|
||||||
[BUGCHECK_IRQL_NOT_LTE] = "irql not less than or equal"
|
[BUGCHECK_IRQL_NOT_LTE] = "irql not less than or equal",
|
||||||
|
[BUGCHECK_BAD_FREE] = "bad free"
|
||||||
};
|
};
|
||||||
|
|
||||||
VOID
|
VOID
|
||||||
|
|||||||
Reference in New Issue
Block a user