vapoursynth-65-2.fc40
List of Defects
Error: CLANG_WARNING: [#def1]
vapoursynth-65-build/vapoursynth-R65/src/core/exprfilter.cpp:31: included_from: Included from here.
vapoursynth-65-build/vapoursynth-R65/include/VSHelper4.h:89:12: warning[core.NullDereference]: Access to field 'height' results in a dereference of a null pointer (loaded from variable 'vi')
# 87| /* convenience function for checking if the format never changes between frames */
# 88| static inline VSH4_BOOLEAN_TYPE VSH4_MANGLE_FUNCTION_NAME(isConstantVideoFormat)(const VSVideoInfo *vi) {
# 89|-> return vi->height > 0 && vi->width > 0 && vi->format.colorFamily != cfUndefined;
# 90| }
# 91|
Error: CLANG_WARNING: [#def2]
vapoursynth-65-build/vapoursynth-R65/src/core/boxblurfilter.cpp:27: included_from: Included from here.
vapoursynth-65-build/vapoursynth-R65/include/VSHelper4.h:161:9: warning[deadcode.DeadStores]: Value stored to 'addden' is never read
# 159| int64_t temp = addden;
# 160| addnum *= *den;
# 161|-> addden *= *den;
# 162| *num *= temp;
# 163| *den *= temp;
Error: CPPCHECK_WARNING: [#def3]
vapoursynth-65-build/vapoursynth-R65/src/core/audiofilters.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def4]
vapoursynth-65-build/vapoursynth-R65/src/core/audiofilters.cpp:176:21: warning[deadcode.DeadStores]: Value stored to 'reqStart' is never read
# 174| vsapi->requestFrameFilter(reqFrame, d->nodes[i], frameCtx);
# 175| remainingSamples -= reqSamples;
# 176|-> reqStart += reqSamples;
# 177| reqFrame++;
# 178| if (reqFrame > d->numFrames[i] - 1) {
Error: CLANG_WARNING: [#def5]
vapoursynth-65-build/vapoursynth-R65/src/core/audiofilters.cpp:180:25: warning[deadcode.DeadStores]: Value stored to 'reqStart' is never read
# 178| if (reqFrame > d->numFrames[i] - 1) {
# 179| reqFrame = 0;
# 180|-> reqStart = 0;
# 181| i++;
# 182| }
Error: CPPCHECK_WARNING: [#def6]
vapoursynth-65-build/vapoursynth-R65/src/core/averageframesfilter.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def7]
vapoursynth-65-build/vapoursynth-R65/src/core/boxblurfilter.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def8]
vapoursynth-65-build/vapoursynth-R65/src/core/boxblurfilter.cpp:366:21: warning[core.uninitialized.Branch]: Branch condition evaluates to a garbage value
# 364|
# 365| for (int plane = 0; plane < vi->format.numPlanes; plane++) {
# 366|-> if (process[plane]) {
# 367| VSMap *vtmp1 = vsapi->createMap();
# 368| vsapi->mapSetNode(vtmp1, "clips", node, maAppend);
Error: CPPCHECK_WARNING: [#def9]
vapoursynth-65-build/vapoursynth-R65/src/core/expr/expr.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def10]
vapoursynth-65-build/vapoursynth-R65/src/core/expr/expr.cpp:378:34: warning[core.NonNullParamChecker]: Forming reference to null pointer
# 376| switch (node.op.type) {
# 377| case ExprOpType::CONSTANT: return node.op.imm.f;
# 378|-> case ExprOpType::ADD: return LEFT + RIGHT;
# 379| case ExprOpType::SUB: return LEFT - RIGHT;
# 380| case ExprOpType::MUL: return LEFT * RIGHT;
Error: CLANG_WARNING: [#def11]
vapoursynth-65-build/vapoursynth-R65/src/core/expr/expr.cpp:379:34: warning[core.NonNullParamChecker]: Forming reference to null pointer
# 377| case ExprOpType::CONSTANT: return node.op.imm.f;
# 378| case ExprOpType::ADD: return LEFT + RIGHT;
# 379|-> case ExprOpType::SUB: return LEFT - RIGHT;
# 380| case ExprOpType::MUL: return LEFT * RIGHT;
# 381| case ExprOpType::DIV: return LEFT / RIGHT;
Error: CLANG_WARNING: [#def12]
vapoursynth-65-build/vapoursynth-R65/src/core/expr/expr.cpp:380:34: warning[core.NonNullParamChecker]: Forming reference to null pointer
# 378| case ExprOpType::ADD: return LEFT + RIGHT;
# 379| case ExprOpType::SUB: return LEFT - RIGHT;
# 380|-> case ExprOpType::MUL: return LEFT * RIGHT;
# 381| case ExprOpType::DIV: return LEFT / RIGHT;
# 382| case ExprOpType::FMA:
Error: CLANG_WARNING: [#def13]
vapoursynth-65-build/vapoursynth-R65/src/core/expr/expr.cpp:381:34: warning[core.NonNullParamChecker]: Forming reference to null pointer
# 379| case ExprOpType::SUB: return LEFT - RIGHT;
# 380| case ExprOpType::MUL: return LEFT * RIGHT;
# 381|-> case ExprOpType::DIV: return LEFT / RIGHT;
# 382| case ExprOpType::FMA:
# 383| switch (static_cast<FMAType>(node.op.imm.u)) {
Error: CLANG_WARNING: [#def14]
vapoursynth-65-build/vapoursynth-R65/src/core/expr/expr.cpp:384:37: warning[core.NullDereference]: Access to field 'left' results in a dereference of a null pointer (loaded from field 'right')
# 382| case ExprOpType::FMA:
# 383| switch (static_cast<FMAType>(node.op.imm.u)) {
# 384|-> case FMAType::FMADD: return RIGHTLEFT * RIGHTRIGHT + LEFT;
# 385| case FMAType::FMSUB: return RIGHTLEFT * RIGHTRIGHT - LEFT;
# 386| case FMAType::FNMADD: return -(RIGHTLEFT * RIGHTRIGHT) + LEFT;
Error: CLANG_WARNING: [#def15]
vapoursynth-65-build/vapoursynth-R65/src/core/expr/expr.cpp:385:37: warning[core.NullDereference]: Access to field 'left' results in a dereference of a null pointer (loaded from field 'right')
# 383| switch (static_cast<FMAType>(node.op.imm.u)) {
# 384| case FMAType::FMADD: return RIGHTLEFT * RIGHTRIGHT + LEFT;
# 385|-> case FMAType::FMSUB: return RIGHTLEFT * RIGHTRIGHT - LEFT;
# 386| case FMAType::FNMADD: return -(RIGHTLEFT * RIGHTRIGHT) + LEFT;
# 387| case FMAType::FNMSUB: return -(RIGHTLEFT * RIGHTRIGHT) - LEFT;
Error: CLANG_WARNING: [#def16]
vapoursynth-65-build/vapoursynth-R65/src/core/expr/expr.cpp:386:40: warning[core.NullDereference]: Access to field 'left' results in a dereference of a null pointer (loaded from field 'right')
# 384| case FMAType::FMADD: return RIGHTLEFT * RIGHTRIGHT + LEFT;
# 385| case FMAType::FMSUB: return RIGHTLEFT * RIGHTRIGHT - LEFT;
# 386|-> case FMAType::FNMADD: return -(RIGHTLEFT * RIGHTRIGHT) + LEFT;
# 387| case FMAType::FNMSUB: return -(RIGHTLEFT * RIGHTRIGHT) - LEFT;
# 388| }
Error: CLANG_WARNING: [#def17]
vapoursynth-65-build/vapoursynth-R65/src/core/expr/expr.cpp:387:40: warning[core.NullDereference]: Access to field 'left' results in a dereference of a null pointer (loaded from field 'right')
# 385| case FMAType::FMSUB: return RIGHTLEFT * RIGHTRIGHT - LEFT;
# 386| case FMAType::FNMADD: return -(RIGHTLEFT * RIGHTRIGHT) + LEFT;
# 387|-> case FMAType::FNMSUB: return -(RIGHTLEFT * RIGHTRIGHT) - LEFT;
# 388| }
# 389| return NAN;
Error: CLANG_WARNING: [#def18]
vapoursynth-65-build/vapoursynth-R65/src/core/expr/expr.cpp:390:45: warning[core.NonNullParamChecker]: Forming reference to null pointer
# 388| }
# 389| return NAN;
# 390|-> case ExprOpType::SQRT: return std::sqrt(LEFT);
# 391| case ExprOpType::ABS: return std::fabs(LEFT);
# 392| case ExprOpType::NEG: return -LEFT;
Error: CLANG_WARNING: [#def19]
vapoursynth-65-build/vapoursynth-R65/src/core/expr/expr.cpp:391:44: warning[core.NonNullParamChecker]: Forming reference to null pointer
# 389| return NAN;
# 390| case ExprOpType::SQRT: return std::sqrt(LEFT);
# 391|-> case ExprOpType::ABS: return std::fabs(LEFT);
# 392| case ExprOpType::NEG: return -LEFT;
# 393| case ExprOpType::MAX: return std::max(LEFT, RIGHT);
Error: CLANG_WARNING: [#def20]
vapoursynth-65-build/vapoursynth-R65/src/core/expr/expr.cpp:392:35: warning[core.NonNullParamChecker]: Forming reference to null pointer
# 390| case ExprOpType::SQRT: return std::sqrt(LEFT);
# 391| case ExprOpType::ABS: return std::fabs(LEFT);
# 392|-> case ExprOpType::NEG: return -LEFT;
# 393| case ExprOpType::MAX: return std::max(LEFT, RIGHT);
# 394| case ExprOpType::MIN: return std::min(LEFT, RIGHT);
Error: CLANG_WARNING: [#def21]
vapoursynth-65-build/vapoursynth-R65/src/core/expr/expr.cpp:393:43: warning[core.NonNullParamChecker]: Forming reference to null pointer
# 391| case ExprOpType::ABS: return std::fabs(LEFT);
# 392| case ExprOpType::NEG: return -LEFT;
# 393|-> case ExprOpType::MAX: return std::max(LEFT, RIGHT);
# 394| case ExprOpType::MIN: return std::min(LEFT, RIGHT);
# 395| case ExprOpType::CMP:
Error: CLANG_WARNING: [#def22]
vapoursynth-65-build/vapoursynth-R65/src/core/expr/expr.cpp:394:43: warning[core.NonNullParamChecker]: Forming reference to null pointer
# 392| case ExprOpType::NEG: return -LEFT;
# 393| case ExprOpType::MAX: return std::max(LEFT, RIGHT);
# 394|-> case ExprOpType::MIN: return std::min(LEFT, RIGHT);
# 395| case ExprOpType::CMP:
# 396| switch (static_cast<ComparisonType>(node.op.imm.u)) {
Error: CLANG_WARNING: [#def23]
vapoursynth-65-build/vapoursynth-R65/src/core/expr/expr.cpp:397:52: warning[core.NonNullParamChecker]: Forming reference to null pointer
# 395| case ExprOpType::CMP:
# 396| switch (static_cast<ComparisonType>(node.op.imm.u)) {
# 397|-> case ComparisonType::EQ: return bool2float(LEFT == RIGHT);
# 398| case ComparisonType::LT: return bool2float(LEFT < RIGHT);
# 399| case ComparisonType::LE: return bool2float(LEFT <= RIGHT);
Error: CLANG_WARNING: [#def24]
vapoursynth-65-build/vapoursynth-R65/src/core/expr/expr.cpp:398:52: warning[core.NonNullParamChecker]: Forming reference to null pointer
# 396| switch (static_cast<ComparisonType>(node.op.imm.u)) {
# 397| case ComparisonType::EQ: return bool2float(LEFT == RIGHT);
# 398|-> case ComparisonType::LT: return bool2float(LEFT < RIGHT);
# 399| case ComparisonType::LE: return bool2float(LEFT <= RIGHT);
# 400| case ComparisonType::NEQ: return bool2float(LEFT != RIGHT);
Error: CLANG_WARNING: [#def25]
vapoursynth-65-build/vapoursynth-R65/src/core/expr/expr.cpp:399:52: warning[core.NonNullParamChecker]: Forming reference to null pointer
# 397| case ComparisonType::EQ: return bool2float(LEFT == RIGHT);
# 398| case ComparisonType::LT: return bool2float(LEFT < RIGHT);
# 399|-> case ComparisonType::LE: return bool2float(LEFT <= RIGHT);
# 400| case ComparisonType::NEQ: return bool2float(LEFT != RIGHT);
# 401| case ComparisonType::NLT: return bool2float(LEFT >= RIGHT);
Error: CLANG_WARNING: [#def26]
vapoursynth-65-build/vapoursynth-R65/src/core/expr/expr.cpp:400:53: warning[core.NonNullParamChecker]: Forming reference to null pointer
# 398| case ComparisonType::LT: return bool2float(LEFT < RIGHT);
# 399| case ComparisonType::LE: return bool2float(LEFT <= RIGHT);
# 400|-> case ComparisonType::NEQ: return bool2float(LEFT != RIGHT);
# 401| case ComparisonType::NLT: return bool2float(LEFT >= RIGHT);
# 402| case ComparisonType::NLE: return bool2float(LEFT > RIGHT);
Error: CLANG_WARNING: [#def27]
vapoursynth-65-build/vapoursynth-R65/src/core/expr/expr.cpp:401:53: warning[core.NonNullParamChecker]: Forming reference to null pointer
# 399| case ComparisonType::LE: return bool2float(LEFT <= RIGHT);
# 400| case ComparisonType::NEQ: return bool2float(LEFT != RIGHT);
# 401|-> case ComparisonType::NLT: return bool2float(LEFT >= RIGHT);
# 402| case ComparisonType::NLE: return bool2float(LEFT > RIGHT);
# 403| }
Error: CLANG_WARNING: [#def28]
vapoursynth-65-build/vapoursynth-R65/src/core/expr/expr.cpp:402:53: warning[core.NonNullParamChecker]: Forming reference to null pointer
# 400| case ComparisonType::NEQ: return bool2float(LEFT != RIGHT);
# 401| case ComparisonType::NLT: return bool2float(LEFT >= RIGHT);
# 402|-> case ComparisonType::NLE: return bool2float(LEFT > RIGHT);
# 403| }
# 404| return NAN;
Error: CLANG_WARNING: [#def29]
vapoursynth-65-build/vapoursynth-R65/src/core/expr/expr.cpp:405:56: warning[core.NonNullParamChecker]: Forming reference to null pointer
# 403| }
# 404| return NAN;
# 405|-> case ExprOpType::AND: return bool2float(float2bool(LEFT) && float2bool(RIGHT));
# 406| case ExprOpType::OR: return bool2float(float2bool(LEFT) || float2bool(RIGHT));
# 407| case ExprOpType::XOR: return bool2float(float2bool(LEFT) != float2bool(RIGHT));
Error: CLANG_WARNING: [#def30]
vapoursynth-65-build/vapoursynth-R65/src/core/expr/expr.cpp:406:55: warning[core.NonNullParamChecker]: Forming reference to null pointer
# 404| return NAN;
# 405| case ExprOpType::AND: return bool2float(float2bool(LEFT) && float2bool(RIGHT));
# 406|-> case ExprOpType::OR: return bool2float(float2bool(LEFT) || float2bool(RIGHT));
# 407| case ExprOpType::XOR: return bool2float(float2bool(LEFT) != float2bool(RIGHT));
# 408| case ExprOpType::NOT: return bool2float(!float2bool(LEFT));
Error: CLANG_WARNING: [#def31]
vapoursynth-65-build/vapoursynth-R65/src/core/expr/expr.cpp:407:56: warning[core.NonNullParamChecker]: Forming reference to null pointer
# 405| case ExprOpType::AND: return bool2float(float2bool(LEFT) && float2bool(RIGHT));
# 406| case ExprOpType::OR: return bool2float(float2bool(LEFT) || float2bool(RIGHT));
# 407|-> case ExprOpType::XOR: return bool2float(float2bool(LEFT) != float2bool(RIGHT));
# 408| case ExprOpType::NOT: return bool2float(!float2bool(LEFT));
# 409| case ExprOpType::EXP: return std::exp(LEFT);
Error: CLANG_WARNING: [#def32]
vapoursynth-65-build/vapoursynth-R65/src/core/expr/expr.cpp:408:57: warning[core.NonNullParamChecker]: Forming reference to null pointer
# 406| case ExprOpType::OR: return bool2float(float2bool(LEFT) || float2bool(RIGHT));
# 407| case ExprOpType::XOR: return bool2float(float2bool(LEFT) != float2bool(RIGHT));
# 408|-> case ExprOpType::NOT: return bool2float(!float2bool(LEFT));
# 409| case ExprOpType::EXP: return std::exp(LEFT);
# 410| case ExprOpType::LOG: return std::log(LEFT);
Error: CLANG_WARNING: [#def33]
vapoursynth-65-build/vapoursynth-R65/src/core/expr/expr.cpp:409:43: warning[core.NonNullParamChecker]: Forming reference to null pointer
# 407| case ExprOpType::XOR: return bool2float(float2bool(LEFT) != float2bool(RIGHT));
# 408| case ExprOpType::NOT: return bool2float(!float2bool(LEFT));
# 409|-> case ExprOpType::EXP: return std::exp(LEFT);
# 410| case ExprOpType::LOG: return std::log(LEFT);
# 411| case ExprOpType::POW: return std::pow(LEFT, RIGHT);
Error: CLANG_WARNING: [#def34]
vapoursynth-65-build/vapoursynth-R65/src/core/expr/expr.cpp:410:43: warning[core.NonNullParamChecker]: Forming reference to null pointer
# 408| case ExprOpType::NOT: return bool2float(!float2bool(LEFT));
# 409| case ExprOpType::EXP: return std::exp(LEFT);
# 410|-> case ExprOpType::LOG: return std::log(LEFT);
# 411| case ExprOpType::POW: return std::pow(LEFT, RIGHT);
# 412| case ExprOpType::SIN: return std::sin(LEFT);
Error: CLANG_WARNING: [#def35]
vapoursynth-65-build/vapoursynth-R65/src/core/expr/expr.cpp:411:43: warning[core.NonNullParamChecker]: Forming reference to null pointer
# 409| case ExprOpType::EXP: return std::exp(LEFT);
# 410| case ExprOpType::LOG: return std::log(LEFT);
# 411|-> case ExprOpType::POW: return std::pow(LEFT, RIGHT);
# 412| case ExprOpType::SIN: return std::sin(LEFT);
# 413| case ExprOpType::COS: return std::cos(LEFT);
Error: CLANG_WARNING: [#def36]
vapoursynth-65-build/vapoursynth-R65/src/core/expr/expr.cpp:412:43: warning[core.NonNullParamChecker]: Forming reference to null pointer
# 410| case ExprOpType::LOG: return std::log(LEFT);
# 411| case ExprOpType::POW: return std::pow(LEFT, RIGHT);
# 412|-> case ExprOpType::SIN: return std::sin(LEFT);
# 413| case ExprOpType::COS: return std::cos(LEFT);
# 414| case ExprOpType::TERNARY: return float2bool(LEFT) ? RIGHTLEFT : RIGHTRIGHT;
Error: CLANG_WARNING: [#def37]
vapoursynth-65-build/vapoursynth-R65/src/core/expr/expr.cpp:413:43: warning[core.NonNullParamChecker]: Forming reference to null pointer
# 411| case ExprOpType::POW: return std::pow(LEFT, RIGHT);
# 412| case ExprOpType::SIN: return std::sin(LEFT);
# 413|-> case ExprOpType::COS: return std::cos(LEFT);
# 414| case ExprOpType::TERNARY: return float2bool(LEFT) ? RIGHTLEFT : RIGHTRIGHT;
# 415| default: return NAN;
Error: CLANG_WARNING: [#def38]
vapoursynth-65-build/vapoursynth-R65/src/core/expr/expr.cpp:414:49: warning[core.NonNullParamChecker]: Forming reference to null pointer
# 412| case ExprOpType::SIN: return std::sin(LEFT);
# 413| case ExprOpType::COS: return std::cos(LEFT);
# 414|-> case ExprOpType::TERNARY: return float2bool(LEFT) ? RIGHTLEFT : RIGHTRIGHT;
# 415| default: return NAN;
# 416| }
Error: CLANG_WARNING: [#def39]
vapoursynth-65-build/vapoursynth-R65/src/core/expr/expr.cpp:917:43: warning[core.NonNullParamChecker]: Forming reference to null pointer
# 915|
# 916| // (a ** b) * a = a ** (b + 1)
# 917|-> if (node.op == ExprOpType::MUL && node.left->op == ExprOpType::POW && node.left->left->valueNum == node.right->valueNum) {
# 918| replaceNode(node, *node.left);
# 919| ExpressionTreeNode *tmp = node.right;
Error: CLANG_WARNING: [#def40]
vapoursynth-65-build/vapoursynth-R65/src/core/expr/expr.cpp:917:108: warning[core.NullDereference]: Access to field 'valueNum' results in a dereference of a null pointer (loaded from field 'right')
# 915|
# 916| // (a ** b) * a = a ** (b + 1)
# 917|-> if (node.op == ExprOpType::MUL && node.left->op == ExprOpType::POW && node.left->left->valueNum == node.right->valueNum) {
# 918| replaceNode(node, *node.left);
# 919| ExpressionTreeNode *tmp = node.right;
Error: CLANG_WARNING: [#def41]
vapoursynth-65-build/vapoursynth-R65/src/core/expr/expr.cpp:927:43: warning[core.NonNullParamChecker]: Forming reference to null pointer
# 925|
# 926| // (a ** b) * (a ** c) = a ** (b + c)
# 927|-> if (node.op == ExprOpType::MUL && node.left->op == ExprOpType::POW && node.right->op == ExprOpType::POW && node.left->left->valueNum == node.right->left->valueNum) {
# 928| ExpressionTreeNode *lhs = node.left->right;
# 929| ExpressionTreeNode *rhs = node.right->right;
Error: CLANG_WARNING: [#def42]
vapoursynth-65-build/vapoursynth-R65/src/core/expr/expr.cpp:1057:69: warning[core.NonNullParamChecker]: Forming reference to null pointer
# 1055|
# 1056| // Move constants to right-hand side to simplify identities.
# 1057|-> if (isOpCode(node, { ExprOpType::ADD, ExprOpType::MUL }) && isConstant(*node.left) && !isConstant(*node.right)) {
# 1058| std::swap(node.left, node.right);
# 1059| changed = true;
Error: CLANG_WARNING: [#def43]
vapoursynth-65-build/vapoursynth-R65/src/core/expr/expr.cpp:1063:69: warning[core.NonNullParamChecker]: Forming reference to null pointer
# 1061|
# 1062| // x + 0 = x x - 0 = x
# 1063|-> if (isOpCode(node, { ExprOpType::ADD, ExprOpType::SUB }) && isConstant(*node.right, 0.0f)) {
# 1064| replaceNode(node, *node.left);
# 1065| changed = true;
Error: CLANG_WARNING: [#def44]
vapoursynth-65-build/vapoursynth-R65/src/core/expr/expr.cpp:1064:13: warning[core.NonNullParamChecker]: Forming reference to null pointer
# 1062| // x + 0 = x x - 0 = x
# 1063| if (isOpCode(node, { ExprOpType::ADD, ExprOpType::SUB }) && isConstant(*node.right, 0.0f)) {
# 1064|-> replaceNode(node, *node.left);
# 1065| changed = true;
# 1066| }
Error: CLANG_WARNING: [#def45]
vapoursynth-65-build/vapoursynth-R65/src/core/expr/expr.cpp:1069:44: warning[core.NonNullParamChecker]: Forming reference to null pointer
# 1067|
# 1068| // x * 0 = 0 0 / x = 0
# 1069|-> if ((node.op == ExprOpType::MUL && isConstant(*node.right, 0.0f)) || (node.op == ExprOpType::DIV && isConstant(*node.left, 0.0f))) {
# 1070| replaceNode(node, ExpressionTreeNode{ { ExprOpType::CONSTANT, 0.0f } });
# 1071| changed = true;
Error: CLANG_WARNING: [#def46]
vapoursynth-65-build/vapoursynth-R65/src/core/expr/expr.cpp:1069:109: warning[core.NonNullParamChecker]: Forming reference to null pointer
# 1067|
# 1068| // x * 0 = 0 0 / x = 0
# 1069|-> if ((node.op == ExprOpType::MUL && isConstant(*node.right, 0.0f)) || (node.op == ExprOpType::DIV && isConstant(*node.left, 0.0f))) {
# 1070| replaceNode(node, ExpressionTreeNode{ { ExprOpType::CONSTANT, 0.0f } });
# 1071| changed = true;
Error: CLANG_WARNING: [#def47]
vapoursynth-65-build/vapoursynth-R65/src/core/expr/expr.cpp:1075:69: warning[core.NonNullParamChecker]: Forming reference to null pointer
# 1073|
# 1074| // x * 1 = x x / 1 = x
# 1075|-> if (isOpCode(node, { ExprOpType::MUL, ExprOpType::DIV }) && isConstant(*node.right, 1.0f)) {
# 1076| replaceNode(node, *node.left);
# 1077| changed = true;
Error: COMPILER_WARNING (CWE-9001): [#def48]
vapoursynth-65-build/vapoursynth-R65/src/core/expr/jitcompiler_x86.cpp:28: included_from: Included from here.
vapoursynth-65-build/vapoursynth-R65/src/core/expr/jitasm.h: scope_hint: In constructor 'jitasm::detail::ResultT<float, 4>::ResultT(float)'
vapoursynth-65-build/vapoursynth-R65/src/core/expr/jitasm.h:8634:56: warning[-Wstrict-aliasing]: dereferencing type-punned pointer will break strict-aliasing rules
# 8634 | ResultT(const float imm) : val_(Imm32(*(uint32*)&imm)) {}
# | ^~~~~~~~~~~~~
# 8632| ResultT(const Mem32& mem) : val_(mem) {}
# 8633| ResultT(const XmmReg& xmm) : val_(xmm) {}
# 8634|-> ResultT(const float imm) : val_(Imm32(*(uint32*)&imm)) {}
# 8635| void StoreResult(Frontend& f, const ResultDest& /*dst*/)
# 8636| {
Error: COMPILER_WARNING (CWE-9001): [#def49]
vapoursynth-65-build/vapoursynth-R65/src/core/expr/jitasm.h: scope_hint: In member function 'void jitasm::detail::ResultT<double, 8>::StoreResult(jitasm::Frontend&, const jitasm::detail::ResultDest&)'
vapoursynth-65-build/vapoursynth-R65/src/core/expr/jitasm.h:8709:64: warning[-Wstrict-aliasing]: dereferencing type-punned pointer will break strict-aliasing rules
# 8709 | f.mov(f.dword_ptr[f.rsp - 8], *reinterpret_cast<uint32*>(&imm_));
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 8707| } else if (val_.IsImm()) {
# 8708| // from float immediate
# 8709|-> f.mov(f.dword_ptr[f.rsp - 8], *reinterpret_cast<uint32*>(&imm_));
# 8710| f.mov(f.dword_ptr[f.rsp - 4], *(reinterpret_cast<uint32*>(&imm_) + 1));
# 8711| f.movsd(f.xmm0, f.qword_ptr[f.rsp - 8]);
Error: CPPCHECK_WARNING: [#def50]
vapoursynth-65-build/vapoursynth-R65/src/core/expr/jitcompiler_x86.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def51]
vapoursynth-65-build/vapoursynth-R65/src/core/exprfilter.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def52]
vapoursynth-65-build/vapoursynth-R65/src/core/exprfilter.cpp:297:9: warning[core.NonNullParamChecker]: Forming reference to null pointer
# 295| }
# 296|
# 297|-> d->vi = *vi[0];
# 298| int format = vsapi->mapGetIntSaturated(in, "format", 0, &err);
# 299| if (!err) {
Error: CPPCHECK_WARNING: [#def53]
vapoursynth-65-build/vapoursynth-R65/src/core/genericfilters.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def54]
vapoursynth-65-build/vapoursynth-R65/src/core/kernel/cpulevel.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def55]
vapoursynth-65-build/vapoursynth-R65/src/core/kernel/generic.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def56]
vapoursynth-65-build/vapoursynth-R65/src/core/kernel/transpose.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def57]
vapoursynth-65-build/vapoursynth-R65/src/core/kernel/x86/convolution_avx2.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def58]
vapoursynth-65-build/vapoursynth-R65/src/core/kernel/x86/convolution_sse2.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def59]
vapoursynth-65-build/vapoursynth-R65/src/core/kernel/x86/generic_avx2.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def60]
vapoursynth-65-build/vapoursynth-R65/src/core/kernel/x86/generic_sse2.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING: [#def61]
vapoursynth-65-build/vapoursynth-R65/src/core/kernel/x86/merge_avx2.c: scope_hint: In function 'div255_epu16'
vapoursynth-65-build/vapoursynth-R65/src/core/kernel/x86/merge_avx2.c:109:1: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
vapoursynth-65-build/vapoursynth-R65/src/core/kernel/x86/merge_avx2.c:108:16: note: the ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
# 107|
# 108| static __m256i div255_epu16(__m256i x)
# 109|-> {
# 110| x = _mm256_mulhi_epu16(x, _mm256_set1_epi16(0x8081));
# 111| x = _mm256_srli_epi16(x, 7);
Error: COMPILER_WARNING: [#def62]
vapoursynth-65-build/vapoursynth-R65/src/core/kernel/x86/planestats_avx2.c: scope_hint: In function 'vs_plane_stats_1_byte_avx2'
vapoursynth-65-build/vapoursynth-R65/src/core/kernel/x86/planestats_avx2.c:103:13: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
vapoursynth-65-build/vapoursynth-R65/src/core/kernel/x86/planestats_avx2.c: scope_hint: In function 'hmin_epu8'
vapoursynth-65-build/vapoursynth-R65/src/core/kernel/x86/planestats_avx2.c:39:17: note: the ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
# 101| unsigned x, y;
# 102|
# 103|-> __m256i mmin = _mm256_set1_epi8(UINT8_MAX);
# 104| __m256i mmax = _mm256_setzero_si256();
# 105| __m256i macc = _mm256_setzero_si256();
Error: CPPCHECK_WARNING: [#def63]
vapoursynth-65-build/vapoursynth-R65/src/core/kernel/x86/transpose_sse2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def64]
vapoursynth-65-build/vapoursynth-R65/src/core/lutfilters.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def65]
vapoursynth-65-build/vapoursynth-R65/src/core/mergefilters.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def66]
vapoursynth-65-build/vapoursynth-R65/src/core/reorderfilters.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def67]
vapoursynth-65-build/vapoursynth-R65/src/core/settings.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def68]
vapoursynth-65-build/vapoursynth-R65/src/core/simplefilters.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-562): [#def69]
vapoursynth-65-build/vapoursynth-R65/src/core/simplefilters.cpp:545: error[returnDanglingLifetime]: Returning pointer to local variable 'src' that will be invalid when returning.
# 543|
# 544| vsapi->freeFrame(src);
# 545|-> return dst;
# 546| }
# 547| }
Error: CPPCHECK_WARNING: [#def70]
vapoursynth-65-build/vapoursynth-R65/src/core/textfilter.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def71]
vapoursynth-65-build/vapoursynth-R65/src/core/vsapi.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def72]
vapoursynth-65-build/vapoursynth-R65/src/core/vscore.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-562): [#def73]
vapoursynth-65-build/vapoursynth-R65/src/core/vscore.cpp:2036: error[danglingLifetime]: Non-local variable 'plugins' will use object that points to local variable 'p'.
# 2034| }
# 2035|
# 2036|-> plugins.insert(std::make_pair(p->getID(), p.get()));
# 2037| p.release();
# 2038| }
Error: CPPCHECK_WARNING (CWE-686): [#def74]
vapoursynth-65-build/vapoursynth-R65/src/core/vscore.h:181: error[memsetClass]: Using 'memcpy' on class that contains a 'std::string'.
# 179| } else {
# 180| data.resize(count);
# 181|-> memcpy(data.data(), val, sizeof(T) * count);
# 182| }
# 183| }
Error: CPPCHECK_WARNING: [#def75]
vapoursynth-65-build/vapoursynth-R65/src/core/vsresize.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def76]
vapoursynth-65-build/vapoursynth-R65/src/core/vsresize.cpp:817:25: warning[deadcode.DeadStores]: Value stored to 'name' during its initialization is never read
# 815| vszimg *x = new vszimg{ in, userData, core, vsapi };
# 816| vszimg_userdata u{ userData };
# 817|-> const char *name = "";
# 818|
# 819| if (u.op == FieldOp::DEINTERLACE) {
Error: CPPCHECK_WARNING: [#def77]
vapoursynth-65-build/vapoursynth-R65/src/core/vsthreadpool.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-909): [#def78]
vapoursynth-65-build/vapoursynth-R65/src/cython/vapoursynth.c:113039:1: warning[-Wmissing-field-initializers]: missing initializer for field 'tp_versions_used' of 'PyTypeObject' {aka 'struct _typeobject'}
#113039 | };
# | ^
/usr/include/python3.13/object.h:1224: included_from: Included from here.
/usr/include/python3.13/Python.h:68: included_from: Included from here.
vapoursynth-65-build/vapoursynth-R65/src/cython/vapoursynth.c:16: included_from: Included from here.
/usr/include/python3.13/cpython/object.h:232:14: note: 'tp_versions_used' declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#113037| 0, /*tp_pypy_flags*/
#113038| #endif
#113039|-> };
#113040| #endif
#113041|
Error: COMPILER_WARNING (CWE-909): [#def79]
vapoursynth-65-build/vapoursynth-R65/src/cython/vapoursynth.c:113215:1: warning[-Wmissing-field-initializers]: missing initializer for field 'tp_versions_used' of 'PyTypeObject' {aka 'struct _typeobject'}
#113215 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: 'tp_versions_used' declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#113213| 0, /*tp_pypy_flags*/
#113214| #endif
#113215|-> };
#113216| #endif
#113217| static struct __pyx_vtabstruct_11vapoursynth_EnvironmentPolicyAPI __pyx_vtable_11vapoursynth_EnvironmentPolicyAPI;
Error: COMPILER_WARNING (CWE-909): [#def80]
vapoursynth-65-build/vapoursynth-R65/src/cython/vapoursynth.c:113399:1: warning[-Wmissing-field-initializers]: missing initializer for field 'tp_versions_used' of 'PyTypeObject' {aka 'struct _typeobject'}
#113399 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: 'tp_versions_used' declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#113397| 0, /*tp_pypy_flags*/
#113398| #endif
#113399|-> };
#113400| #endif
#113401|
Error: COMPILER_WARNING (CWE-909): [#def81]
vapoursynth-65-build/vapoursynth-R65/src/cython/vapoursynth.c:113562:1: warning[-Wmissing-field-initializers]: missing initializer for field 'tp_versions_used' of 'PyTypeObject' {aka 'struct _typeobject'}
#113562 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: 'tp_versions_used' declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#113560| 0, /*tp_pypy_flags*/
#113561| #endif
#113562|-> };
#113563| #endif
#113564| static struct __pyx_vtabstruct_11vapoursynth_Environment __pyx_vtable_11vapoursynth_Environment;
Error: COMPILER_WARNING (CWE-909): [#def82]
vapoursynth-65-build/vapoursynth-R65/src/cython/vapoursynth.c:113791:1: warning[-Wmissing-field-initializers]: missing initializer for field 'tp_versions_used' of 'PyTypeObject' {aka 'struct _typeobject'}
#113791 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: 'tp_versions_used' declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#113789| 0, /*tp_pypy_flags*/
#113790| #endif
#113791|-> };
#113792| #endif
#113793|
Error: COMPILER_WARNING (CWE-909): [#def83]
vapoursynth-65-build/vapoursynth-R65/src/cython/vapoursynth.c:113951:1: warning[-Wmissing-field-initializers]: missing initializer for field 'tp_versions_used' of 'PyTypeObject' {aka 'struct _typeobject'}
#113951 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: 'tp_versions_used' declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#113949| 0, /*tp_pypy_flags*/
#113950| #endif
#113951|-> };
#113952| #endif
#113953|
Error: COMPILER_WARNING (CWE-909): [#def84]
vapoursynth-65-build/vapoursynth-R65/src/cython/vapoursynth.c:114124:1: warning[-Wmissing-field-initializers]: missing initializer for field 'tp_versions_used' of 'PyTypeObject' {aka 'struct _typeobject'}
#114124 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: 'tp_versions_used' declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#114122| 0, /*tp_pypy_flags*/
#114123| #endif
#114124|-> };
#114125| #endif
#114126|
Error: COMPILER_WARNING (CWE-909): [#def85]
vapoursynth-65-build/vapoursynth-R65/src/cython/vapoursynth.c:114271:1: warning[-Wmissing-field-initializers]: missing initializer for field 'tp_versions_used' of 'PyTypeObject' {aka 'struct _typeobject'}
#114271 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: 'tp_versions_used' declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#114269| 0, /*tp_pypy_flags*/
#114270| #endif
#114271|-> };
#114272| #endif
#114273|
Error: COMPILER_WARNING (CWE-909): [#def86]
vapoursynth-65-build/vapoursynth-R65/src/cython/vapoursynth.c:114451:1: warning[-Wmissing-field-initializers]: missing initializer for field 'tp_versions_used' of 'PyTypeObject' {aka 'struct _typeobject'}
#114451 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: 'tp_versions_used' declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#114449| 0, /*tp_pypy_flags*/
#114450| #endif
#114451|-> };
#114452| #endif
#114453|
Error: COMPILER_WARNING (CWE-909): [#def87]
vapoursynth-65-build/vapoursynth-R65/src/cython/vapoursynth.c:114597:1: warning[-Wmissing-field-initializers]: missing initializer for field 'tp_versions_used' of 'PyTypeObject' {aka 'struct _typeobject'}
#114597 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: 'tp_versions_used' declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#114595| 0, /*tp_pypy_flags*/
#114596| #endif
#114597|-> };
#114598| #endif
#114599|
Error: COMPILER_WARNING (CWE-909): [#def88]
vapoursynth-65-build/vapoursynth-R65/src/cython/vapoursynth.c:114920:1: warning[-Wmissing-field-initializers]: missing initializer for field 'tp_versions_used' of 'PyTypeObject' {aka 'struct _typeobject'}
#114920 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: 'tp_versions_used' declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#114918| 0, /*tp_pypy_flags*/
#114919| #endif
#114920|-> };
#114921| #endif
#114922|
Error: COMPILER_WARNING (CWE-909): [#def89]
vapoursynth-65-build/vapoursynth-R65/src/cython/vapoursynth.c:115164:1: warning[-Wmissing-field-initializers]: missing initializer for field 'tp_versions_used' of 'PyTypeObject' {aka 'struct _typeobject'}
#115164 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: 'tp_versions_used' declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#115162| 0, /*tp_pypy_flags*/
#115163| #endif
#115164|-> };
#115165| #endif
#115166| static struct __pyx_vtabstruct_11vapoursynth_RawFrame __pyx_vtable_11vapoursynth_RawFrame;
Error: COMPILER_WARNING (CWE-909): [#def90]
vapoursynth-65-build/vapoursynth-R65/src/cython/vapoursynth.c:115352:1: warning[-Wmissing-field-initializers]: missing initializer for field 'tp_versions_used' of 'PyTypeObject' {aka 'struct _typeobject'}
#115352 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: 'tp_versions_used' declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#115350| 0, /*tp_pypy_flags*/
#115351| #endif
#115352|-> };
#115353| #endif
#115354| static struct __pyx_vtabstruct_11vapoursynth_VideoFrame __pyx_vtable_11vapoursynth_VideoFrame;
Error: COMPILER_WARNING (CWE-909): [#def91]
vapoursynth-65-build/vapoursynth-R65/src/cython/vapoursynth.c:115562:1: warning[-Wmissing-field-initializers]: missing initializer for field 'tp_versions_used' of 'PyTypeObject' {aka 'struct _typeobject'}
#115562 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: 'tp_versions_used' declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#115560| 0, /*tp_pypy_flags*/
#115561| #endif
#115562|-> };
#115563| #endif
#115564| static struct __pyx_vtabstruct_11vapoursynth__frame __pyx_vtable_11vapoursynth__frame;
Error: COMPILER_WARNING (CWE-909): [#def92]
vapoursynth-65-build/vapoursynth-R65/src/cython/vapoursynth.c:115692:1: warning[-Wmissing-field-initializers]: missing initializer for field 'tp_versions_used' of 'PyTypeObject' {aka 'struct _typeobject'}
#115692 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: 'tp_versions_used' declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#115690| 0, /*tp_pypy_flags*/
#115691| #endif
#115692|-> };
#115693| #endif
#115694|
Error: COMPILER_WARNING (CWE-909): [#def93]
vapoursynth-65-build/vapoursynth-R65/src/cython/vapoursynth.c:115891:1: warning[-Wmissing-field-initializers]: missing initializer for field 'tp_versions_used' of 'PyTypeObject' {aka 'struct _typeobject'}
#115891 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: 'tp_versions_used' declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#115889| 0, /*tp_pypy_flags*/
#115890| #endif
#115891|-> };
#115892| #endif
#115893| static struct __pyx_vtabstruct_11vapoursynth__video __pyx_vtable_11vapoursynth__video;
Error: COMPILER_WARNING (CWE-909): [#def94]
vapoursynth-65-build/vapoursynth-R65/src/cython/vapoursynth.c:116021:1: warning[-Wmissing-field-initializers]: missing initializer for field 'tp_versions_used' of 'PyTypeObject' {aka 'struct _typeobject'}
#116021 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: 'tp_versions_used' declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#116019| 0, /*tp_pypy_flags*/
#116020| #endif
#116021|-> };
#116022| #endif
#116023| static struct __pyx_vtabstruct_11vapoursynth_AudioFrame __pyx_vtable_11vapoursynth_AudioFrame;
Error: COMPILER_WARNING (CWE-909): [#def95]
vapoursynth-65-build/vapoursynth-R65/src/cython/vapoursynth.c:116245:1: warning[-Wmissing-field-initializers]: missing initializer for field 'tp_versions_used' of 'PyTypeObject' {aka 'struct _typeobject'}
#116245 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: 'tp_versions_used' declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#116243| 0, /*tp_pypy_flags*/
#116244| #endif
#116245|-> };
#116246| #endif
#116247|
Error: COMPILER_WARNING (CWE-909): [#def96]
vapoursynth-65-build/vapoursynth-R65/src/cython/vapoursynth.c:116444:1: warning[-Wmissing-field-initializers]: missing initializer for field 'tp_versions_used' of 'PyTypeObject' {aka 'struct _typeobject'}
#116444 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: 'tp_versions_used' declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#116442| 0, /*tp_pypy_flags*/
#116443| #endif
#116444|-> };
#116445| #endif
#116446| static struct __pyx_vtabstruct_11vapoursynth__audio __pyx_vtable_11vapoursynth__audio;
Error: COMPILER_WARNING (CWE-909): [#def97]
vapoursynth-65-build/vapoursynth-R65/src/cython/vapoursynth.c:116574:1: warning[-Wmissing-field-initializers]: missing initializer for field 'tp_versions_used' of 'PyTypeObject' {aka 'struct _typeobject'}
#116574 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: 'tp_versions_used' declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#116572| 0, /*tp_pypy_flags*/
#116573| #endif
#116574|-> };
#116575| #endif
#116576| static struct __pyx_vtabstruct_11vapoursynth_RawNode __pyx_vtable_11vapoursynth_RawNode;
Error: COMPILER_WARNING (CWE-909): [#def98]
vapoursynth-65-build/vapoursynth-R65/src/cython/vapoursynth.c:116812:1: warning[-Wmissing-field-initializers]: missing initializer for field 'tp_versions_used' of 'PyTypeObject' {aka 'struct _typeobject'}
#116812 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: 'tp_versions_used' declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#116810| 0, /*tp_pypy_flags*/
#116811| #endif
#116812|-> };
#116813| #endif
#116814| static struct __pyx_vtabstruct_11vapoursynth_VideoNode __pyx_vtable_11vapoursynth_VideoNode;
Error: COMPILER_WARNING (CWE-909): [#def99]
vapoursynth-65-build/vapoursynth-R65/src/cython/vapoursynth.c:117198:1: warning[-Wmissing-field-initializers]: missing initializer for field 'tp_versions_used' of 'PyTypeObject' {aka 'struct _typeobject'}
#117198 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: 'tp_versions_used' declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#117196| 0, /*tp_pypy_flags*/
#117197| #endif
#117198|-> };
#117199| #endif
#117200| static struct __pyx_vtabstruct_11vapoursynth_AudioNode __pyx_vtable_11vapoursynth_AudioNode;
Error: COMPILER_WARNING (CWE-909): [#def100]
vapoursynth-65-build/vapoursynth-R65/src/cython/vapoursynth.c:117585:1: warning[-Wmissing-field-initializers]: missing initializer for field 'tp_versions_used' of 'PyTypeObject' {aka 'struct _typeobject'}
#117585 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: 'tp_versions_used' declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#117583| 0, /*tp_pypy_flags*/
#117584| #endif
#117585|-> };
#117586| #endif
#117587|
Error: COMPILER_WARNING (CWE-909): [#def101]
vapoursynth-65-build/vapoursynth-R65/src/cython/vapoursynth.c:117749:1: warning[-Wmissing-field-initializers]: missing initializer for field 'tp_versions_used' of 'PyTypeObject' {aka 'struct _typeobject'}
#117749 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: 'tp_versions_used' declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#117747| 0, /*tp_pypy_flags*/
#117748| #endif
#117749|-> };
#117750| #endif
#117751|
Error: COMPILER_WARNING (CWE-909): [#def102]
vapoursynth-65-build/vapoursynth-R65/src/cython/vapoursynth.c:117965:1: warning[-Wmissing-field-initializers]: missing initializer for field 'tp_versions_used' of 'PyTypeObject' {aka 'struct _typeobject'}
#117965 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: 'tp_versions_used' declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#117963| 0, /*tp_pypy_flags*/
#117964| #endif
#117965|-> };
#117966| #endif
#117967|
Error: COMPILER_WARNING (CWE-909): [#def103]
vapoursynth-65-build/vapoursynth-R65/src/cython/vapoursynth.c:118143:1: warning[-Wmissing-field-initializers]: missing initializer for field 'tp_versions_used' of 'PyTypeObject' {aka 'struct _typeobject'}
#118143 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: 'tp_versions_used' declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#118141| 0, /*tp_pypy_flags*/
#118142| #endif
#118143|-> };
#118144| #endif
#118145| static struct __pyx_vtabstruct_11vapoursynth_Plugin __pyx_vtable_11vapoursynth_Plugin;
Error: COMPILER_WARNING (CWE-909): [#def104]
vapoursynth-65-build/vapoursynth-R65/src/cython/vapoursynth.c:118367:1: warning[-Wmissing-field-initializers]: missing initializer for field 'tp_versions_used' of 'PyTypeObject' {aka 'struct _typeobject'}
#118367 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: 'tp_versions_used' declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#118365| 0, /*tp_pypy_flags*/
#118366| #endif
#118367|-> };
#118368| #endif
#118369| static struct __pyx_vtabstruct_11vapoursynth_Function __pyx_vtable_11vapoursynth_Function;
Error: COMPILER_WARNING (CWE-909): [#def105]
vapoursynth-65-build/vapoursynth-R65/src/cython/vapoursynth.c:118576:1: warning[-Wmissing-field-initializers]: missing initializer for field 'tp_versions_used' of 'PyTypeObject' {aka 'struct _typeobject'}
#118576 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: 'tp_versions_used' declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#118574| 0, /*tp_pypy_flags*/
#118575| #endif
#118576|-> };
#118577| #endif
#118578| static struct __pyx_vtabstruct_11vapoursynth_VSScriptEnvironmentPolicy __pyx_vtable_11vapoursynth_VSScriptEnvironmentPolicy;
Error: COMPILER_WARNING (CWE-909): [#def106]
vapoursynth-65-build/vapoursynth-R65/src/cython/vapoursynth.c:118761:1: warning[-Wmissing-field-initializers]: missing initializer for field 'tp_versions_used' of 'PyTypeObject' {aka 'struct _typeobject'}
#118761 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: 'tp_versions_used' declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#118759| 0, /*tp_pypy_flags*/
#118760| #endif
#118761|-> };
#118762| #endif
#118763|
Error: COMPILER_WARNING (CWE-909): [#def107]
vapoursynth-65-build/vapoursynth-R65/src/cython/vapoursynth.c:118924:1: warning[-Wmissing-field-initializers]: missing initializer for field 'tp_versions_used' of 'PyTypeObject' {aka 'struct _typeobject'}
#118924 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: 'tp_versions_used' declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#118922| 0, /*tp_pypy_flags*/
#118923| #endif
#118924|-> };
#118925| #endif
#118926|
Error: COMPILER_WARNING (CWE-909): [#def108]
vapoursynth-65-build/vapoursynth-R65/src/cython/vapoursynth.c:119087:1: warning[-Wmissing-field-initializers]: missing initializer for field 'tp_versions_used' of 'PyTypeObject' {aka 'struct _typeobject'}
#119087 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: 'tp_versions_used' declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#119085| 0, /*tp_pypy_flags*/
#119086| #endif
#119087|-> };
#119088| #endif
#119089|
Error: COMPILER_WARNING (CWE-909): [#def109]
vapoursynth-65-build/vapoursynth-R65/src/cython/vapoursynth.c:119250:1: warning[-Wmissing-field-initializers]: missing initializer for field 'tp_versions_used' of 'PyTypeObject' {aka 'struct _typeobject'}
#119250 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: 'tp_versions_used' declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#119248| 0, /*tp_pypy_flags*/
#119249| #endif
#119250|-> };
#119251| #endif
#119252|
Error: COMPILER_WARNING (CWE-909): [#def110]
vapoursynth-65-build/vapoursynth-R65/src/cython/vapoursynth.c:119417:1: warning[-Wmissing-field-initializers]: missing initializer for field 'tp_versions_used' of 'PyTypeObject' {aka 'struct _typeobject'}
#119417 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: 'tp_versions_used' declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#119415| 0, /*tp_pypy_flags*/
#119416| #endif
#119417|-> };
#119418| #endif
#119419|
Error: COMPILER_WARNING (CWE-909): [#def111]
vapoursynth-65-build/vapoursynth-R65/src/cython/vapoursynth.c:119576:1: warning[-Wmissing-field-initializers]: missing initializer for field 'tp_versions_used' of 'PyTypeObject' {aka 'struct _typeobject'}
#119576 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: 'tp_versions_used' declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#119574| 0, /*tp_pypy_flags*/
#119575| #endif
#119576|-> };
#119577| #endif
#119578|
Error: COMPILER_WARNING (CWE-909): [#def112]
vapoursynth-65-build/vapoursynth-R65/src/cython/vapoursynth.c:119743:1: warning[-Wmissing-field-initializers]: missing initializer for field 'tp_versions_used' of 'PyTypeObject' {aka 'struct _typeobject'}
#119743 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: 'tp_versions_used' declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#119741| 0, /*tp_pypy_flags*/
#119742| #endif
#119743|-> };
#119744| #endif
#119745|
Error: COMPILER_WARNING (CWE-909): [#def113]
vapoursynth-65-build/vapoursynth-R65/src/cython/vapoursynth.c:119914:1: warning[-Wmissing-field-initializers]: missing initializer for field 'tp_versions_used' of 'PyTypeObject' {aka 'struct _typeobject'}
#119914 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: 'tp_versions_used' declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#119912| 0, /*tp_pypy_flags*/
#119913| #endif
#119914|-> };
#119915| #endif
#119916|
Error: COMPILER_WARNING (CWE-909): [#def114]
vapoursynth-65-build/vapoursynth-R65/src/cython/vapoursynth.c:120083:1: warning[-Wmissing-field-initializers]: missing initializer for field 'tp_versions_used' of 'PyTypeObject' {aka 'struct _typeobject'}
#120083 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: 'tp_versions_used' declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#120081| 0, /*tp_pypy_flags*/
#120082| #endif
#120083|-> };
#120084| #endif
#120085|
Error: COMPILER_WARNING (CWE-909): [#def115]
vapoursynth-65-build/vapoursynth-R65/src/cython/vapoursynth.c:120302:1: warning[-Wmissing-field-initializers]: missing initializer for field 'tp_versions_used' of 'PyTypeObject' {aka 'struct _typeobject'}
#120302 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: 'tp_versions_used' declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#120300| 0, /*tp_pypy_flags*/
#120301| #endif
#120302|-> };
#120303| #endif
#120304|
Error: COMPILER_WARNING (CWE-909): [#def116]
vapoursynth-65-build/vapoursynth-R65/src/cython/vapoursynth.c:120477:1: warning[-Wmissing-field-initializers]: missing initializer for field 'tp_versions_used' of 'PyTypeObject' {aka 'struct _typeobject'}
#120477 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: 'tp_versions_used' declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#120475| 0, /*tp_pypy_flags*/
#120476| #endif
#120477|-> };
#120478| #endif
#120479|
Error: COMPILER_WARNING (CWE-909): [#def117]
vapoursynth-65-build/vapoursynth-R65/src/cython/vapoursynth.c:120646:1: warning[-Wmissing-field-initializers]: missing initializer for field 'tp_versions_used' of 'PyTypeObject' {aka 'struct _typeobject'}
#120646 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: 'tp_versions_used' declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#120644| 0, /*tp_pypy_flags*/
#120645| #endif
#120646|-> };
#120647| #endif
#120648|
Error: COMPILER_WARNING (CWE-909): [#def118]
vapoursynth-65-build/vapoursynth-R65/src/cython/vapoursynth.c:120805:1: warning[-Wmissing-field-initializers]: missing initializer for field 'tp_versions_used' of 'PyTypeObject' {aka 'struct _typeobject'}
#120805 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: 'tp_versions_used' declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#120803| 0, /*tp_pypy_flags*/
#120804| #endif
#120805|-> };
#120806| #endif
#120807|
Error: COMPILER_WARNING (CWE-909): [#def119]
vapoursynth-65-build/vapoursynth-R65/src/cython/vapoursynth.c:120968:1: warning[-Wmissing-field-initializers]: missing initializer for field 'tp_versions_used' of 'PyTypeObject' {aka 'struct _typeobject'}
#120968 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: 'tp_versions_used' declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#120966| 0, /*tp_pypy_flags*/
#120967| #endif
#120968|-> };
#120969| #endif
#120970|
Error: COMPILER_WARNING (CWE-909): [#def120]
vapoursynth-65-build/vapoursynth-R65/src/cython/vapoursynth.c:121131:1: warning[-Wmissing-field-initializers]: missing initializer for field 'tp_versions_used' of 'PyTypeObject' {aka 'struct _typeobject'}
#121131 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: 'tp_versions_used' declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#121129| 0, /*tp_pypy_flags*/
#121130| #endif
#121131|-> };
#121132| #endif
#121133|
Error: COMPILER_WARNING (CWE-909): [#def121]
vapoursynth-65-build/vapoursynth-R65/src/cython/vapoursynth.c:121302:1: warning[-Wmissing-field-initializers]: missing initializer for field 'tp_versions_used' of 'PyTypeObject' {aka 'struct _typeobject'}
#121302 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: 'tp_versions_used' declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#121300| 0, /*tp_pypy_flags*/
#121301| #endif
#121302|-> };
#121303| #endif
#121304|
Error: COMPILER_WARNING (CWE-909): [#def122]
vapoursynth-65-build/vapoursynth-R65/src/cython/vapoursynth.c:121446:1: warning[-Wmissing-field-initializers]: missing initializer for field 'tp_versions_used' of 'PyTypeObject' {aka 'struct _typeobject'}
#121446 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: 'tp_versions_used' declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#121444| 0, /*tp_pypy_flags*/
#121445| #endif
#121446|-> };
#121447| #endif
#121448| static struct __pyx_vtabstruct_array __pyx_vtable_array;
Error: COMPILER_WARNING (CWE-909): [#def123]
vapoursynth-65-build/vapoursynth-R65/src/cython/vapoursynth.c:121709:1: warning[-Wmissing-field-initializers]: missing initializer for field 'tp_versions_used' of 'PyTypeObject' {aka 'struct _typeobject'}
#121709 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: 'tp_versions_used' declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#121707| 0, /*tp_pypy_flags*/
#121708| #endif
#121709|-> };
#121710| #endif
#121711|
Error: COMPILER_WARNING (CWE-909): [#def124]
vapoursynth-65-build/vapoursynth-R65/src/cython/vapoursynth.c:121879:1: warning[-Wmissing-field-initializers]: missing initializer for field 'tp_versions_used' of 'PyTypeObject' {aka 'struct _typeobject'}
#121879 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: 'tp_versions_used' declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#121877| 0, /*tp_pypy_flags*/
#121878| #endif
#121879|-> };
#121880| #endif
#121881| static struct __pyx_vtabstruct_memoryview __pyx_vtable_memoryview;
Error: COMPILER_WARNING (CWE-909): [#def125]
vapoursynth-65-build/vapoursynth-R65/src/cython/vapoursynth.c:122222:1: warning[-Wmissing-field-initializers]: missing initializer for field 'tp_versions_used' of 'PyTypeObject' {aka 'struct _typeobject'}
#122222 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: 'tp_versions_used' declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#122220| 0, /*tp_pypy_flags*/
#122221| #endif
#122222|-> };
#122223| #endif
#122224| static struct __pyx_vtabstruct__memoryviewslice __pyx_vtable__memoryviewslice;
Error: COMPILER_WARNING (CWE-909): [#def126]
vapoursynth-65-build/vapoursynth-R65/src/cython/vapoursynth.c:122392:1: warning[-Wmissing-field-initializers]: missing initializer for field 'tp_versions_used' of 'PyTypeObject' {aka 'struct _typeobject'}
#122392 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: 'tp_versions_used' declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#122390| 0, /*tp_pypy_flags*/
#122391| #endif
#122392|-> };
#122393| #endif
#122394|
Error: COMPILER_WARNING (CWE-909): [#def127]
vapoursynth-65-build/vapoursynth-R65/src/cython/vapoursynth.c:148597:1: warning[-Wmissing-field-initializers]: missing initializer for field 'tp_versions_used' of 'PyTypeObject' {aka 'struct _typeobject'}
#148597 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: 'tp_versions_used' declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#148595| 0,
#148596| #endif
#148597|-> };
#148598| #endif
#148599| static int __pyx_Generator_init(PyObject *module) {
Error: COMPILER_WARNING (CWE-909): [#def128]
vapoursynth-65-build/vapoursynth-R65/src/cython/vapoursynth.c:149683:1: warning[-Wmissing-field-initializers]: missing initializer for field 'tp_versions_used' of 'PyTypeObject' {aka 'struct _typeobject'}
#149683 | };
# | ^
/usr/include/python3.13/cpython/object.h:232:14: note: 'tp_versions_used' declared here
# 232 | uint16_t tp_versions_used;
# | ^~~~~~~~~~~~~~~~
#149681| 0,
#149682| #endif
#149683|-> };
#149684| #endif
#149685| static int __pyx_CyFunction_init(PyObject *module) {
Error: CPPCHECK_WARNING: [#def129]
vapoursynth-65-build/vapoursynth-R65/src/vspipe/vsjson.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def130]
vapoursynth-65-build/vapoursynth-R65/src/vspipe/vspipe.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Scan Properties
analyzer-version-clang | 18.1.7 |
analyzer-version-cppcheck | 2.14.2 |
analyzer-version-gcc | 14.1.1 |
analyzer-version-gcc-analyzer | 14.1.1 |
analyzer-version-shellcheck | 0.10.0 |
enabled-plugins | clang, cppcheck, gcc, shellcheck |
exit-code | 0 |
host | ip-172-16-1-187.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | vapoursynth-65-2.fc40 |
store-results-to | /tmp/tmprco15rwu/vapoursynth-65-2.fc40.tar.xz |
time-created | 2024-07-03 18:13:52 |
time-finished | 2024-07-03 18:18:51 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmprco15rwu/vapoursynth-65-2.fc40.tar.xz' '--gcc-analyze' '/tmp/tmprco15rwu/vapoursynth-65-2.fc40.src.rpm' |
tool-version | csmock-3.5.3-1.el9 |