chsvlib
chsv helper source code

◆ verify_security_constraint

#define verify_security_constraint (   cond)    ((cond)?true:(RESOLVE_NAMESPACE(Chusov) apply_security_constraint_verification_proc(__FILE__, __LINE__, __func__), false))

#include <chsverr.h>

Assertion alias used in functions implementing secure C extensions as defined in ISO-IEC TR 24731-1. Such assertions are generated when a caller violates runtime constraints defined in the specification. The macro is given to allow disabling the assertion during debug. If the assertion succeeds, the returned evaluated predicate is true.

Parameters
condA conditional expression to assert.
See also
set_thread_security_constraint_violation_procedure.