Add Coverity modeling file
parent
6a13f4f308
commit
f61b9eda2e
|
|
@ -1,8 +1,12 @@
|
|||
The following are copy/paste instructions for invoking cov-build, building the library and submitting the artifacts for a scan.
|
||||
# coverity-linux.txt - Scan build submission instructions for Unix and Linux.
|
||||
# Written and placed in public domain by Jeffrey Walton and Uri Blumenthal.
|
||||
# Copyright assigned to Crypto++ project.
|
||||
#
|
||||
# The following are copy/paste instructions for invoking cov-build, building the library and submitting the artifacts for a scan.
|
||||
#
|
||||
# For more information see http://cryptopp.com/wiki/Coverity_Scan.
|
||||
|
||||
For more information see http://cryptopp.com/wiki/Coverity_Scan.
|
||||
|
||||
################################################################
|
||||
##################################################################
|
||||
|
||||
reset
|
||||
|
||||
|
|
@ -16,8 +20,11 @@ CXXFLAGS="-DNDEBUG -g2 -O3 -march=i686 -msse -msse2 -msse3 -mssse3 -mno-aes" cov
|
|||
|
||||
tar czvf cryptopp.tgz cov-int
|
||||
|
||||
set CRYPTOPP_COVERITY_TOKEN=XXXXXXXXXXXXXXXX
|
||||
COVERITY_SCAN_NAME="Rijndael-AliasedTable-SSE2-Linux-i686"
|
||||
curl --form token="$CRYPTOPP_COVERITY_TOKEN" \
|
||||
|
||||
curl
|
||||
--form token="$CRYPTOPP_COVERITY_TOKEN" \
|
||||
--form email=webmaster@cryptopp.com \
|
||||
--form file=@cryptopp.tgz \
|
||||
--form version="$COVERITY_SCAN_NAME" \
|
||||
|
|
|
|||
|
|
@ -1,8 +1,12 @@
|
|||
The following are copy/paste instructions for invoking cov-build, building the library and submitting the artifacts for a scan.
|
||||
# coverity-windows.txt - Scan build submission instructions for Unix and Linux.
|
||||
# Written and placed in public domain by Jeffrey Walton and Uri Blumenthal.
|
||||
# Copyright assigned to Crypto++ project.
|
||||
#
|
||||
# The following are copy/paste instructions for invoking cov-build, building the library and submitting the artifacts for a scan.
|
||||
#
|
||||
# For more information see http://cryptopp.com/wiki/Coverity_Scan.
|
||||
|
||||
For more information see http://cryptopp.com/wiki/Coverity_Scan.
|
||||
|
||||
################################################################
|
||||
##################################################################
|
||||
|
||||
cls
|
||||
|
||||
|
|
@ -22,4 +26,4 @@ curl.exe ^
|
|||
--form file=@cryptopp.zip ^
|
||||
--form version="%COVERITY_SCAN_NAME%" ^
|
||||
--form description="%COVERITY_SCAN_NAME%" ^
|
||||
https://scan.coverity.com/builds?project=Cryptopp
|
||||
https://scan.coverity.com/builds?project=Cryptopp
|
||||
|
|
|
|||
|
|
@ -0,0 +1,13 @@
|
|||
// cryptest-coverity.cpp - Coverity modeling file.
|
||||
// Written and placed in public domain by Jeffrey Walton and Uri Blumenthal.
|
||||
// Copyright assigned to Crypto++ project.
|
||||
//
|
||||
// For more information see http://cryptopp.com/wiki/Coverity_Scan.
|
||||
//
|
||||
// Also see https://scan.coverity.com/tune#what-is-model
|
||||
|
||||
///////////////////////////////////////////////////////////////////
|
||||
|
||||
void special_abort(const char* msg) {
|
||||
__coverity_panic__();
|
||||
}
|
||||
Loading…
Reference in New Issue