Security Scol plugin
Macros
trap.h File Reference

Debugging and diagnostic assertions. More...

#include "config.h"

Go to the source code of this file.

Macros

#define CRYPTOPP_ASSERT(exp)   (void)0
 

Detailed Description

Debugging and diagnostic assertions.

CRYPTOPP_ASSERT is the library's debugging and diagnostic assertion. CRYPTOPP_ASSERT is enabled by CRYPTOPP_DEBUG, DEBUG or _DEBUG.

CRYPTOPP_ASSERT raises a SIGTRAP (Unix) or calls DebugBreak() (Windows).

CRYPTOPP_ASSERT is only in effect when the user requests a debug configuration. NDEBUG (or failure to define it) does not affect CRYPTOPP_ASSERT.

Since
Crypto++ 5.6.5
See also
DebugTrapHandler, Issue 277, CVE-2016-7420

Definition in file trap.h.

Macro Definition Documentation

◆ CRYPTOPP_ASSERT

#define CRYPTOPP_ASSERT (   exp)    (void)0

Definition at line 101 of file trap.h.