summaryrefslogtreecommitdiff
path: root/trap.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix DebugTrapHandlerJeffrey Walton2020-12-071-2/+2
| | | | The class should have used SIGTRAP, not SIGILL
* Update documentationJeffrey Walton2020-12-061-64/+64
|
* Flush cout before printing to cerr in ASSERTJeffrey Walton2020-04-061-0/+2
|
* Clear Doxygen warning (GH #791)Jeffrey Walton2019-01-311-4/+4
|
* Whitespace check-inJeffrey Walton2019-01-311-14/+15
|
* Whitespace check-inJeffrey Walton2019-01-311-19/+26
|
* Whitespace check-inJeffrey Walton2019-01-311-18/+27
|
* Fix clang warnings in headers (#655)Marcel Raad2018-05-101-4/+4
| | | | | | | | | | * remove superfluous semicolon * Remove C-style casts from public headers clang warns about them with -Wold-style-cast. It also warns about implicitly casting away const with -Wcast-qual. Fix both by removing unnecessary casts and converting the remaining ones to C++ casts.
* Change Doxygen comment style from //! to ///Jeffrey Walton2017-11-291-72/+72
| | | | Also see https://groups.google.com/forum/#!topic/cryptopp-users/A7-Xt5Knlzw
* Remove calls to cout.flush() for AppVeyorJeffrey Walton2017-05-291-4/+3
| | | | | They seemed to produce a hang when running self tests in AppVeyor. Also use IsDebuggerPresent() to determine when we should call DebugBreak(). The OS killed our debug build when fuzzing caused an assert to fail
* Remove extra preamble for copyright.Jeffrey Walton2017-02-211-1/+0
| | | | Similar text may be added in the future
* Replace assert with void instructionPaweł Bylica2017-01-041-1/+1
| | | In release builds replace assert with void instruction `(void)0`. Otherwise in some places you will end up with statements like `if (...) ;` and some compiler will complain about it.
* Add NIST_DRBG::Err class. Add additional checking per SP 800-90A. Update ↵Jeffrey Walton2017-01-011-2/+2
| | | | documentation
* spelling fixesklemens2016-12-271-2/+2
|
* Updated CRYPTOPP_ASSERT based on commentsJeffrey Walton2016-10-171-5/+5
| | | | Also see https://github.com/weidai11/cryptopp/commit/399a1546de71f41598c15edada28e7f0d616f541#commitcomment-19448453
* Fix Cygwin Newlib signal handler (Issue 315)Jeffrey Walton2016-10-141-5/+5
|
* Moves <ossig.h> include into Linux and Unix sectionJeffrey Walton2016-09-181-2/+1
|
* Guard inclusion of <intrin.h> with VS2005 and aboveJeffrey Walton2016-09-171-2/+4
|
* Use __debugbreak rather than DebugBreak on WindowsJeffrey Walton2016-09-171-4/+5
| | | | Also see "How to get a declaration for DebugBreak without including Windows.h?" (http://stackoverflow.com/q/39551229) on Stack Overflow
* Add ossig.h. Move SignalHandler to ossig.hJeffrey Walton2016-09-171-40/+7
| | | | This avoids a circular dependency between misc.h and trap.h. It also allows us to logically segregate and group code to replace C++ handlers, like set_terminate
* Add CRYPTOPP_ASSERT (Issue 277, CVE-2016-7420)Jeffrey Walton2016-09-161-26/+132
| | | | trap.h and CRYPTOPP_ASSERT has existed for over a year in Master. We deferred on the cut-over waiting for a minor version bump (5.7). We have to use it now due to CVE-2016-7420
* Add changes for Windows Sotre that went missing with my clumsy Git skillsJeffrey Walton2016-05-091-0/+6
|
* Removed _WIN32_WINNT define (Issue 166)Jeffrey Walton2016-04-281-6/+0
|
* Switched to DebugBreak() for Windows machines to snap the debugger and allow ↵Jeffrey Walton2015-08-031-15/+45
| | | | a continue
* Whitespace checkinJeffrey Walton2015-07-301-1/+1
|
* Added comment about test.cpp and DebugTrapHandler for example codeJeffrey Walton2015-07-261-1/+5
|
* Added CRYPTOPP_ASSERT (but its not cut-in yet). It required another file ↵Jeffrey Walton2015-07-221-0/+37
because misc.h needed it. (The other options were to force it into misc.h early or drop it in config.h)