Fabcoin Core  0.16.2
P2P Digital Currency
Macros
trap.h File Reference

Debugging and diagnostic assertions. More...

#include "config.h"
Include dependency graph for trap.h:
This graph shows which files directly or indirectly include this file:

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. Unlike Posix assert, NDEBUG (or failure to define it) does not affect the library. The traditional Posix define NDEBUG has no effect on CRYPTOPP_DEBUG or DebugTrapHandler.

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

Definition in file trap.h.

Macro Definition Documentation

#define CRYPTOPP_ASSERT (   exp)    (void)0

Definition at line 92 of file trap.h.