orc-0.4.38-2.fc41

List of Defects

Error: COMPILER_WARNING: [#def1]
orc-0.4.38-build/orc-0.4.38/examples/example1.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def2]
orc-0.4.38-build/orc-0.4.38/examples/example1.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: COMPILER_WARNING: [#def3]
orc-0.4.38-build/orc-0.4.38/examples/example2.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def4]
orc-0.4.38-build/orc-0.4.38/examples/example2.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: COMPILER_WARNING: [#def5]
orc-0.4.38-build/orc-0.4.38/examples/example3.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def6]
orc-0.4.38-build/orc-0.4.38/examples/example3.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: CPPCHECK_WARNING: [#def7]
orc-0.4.38-build/orc-0.4.38/examples/mt19937ar.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def8]
orc-0.4.38-build/orc-0.4.38/examples/mt19937ar.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def9]
orc-0.4.38-build/orc-0.4.38/examples/mt19937ar.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: GCC_ANALYZER_WARNING (CWE-688): [#def10]
orc-0.4.38-build/orc-0.4.38/examples/mt19937ar.c: scope_hint: In function ‘orc_random_context_new’
orc-0.4.38-build/orc-0.4.38/examples/mt19937ar.c:157:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘context’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null
#  155|     OrcRandomContext *context;
#  156|     context = malloc(sizeof(OrcRandomContext));
#  157|->   memset (context, 0, sizeof(OrcRandomContext));
#  158|     context->mti = N+1;
#  159|     return context;

Error: COMPILER_WARNING: [#def11]
orc-0.4.38-build/orc-0.4.38/examples/volscale.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def12]
orc-0.4.38-build/orc-0.4.38/examples/volscale.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: CPPCHECK_WARNING: [#def13]
orc-0.4.38-build/orc-0.4.38/orc-test/orcarray.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def14]
orc-0.4.38-build/orc-0.4.38/orc-test/orcarray.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def15]
orc-0.4.38-build/orc-0.4.38/orc-test/orcarray.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: GCC_ANALYZER_WARNING (CWE-688): [#def16]
orc-0.4.38-build/orc-0.4.38/orc-test/orcarray.c: scope_hint: In function ‘orc_array_new’
orc-0.4.38-build/orc-0.4.38/orc-test/orcarray.c:50:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘ar’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null
#   48|   
#   49|     ar = malloc (sizeof(OrcArray));
#   50|->   memset (ar, 0, sizeof(OrcArray));
#   51|   
#   52|     ar->n = n;

Error: CPPCHECK_WARNING (CWE-758): [#def17]
orc-0.4.38-build/orc-0.4.38/orc-test/orcarray.c:114: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  112|   
#  113|   static const orc_uint32 special_floats[] = {
#  114|->   CREATE_FLOAT(0,0,0), /* 0 */
#  115|     CREATE_FLOAT(1,0,0), /* -0 */
#  116|     CREATE_FLOAT(0,126,0), /* 0.5 */

Error: CPPCHECK_WARNING (CWE-758): [#def18]
orc-0.4.38-build/orc-0.4.38/orc-test/orcarray.c:115: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  113|   static const orc_uint32 special_floats[] = {
#  114|     CREATE_FLOAT(0,0,0), /* 0 */
#  115|->   CREATE_FLOAT(1,0,0), /* -0 */
#  116|     CREATE_FLOAT(0,126,0), /* 0.5 */
#  117|     CREATE_FLOAT(0,127,0), /* 1 */

Error: CPPCHECK_WARNING (CWE-758): [#def19]
orc-0.4.38-build/orc-0.4.38/orc-test/orcarray.c:116: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  114|     CREATE_FLOAT(0,0,0), /* 0 */
#  115|     CREATE_FLOAT(1,0,0), /* -0 */
#  116|->   CREATE_FLOAT(0,126,0), /* 0.5 */
#  117|     CREATE_FLOAT(0,127,0), /* 1 */
#  118|     CREATE_FLOAT(0,128,0), /* 2 */

Error: CPPCHECK_WARNING (CWE-758): [#def20]
orc-0.4.38-build/orc-0.4.38/orc-test/orcarray.c:117: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  115|     CREATE_FLOAT(1,0,0), /* -0 */
#  116|     CREATE_FLOAT(0,126,0), /* 0.5 */
#  117|->   CREATE_FLOAT(0,127,0), /* 1 */
#  118|     CREATE_FLOAT(0,128,0), /* 2 */
#  119|     CREATE_FLOAT(1,126,0), /* -0.5 */

Error: CPPCHECK_WARNING (CWE-758): [#def21]
orc-0.4.38-build/orc-0.4.38/orc-test/orcarray.c:118: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  116|     CREATE_FLOAT(0,126,0), /* 0.5 */
#  117|     CREATE_FLOAT(0,127,0), /* 1 */
#  118|->   CREATE_FLOAT(0,128,0), /* 2 */
#  119|     CREATE_FLOAT(1,126,0), /* -0.5 */
#  120|     CREATE_FLOAT(1,127,0), /* -1 */

Error: CPPCHECK_WARNING (CWE-758): [#def22]
orc-0.4.38-build/orc-0.4.38/orc-test/orcarray.c:119: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  117|     CREATE_FLOAT(0,127,0), /* 1 */
#  118|     CREATE_FLOAT(0,128,0), /* 2 */
#  119|->   CREATE_FLOAT(1,126,0), /* -0.5 */
#  120|     CREATE_FLOAT(1,127,0), /* -1 */
#  121|     CREATE_FLOAT(1,128,0), /* -2 */

Error: CPPCHECK_WARNING (CWE-758): [#def23]
orc-0.4.38-build/orc-0.4.38/orc-test/orcarray.c:120: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  118|     CREATE_FLOAT(0,128,0), /* 2 */
#  119|     CREATE_FLOAT(1,126,0), /* -0.5 */
#  120|->   CREATE_FLOAT(1,127,0), /* -1 */
#  121|     CREATE_FLOAT(1,128,0), /* -2 */
#  122|     CREATE_FLOAT(0,255,0), /* infinity */

Error: CPPCHECK_WARNING (CWE-758): [#def24]
orc-0.4.38-build/orc-0.4.38/orc-test/orcarray.c:121: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  119|     CREATE_FLOAT(1,126,0), /* -0.5 */
#  120|     CREATE_FLOAT(1,127,0), /* -1 */
#  121|->   CREATE_FLOAT(1,128,0), /* -2 */
#  122|     CREATE_FLOAT(0,255,0), /* infinity */
#  123|     CREATE_FLOAT(1,255,0), /* -infinity */

Error: CPPCHECK_WARNING (CWE-758): [#def25]
orc-0.4.38-build/orc-0.4.38/orc-test/orcarray.c:122: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  120|     CREATE_FLOAT(1,127,0), /* -1 */
#  121|     CREATE_FLOAT(1,128,0), /* -2 */
#  122|->   CREATE_FLOAT(0,255,0), /* infinity */
#  123|     CREATE_FLOAT(1,255,0), /* -infinity */
#  124|     CREATE_FLOAT(0,255,1), /* nan */

Error: CPPCHECK_WARNING (CWE-758): [#def26]
orc-0.4.38-build/orc-0.4.38/orc-test/orcarray.c:123: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  121|     CREATE_FLOAT(1,128,0), /* -2 */
#  122|     CREATE_FLOAT(0,255,0), /* infinity */
#  123|->   CREATE_FLOAT(1,255,0), /* -infinity */
#  124|     CREATE_FLOAT(0,255,1), /* nan */
#  125|     CREATE_FLOAT(1,255,1), /* -nan */

Error: CPPCHECK_WARNING (CWE-758): [#def27]
orc-0.4.38-build/orc-0.4.38/orc-test/orcarray.c:124: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  122|     CREATE_FLOAT(0,255,0), /* infinity */
#  123|     CREATE_FLOAT(1,255,0), /* -infinity */
#  124|->   CREATE_FLOAT(0,255,1), /* nan */
#  125|     CREATE_FLOAT(1,255,1), /* -nan */
#  126|     CREATE_FLOAT(0,0,1), /* denormal */

Error: CPPCHECK_WARNING (CWE-758): [#def28]
orc-0.4.38-build/orc-0.4.38/orc-test/orcarray.c:125: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  123|     CREATE_FLOAT(1,255,0), /* -infinity */
#  124|     CREATE_FLOAT(0,255,1), /* nan */
#  125|->   CREATE_FLOAT(1,255,1), /* -nan */
#  126|     CREATE_FLOAT(0,0,1), /* denormal */
#  127|     CREATE_FLOAT(1,0,1), /* -denormal */

Error: CPPCHECK_WARNING (CWE-758): [#def29]
orc-0.4.38-build/orc-0.4.38/orc-test/orcarray.c:126: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  124|     CREATE_FLOAT(0,255,1), /* nan */
#  125|     CREATE_FLOAT(1,255,1), /* -nan */
#  126|->   CREATE_FLOAT(0,0,1), /* denormal */
#  127|     CREATE_FLOAT(1,0,1), /* -denormal */
#  128|     CREATE_FLOAT(0,127+31,0), /* MAX_INT+1 */

Error: CPPCHECK_WARNING (CWE-758): [#def30]
orc-0.4.38-build/orc-0.4.38/orc-test/orcarray.c:127: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  125|     CREATE_FLOAT(1,255,1), /* -nan */
#  126|     CREATE_FLOAT(0,0,1), /* denormal */
#  127|->   CREATE_FLOAT(1,0,1), /* -denormal */
#  128|     CREATE_FLOAT(0,127+31,0), /* MAX_INT+1 */
#  129|     CREATE_FLOAT(0,127+30,0x7fffff), /* largest float < MAX_INT */

Error: CPPCHECK_WARNING (CWE-758): [#def31]
orc-0.4.38-build/orc-0.4.38/orc-test/orcarray.c:128: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  126|     CREATE_FLOAT(0,0,1), /* denormal */
#  127|     CREATE_FLOAT(1,0,1), /* -denormal */
#  128|->   CREATE_FLOAT(0,127+31,0), /* MAX_INT+1 */
#  129|     CREATE_FLOAT(0,127+30,0x7fffff), /* largest float < MAX_INT */
#  130|     CREATE_FLOAT(0,127+23,0x7fffff), /* largest non-integer float */

Error: CPPCHECK_WARNING (CWE-758): [#def32]
orc-0.4.38-build/orc-0.4.38/orc-test/orcarray.c:129: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  127|     CREATE_FLOAT(1,0,1), /* -denormal */
#  128|     CREATE_FLOAT(0,127+31,0), /* MAX_INT+1 */
#  129|->   CREATE_FLOAT(0,127+30,0x7fffff), /* largest float < MAX_INT */
#  130|     CREATE_FLOAT(0,127+23,0x7fffff), /* largest non-integer float */
#  131|     CREATE_FLOAT(1,127+31,0), /* MIN_INT */

Error: CPPCHECK_WARNING (CWE-758): [#def33]
orc-0.4.38-build/orc-0.4.38/orc-test/orcarray.c:130: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  128|     CREATE_FLOAT(0,127+31,0), /* MAX_INT+1 */
#  129|     CREATE_FLOAT(0,127+30,0x7fffff), /* largest float < MAX_INT */
#  130|->   CREATE_FLOAT(0,127+23,0x7fffff), /* largest non-integer float */
#  131|     CREATE_FLOAT(1,127+31,0), /* MIN_INT */
#  132|     CREATE_FLOAT(1,127+31,1), /* MIN_INT-1 */

Error: CPPCHECK_WARNING (CWE-758): [#def34]
orc-0.4.38-build/orc-0.4.38/orc-test/orcarray.c:131: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  129|     CREATE_FLOAT(0,127+30,0x7fffff), /* largest float < MAX_INT */
#  130|     CREATE_FLOAT(0,127+23,0x7fffff), /* largest non-integer float */
#  131|->   CREATE_FLOAT(1,127+31,0), /* MIN_INT */
#  132|     CREATE_FLOAT(1,127+31,1), /* MIN_INT-1 */
#  133|     CREATE_FLOAT(1,127+30,0x7fffff), /* largest float >= MIN_INT */

Error: CPPCHECK_WARNING (CWE-758): [#def35]
orc-0.4.38-build/orc-0.4.38/orc-test/orcarray.c:132: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  130|     CREATE_FLOAT(0,127+23,0x7fffff), /* largest non-integer float */
#  131|     CREATE_FLOAT(1,127+31,0), /* MIN_INT */
#  132|->   CREATE_FLOAT(1,127+31,1), /* MIN_INT-1 */
#  133|     CREATE_FLOAT(1,127+30,0x7fffff), /* largest float >= MIN_INT */
#  134|     CREATE_FLOAT(1,127+23,0x7fffff), /* (negative) largest non-integer float */

Error: CPPCHECK_WARNING (CWE-758): [#def36]
orc-0.4.38-build/orc-0.4.38/orc-test/orcarray.c:133: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  131|     CREATE_FLOAT(1,127+31,0), /* MIN_INT */
#  132|     CREATE_FLOAT(1,127+31,1), /* MIN_INT-1 */
#  133|->   CREATE_FLOAT(1,127+30,0x7fffff), /* largest float >= MIN_INT */
#  134|     CREATE_FLOAT(1,127+23,0x7fffff), /* (negative) largest non-integer float */
#  135|     CREATE_FLOAT(0,127+14,(32767-16384)<<(23-14)), /* 32767 */

Error: CPPCHECK_WARNING (CWE-758): [#def37]
orc-0.4.38-build/orc-0.4.38/orc-test/orcarray.c:134: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  132|     CREATE_FLOAT(1,127+31,1), /* MIN_INT-1 */
#  133|     CREATE_FLOAT(1,127+30,0x7fffff), /* largest float >= MIN_INT */
#  134|->   CREATE_FLOAT(1,127+23,0x7fffff), /* (negative) largest non-integer float */
#  135|     CREATE_FLOAT(0,127+14,(32767-16384)<<(23-14)), /* 32767 */
#  136|     CREATE_FLOAT(0,127+15,(0)<<(23-15)), /* 32768 */

Error: CPPCHECK_WARNING (CWE-758): [#def38]
orc-0.4.38-build/orc-0.4.38/orc-test/orcarray.c:135: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  133|     CREATE_FLOAT(1,127+30,0x7fffff), /* largest float >= MIN_INT */
#  134|     CREATE_FLOAT(1,127+23,0x7fffff), /* (negative) largest non-integer float */
#  135|->   CREATE_FLOAT(0,127+14,(32767-16384)<<(23-14)), /* 32767 */
#  136|     CREATE_FLOAT(0,127+15,(0)<<(23-15)), /* 32768 */
#  137|     CREATE_FLOAT(0,127+15,(1)<<(23-15)), /* -32769 */

Error: CPPCHECK_WARNING (CWE-758): [#def39]
orc-0.4.38-build/orc-0.4.38/orc-test/orcarray.c:136: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  134|     CREATE_FLOAT(1,127+23,0x7fffff), /* (negative) largest non-integer float */
#  135|     CREATE_FLOAT(0,127+14,(32767-16384)<<(23-14)), /* 32767 */
#  136|->   CREATE_FLOAT(0,127+15,(0)<<(23-15)), /* 32768 */
#  137|     CREATE_FLOAT(0,127+15,(1)<<(23-15)), /* -32769 */
#  138|     CREATE_FLOAT(1,127+14,(32767-16384)<<(23-14)), /* -32767 */

Error: CPPCHECK_WARNING (CWE-758): [#def40]
orc-0.4.38-build/orc-0.4.38/orc-test/orcarray.c:137: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  135|     CREATE_FLOAT(0,127+14,(32767-16384)<<(23-14)), /* 32767 */
#  136|     CREATE_FLOAT(0,127+15,(0)<<(23-15)), /* 32768 */
#  137|->   CREATE_FLOAT(0,127+15,(1)<<(23-15)), /* -32769 */
#  138|     CREATE_FLOAT(1,127+14,(32767-16384)<<(23-14)), /* -32767 */
#  139|     CREATE_FLOAT(1,127+15,(0)<<(23-15)), /* -32768 */

Error: CPPCHECK_WARNING (CWE-758): [#def41]
orc-0.4.38-build/orc-0.4.38/orc-test/orcarray.c:138: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  136|     CREATE_FLOAT(0,127+15,(0)<<(23-15)), /* 32768 */
#  137|     CREATE_FLOAT(0,127+15,(1)<<(23-15)), /* -32769 */
#  138|->   CREATE_FLOAT(1,127+14,(32767-16384)<<(23-14)), /* -32767 */
#  139|     CREATE_FLOAT(1,127+15,(0)<<(23-15)), /* -32768 */
#  140|     CREATE_FLOAT(1,127+15,(1)<<(23-15)), /* -32769 */

Error: CPPCHECK_WARNING (CWE-758): [#def42]
orc-0.4.38-build/orc-0.4.38/orc-test/orcarray.c:139: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  137|     CREATE_FLOAT(0,127+15,(1)<<(23-15)), /* -32769 */
#  138|     CREATE_FLOAT(1,127+14,(32767-16384)<<(23-14)), /* -32767 */
#  139|->   CREATE_FLOAT(1,127+15,(0)<<(23-15)), /* -32768 */
#  140|     CREATE_FLOAT(1,127+15,(1)<<(23-15)), /* -32769 */
#  141|     CREATE_FLOAT(0,127+4,(27-16)<<(23-4)), /* 27 */

Error: CPPCHECK_WARNING (CWE-758): [#def43]
orc-0.4.38-build/orc-0.4.38/orc-test/orcarray.c:140: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  138|     CREATE_FLOAT(1,127+14,(32767-16384)<<(23-14)), /* -32767 */
#  139|     CREATE_FLOAT(1,127+15,(0)<<(23-15)), /* -32768 */
#  140|->   CREATE_FLOAT(1,127+15,(1)<<(23-15)), /* -32769 */
#  141|     CREATE_FLOAT(0,127+4,(27-16)<<(23-4)), /* 27 */
#  142|     CREATE_FLOAT(0,127+4,(28-16)<<(23-4)), /* 28 */

Error: CPPCHECK_WARNING (CWE-758): [#def44]
orc-0.4.38-build/orc-0.4.38/orc-test/orcarray.c:141: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  139|     CREATE_FLOAT(1,127+15,(0)<<(23-15)), /* -32768 */
#  140|     CREATE_FLOAT(1,127+15,(1)<<(23-15)), /* -32769 */
#  141|->   CREATE_FLOAT(0,127+4,(27-16)<<(23-4)), /* 27 */
#  142|     CREATE_FLOAT(0,127+4,(28-16)<<(23-4)), /* 28 */
#  143|     CREATE_FLOAT(0,127+4,(29-16)<<(23-4)), /* 29 */

Error: CPPCHECK_WARNING (CWE-758): [#def45]
orc-0.4.38-build/orc-0.4.38/orc-test/orcarray.c:142: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  140|     CREATE_FLOAT(1,127+15,(1)<<(23-15)), /* -32769 */
#  141|     CREATE_FLOAT(0,127+4,(27-16)<<(23-4)), /* 27 */
#  142|->   CREATE_FLOAT(0,127+4,(28-16)<<(23-4)), /* 28 */
#  143|     CREATE_FLOAT(0,127+4,(29-16)<<(23-4)), /* 29 */
#  144|     CREATE_FLOAT(0,127+4,(30-16)<<(23-4)), /* 30 */

Error: CPPCHECK_WARNING (CWE-758): [#def46]
orc-0.4.38-build/orc-0.4.38/orc-test/orcarray.c:143: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  141|     CREATE_FLOAT(0,127+4,(27-16)<<(23-4)), /* 27 */
#  142|     CREATE_FLOAT(0,127+4,(28-16)<<(23-4)), /* 28 */
#  143|->   CREATE_FLOAT(0,127+4,(29-16)<<(23-4)), /* 29 */
#  144|     CREATE_FLOAT(0,127+4,(30-16)<<(23-4)), /* 30 */
#  145|     CREATE_FLOAT(0,127+4,(31-16)<<(23-4)), /* 31 */

Error: CPPCHECK_WARNING (CWE-758): [#def47]
orc-0.4.38-build/orc-0.4.38/orc-test/orcarray.c:144: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  142|     CREATE_FLOAT(0,127+4,(28-16)<<(23-4)), /* 28 */
#  143|     CREATE_FLOAT(0,127+4,(29-16)<<(23-4)), /* 29 */
#  144|->   CREATE_FLOAT(0,127+4,(30-16)<<(23-4)), /* 30 */
#  145|     CREATE_FLOAT(0,127+4,(31-16)<<(23-4)), /* 31 */
#  146|   };

Error: CPPCHECK_WARNING (CWE-758): [#def48]
orc-0.4.38-build/orc-0.4.38/orc-test/orcarray.c:145: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  143|     CREATE_FLOAT(0,127+4,(29-16)<<(23-4)), /* 29 */
#  144|     CREATE_FLOAT(0,127+4,(30-16)<<(23-4)), /* 30 */
#  145|->   CREATE_FLOAT(0,127+4,(31-16)<<(23-4)), /* 31 */
#  146|   };
#  147|   

Error: COMPILER_WARNING: [#def49]
orc-0.4.38-build/orc-0.4.38/orc-test/orcprofile.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def50]
orc-0.4.38-build/orc-0.4.38/orc-test/orcprofile.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: CPPCHECK_WARNING (CWE-786): [#def51]
orc-0.4.38-build/orc-0.4.38/orc-test/orcprofile.c:159: error[negativeIndex]: Array 'prof->hist_time[10]' accessed at index -1, which is out of bounds.
#  157|       ave = s / n;
#  158|       std = sqrt (s2 - s * s / n + n*n) / (n-1);
#  159|->     off = (prof->hist_time[max_i] - ave)/std;
#  160|   
#  161|       if (off > 4.0) {

Error: COMPILER_WARNING: [#def52]
orc-0.4.38-build/orc-0.4.38/orc-test/orcrandom.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def53]
orc-0.4.38-build/orc-0.4.38/orc-test/orcrandom.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: CPPCHECK_WARNING: [#def54]
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def55]
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def56]
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: CLANG_WARNING: [#def57]
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c:136:3: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
#  134|   
#  135|     file = fopen (dump_filename, "w");
#  136|->   ret = fwrite(p->orccode->code, p->orccode->code_size, 1, file);
#  137|     fclose (file);
#  138|   

Error: CLANG_WARNING: [#def58]
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c:259:3: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
#  257|   
#  258|     file = fopen (dump_filename, "w");
#  259|->   ret = fwrite(p->orccode->code, p->orccode->code_size, 1, file);
#  260|     fclose (file);
#  261|   

Error: CLANG_WARNING: [#def59]
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c:354:3: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
#  352|   
#  353|     file = fopen (dump_filename, "w");
#  354|->   ret = fwrite(p->orccode->code, p->orccode->code_size, 1, file);
#  355|     fclose (file);
#  356|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def60]
orc-0.4.38-build/orc-0.4.38/orc/orc.h:5: included_from: Included from here.
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.h:5: included_from: Included from here.
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c:30: included_from: Included from here.
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c: scope_hint: In function ‘print_array_val_signed’
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c:457:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘array’
orc-0.4.38-build/orc-0.4.38/orc/orcutils.h:124:65: note: in definition of macro ‘ORC_PTR_OFFSET’
orc-0.4.38-build/orc-0.4.38/orc/orc.h:7: included_from: Included from here.
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c:673:3: note: in expansion of macro ‘ORC_ASSERT’
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c:679:3: note: in expansion of macro ‘ORC_ASSERT’
orc-0.4.38-build/orc-0.4.38/orc/orcutils.h:124:65: note: in definition of macro ‘ORC_PTR_OFFSET’
#  455|   print_array_val_signed (OrcArray *array, int i, int j)
#  456|   {
#  457|->   void *ptr = ORC_PTR_OFFSET (array->data,
#  458|         i*array->element_size + j*array->stride);
#  459|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def61]
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c: scope_hint: In function ‘print_array_val_hex’
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c:536:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘array’
orc-0.4.38-build/orc-0.4.38/orc/orcutils.h:124:65: note: in definition of macro ‘ORC_PTR_OFFSET’
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c:673:3: note: in expansion of macro ‘ORC_ASSERT’
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c:679:3: note: in expansion of macro ‘ORC_ASSERT’
orc-0.4.38-build/orc-0.4.38/orc/orcutils.h:124:65: note: in definition of macro ‘ORC_PTR_OFFSET’
#  534|   print_array_val_hex (OrcArray *array, int i, int j)
#  535|   {
#  536|->   void *ptr = ORC_PTR_OFFSET (array->data,
#  537|         i*array->element_size + j*array->stride);
#  538|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def62]
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c: scope_hint: In function ‘print_array_val_float’
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c:561:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘array’
orc-0.4.38-build/orc-0.4.38/orc/orcutils.h:124:65: note: in definition of macro ‘ORC_PTR_OFFSET’
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c:673:3: note: in expansion of macro ‘ORC_ASSERT’
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c:679:3: note: in expansion of macro ‘ORC_ASSERT’
orc-0.4.38-build/orc-0.4.38/orc/orcutils.h:124:65: note: in definition of macro ‘ORC_PTR_OFFSET’
#  559|   print_array_val_float (OrcArray *array, int i, int j)
#  560|   {
#  561|->   void *ptr = ORC_PTR_OFFSET (array->data,
#  562|         i*array->element_size + j*array->stride);
#  563|   

Error: GCC_ANALYZER_WARNING (CWE-124): [#def63]
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c: scope_hint: In function ‘orc_test_compare_output_full_for_target’
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c:753:25: warning[-Wanalyzer-out-of-bounds]: stack-based buffer underwrite
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c:673:3: note: in expansion of macro ‘ORC_ASSERT’
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c:679:3: note: in expansion of macro ‘ORC_ASSERT’
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c:753:25: note: valid subscripts for ‘src’ are ‘[0]’ to ‘[7]’
#  751|   
#  752|       if (program->vars[i].vartype == ORC_VAR_TYPE_SRC) {
#  753|->       src[i-ORC_VAR_S1] = orc_array_new (n, m, program->vars[i].size,
#  754|             misalignment, program->vars[i].alignment);
#  755|         orc_array_set_random (src[i-ORC_VAR_S1], &rand_context);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def64]
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c:785:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c:673:3: note: in expansion of macro ‘ORC_ASSERT’
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c:679:3: note: in expansion of macro ‘ORC_ASSERT’
#  783|     for(i=0;i<ORC_N_VARIABLES;i++){
#  784|       if (program->vars[i].vartype == ORC_VAR_TYPE_DEST) {
#  785|->       orc_executor_set_array (ex, i, dest_exec[i-ORC_VAR_D1]->data);
#  786|         orc_executor_set_stride (ex, i, dest_exec[i-ORC_VAR_D1]->stride);
#  787|         have_dest = TRUE;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def65]
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c:790:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c:673:3: note: in expansion of macro ‘ORC_ASSERT’
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c:679:3: note: in expansion of macro ‘ORC_ASSERT’
#  788|       }
#  789|       if (program->vars[i].vartype == ORC_VAR_TYPE_SRC) {
#  790|->       orc_executor_set_array (ex, i, src[i-ORC_VAR_S1]->data);
#  791|         orc_executor_set_stride (ex, i, src[i-ORC_VAR_S1]->stride);
#  792|       }

Error: GCC_ANALYZER_WARNING (CWE-127): [#def66]
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c:790:41: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c:673:3: note: in expansion of macro ‘ORC_ASSERT’
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c:679:3: note: in expansion of macro ‘ORC_ASSERT’
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c:790:41: note: valid subscripts for ‘src’ are ‘[0]’ to ‘[7]’
#  └─────────────────────────────────────┘
#                     ^
#  788|       }
#  789|       if (program->vars[i].vartype == ORC_VAR_TYPE_SRC) {
#  790|->       orc_executor_set_array (ex, i, src[i-ORC_VAR_S1]->data);
#  791|         orc_executor_set_stride (ex, i, src[i-ORC_VAR_S1]->stride);
#  792|       }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def67]
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c:811:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c:673:3: note: in expansion of macro ‘ORC_ASSERT’
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c:679:3: note: in expansion of macro ‘ORC_ASSERT’
#  809|     for(i=0;i<ORC_N_VARIABLES;i++){
#  810|       if (program->vars[i].vartype == ORC_VAR_TYPE_DEST) {
#  811|->       orc_executor_set_array (ex, i, dest_emul[i]->data);
#  812|         orc_executor_set_stride (ex, i, dest_emul[i]->stride);
#  813|       }

Error: GCC_ANALYZER_WARNING (CWE-127): [#def68]
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c:815:40: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
orc-0.4.38-build/orc-0.4.38/orc/orcdebug.h:139:62: note: in definition of macro ‘ORC_DEBUG_PRINT’
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c:815:7: note: in expansion of macro ‘ORC_DEBUG’
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c:673:3: note: in expansion of macro ‘ORC_ASSERT’
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c:679:3: note: in expansion of macro ‘ORC_ASSERT’
orc-0.4.38-build/orc-0.4.38/orc/orcdebug.h:139:62: note: in definition of macro ‘ORC_DEBUG_PRINT’
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c:815:7: note: in expansion of macro ‘ORC_DEBUG’
orc-0.4.38-build/orc-0.4.38/orc/orcdebug.h:139:62: note: in definition of macro ‘ORC_DEBUG_PRINT’
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c:815:7: note: in expansion of macro ‘ORC_DEBUG’
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c:815:40: note: valid subscripts for ‘src’ are ‘[0]’ to ‘[7]’
orc-0.4.38-build/orc-0.4.38/orc/orcdebug.h:139:62: note: in definition of macro ‘ORC_DEBUG_PRINT’
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c:815:7: note: in expansion of macro ‘ORC_DEBUG’
#  └─────────────────────────────────────┘
#                     ^
#  813|       }
#  814|       if (program->vars[i].vartype == ORC_VAR_TYPE_SRC) {
#  815|->       ORC_DEBUG("setting array %p", src[i-ORC_VAR_S1]->data);
#  816|         orc_executor_set_array (ex, i, src[i-ORC_VAR_S1]->data);
#  817|         orc_executor_set_stride (ex, i, src[i-ORC_VAR_S1]->stride);

Error: GCC_ANALYZER_WARNING (CWE-127): [#def69]
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c:925:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c:673:3: note: in expansion of macro ‘ORC_ASSERT’
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c:679:3: note: in expansion of macro ‘ORC_ASSERT’
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c:925:19: note: valid subscripts for ‘src’ are ‘[0]’ to ‘[7]’
#  └─────────────────────────────────────┘
#                     ^
#  923|                 case ORC_VAR_TYPE_SRC:
#  924|                   if (flags & ORC_TEST_FLAGS_FLOAT) {
#  925|->                   print_array_val_float (src[k - ORC_VAR_S1], i, j);
#  926|                   } else {
#  927|                     print_array_val_signed (src[k - ORC_VAR_S1], i, j);

Error: GCC_ANALYZER_WARNING (CWE-127): [#def70]
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c:927:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c:673:3: note: in expansion of macro ‘ORC_ASSERT’
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c:679:3: note: in expansion of macro ‘ORC_ASSERT’
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c:927:19: note: valid subscripts for ‘src’ are ‘[0]’ to ‘[7]’
#  └─────────────────────────────────────┘
#                     ^
#  925|                     print_array_val_float (src[k - ORC_VAR_S1], i, j);
#  926|                   } else {
#  927|->                   print_array_val_signed (src[k - ORC_VAR_S1], i, j);
#  928|                   }
#  929|                   break;

Error: GCC_ANALYZER_WARNING (CWE-124): [#def71]
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c: scope_hint: In function ‘orc_test_performance_full’
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c:1198:25: warning[-Wanalyzer-out-of-bounds]: stack-based buffer underwrite
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c:1198:25: note: valid subscripts for ‘src’ are ‘[0]’ to ‘[7]’
# 1196|   
# 1197|       if (program->vars[i].vartype == ORC_VAR_TYPE_SRC) {
# 1198|->       src[i-ORC_VAR_S1] = orc_array_new (n, m, program->vars[i].size,
# 1199|             misalignment, program->vars[i].alignment);
# 1200|         orc_array_set_random (src[i-ORC_VAR_S1], &rand_context);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def72]
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c:1222:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 1220|       for(j=0;j<ORC_N_VARIABLES;j++){
# 1221|         if (program->vars[j].vartype == ORC_VAR_TYPE_DEST) {
# 1222|->         orc_executor_set_array (ex, j, dest_exec[j-ORC_VAR_D1]->data);
# 1223|           orc_executor_set_stride (ex, j, dest_exec[j-ORC_VAR_D1]->stride);
# 1224|         }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def73]
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c:1226:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
orc-0.4.38-build/orc-0.4.38/orc/orcdebug.h:107:24: note: in expansion of macro ‘ORC_DEBUG_PRINT’
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c:1215:3: note: in expansion of macro ‘ORC_DEBUG’
# 1224|         }
# 1225|         if (program->vars[j].vartype == ORC_VAR_TYPE_SRC) {
# 1226|->         orc_executor_set_array (ex, j, src[j-ORC_VAR_S1]->data);
# 1227|           orc_executor_set_stride (ex, j, src[j-ORC_VAR_S1]->stride);
# 1228|         }

Error: GCC_ANALYZER_WARNING (CWE-127): [#def74]
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c:1226:43: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c:1226:43: note: valid subscripts for ‘src’ are ‘[0]’ to ‘[7]’
#  └─────────────────────────────────────┘
#                     ^
# 1224|         }
# 1225|         if (program->vars[j].vartype == ORC_VAR_TYPE_SRC) {
# 1226|->         orc_executor_set_array (ex, j, src[j-ORC_VAR_S1]->data);
# 1227|           orc_executor_set_stride (ex, j, src[j-ORC_VAR_S1]->stride);
# 1228|         }

Error: GCC_ANALYZER_WARNING (CWE-688): [#def75]
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c: scope_hint: In function ‘orc_test_gcc_compile_mips’
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c:1301:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘fopen(&source_filename, "w")’ where non-null expected
<built-in>: note: argument 2 of ‘__builtin_fputs’ must be non-null
# 1299|   
# 1300|     file = fopen (source_filename, "w");
# 1301|->   fprintf(file, "%s", orc_target_get_preamble (target));
# 1302|     fprintf(file, "%s", orc_program_get_asm_code (p));
# 1303|     fclose (file);

Error: CLANG_WARNING: [#def76]
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c:1306:3: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
# 1304|   
# 1305|     file = fopen (dump_filename, "w");
# 1306|->   ret = fwrite(p->orccode->code, p->orccode->code_size, 1, file);
# 1307|     fclose (file);
# 1308|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def77]
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c:1306:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘fopen(&dump_filename, "w")’ where non-null expected
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c:38: included_from: Included from here.
/usr/include/stdio.h:735:15: note: argument 4 of ‘fwrite’ must be non-null
# 1304|   
# 1305|     file = fopen (dump_filename, "w");
# 1306|->   ret = fwrite(p->orccode->code, p->orccode->code_size, 1, file);
# 1307|     fclose (file);
# 1308|   

Error: CPPCHECK_WARNING: [#def78]
orc-0.4.38-build/orc-0.4.38/orc/generate-bytecode.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def79]
orc-0.4.38-build/orc-0.4.38/orc/generate-bytecode.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def80]
orc-0.4.38-build/orc-0.4.38/orc/generate-bytecode.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: CPPCHECK_WARNING: [#def81]
orc-0.4.38-build/orc-0.4.38/orc/generate-emulation.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def82]
orc-0.4.38-build/orc-0.4.38/orc/generate-emulation.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def83]
orc-0.4.38-build/orc-0.4.38/orc/generate-emulation.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: COMPILER_WARNING: [#def84]
orc-0.4.38-build/orc-0.4.38/orc/orc.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def85]
orc-0.4.38-build/orc-0.4.38/orc/orc.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: CPPCHECK_WARNING: [#def86]
orc-0.4.38-build/orc-0.4.38/orc/orcarm.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def87]
orc-0.4.38-build/orc-0.4.38/orc/orcarm.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def88]
orc-0.4.38-build/orc-0.4.38/orc/orcarm.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: CPPCHECK_WARNING (CWE-758): [#def89]
orc-0.4.38-build/orc-0.4.38/orc/orcarm.c:245: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  243|         x = -1;
#  244|         for(i=31;i>=0;i--){
#  245|->         if (regs & (1<<i)) {
#  246|             if (x != -1) {
#  247|               if (tmp_loads == 1) break;

Error: CPPCHECK_WARNING (CWE-758): [#def90]
orc-0.4.38-build/orc-0.4.38/orc/orcarm.c:1091: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1089|           snprintf (opt_rm, ARM64_MAX_OP_LEN, ", #%u", imm);
# 1090|   
# 1091|->       code = arm64_code_arith_imm (bits, opcode, shift, imm, Rn, Rd);
# 1092|         break;
# 1093|       case ORC_ARM64_TYPE_REG:  /** shifted register */

Error: CPPCHECK_WARNING (CWE-758): [#def91]
orc-0.4.38-build/orc-0.4.38/orc/orcarm.c:1114: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1112|           snprintf (opt_rm, ARM64_MAX_OP_LEN, ", %s", orc_arm64_reg_name (Rm, bits));
# 1113|   
# 1114|->       code = arm64_code_arith_reg (bits, opcode, shift, Rm, imm, Rn, Rd);
# 1115|         break;
# 1116|       case ORC_ARM64_TYPE_EXT:  /** extended register */

Error: CPPCHECK_WARNING (CWE-758): [#def92]
orc-0.4.38-build/orc-0.4.38/orc/orcarm.c:1138: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1136|           snprintf (opt_rm, ARM64_MAX_OP_LEN, ", %s", orc_arm64_reg_name (Rm, bits));
# 1137|   
# 1138|->       code = arm64_code_arith_ext(bits, opcode, Rm, extend, imm, Rn, Rd);
# 1139|         break;
# 1140|       default:

Error: CPPCHECK_WARNING (CWE-758): [#def93]
orc-0.4.38-build/orc-0.4.38/orc/orcarm.c:1345: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1343|         snprintf (opt_rm, ARM64_MAX_OP_LEN, ", #0x%08x", (orc_uint32) val);
# 1344|   
# 1345|->       code = arm64_code_logical_imm (bits, opcode, imm, Rn, Rd);
# 1346|         break;
# 1347|       case ORC_ARM64_TYPE_REG:      /** shifted register */

Error: CPPCHECK_WARNING (CWE-758): [#def94]
orc-0.4.38-build/orc-0.4.38/orc/orcarm.c:1368: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1366|           snprintf (opt_rm, ARM64_MAX_OP_LEN, ", %s", orc_arm64_reg_name (Rm, bits));
# 1367|   
# 1368|->       code = arm64_code_logical_reg (bits, opcode, shift, Rm, imm, Rn, Rd);
# 1369|         break;
# 1370|       default:

Error: CPPCHECK_WARNING (CWE-758): [#def95]
orc-0.4.38-build/orc-0.4.38/orc/orcarm.c:1444: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1442|     hw /= 16;
# 1443|     imm = val;
# 1444|->   code = arm64_code_mov_wide(bits, mov_op, hw, imm, Rd);
# 1445|   
# 1446|     ORC_ASM_CODE(p, "  %s %s, #%u%s\n",

Error: CPPCHECK_WARNING (CWE-758): [#def96]
orc-0.4.38-build/orc-0.4.38/orc/orcarm.c:1483: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1481|     }
# 1482|   
# 1483|->   code = arm64_code_shift(bits, Rm, shift, Rn, Rd);
# 1484|   
# 1485|     ORC_ASM_CODE(p, "  %s %s, %s, %s\n",

Error: CPPCHECK_WARNING (CWE-758): [#def97]
orc-0.4.38-build/orc-0.4.38/orc/orcarm.c:1627: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1625|     opcode -= ORC_ARM64_DP_SBFM;
# 1626|   
# 1627|->   code = arm64_code_bfm(bits, opcode, immr, imms, Rn, Rd);
# 1628|   
# 1629|     if (alias != -1) {

Error: CPPCHECK_WARNING (CWE-758): [#def98]
orc-0.4.38-build/orc-0.4.38/orc/orcarm.c:1665: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1663|     orc_uint32 code;
# 1664|   
# 1665|->   code = arm64_code_extr (bits, Rm, imm, Rn, Rd);
# 1666|   
# 1667|     if (Rn == Rm) { /** ROR (imm) */

Error: CPPCHECK_WARNING (CWE-758): [#def99]
orc-0.4.38-build/orc-0.4.38/orc/orcarm.c:1946: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1944|     }
# 1945|   
# 1946|->   code = arm64_code_mem_pair (bits, opt, opcode, imm, Rt2, Rn, Rt);
# 1947|   
# 1948|     ORC_ASM_CODE(p, "  %s %s, %s%s\n",

Error: COMPILER_WARNING: [#def100]
orc-0.4.38-build/orc-0.4.38/orc/orcavx.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def101]
orc-0.4.38-build/orc-0.4.38/orc/orcavx.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: CPPCHECK_WARNING: [#def102]
orc-0.4.38-build/orc-0.4.38/orc/orcbytecode.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def103]
orc-0.4.38-build/orc-0.4.38/orc/orcbytecode.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def104]
orc-0.4.38-build/orc-0.4.38/orc/orcbytecode.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: GCC_ANALYZER_WARNING (CWE-401): [#def105]
orc-0.4.38-build/orc-0.4.38/orc/orcbytecode.c: scope_hint: In function ‘bytecode_append_byte’
orc-0.4.38-build/orc-0.4.38/orc/orcbytecode.c:191:24: warning[-Wanalyzer-malloc-leak]: leak of ‘*bytecode.bytecode’
#  189|     if (bytecode->length >= bytecode->alloc_len) {
#  190|       bytecode->alloc_len += 256;
#  191|->     bytecode->bytecode = realloc (bytecode->bytecode, bytecode->alloc_len);
#  192|     }
#  193|     bytecode->bytecode[bytecode->length] = byte;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def106]
orc-0.4.38-build/orc-0.4.38/orc/orcbytecode.c: scope_hint: In function ‘orc_bytecode_parse_get_string’
orc-0.4.38-build/orc-0.4.38/orc/orcbytecode.c:340:10: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘s’
orc-0.4.38-build/orc-0.4.38/orc/orcbytecode.c: scope_hint: In function ‘orc_bytecode_parse_get_string’
#  338|     s = malloc (len + 1);
#  339|     for(i=0;i<len;i++){
#  340|->     s[i] = orc_bytecode_parse_get_byte (parse);
#  341|     }
#  342|     s[i] = 0;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def107]
orc-0.4.38-build/orc-0.4.38/orc/orcbytecode.c:342:8: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘s’
#  340|       s[i] = orc_bytecode_parse_get_byte (parse);
#  341|     }
#  342|->   s[i] = 0;
#  343|   
#  344|     return s;

Error: COMPILER_WARNING: [#def108]
orc-0.4.38-build/orc-0.4.38/orc/orccode.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def109]
orc-0.4.38-build/orc-0.4.38/orc/orccode.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: GCC_ANALYZER_WARNING (CWE-688): [#def110]
orc-0.4.38-build/orc-0.4.38/orc/orccode.c: scope_hint: In function ‘orc_code_new’
orc-0.4.38-build/orc-0.4.38/orc/orccode.c:18:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘code’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null
#   16|     OrcCode *code;
#   17|     code = malloc(sizeof(OrcCode));
#   18|->   memset (code, 0, sizeof(OrcCode));
#   19|     return code;
#   20|   }

Error: CPPCHECK_WARNING: [#def111]
orc-0.4.38-build/orc-0.4.38/orc/orccodemem.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def112]
orc-0.4.38-build/orc-0.4.38/orc/orccodemem.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def113]
orc-0.4.38-build/orc-0.4.38/orc/orccodemem.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: GCC_ANALYZER_WARNING (CWE-688): [#def114]
orc-0.4.38-build/orc-0.4.38/orc/orccodemem.c: scope_hint: In function ‘orc_code_region_new’
orc-0.4.38-build/orc-0.4.38/orc/orccodemem.c:75:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘region’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null
#   73|   
#   74|     region = malloc(sizeof(OrcCodeRegion));
#   75|->   memset (region, 0, sizeof(OrcCodeRegion));
#   76|   
#   77|     orc_code_region_allocate_codemem (region);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def115]
orc-0.4.38-build/orc-0.4.38/orc/orccodemem.c:80:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘chunk’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null
#   78|   
#   79|     chunk = malloc(sizeof(OrcCodeChunk));
#   80|->   memset (chunk, 0, sizeof(OrcCodeChunk));
#   81|   
#   82|     chunk->offset = 0;

Error: CPPCHECK_WARNING (CWE-401): [#def116]
orc-0.4.38-build/orc-0.4.38/orc/orccodemem.c:146: error[memleakOnRealloc]: Common realloc mistake: 'orc_code_regions' nulled but not freed upon failure
#  144|     }
#  145|   
#  146|->   orc_code_regions = realloc (orc_code_regions,
#  147|         sizeof(void *)*(orc_code_n_regions+1));
#  148|     if (!orc_code_regions)

Error: CPPCHECK_WARNING: [#def117]
orc-0.4.38-build/orc-0.4.38/orc/orccompiler.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def118]
orc-0.4.38-build/orc-0.4.38/orc/orccompiler.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def119]
orc-0.4.38-build/orc-0.4.38/orc/orccompiler.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: GCC_ANALYZER_WARNING (CWE-688): [#def120]
orc-0.4.38-build/orc-0.4.38/orc/orccompiler.c: scope_hint: In function ‘orc_compiler_dup_temporary’
orc-0.4.38-build/orc-0.4.38/orc/orccompiler.c:1124:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc(strlen(*compiler.vars[var].name) + 10)’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_sprintf’ must be non-null
# 1122|     compiler->vars[i].size = compiler->vars[var].size;
# 1123|     compiler->vars[i].name = malloc (strlen(compiler->vars[var].name) + 10);
# 1124|->   sprintf(compiler->vars[i].name, "%s.dup%d", compiler->vars[var].name, j);
# 1125|     compiler->n_dup_vars++;
# 1126|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def121]
orc-0.4.38-build/orc-0.4.38/orc/orccompiler.c: scope_hint: In function ‘orc_compiler_new_temporary’
orc-0.4.38-build/orc-0.4.38/orc/orccompiler.c:1138:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc(10)’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_sprintf’ must be non-null
# 1136|     compiler->vars[i].size = size;
# 1137|     compiler->vars[i].name = malloc (10);
# 1138|->   sprintf(compiler->vars[i].name, "tmp%d", i);
# 1139|     compiler->n_dup_vars++;
# 1140|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def122]
orc-0.4.38-build/orc-0.4.38/orc/orccompiler.c: scope_hint: In function ‘orc_compiler_error_valist’
orc-0.4.38-build/orc-0.4.38/orc/orccompiler.c:1357:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘s’ where non-null expected
orc-0.4.38-build/orc-0.4.38/orc/orccompiler.c:4: included_from: Included from here.
/usr/include/stdio.h:380:12: note: argument 1 of ‘vsprintf’ must be non-null
# 1355|   
# 1356|     s = malloc (ORC_COMPILER_ERROR_BUFFER_SIZE);
# 1357|->   vsprintf (s, fmt, args);
# 1358|     compiler->error_msg = s;
# 1359|     compiler->error = TRUE;

Error: CPPCHECK_WARNING: [#def123]
orc-0.4.38-build/orc-0.4.38/orc/orccpu-x86.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def124]
orc-0.4.38-build/orc-0.4.38/orc/orccpu-x86.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def125]
orc-0.4.38-build/orc-0.4.38/orc/orccpu-x86.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: COMPILER_WARNING: [#def126]
orc-0.4.38-build/orc-0.4.38/orc/orcdebug.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def127]
orc-0.4.38-build/orc-0.4.38/orc/orcdebug.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: GCC_ANALYZER_WARNING (CWE-476): [#def128]
orc-0.4.38-build/orc-0.4.38/orc/orcdebug.h:139:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
orc-0.4.38-build/orc-0.4.38/orc/orcdebug.h:107:24: note: in expansion of macro ‘ORC_DEBUG_PRINT’
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c:815:7: note: in expansion of macro ‘ORC_DEBUG’
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c:673:3: note: in expansion of macro ‘ORC_ASSERT’
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c:679:3: note: in expansion of macro ‘ORC_ASSERT’
orc-0.4.38-build/orc-0.4.38/orc/orcdebug.h:139:62: note: in definition of macro ‘ORC_DEBUG_PRINT’
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c:815:7: note: in expansion of macro ‘ORC_DEBUG’
orc-0.4.38-build/orc-0.4.38/orc/orcdebug.h:107:24: note: in expansion of macro ‘ORC_DEBUG_PRINT’
orc-0.4.38-build/orc-0.4.38/orc-test/orctest.c:815:7: note: in expansion of macro ‘ORC_DEBUG’
#  137|    */
#  138|   #define ORC_DEBUG_PRINT(level, ...) do { \
#  139|->   orc_debug_print((level), __FILE__, ORC_FUNCTION, __LINE__, __VA_ARGS__); \
#  140|   }while(0)
#  141|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def129]
orc-0.4.38-build/orc-0.4.38/orc/orcdebug.h:139:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>.src_ptrs[1]’
orc-0.4.38-build/orc-0.4.38/orc/orcdebug.h:107:24: note: in expansion of macro ‘ORC_DEBUG_PRINT’
orc-0.4.38-build/orc-0.4.38/orc/orcexecutor.c:339:5: note: in expansion of macro ‘ORC_DEBUG’
orc-0.4.38-build/orc-0.4.38/orc/orcdebug.h:107:24: note: in expansion of macro ‘ORC_DEBUG_PRINT’
orc-0.4.38-build/orc-0.4.38/orc/orcexecutor.c:339:5: note: in expansion of macro ‘ORC_DEBUG’
orc-0.4.38-build/orc-0.4.38/orc/orcdebug.h:107:24: note: in expansion of macro ‘ORC_DEBUG_PRINT’
orc-0.4.38-build/orc-0.4.38/orc/orcexecutor.c:339:5: note: in expansion of macro ‘ORC_DEBUG’
#  137|    */
#  138|   #define ORC_DEBUG_PRINT(level, ...) do { \
#  139|->   orc_debug_print((level), __FILE__, ORC_FUNCTION, __LINE__, __VA_ARGS__); \
#  140|   }while(0)
#  141|   

Error: COMPILER_WARNING: [#def130]
orc-0.4.38-build/orc-0.4.38/orc/orcemulateopcodes.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def131]
orc-0.4.38-build/orc-0.4.38/orc/orcemulateopcodes.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: CPPCHECK_WARNING: [#def132]
orc-0.4.38-build/orc-0.4.38/orc/orcexecutor.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def133]
orc-0.4.38-build/orc-0.4.38/orc/orcexecutor.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def134]
orc-0.4.38-build/orc-0.4.38/orc/orcexecutor.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: GCC_ANALYZER_WARNING (CWE-476): [#def135]
orc-0.4.38-build/orc-0.4.38/orc/orcexecutor.c:212:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
orc-0.4.38-build/orc-0.4.38/orc/orcexecutor.c: scope_hint: In function ‘orc_executor_emulate’
#  210|           orc_int64 *d = data;
#  211|           for(l=0;l<CHUNK_SIZE;l++) {
#  212|->           d[l] = value;
#  213|           }
#  214|         }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def136]
orc-0.4.38-build/orc-0.4.38/orc/orcexecutor.c: scope_hint: In function ‘orc_executor_emulate’
orc-0.4.38-build/orc-0.4.38/orc/orcexecutor.c:276:27: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘malloc((long unsigned int)*code.n_insns * 88)’
#  274|       opcode = insn->opcode;
#  275|   
#  276|->     opcode_ex[j].emulateN = opcode->emulateN;
#  277|       opcode_ex[j].shift = 0;
#  278|       if (insn->flags & ORC_INSTRUCTION_FLAG_X2) {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def137]
orc-0.4.38-build/orc-0.4.38/orc/orcexecutor.c: scope_hint: In function ‘orc_executor_emulate’
orc-0.4.38-build/orc-0.4.38/orc/orcexecutor.c:393:1: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
orc-0.4.38-build/orc-0.4.38/orc/orcexecutor.c:9: included_from: Included from here.
orc-0.4.38-build/orc-0.4.38/orc/orcdebug.h:107:24: note: in expansion of macro ‘ORC_DEBUG_PRINT’
orc-0.4.38-build/orc-0.4.38/orc/orcexecutor.c:344:3: note: in expansion of macro ‘ORC_DEBUG’
#  391|       if (tmpspace[i]) free (tmpspace[i]);
#  392|     }
#  393|-> }
#  394|   
#  395|   

Error: COMPILER_WARNING: [#def138]
orc-0.4.38-build/orc-0.4.38/orc/orcfunctions.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def139]
orc-0.4.38-build/orc-0.4.38/orc/orcfunctions.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: COMPILER_WARNING: [#def140]
orc-0.4.38-build/orc-0.4.38/orc/orcmips.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def141]
orc-0.4.38-build/orc-0.4.38/orc/orcmips.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: COMPILER_WARNING: [#def142]
orc-0.4.38-build/orc-0.4.38/orc/orcmmx.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def143]
orc-0.4.38-build/orc-0.4.38/orc/orcmmx.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: COMPILER_WARNING: [#def144]
orc-0.4.38-build/orc-0.4.38/orc/orconce.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def145]
orc-0.4.38-build/orc-0.4.38/orc/orconce.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: CPPCHECK_WARNING: [#def146]
orc-0.4.38-build/orc-0.4.38/orc/orcopcodes.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def147]
orc-0.4.38-build/orc-0.4.38/orc/orcopcodes.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def148]
orc-0.4.38-build/orc-0.4.38/orc/orcopcodes.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: GCC_ANALYZER_WARNING (CWE-688): [#def149]
orc-0.4.38-build/orc-0.4.38/orc/orcopcodes.c: scope_hint: In function ‘orc_rule_set_new’
orc-0.4.38-build/orc-0.4.38/orc/orcopcodes.c:187:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc((long unsigned int)*opcode_set.n_opcodes * 16)’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null
#  185|   
#  186|     rule_set->rules = malloc (sizeof(OrcRule) * opcode_set->n_opcodes);
#  187|->   memset (rule_set->rules, 0, sizeof(OrcRule) * opcode_set->n_opcodes);
#  188|   
#  189|     return rule_set;

Error: CPPCHECK_WARNING (CWE-401): [#def150]
orc-0.4.38-build/orc-0.4.38/orc/orcopcodes.c:233: error[memleakOnRealloc]: Common realloc mistake: 'opcode_sets' nulled but not freed upon failure
#  231|   
#  232|     n_opcode_sets++;
#  233|->   opcode_sets = realloc (opcode_sets, sizeof(OrcOpcodeSet)*n_opcode_sets);
#  234|     
#  235|     memset (opcode_sets + major, 0, sizeof(OrcOpcodeSet));

Error: CPPCHECK_WARNING: [#def151]
orc-0.4.38-build/orc-0.4.38/orc/orcparse.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def152]
orc-0.4.38-build/orc-0.4.38/orc/orcparse.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def153]
orc-0.4.38-build/orc-0.4.38/orc/orcparse.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: CPPCHECK_WARNING (CWE-401): [#def154]
orc-0.4.38-build/orc-0.4.38/orc/orcparse.c:365: error[memleakOnRealloc]: Common realloc mistake: '_log' nulled but not freed upon failure
#  363|       if (len + n >= size) {
#  364|         size += MAX (n, 256);
#  365|->       _log = realloc(_log, size);
#  366|       }
#  367|       len += sprintf (_log + len, "%s @ %i: error: %s\n", errors[i]->source, errors[i]->line_number, errors[i]->text);

Error: COMPILER_WARNING: [#def155]
orc-0.4.38-build/orc-0.4.38/orc/orcpowerpc.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def156]
orc-0.4.38-build/orc-0.4.38/orc/orcpowerpc.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: CPPCHECK_WARNING: [#def157]
orc-0.4.38-build/orc-0.4.38/orc/orcprogram-altivec.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def158]
orc-0.4.38-build/orc-0.4.38/orc/orcprogram-altivec.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def159]
orc-0.4.38-build/orc-0.4.38/orc/orcprogram-altivec.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: CPPCHECK_WARNING: [#def160]
orc-0.4.38-build/orc-0.4.38/orc/orcprogram-avx.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def161]
orc-0.4.38-build/orc-0.4.38/orc/orcprogram-avx.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def162]
orc-0.4.38-build/orc-0.4.38/orc/orcprogram-avx.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: CLANG_WARNING: [#def163]
orc-0.4.38-build/orc-0.4.38/orc/orcprogram-avx.c:811:3: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#  809|   do_swap (int *tab, int i, int j)
#  810|   {
#  811|->   int tmp = tab[i];
#  812|     tab[i] = tab[j];
#  813|     tab[j] = tmp;

Error: CLANG_WARNING: [#def164]
orc-0.4.38-build/orc-0.4.38/orc/orcprogram-avx.c:812:10: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#  810|   {
#  811|     int tmp = tab[i];
#  812|->   tab[i] = tab[j];
#  813|     tab[j] = tmp;
#  814|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def165]
orc-0.4.38-build/orc-0.4.38/orc/orcprogram-avx.c: scope_hint: In function ‘get_optimised_instruction_order’
orc-0.4.38-build/orc-0.4.38/orc/orcprogram-avx.c:917:24: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘instruction_idx’
#  915|     int *const instruction_idx = malloc (compiler->n_insns * sizeof(int));
#  916|     for (int i=0; i<compiler->n_insns; i++)
#  917|->     instruction_idx[i] = i;
#  918|   
#  919|     optimise_order (compiler, instruction_idx);

Error: CLANG_WARNING: [#def166]
orc-0.4.38-build/orc-0.4.38/orc/orcprogram-avx.c:1172:28: warning[core.UndefinedBinaryOperatorResult]: The right operand of '+' is a garbage value due to array index out of bounds
# 1170|   
# 1171|     for (j = 0; j < compiler->n_insns; j++) {
# 1172|->     insn = compiler->insns + insn_idx[j];
# 1173|       opcode = insn->opcode;
# 1174|   

Error: CPPCHECK_WARNING: [#def167]
orc-0.4.38-build/orc-0.4.38/orc/orcprogram-c.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def168]
orc-0.4.38-build/orc-0.4.38/orc/orcprogram-c.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def169]
orc-0.4.38-build/orc-0.4.38/orc/orcprogram-c.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: CPPCHECK_WARNING: [#def170]
orc-0.4.38-build/orc-0.4.38/orc/orcprogram-c64x-c.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def171]
orc-0.4.38-build/orc-0.4.38/orc/orcprogram-c64x-c.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def172]
orc-0.4.38-build/orc-0.4.38/orc/orcprogram-c64x-c.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: CPPCHECK_WARNING: [#def173]
orc-0.4.38-build/orc-0.4.38/orc/orcprogram-mips.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def174]
orc-0.4.38-build/orc-0.4.38/orc/orcprogram-mips.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def175]
orc-0.4.38-build/orc-0.4.38/orc/orcprogram-mips.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: GCC_ANALYZER_WARNING (CWE-476): [#def176]
orc-0.4.38-build/orc-0.4.38/orc/orcprogram-mips.c: scope_hint: In function ‘get_optimised_instruction_order’
orc-0.4.38-build/orc-0.4.38/orc/orcprogram-mips.c:420:24: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘instruction_idx’
#  418|     instruction_idx = malloc (compiler->n_insns * sizeof(int));
#  419|     for (i=0; i<compiler->n_insns; i++)
#  420|->     instruction_idx[i] = i;
#  421|   
#  422|     optimise_order (compiler, instruction_idx);

Error: CLANG_WARNING: [#def177]
orc-0.4.38-build/orc-0.4.38/orc/orcprogram-mips.c:455:30: warning[core.UndefinedBinaryOperatorResult]: The right operand of '+' is a garbage value
#  453|       compiler->unroll_index = j;
#  454|       for (i=0; i<compiler->n_insns; i++) {
#  455|->       insn = compiler->insns + insn_idx[i];
#  456|         opcode = insn->opcode;
#  457|         if (insn->flags & ORC_INSN_FLAG_INVARIANT) continue;

Error: CPPCHECK_WARNING: [#def178]
orc-0.4.38-build/orc-0.4.38/orc/orcprogram-mmx.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def179]
orc-0.4.38-build/orc-0.4.38/orc/orcprogram-mmx.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def180]
orc-0.4.38-build/orc-0.4.38/orc/orcprogram-mmx.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: CPPCHECK_WARNING: [#def181]
orc-0.4.38-build/orc-0.4.38/orc/orcprogram-neon.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def182]
orc-0.4.38-build/orc-0.4.38/orc/orcprogram-neon.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def183]
orc-0.4.38-build/orc-0.4.38/orc/orcprogram-neon.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: CPPCHECK_WARNING: [#def184]
orc-0.4.38-build/orc-0.4.38/orc/orcprogram-sse.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def185]
orc-0.4.38-build/orc-0.4.38/orc/orcprogram-sse.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def186]
orc-0.4.38-build/orc-0.4.38/orc/orcprogram-sse.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: CPPCHECK_WARNING: [#def187]
orc-0.4.38-build/orc-0.4.38/orc/orcprogram.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def188]
orc-0.4.38-build/orc-0.4.38/orc/orcprogram.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def189]
orc-0.4.38-build/orc-0.4.38/orc/orcprogram.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: GCC_ANALYZER_WARNING (CWE-688): [#def190]
orc-0.4.38-build/orc-0.4.38/orc/orcprogram.c: scope_hint: In function ‘orc_program_new’
orc-0.4.38-build/orc-0.4.38/orc/orcprogram.c:38:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘p’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null
#   36|   
#   37|     p = malloc(sizeof(OrcProgram));
#   38|->   memset (p, 0, sizeof(OrcProgram));
#   39|   
#   40|     p->name = malloc (40);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def191]
orc-0.4.38-build/orc-0.4.38/orc/orcprogram.c:41:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc(40)’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_sprintf’ must be non-null
#   39|   
#   40|     p->name = malloc (40);
#   41|->   sprintf(p->name, "func_%p", p);
#   42|   
#   43|     return p;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def192]
orc-0.4.38-build/orc-0.4.38/orc/orcprogram.c: scope_hint: In function ‘orc_program_dup_temporary’
orc-0.4.38-build/orc-0.4.38/orc/orcprogram.c:366:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc(strlen(*program.vars[var].name) + 10)’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_sprintf’ must be non-null
#  364|     program->vars[i].size = program->vars[var].size;
#  365|     program->vars[i].name = malloc (strlen(program->vars[var].name) + 10);
#  366|->   sprintf(program->vars[i].name, "%s.dup%d", program->vars[var].name, j);
#  367|     program->n_temp_vars++;
#  368|   

Error: CLANG_WARNING: [#def193]
orc-0.4.38-build/orc-0.4.38/orc/orcprogram.c:1038:24: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 1036|     insn->dest_args[0] = args[i++];
# 1037|     if (insn->opcode->dest_size[1] != 0)
# 1038|->     insn->dest_args[1] = args[i++];
# 1039|     if (insn->opcode->src_size[0] != 0)
# 1040|       insn->src_args[0] = args[i++];

Error: CLANG_WARNING: [#def194]
orc-0.4.38-build/orc-0.4.38/orc/orcprogram.c:1040:23: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 1038|       insn->dest_args[1] = args[i++];
# 1039|     if (insn->opcode->src_size[0] != 0)
# 1040|->     insn->src_args[0] = args[i++];
# 1041|     if (insn->opcode->src_size[1] != 0)
# 1042|       insn->src_args[1] = args[i++];

Error: CLANG_WARNING: [#def195]
orc-0.4.38-build/orc-0.4.38/orc/orcprogram.c:1042:23: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 1040|       insn->src_args[0] = args[i++];
# 1041|     if (insn->opcode->src_size[1] != 0)
# 1042|->     insn->src_args[1] = args[i++];
# 1043|     if (insn->opcode->src_size[2] != 0)
# 1044|       insn->src_args[2] = args[i++];

Error: CLANG_WARNING: [#def196]
orc-0.4.38-build/orc-0.4.38/orc/orcprogram.c:1044:23: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 1042|       insn->src_args[1] = args[i++];
# 1043|     if (insn->opcode->src_size[2] != 0)
# 1044|->     insn->src_args[2] = args[i++];
# 1045|     if (insn->opcode->src_size[3] != 0)
# 1046|       insn->src_args[3] = args[i++];

Error: CLANG_WARNING: [#def197]
orc-0.4.38-build/orc-0.4.38/orc/orcprogram.c:1046:23: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 1044|       insn->src_args[2] = args[i++];
# 1045|     if (insn->opcode->src_size[3] != 0)
# 1046|->     insn->src_args[3] = args[i++];
# 1047|   
# 1048|     program->n_insns++;

Error: COMPILER_WARNING: [#def198]
orc-0.4.38-build/orc-0.4.38/orc/orcrule.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def199]
orc-0.4.38-build/orc-0.4.38/orc/orcrule.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: COMPILER_WARNING: [#def200]
orc-0.4.38-build/orc-0.4.38/orc/orcrules-altivec.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def201]
orc-0.4.38-build/orc-0.4.38/orc/orcrules-altivec.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: CPPCHECK_WARNING: [#def202]
orc-0.4.38-build/orc-0.4.38/orc/orcrules-avx.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def203]
orc-0.4.38-build/orc-0.4.38/orc/orcrules-avx.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def204]
orc-0.4.38-build/orc-0.4.38/orc/orcrules-avx.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: COMPILER_WARNING: [#def205]
orc-0.4.38-build/orc-0.4.38/orc/orcrules-mips.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def206]
orc-0.4.38-build/orc-0.4.38/orc/orcrules-mips.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: CPPCHECK_WARNING: [#def207]
orc-0.4.38-build/orc-0.4.38/orc/orcrules-mmx.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def208]
orc-0.4.38-build/orc-0.4.38/orc/orcrules-mmx.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def209]
orc-0.4.38-build/orc-0.4.38/orc/orcrules-mmx.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: CLANG_WARNING: [#def210]
orc-0.4.38-build/orc-0.4.38/orc/orcrules-mmx.c:3462:3: warning[deadcode.DeadStores]: Value stored to 'rule_set' is never read
# 3460|   
# 3461|     /* SSE 4.1 */
# 3462|->   rule_set = orc_rule_set_new (orc_opcode_set_get("sys"), target,
# 3463|         ORC_TARGET_MMX_SSE4_1);
# 3464|   

Error: CPPCHECK_WARNING: [#def211]
orc-0.4.38-build/orc-0.4.38/orc/orcrules-neon.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def212]
orc-0.4.38-build/orc-0.4.38/orc/orcrules-neon.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def213]
orc-0.4.38-build/orc-0.4.38/orc/orcrules-neon.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: CPPCHECK_WARNING: [#def214]
orc-0.4.38-build/orc-0.4.38/orc/orcrules-sse.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def215]
orc-0.4.38-build/orc-0.4.38/orc/orcrules-sse.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def216]
orc-0.4.38-build/orc-0.4.38/orc/orcrules-sse.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: COMPILER_WARNING: [#def217]
orc-0.4.38-build/orc-0.4.38/orc/orcsse.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def218]
orc-0.4.38-build/orc-0.4.38/orc/orcsse.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: CPPCHECK_WARNING (CWE-758): [#def219]
orc-0.4.38-build/orc-0.4.38/orc/orctarget.h:18: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#   16|     ORC_TARGET_CLEAN_COMPILE = (1<<29),
#   17|     ORC_TARGET_FAST_NAN = (1<<30),
#   18|->   ORC_TARGET_FAST_DENORMAL = (1<<31)
#   19|   };
#   20|   

Error: CPPCHECK_WARNING: [#def220]
orc-0.4.38-build/orc-0.4.38/orc/orcutils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def221]
orc-0.4.38-build/orc-0.4.38/orc/orcutils.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def222]
orc-0.4.38-build/orc-0.4.38/orc/orcutils.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: GCC_ANALYZER_WARNING (CWE-401): [#def223]
orc-0.4.38-build/orc-0.4.38/orc/orcutils.c: scope_hint: In function ‘_strndup’
orc-0.4.38-build/orc-0.4.38/orc/orcutils.c:84:16: warning[-Wanalyzer-malloc-leak]: leak of ‘_strndup(colon, (int)(end - colon))’
#   82|   {
#   83|     char *r;
#   84|->   r = malloc (n+1);
#   85|     memcpy(r,s,n);
#   86|     r[n]=0;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def224]
orc-0.4.38-build/orc-0.4.38/orc/orcutils.c:84:16: warning[-Wanalyzer-malloc-leak]: leak of ‘_strndup(s, (int)(s - s))’
#   82|   {
#   83|     char *r;
#   84|->   r = malloc (n+1);
#   85|     memcpy(r,s,n);
#   86|     r[n]=0;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def225]
orc-0.4.38-build/orc-0.4.38/orc/orcutils.c:85:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘r’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
#   83|     char *r;
#   84|     r = malloc (n+1);
#   85|->   memcpy(r,s,n);
#   86|     r[n]=0;
#   87|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def226]
orc-0.4.38-build/orc-0.4.38/orc/orcutils.c: scope_hint: In function ‘strsplit’
orc-0.4.38-build/orc-0.4.38/orc/orcutils.c:105:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘list’
#  103|       while (*s && *s != delimiter) s++;
#  104|   
#  105|->     list[n] = _strndup (tok, s - tok);
#  106|       while (*s && *s == delimiter) s++;
#  107|       list = realloc (list, (n + 2) * sizeof(char *));

Error: CPPCHECK_WARNING (CWE-401): [#def227]
orc-0.4.38-build/orc-0.4.38/orc/orcutils.c:107: error[memleakOnRealloc]: Common realloc mistake: 'list' nulled but not freed upon failure
#  105|       list[n] = _strndup (tok, s - tok);
#  106|       while (*s && *s == delimiter) s++;
#  107|->     list = realloc (list, (n + 2) * sizeof(char *));
#  108|       n++;
#  109|     }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def228]
orc-0.4.38-build/orc-0.4.38/orc/orcutils.c:111:11: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘list’
#  109|     }
#  110|   
#  111|->   list[n] = NULL;
#  112|     return list;
#  113|   }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def229]
orc-0.4.38-build/orc-0.4.38/orc/orcutils.c:112:10: warning[-Wanalyzer-malloc-leak]: leak of ‘list’
#  110|   
#  111|     list[n] = NULL;
#  112|->   return list;
#  113|   }
#  114|   

Error: COMPILER_WARNING: [#def230]
orc-0.4.38-build/orc-0.4.38/orc/orcx86.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def231]
orc-0.4.38-build/orc-0.4.38/orc/orcx86.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: COMPILER_WARNING: [#def232]
orc-0.4.38-build/orc-0.4.38/orc/orcx86insn.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def233]
orc-0.4.38-build/orc-0.4.38/orc/orcx86insn.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: COMPILER_WARNING: [#def234]
orc-0.4.38-build/orc-0.4.38/redhat-linux-build/examples/example1orc.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def235]
orc-0.4.38-build/orc-0.4.38/redhat-linux-build/examples/example1orc.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: COMPILER_WARNING: [#def236]
orc-0.4.38-build/orc-0.4.38/redhat-linux-build/examples/example2orc.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def237]
orc-0.4.38-build/orc-0.4.38/redhat-linux-build/examples/example2orc.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: COMPILER_WARNING: [#def238]
orc-0.4.38-build/orc-0.4.38/redhat-linux-build/examples/example3orc.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def239]
orc-0.4.38-build/orc-0.4.38/redhat-linux-build/examples/example3orc.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: COMPILER_WARNING: [#def240]
orc-0.4.38-build/orc-0.4.38/redhat-linux-build/examples/mt19937arorc.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def241]
orc-0.4.38-build/orc-0.4.38/redhat-linux-build/examples/mt19937arorc.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: COMPILER_WARNING: [#def242]
orc-0.4.38-build/orc-0.4.38/redhat-linux-build/testsuite/orcc/orc_test.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def243]
orc-0.4.38-build/orc-0.4.38/redhat-linux-build/testsuite/orcc/orc_test.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: COMPILER_WARNING: [#def244]
orc-0.4.38-build/orc-0.4.38/redhat-linux-build/testsuite/orcc/testorc.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def245]
orc-0.4.38-build/orc-0.4.38/redhat-linux-build/testsuite/orcc/testorc.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: COMPILER_WARNING: [#def246]
orc-0.4.38-build/orc-0.4.38/testsuite/abi.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def247]
orc-0.4.38-build/orc-0.4.38/testsuite/abi.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: COMPILER_WARNING: [#def248]
orc-0.4.38-build/orc-0.4.38/testsuite/benchmorc/atomics.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def249]
orc-0.4.38-build/orc-0.4.38/testsuite/benchmorc/atomics.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: COMPILER_WARNING: [#def250]
orc-0.4.38-build/orc-0.4.38/testsuite/benchmorc/benchmorc.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def251]
orc-0.4.38-build/orc-0.4.38/testsuite/benchmorc/benchmorc.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: COMPILER_WARNING: [#def252]
orc-0.4.38-build/orc-0.4.38/testsuite/compile_opcodes_sys_c64x.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def253]
orc-0.4.38-build/orc-0.4.38/testsuite/compile_opcodes_sys_c64x.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: COMPILER_WARNING: [#def254]
orc-0.4.38-build/orc-0.4.38/testsuite/compile_opcodes_sys_mips.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def255]
orc-0.4.38-build/orc-0.4.38/testsuite/compile_opcodes_sys_mips.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: COMPILER_WARNING: [#def256]
orc-0.4.38-build/orc-0.4.38/testsuite/compile_opcodes_sys_neon.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def257]
orc-0.4.38-build/orc-0.4.38/testsuite/compile_opcodes_sys_neon.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: CPPCHECK_WARNING: [#def258]
orc-0.4.38-build/orc-0.4.38/testsuite/compile_parse_neon.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def259]
orc-0.4.38-build/orc-0.4.38/testsuite/compile_parse_neon.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def260]
orc-0.4.38-build/orc-0.4.38/testsuite/compile_parse_neon.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: GCC_ANALYZER_WARNING (CWE-401): [#def261]
orc-0.4.38-build/orc-0.4.38/testsuite/compile_parse_neon.c: scope_hint: In function ‘main’
orc-0.4.38-build/orc-0.4.38/testsuite/compile_parse_neon.c:80:27: warning[-Wanalyzer-malloc-leak]: leak of ‘read_file(filename)’
#   78|     if (ret < 0) goto bail;
#   79|   
#   80|->   contents = malloc (size + 1);
#   81|     if (contents == NULL) goto bail;
#   82|   

Error: CPPCHECK_WARNING: [#def262]
orc-0.4.38-build/orc-0.4.38/testsuite/exec_opcodes_sys.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def263]
orc-0.4.38-build/orc-0.4.38/testsuite/exec_opcodes_sys.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def264]
orc-0.4.38-build/orc-0.4.38/testsuite/exec_opcodes_sys.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: CPPCHECK_WARNING: [#def265]
orc-0.4.38-build/orc-0.4.38/testsuite/exec_parse.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def266]
orc-0.4.38-build/orc-0.4.38/testsuite/exec_parse.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def267]
orc-0.4.38-build/orc-0.4.38/testsuite/exec_parse.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: COMPILER_WARNING: [#def268]
orc-0.4.38-build/orc-0.4.38/testsuite/generate_xml_table.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def269]
orc-0.4.38-build/orc-0.4.38/testsuite/generate_xml_table.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: COMPILER_WARNING: [#def270]
orc-0.4.38-build/orc-0.4.38/testsuite/generate_xml_table2.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def271]
orc-0.4.38-build/orc-0.4.38/testsuite/generate_xml_table2.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: CPPCHECK_WARNING: [#def272]
orc-0.4.38-build/orc-0.4.38/testsuite/memcpy_speed.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def273]
orc-0.4.38-build/orc-0.4.38/testsuite/memcpy_speed.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def274]
orc-0.4.38-build/orc-0.4.38/testsuite/memcpy_speed.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: COMPILER_WARNING: [#def275]
orc-0.4.38-build/orc-0.4.38/testsuite/orcc/test2.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def276]
orc-0.4.38-build/orc-0.4.38/testsuite/orcc/test2.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: COMPILER_WARNING: [#def277]
orc-0.4.38-build/orc-0.4.38/testsuite/orcc/test3.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def278]
orc-0.4.38-build/orc-0.4.38/testsuite/orcc/test3.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: COMPILER_WARNING: [#def279]
orc-0.4.38-build/orc-0.4.38/testsuite/perf_opcodes_sys.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def280]
orc-0.4.38-build/orc-0.4.38/testsuite/perf_opcodes_sys.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: CPPCHECK_WARNING: [#def281]
orc-0.4.38-build/orc-0.4.38/testsuite/perf_parse.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def282]
orc-0.4.38-build/orc-0.4.38/testsuite/perf_parse.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def283]
orc-0.4.38-build/orc-0.4.38/testsuite/perf_parse.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: COMPILER_WARNING: [#def284]
orc-0.4.38-build/orc-0.4.38/testsuite/test-limits.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def285]
orc-0.4.38-build/orc-0.4.38/testsuite/test-limits.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: COMPILER_WARNING: [#def286]
orc-0.4.38-build/orc-0.4.38/testsuite/test-schro.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def287]
orc-0.4.38-build/orc-0.4.38/testsuite/test-schro.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: GCC_ANALYZER_WARNING (CWE-476): [#def288]
orc-0.4.38-build/orc-0.4.38/testsuite/test-schro.c: scope_hint: In function ‘test_program’
orc-0.4.38-build/orc-0.4.38/testsuite/test-schro.c:229:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  227|   
#  228|     if (ret == ORC_TEST_INDETERMINATE) {
#  229|->     printf ("    %24s: compiled function:   COMPILE FAILED (%s)\n", p->name,
#  230|           p->error_msg);
#  231|       passed_tests++;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def289]
orc-0.4.38-build/orc-0.4.38/testsuite/test-schro.c:234:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  232|     } else if (!ret) {
#  233|       error = TRUE;
#  234|->     printf ("    %24s: compiled function:   FAILED\n", p->name);
#  235|     } else {
#  236|       printf ("    %24s: compiled function:   PASSED\n", p->name);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def290]
orc-0.4.38-build/orc-0.4.38/testsuite/test-schro.c:236:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  234|       printf ("    %24s: compiled function:   FAILED\n", p->name);
#  235|     } else {
#  236|->     printf ("    %24s: compiled function:   PASSED\n", p->name);
#  237|       passed_tests++;
#  238|     }

Error: COMPILER_WARNING: [#def291]
orc-0.4.38-build/orc-0.4.38/testsuite/test_accsadubl.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def292]
orc-0.4.38-build/orc-0.4.38/testsuite/test_accsadubl.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: COMPILER_WARNING: [#def293]
orc-0.4.38-build/orc-0.4.38/testsuite/test_parse.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def294]
orc-0.4.38-build/orc-0.4.38/testsuite/test_parse.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: CPPCHECK_WARNING: [#def295]
orc-0.4.38-build/orc-0.4.38/tools/orc-bugreport.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def296]
orc-0.4.38-build/orc-0.4.38/tools/orc-bugreport.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def297]
orc-0.4.38-build/orc-0.4.38/tools/orc-bugreport.c: warning: -Wno-implicit-int detected - is this intentional ?

Error: CPPCHECK_WARNING (CWE-758): [#def298]
orc-0.4.38-build/orc-0.4.38/tools/orc-bugreport.c:87: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#   85|       printf("Compiler options: ");
#   86|       for(i=0;i<32;i++){
#   87|->       if (flags & (1<<i)) {
#   88|           printf("%s ", orc_target_get_flag_name (orc_target_get_default(), i));
#   89|         }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def299]
orc-0.4.38-build/orc-0.4.38/tools/orc-bugreport.c: scope_hint: In function ‘main’
orc-0.4.38-build/orc-0.4.38/tools/orc-bugreport.c:150:27: warning[-Wanalyzer-malloc-leak]: leak of ‘read_file(filename)’
#  148|     if (ret < 0) goto bail;
#  149|   
#  150|->   contents = malloc (size + 1);
#  151|     if (contents == NULL) goto bail;
#  152|   

Error: CPPCHECK_WARNING: [#def300]
orc-0.4.38-build/orc-0.4.38/tools/orcc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def301]
orc-0.4.38-build/orc-0.4.38/tools/orcc.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING: [#def302]
orc-0.4.38-build/orc-0.4.38/tools/orcc.c: warning: -Wno-implicit-int detected - is this intentional ?

Scan Properties

analyzer-version-clang18.1.7
analyzer-version-cppcheck2.14.2
analyzer-version-gcc14.1.1
analyzer-version-gcc-analyzer14.1.1
analyzer-version-shellcheck0.10.0
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-127.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-nameorc-0.4.38-2.fc41
store-results-to/tmp/tmp0tq78j2z/orc-0.4.38-2.fc41.tar.xz
time-created2024-07-03 16:30:30
time-finished2024-07-03 16:32:39
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp0tq78j2z/orc-0.4.38-2.fc41.tar.xz' '--gcc-analyze' '/tmp/tmp0tq78j2z/orc-0.4.38-2.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9