XNU Image Fuzzer 1.8.2
Documentation for XNU Image Fuzzer
Loading...
Searching...
No Matches
Usage

Asserts a condition and logs a custom message upon failure.

Asserts a condition and logs a custom message upon failure.Use the AssertWithMessage macro to assert conditions and provide immediate feedback with a custom message if the condition is false. This macro logs the assertion and message before performing a standard assert.

Parameters
conditionThe condition to evaluate.
messageThe custom message to log if the assertion fails.

:

AssertWithMessage(x > 0, "x must be greater than 0");
#define AssertWithMessage(condition, message,...)