Task #2008 - webkitgtk-2.44.0-2.fc40/scan-results.err
back to task #2008download
Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/API/glib/JSCContext.cpp:544:17: warning[unix.Malloc]: Potential memory leak # 542| if (!*exception) # 543| g_value_take_boxed(value, strv.release()); # 544|-> return; # 545| } # 546| Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkitgtk-6.0/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-23a5fd0e-5.cpp:8: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/b3/B3LowerMacros.cpp:286:24: warning[deadcode.DeadStores]: Value stored to 'expectedValue' during its initialization is never read # 284| break; # 285| # 286|-> Value* expectedValue = atomic->child(0); # 287| # 288| if (!isX86()) { Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkitgtk-6.0/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-fa42537c-1-c.c:5: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/disassembler/zydis/Zydis/ZycoreList.c:654:26: warning[core.NullDereference]: Access to field 'prev' results in a dereference of a null pointer (loaded from variable 'node') # 652| } # 653| # 654|-> list->tail = node->prev; # 655| if (list->tail) # 656| { Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/API/glib/JSAPIWrapperObjectGLib.cpp:28: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/API/JSAPIWrapperObject.h:30: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/runtime/JSDestructibleObject.h:28: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/runtime/JSObject.h:26: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/runtime/ArrayStorage.h:32: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/runtime/SparseArrayValueMap.h:30: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/runtime/PropertyDescriptor.h:30: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/runtime/PropertySlot.h:24: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/runtime/DisallowVMEntry.h:57:9: warning[core.NullDereference]: Access to field 'disallowVMEntryCount' results in a dereference of a null pointer (loaded from field 'm_vm') # 55| ~DisallowVMEntryImpl() # 56| { # 57|-> RELEASE_ASSERT(m_vm->disallowVMEntryCount); # 58| m_vm->disallowVMEntryCount--; # 59| m_vm = nullptr; Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/API/glib/JSCCallbackFunction.cpp:28: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/API/glib/JSCCallbackFunction.h:29: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/runtime/InternalFunction.h:27: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/runtime/JSDestructibleObject.h:28: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/runtime/JSObject.h:26: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/runtime/ArrayStorage.h:32: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/runtime/SparseArrayValueMap.h:30: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/runtime/PropertyDescriptor.h:30: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/runtime/PropertySlot.h:130:13: warning[core.NonNullParamChecker]: Forming reference to null pointer # 128| { # 129| if (isVMInquiry()) # 130|-> disallowVMEntry.emplace(*vmForInquiry); # 131| } # 132| Error: CPPCHECK_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/common/third_party/xxhash/xxhash.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/compiler/translator/Symbol.cpp:77:9: warning[deadcode.DeadStores]: Value stored to 'uniqueId' during its initialization is never read # 75| ASSERT(mSymbolType == SymbolType::AngleInternal || # 76| (mSymbolType == SymbolType::Empty && isVariable())); # 77|-> int uniqueId = mUniqueId.get(); # 78| ImmutableStringBuilder symbolNameOut(sizeof(uniqueId) * 2u + 1u); # 79| symbolNameOut << 's'; Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/compiler/translator/ValidateLimitations.cpp:384:65: warning[core.CallAndMessage]: Called C++ object pointer is null # 382| { # 383| ASSERT(opFunc != nullptr); # 384|-> error(expr->getLine(), "Invalid built-in call", opFunc->name().data()); # 385| } # 386| else Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/compiler/translator/ValidateVaryingLocations.cpp:91:26: warning[deadcode.DeadStores]: Value stored to 'fieldType' during its initialization is never read # 89| for (const TField *field : varyingType.getStruct()->fields()) # 90| { # 91|-> const TType *fieldType = field->type(); # 92| ASSERT(fieldType->getStruct() == nullptr && !fieldType->isArray()); # 93| Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/compiler/translator/ValidateVaryingLocations.cpp:233:21: warning[deadcode.DeadStores]: Value stored to 'anyFieldWithLocation' is never read # 231| { # 232| currentLocation = fieldLocation; # 233|-> anyFieldWithLocation = true; # 234| } # 235| Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/compiler/translator/glsl/OutputGLSLBase.cpp:779:17: warning[deadcode.DeadStores]: Value stored to 'preString' during its initialization is never read # 777| bool TOutputGLSLBase::visitUnary(Visit visit, TIntermUnary *node) # 778| { # 779|-> const char *preString = ""; # 780| const char *postString = ")"; # 781| Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/compiler/translator/tree_ops/ClampIndirectIndices.cpp:41:14: warning[deadcode.DeadStores]: Value stored to 'valid' during its initialization is never read # 39| # 40| // Apply the transformation to the left and right nodes # 41|-> bool valid = ClampIndirectIndices(mCompiler, node->getLeft(), mSymbolTable); # 42| ASSERT(valid); # 43| valid = ClampIndirectIndices(mCompiler, node->getRight(), mSymbolTable); Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/compiler/translator/tree_ops/ClampIndirectIndices.cpp:43:9: warning[deadcode.DeadStores]: Value stored to 'valid' is never read # 41| bool valid = ClampIndirectIndices(mCompiler, node->getLeft(), mSymbolTable); # 42| ASSERT(valid); # 43|-> valid = ClampIndirectIndices(mCompiler, node->getRight(), mSymbolTable); # 44| ASSERT(valid); # 45| Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/compiler/translator/tree_ops/MonomorphizeUnsupportedFunctions.cpp:430:14: warning[deadcode.DeadStores]: Value stored to 'valid' during its initialization is never read # 428| TIntermBlock *substituteBlock = originalDefinition->getBody()->deepCopy(); # 429| GetDeclaratorReplacements(mSymbolTable, substituteBlock, &argumentMap); # 430|-> bool valid = ReplaceVariables(mCompiler, substituteBlock, argumentMap); # 431| ASSERT(valid); # 432| Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/compiler/translator/tree_ops/RewriteArrayOfArrayOfOpaqueUniforms.cpp:100:10: warning[deadcode.DeadStores]: Value stored to 'valid' during its initialization is never read # 98| RewriteExpressionTraverser traverser(compiler, uniformMap); # 99| expression->traverse(&traverser); # 100|-> bool valid = traverser.updateTree(compiler, expression); # 101| ASSERT(valid); # 102| } Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/compiler/translator/tree_ops/RewriteStructSamplers.cpp:162:10: warning[deadcode.DeadStores]: Value stored to 'valid' during its initialization is never read # 160| extractedSamplers); # 161| expression->traverse(&traverser); # 162|-> bool valid = traverser.updateTree(compiler, expression); # 163| ASSERT(valid); # 164| } Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/compiler/translator/tree_util/IntermTraverse.cpp:374:17: warning[deadcode.DeadStores]: Value stored to 'visit' is never read # 372| // hasn't been cancelled yet. # 373| if (postVisit) # 374|-> visit = node->visit(PostVisit, this); # 375| } # 376| } Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/compiler/translator/tree_util/IntermTraverse.cpp:415:13: warning[deadcode.DeadStores]: Value stored to 'visit' is never read # 413| # 414| if (postVisit) # 415|-> visit = node->visit(PostVisit, this); # 416| } # 417| } Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/compiler/translator/tree_util/IntermTraverse.cpp:447:17: warning[deadcode.DeadStores]: Value stored to 'visit' is never read # 445| mInGlobalScope = true; # 446| if (postVisit) # 447|-> visit = node->visit(PostVisit, this); # 448| } # 449| } Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/compiler/translator/tree_util/IntermTraverse.cpp:491:13: warning[deadcode.DeadStores]: Value stored to 'visit' is never read # 489| # 490| if (visit && postVisit) # 491|-> visit = node->visit(PostVisit, this); # 492| } # 493| Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/compiler/translator/tree_util/IntermTraverse.cpp:526:18: warning[deadcode.DeadStores]: Value stored to 'inserted' during its initialization is never read # 524| if (!insertion.insertionsAfter.empty()) # 525| { # 526|-> bool inserted = insertion.parent->insertChildNodes(insertion.position + 1, # 527| insertion.insertionsAfter); # 528| ASSERT(inserted); Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/compiler/translator/tree_util/IntermTraverse.cpp:532:18: warning[deadcode.DeadStores]: Value stored to 'inserted' during its initialization is never read # 530| if (!insertion.insertionsBefore.empty()) # 531| { # 532|-> bool inserted = # 533| insertion.parent->insertChildNodes(insertion.position, insertion.insertionsBefore); # 534| ASSERT(inserted); Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/compiler/translator/tree_util/IntermTraverse.cpp:541:14: warning[deadcode.DeadStores]: Value stored to 'replaced' during its initialization is never read # 539| const NodeUpdateEntry &replacement = mReplacements[ii]; # 540| ASSERT(replacement.parent); # 541|-> bool replaced = # 542| replacement.parent->replaceChildNode(replacement.original, replacement.replacement); # 543| ASSERT(replaced); Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/compiler/translator/tree_util/IntermTraverse.cpp:579:14: warning[deadcode.DeadStores]: Value stored to 'replaced' during its initialization is never read # 577| const NodeReplaceWithMultipleEntry &replacement = mMultiReplacements[ii]; # 578| ASSERT(replacement.parent); # 579|-> bool replaced = replacement.parent->replaceChildNodeWithMultiple(replacement.original, # 580| replacement.replacements); # 581| ASSERT(replaced); Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/compiler/translator/tree_util/IntermTraverse.cpp:700:13: warning[deadcode.DeadStores]: Value stored to 'visit' is never read # 698| # 699| if (visit && postVisit) # 700|-> visit = node->visit(PostVisit, this); # 701| } # 702| } Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/compiler/translator/tree_util/RewriteSampleMaskVariable.cpp:139:24: warning[deadcode.DeadStores]: Value stored to 'arraySizeOfSampleMask' during its initialization is never read # 137| // Current ANGLE assumes that the maximum number of samples is less than or equal to # 138| // VK_SAMPLE_COUNT_32_BIT. So, the size of gl_SampleMask array is always one. # 139|-> const unsigned int arraySizeOfSampleMask = glSampleMaskVar->getType().getOutermostArraySize(); # 140| ASSERT(arraySizeOfSampleMask == 1); # 141| Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/compiler/translator/tree_util/RewriteSampleMaskVariable.cpp:191:24: warning[deadcode.DeadStores]: Value stored to 'arraySizeOfSampleMaskIn' during its initialization is never read # 189| // Current ANGLE assumes that the maximum number of samples is less than or equal to # 190| // VK_SAMPLE_COUNT_32_BIT. So, the size of gl_SampleMask array is always one. # 191|-> const unsigned int arraySizeOfSampleMaskIn = # 192| glSampleMaskInVar->getType().getOutermostArraySize(); # 193| ASSERT(arraySizeOfSampleMaskIn == 1); Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/compiler/translator/tree_util/RunAtTheEndOfShader.cpp:85:10: warning[deadcode.DeadStores]: Value stored to 'replaced' during its initialization is never read # 83| CreateInternalFunctionDefinitionNode(*oldMain, main->getBody()); # 84| # 85|-> bool replaced = root->replaceChildNode(main, oldMainDefinition); # 86| ASSERT(replaced); # 87| Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/libANGLE/Display.cpp:1233:12: warning[deadcode.DeadStores]: Value stored to 'contextSetSizeBeforeInvalidation' during its initialization is never read # 1231| // Cache total number of contexts before invalidation. This is used as a check to verify that # 1232| // no context is "lost" while being moved between the various sets. # 1233|-> size_t contextSetSizeBeforeInvalidation = mState.contextMap.size() + mInvalidContextMap.size(); # 1234| # 1235| // If app called eglTerminate and no active threads remain, Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/libANGLE/Display.cpp:1794:17: warning[deadcode.DeadStores]: Value stored to 'surfaceRemoved' is never read # 1792| { # 1793| windowSurfaces->erase(iter); # 1794|-> surfaceRemoved = true; # 1795| break; # 1796| } Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/libANGLE/Error.cpp:31:50: warning[cplusplus.NewDeleteLeaks]: Potential leak of memory pointed to by field '_M_head_impl' # 29| # 30| Error::Error(EGLint errorCode, std::string &&message) # 31|-> : mCode(errorCode), mID(errorCode), mMessage(EmplaceErrorString(std::move(message))) # 32| {} # 33| Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/libANGLE/Error.cpp:35:43: warning[cplusplus.NewDeleteLeaks]: Potential leak of memory pointed to by field '_M_head_impl' # 33| # 34| Error::Error(EGLint errorCode, EGLint id, std::string &&message) # 35|-> : mCode(errorCode), mID(id), mMessage(EmplaceErrorString(std::move(message))) # 36| {} # 37| Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/libANGLE/GLES1Renderer.cpp:144:33: warning[core.CallAndMessage]: Called C++ object pointer is null # 142| IsMipmapFiltered(currCubeTexture->getMinFilter())) # 143| { # 144|-> texCubeEnables[i] = curr2DTexture->isMipmapComplete(); # 145| } # 146| } Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/libANGLE/PixelLocalStorage.cpp:171:9: warning[core.CallAndMessage]: Called C++ object pointer is null # 169| { # 170| ASSERT(context); # 171|-> context->deleteTexture(mTextureID); // Will deinitialize the texture via observers. # 172| } # 173| else Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/libANGLE/PixelLocalStorage.cpp:768:17: warning[deadcode.DeadStores]: Value stored to 'n' during its initialization is never read # 766| void onEnd(Context *context, const GLenum storeops[]) override # 767| { # 768|-> GLsizei n = context->getState().getPixelLocalStorageActivePlanes(); # 769| # 770| // Restore the image bindings. Since glBindImageTexture and any commands that modify Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/libANGLE/Program.cpp:1498:9: warning[deadcode.DeadStores]: Value stored to 'ptr' is never read # 1496| # 1497| memcpy(ptr, streamState, streamLength); # 1498|-> ptr += streamLength; # 1499| # 1500| ASSERT(ptr - streamLength == binary); Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/libANGLE/ResourceManager.cpp:75:13: warning[cplusplus.NewDelete]: Use of memory after it is freed # 73| if (resource.second) # 74| { # 75|-> ImplT::DeleteObject(context, resource.second); # 76| } # 77| } Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/libANGLE/Shader.cpp:691:14: warning[deadcode.DeadStores]: Value stored to 'compilerHandle' during its initialization is never read # 689| # 690| ShCompilerInstance compilerInstance = mBoundCompiler->getInstance(mState.getShaderType()); # 691|-> ShHandle compilerHandle = compilerInstance.getHandle(); # 692| ASSERT(compilerHandle); # 693| Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/libANGLE/Texture.cpp:2485:35: warning[deadcode.DeadStores]: Value stored to 'buffer' during its initialization is never read # 2483| else if (index == kBufferSubjectIndex) # 2484| { # 2485|-> const gl::Buffer *buffer = mState.mBuffer.get(); # 2486| ASSERT(buffer != nullptr); # 2487| Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/libANGLE/VaryingPacking.cpp:185:12: warning[core.NonNullParamChecker]: Forming reference to null pointer # 183| } # 184| # 185|-> return frontVarying ? frontVarying->arraySizes : backVarying->arraySizes; # 186| } # 187| Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/libANGLE/formatutils.cpp:675:43: warning[core.DivideZero]: Division by zero # 673| // Compute plane extent # 674| planeExtent[0] = yPlaneExtent; # 675|-> planeExtent[1] = {(yPlaneExtent.width / horizontalSubsampleFactor), # 676| (yPlaneExtent.height / verticalSubsampleFactor), yPlaneExtent.depth}; # 677| planeExtent[2] = (planeCount > 2) ? planeExtent[1] : Extents(); Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/BlitGL.cpp:794:9: warning[deadcode.DeadStores]: Value stored to 'status' is never read # 792| # 793| // Recheck the status # 794|-> status = ANGLE_GL_TRY(context, mFunctions->checkFramebufferStatus(GL_FRAMEBUFFER)); # 795| } # 796| Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/FramebufferGL.cpp:121:29: warning[deadcode.DeadStores]: Value stored to 'textureType' during its initialization is never read # 119| else if (attachment->isLayered()) # 120| { # 121|-> TextureType textureType = texture->getType(); # 122| ASSERT(textureType == TextureType::_2DArray || textureType == TextureType::_3D || # 123| textureType == TextureType::CubeMap || Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/FramebufferGL.cpp:370:12: warning[deadcode.DeadStores]: Value stored to 'alphaChannelBytes' during its initialization is never read # 368| # 369| GLuint originalReadFormatPixelBytes = glFormatOriginal.computePixelBytes(type); # 370|-> GLuint alphaChannelBytes = glFormatOriginal.alphaBits / 8; # 371| # 372| ASSERT(originalReadFormatPixelBytes > pixelBytes); Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/FramebufferGL.cpp:909:15: warning[deadcode.DeadStores]: Value stored to 'destOriginX' during its initialization is never read # 907| GLuint destXHalvings = 0; # 908| GLuint destYHalvings = 0; # 909|-> GLint destOriginX = bounds.destRegion.x; # 910| GLint destOriginY = bounds.destRegion.y; # 911| Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/FramebufferGL.cpp:910:15: warning[deadcode.DeadStores]: Value stored to 'destOriginY' during its initialization is never read # 908| GLuint destYHalvings = 0; # 909| GLint destOriginX = bounds.destRegion.x; # 910|-> GLint destOriginY = bounds.destRegion.y; # 911| # 912| GLint destClippedWidth = bounds.destRegion.width; Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/FramebufferGL.cpp:1033:15: warning[deadcode.DeadStores]: Value stored to 'sourceOriginX' during its initialization is never read # 1031| GLuint sourceXHalvings = 0; # 1032| GLuint sourceYHalvings = 0; # 1033|-> GLint sourceOriginX = bounds.sourceRegion.x; # 1034| GLint sourceOriginY = bounds.sourceRegion.y; # 1035| Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/FramebufferGL.cpp:1034:15: warning[deadcode.DeadStores]: Value stored to 'sourceOriginY' during its initialization is never read # 1032| GLuint sourceYHalvings = 0; # 1033| GLint sourceOriginX = bounds.sourceRegion.x; # 1034|-> GLint sourceOriginY = bounds.sourceRegion.y; # 1035| # 1036| GLint sourceClippedWidth = bounds.sourceRegion.width; Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/FramebufferGL.cpp:1309:17: warning[core.CallAndMessage]: Called function pointer is null (null dereference) # 1307| break; # 1308| case Framebuffer::DIRTY_BIT_DEFAULT_WIDTH: # 1309|-> functions->framebufferParameteri(GL_FRAMEBUFFER, GL_FRAMEBUFFER_DEFAULT_WIDTH, # 1310| mState.getDefaultWidth()); # 1311| break; Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/FramebufferGL.cpp:1313:17: warning[core.CallAndMessage]: Called function pointer is null (null dereference) # 1311| break; # 1312| case Framebuffer::DIRTY_BIT_DEFAULT_HEIGHT: # 1313|-> functions->framebufferParameteri(GL_FRAMEBUFFER, GL_FRAMEBUFFER_DEFAULT_HEIGHT, # 1314| mState.getDefaultHeight()); # 1315| break; Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/FramebufferGL.cpp:1317:17: warning[core.CallAndMessage]: Called function pointer is null (null dereference) # 1315| break; # 1316| case Framebuffer::DIRTY_BIT_DEFAULT_SAMPLES: # 1317|-> functions->framebufferParameteri(GL_FRAMEBUFFER, GL_FRAMEBUFFER_DEFAULT_SAMPLES, # 1318| mState.getDefaultSamples()); # 1319| break; Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/FramebufferGL.cpp:1321:17: warning[core.CallAndMessage]: Called function pointer is null (null dereference) # 1319| break; # 1320| case Framebuffer::DIRTY_BIT_DEFAULT_FIXED_SAMPLE_LOCATIONS: # 1321|-> functions->framebufferParameteri( # 1322| GL_FRAMEBUFFER, GL_FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS, # 1323| gl::ConvertToGLBoolean(mState.getDefaultFixedSampleLocations())); Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/FramebufferGL.cpp:1326:17: warning[core.CallAndMessage]: Called function pointer is null (null dereference) # 1324| break; # 1325| case Framebuffer::DIRTY_BIT_DEFAULT_LAYERS: # 1326|-> functions->framebufferParameteri(GL_FRAMEBUFFER, GL_FRAMEBUFFER_DEFAULT_LAYERS_EXT, # 1327| mState.getDefaultLayers()); # 1328| break; Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/egl/DisplayEGL.cpp:422:5: warning[deadcode.DeadStores]: Value stored to 'success' is never read # 420| # 421| const EGLint configAttribList[] = {EGL_CONFIG_ID, mConfigIds[state.config->configID], EGL_NONE}; # 422|-> success = mEGL->chooseConfig(configAttribList, &config, 1, &numConfig); # 423| ASSERT(success && numConfig == 1); # 424| Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/egl/DisplayEGL.cpp:436:5: warning[deadcode.DeadStores]: Value stored to 'success' is never read # 434| # 435| const EGLint configAttribList[] = {EGL_CONFIG_ID, mConfigIds[state.config->configID], EGL_NONE}; # 436|-> success = mEGL->chooseConfig(configAttribList, &config, 1, &numConfig); # 437| ASSERT(success && numConfig == 1); # 438| Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/egl/DisplayEGL.cpp:585:20: warning[deadcode.DeadStores]: Value stored to 'success' during its initialization is never read # 583| // Gather all configs # 584| EGLint numConfigs; # 585|-> EGLBoolean success = mEGL->getConfigs(nullptr, 0, &numConfigs); # 586| ASSERT(success == EGL_TRUE && numConfigs > 0); # 587| Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/egl/DisplayEGL.cpp:590:9: warning[deadcode.DeadStores]: Value stored to 'success' is never read # 588| configs.resize(numConfigs); # 589| EGLint numConfigs2; # 590|-> success = mEGL->getConfigs(configs.data(), numConfigs, &numConfigs2); # 591| ASSERT(success == EGL_TRUE && numConfigs2 == numConfigs); # 592| } Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/egl/DisplayEGL.cpp:597:20: warning[deadcode.DeadStores]: Value stored to 'success' during its initialization is never read # 595| // Choose configs that match the attribute list of the config used for the context # 596| EGLint numConfigs; # 597|-> EGLBoolean success = mEGL->chooseConfig(mConfigAttribList.data(), nullptr, 0, &numConfigs); # 598| ASSERT(success == EGL_TRUE && numConfigs > 0); # 599| Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/egl/DisplayEGL.cpp:602:9: warning[deadcode.DeadStores]: Value stored to 'success' is never read # 600| configs.resize(numConfigs); # 601| EGLint numConfigs2; # 602|-> success = # 603| mEGL->chooseConfig(mConfigAttribList.data(), configs.data(), numConfigs, &numConfigs2); # 604| ASSERT(success == EGL_TRUE && numConfigs2 == numConfigs); Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/egl/SurfaceEGL.cpp:28:20: warning[deadcode.DeadStores]: Value stored to 'success' during its initialization is never read # 26| if (mSurface != EGL_NO_SURFACE) # 27| { # 28|-> EGLBoolean success = mEGL->destroySurface(mSurface); # 29| ASSERT(success == EGL_TRUE); # 30| } Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/egl/SurfaceEGL.cpp:128:16: warning[deadcode.DeadStores]: Value stored to 'success' during its initialization is never read # 126| { # 127| EGLint value; # 128|-> EGLBoolean success = mEGL->querySurface(mSurface, EGL_WIDTH, &value); # 129| ASSERT(success == EGL_TRUE); # 130| return value; Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/egl/SurfaceEGL.cpp:136:16: warning[deadcode.DeadStores]: Value stored to 'success' during its initialization is never read # 134| { # 135| EGLint value; # 136|-> EGLBoolean success = mEGL->querySurface(mSurface, EGL_HEIGHT, &value); # 137| ASSERT(success == EGL_TRUE); # 138| return value; Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/egl/SurfaceEGL.cpp:150:16: warning[deadcode.DeadStores]: Value stored to 'success' during its initialization is never read # 148| { # 149| EGLint value; # 150|-> EGLBoolean success = mEGL->querySurface(mSurface, EGL_SWAP_BEHAVIOR, &value); # 151| ASSERT(success == EGL_TRUE); # 152| return value; Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/renderergl_utils.cpp:2234:10: warning[deadcode.DeadStores]: Value stored to 'isGetSystemInfoSuccess' during its initialization is never read # 2232| angle::SystemInfo systemInfo; # 2233| # 2234|-> bool isGetSystemInfoSuccess = # 2235| GetSystemInfoVendorIDAndDeviceID(functions, &systemInfo, &vendor, &device); # 2236| Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/libANGLE/validationEGL.cpp:1053:9: warning[core.CallAndMessage]: Called C++ object pointer is null # 1051| if (!displayExtensions.stream) # 1052| { # 1053|-> val->setError(EGL_BAD_ACCESS, "Stream extension not active"); # 1054| return false; # 1055| } Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/libANGLE/validationEGL.cpp:1059:9: warning[core.CallAndMessage]: Called C++ object pointer is null # 1057| if (stream == EGL_NO_STREAM_KHR || !display->isValidStream(stream)) # 1058| { # 1059|-> val->setError(EGL_BAD_STREAM_KHR, "Invalid stream"); # 1060| return false; # 1061| } Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/libANGLE/validationES1.cpp:212:27: warning[core.UndefinedBinaryOperatorResult]: The left operand of '<' is a garbage value # 210| return true; # 211| case LightParameter::SpotExponent: # 212|-> if (params[0] < 0.0f || params[0] > 128.0f) # 213| { # 214| errors->validationError(entryPoint, GL_INVALID_VALUE, kLightParameterOutOfRange); Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/libANGLE/validationES1.cpp:219:27: warning[core.UndefinedBinaryOperatorResult]: The left operand of '==' is a garbage value # 217| return true; # 218| case LightParameter::SpotCutoff: # 219|-> if (params[0] == 180.0f) # 220| { # 221| return true; Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/libANGLE/validationES1.cpp:232:27: warning[core.UndefinedBinaryOperatorResult]: The left operand of '<' is a garbage value # 230| case LightParameter::LinearAttenuation: # 231| case LightParameter::QuadraticAttenuation: # 232|-> if (params[0] < 0.0f) # 233| { # 234| errors->validationError(entryPoint, GL_INVALID_VALUE, kLightParameterOutOfRange); Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/libANGLE/validationES1.cpp:281:27: warning[core.UndefinedBinaryOperatorResult]: The left operand of '<' is a garbage value # 279| return true; # 280| case MaterialParameter::Shininess: # 281|-> if (params[0] < 0.0f || params[0] > 128.0f) # 282| { # 283| errors->validationError(entryPoint, GL_INVALID_VALUE, kMaterialParameterOutOfRange); Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/libANGLE/validationES1.cpp:462:70: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value # 460| case TextureEnvParameter::Mode: # 461| { # 462|-> TextureEnvMode mode = FromGLenum<TextureEnvMode>(ConvertToGLenum(params[0])); # 463| switch (mode) # 464| { Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/libANGLE/validationES1.cpp:482:73: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value # 480| case TextureEnvParameter::CombineAlpha: # 481| { # 482|-> TextureCombine combine = FromGLenum<TextureCombine>(ConvertToGLenum(params[0])); # 483| switch (combine) # 484| { Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/libANGLE/validationES1.cpp:515:65: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value # 513| case TextureEnvParameter::Src2Alpha: # 514| { # 515|-> TextureSrc combine = FromGLenum<TextureSrc>(ConvertToGLenum(params[0])); # 516| switch (combine) # 517| { Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/libANGLE/validationES1.cpp:537:63: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value # 535| case TextureEnvParameter::Op2Alpha: # 536| { # 537|-> TextureOp operand = FromGLenum<TextureOp>(ConvertToGLenum(params[0])); # 538| switch (operand) # 539| { Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/libANGLE/validationES1.cpp:563:35: warning[core.UndefinedBinaryOperatorResult]: The left operand of '!=' is a garbage value # 561| case TextureEnvParameter::RgbScale: # 562| case TextureEnvParameter::AlphaScale: # 563|-> if (params[0] != 1.0f && params[0] != 2.0f && params[0] != 4.0f) # 564| { # 565| errors->validationError(entryPoint, GL_INVALID_VALUE, Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/libGLESv2/egl_stubs.cpp:597:22: warning[core.CallAndMessage]: Called C++ object pointer is null # 595| { # 596| case EGL_CLIENT_APIS: # 597|-> result = display->getClientAPIString().c_str(); # 598| break; # 599| case EGL_EXTENSIONS: Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/src/libGLESv2/egl_stubs.cpp:610:22: warning[core.CallAndMessage]: Called C++ object pointer is null # 608| break; # 609| case EGL_VENDOR: # 610|-> result = display->getVendorString().c_str(); # 611| break; # 612| case EGL_VERSION: Error: CPPCHECK_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/ANGLE/third_party/zlib/google/compression_utils_portable.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: GCC_ANALYZER_WARNING (CWE-476): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.c: scope_hint: In function ‘xdg_dir_time_list_add’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.c:118:24: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘list’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.c:32: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:45:43: note: in expansion of macro ‘_XDG_RESERVED_ENTRY3’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:44:34: note: in expansion of macro ‘_XDG_RESERVED_ENTRY2’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimecache.h:35:55: note: in expansion of macro ‘XDG_RESERVED_ENTRY’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.c:150:29: note: in expansion of macro ‘_xdg_mime_cache_new_from_file’ # 116| list = calloc (1, sizeof (XdgDirTimeList)); # 117| list->checked = XDG_CHECKED_UNCHECKED; # 118|-> list->directory_name = file_name; # 119| list->mtime = mtime; # 120| list->next = dir_time_list; Error: GCC_ANALYZER_WARNING (CWE-688): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.c: scope_hint: In function ‘xdg_mime_init_from_directory’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.c:147:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘file_name’ where non-null expected <built-in>: note: argument 1 of ‘__builtin_strcpy’ must be non-null # 145| # 146| file_name = malloc (strlen (directory) + strlen ("/mime/mime.cache") + 1); # 147|-> strcpy (file_name, directory); strcat (file_name, "/mime/mime.cache"); # 148| if (stat (file_name, &st) == 0) # 149| { Error: CPPCHECK_WARNING (CWE-401): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.c:156: error[memleakOnRealloc]: Common realloc mistake: '_caches' nulled but not freed upon failure # 154| xdg_dir_time_list_add (file_name, st.st_mtime); # 155| # 156|-> _caches = realloc (_caches, sizeof (XdgMimeCache *) * (n_caches + 2)); # 157| _caches[n_caches] = cache; # 158| _caches[n_caches + 1] = NULL; Error: GCC_ANALYZER_WARNING (CWE-688): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.c:167:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘file_name’ where non-null expected <built-in>: note: argument 1 of ‘__builtin_strcpy’ must be non-null # 165| # 166| file_name = malloc (strlen (directory) + strlen ("/mime/globs2") + 1); # 167|-> strcpy (file_name, directory); strcat (file_name, "/mime/globs2"); # 168| if (stat (file_name, &st) == 0) # 169| { Error: GCC_ANALYZER_WARNING (CWE-688): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.c:177:7: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘file_name’ where non-null expected <built-in>: note: argument 1 of ‘__builtin_strcpy’ must be non-null # 175| free (file_name); # 176| file_name = malloc (strlen (directory) + strlen ("/mime/globs") + 1); # 177|-> strcpy (file_name, directory); strcat (file_name, "/mime/globs"); # 178| if (stat (file_name, &st) == 0) # 179| { Error: GCC_ANALYZER_WARNING (CWE-688): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.c:190:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘file_name’ where non-null expected <built-in>: note: argument 1 of ‘__builtin_strcpy’ must be non-null # 188| # 189| file_name = malloc (strlen (directory) + strlen ("/mime/magic") + 1); # 190|-> strcpy (file_name, directory); strcat (file_name, "/mime/magic"); # 191| if (stat (file_name, &st) == 0) # 192| { Error: GCC_ANALYZER_WARNING (CWE-688): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.c:202:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘file_name’ where non-null expected <built-in>: note: argument 1 of ‘__builtin_strcpy’ must be non-null # 200| # 201| file_name = malloc (strlen (directory) + strlen ("/mime/aliases") + 1); # 202|-> strcpy (file_name, directory); strcat (file_name, "/mime/aliases"); # 203| _xdg_mime_alias_read_from_file (alias_list, file_name); # 204| free (file_name); Error: GCC_ANALYZER_WARNING (CWE-688): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.c:207:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘file_name’ where non-null expected <built-in>: note: argument 1 of ‘__builtin_strcpy’ must be non-null # 205| # 206| file_name = malloc (strlen (directory) + strlen ("/mime/subclasses") + 1); # 207|-> strcpy (file_name, directory); strcat (file_name, "/mime/subclasses"); # 208| _xdg_mime_parent_read_from_file (parent_list, file_name); # 209| free (file_name); Error: GCC_ANALYZER_WARNING (CWE-688): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.c:212:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘file_name’ where non-null expected <built-in>: note: argument 1 of ‘__builtin_strcpy’ must be non-null # 210| # 211| file_name = malloc (strlen (directory) + strlen ("/mime/icons") + 1); # 212|-> strcpy (file_name, directory); strcat (file_name, "/mime/icons"); # 213| _xdg_mime_icon_read_from_file (icon_list, file_name); # 214| free (file_name); Error: GCC_ANALYZER_WARNING (CWE-688): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.c:217:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘file_name’ where non-null expected <built-in>: note: argument 1 of ‘__builtin_strcpy’ must be non-null # 215| # 216| file_name = malloc (strlen (directory) + strlen ("/mime/generic-icons") + 1); # 217|-> strcpy (file_name, directory); strcat (file_name, "/mime/generic-icons"); # 218| _xdg_mime_icon_read_from_file (generic_icon_list, file_name); # 219| free (file_name); Error: GCC_ANALYZER_WARNING (CWE-688): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.c: scope_hint: In function ‘xdg_run_command_on_dirs’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.c:250:11: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘guessed_xdg_home’ where non-null expected <built-in>: note: argument 1 of ‘__builtin_strcpy’ must be non-null # 248| # 249| guessed_xdg_home = malloc (strlen (home) + strlen ("/.local/share/") + 1); # 250|-> strcpy (guessed_xdg_home, home); # 251| strcat (guessed_xdg_home, "/.local/share/"); # 252| stop_processing = (func) (guessed_xdg_home, user_data); Error: GCC_ANALYZER_WARNING (CWE-688): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.c:288:7: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘dir’ where non-null expected <built-in>: note: argument 1 of ‘__builtin_strncpy’ must be non-null # 286| len = end_ptr - ptr + 1; # 287| dir = malloc (len + 1); # 288|-> strncpy (dir, ptr, len); # 289| dir[len] = '\0'; # 290| stop_processing = (func) (dir, user_data); Error: GCC_ANALYZER_WARNING (CWE-688): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.c: scope_hint: In function ‘xdg_check_dir’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.c:352:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘file_name’ where non-null expected webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:42:34: note: in definition of macro ‘_XDG_ENTRY3’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:40:25: note: in expansion of macro ‘_XDG_ENTRY2’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:40:37: note: in expansion of macro ‘XDG_PREFIX’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:75:47: note: in expansion of macro ‘XDG_ENTRY’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.c:947:1: note: in expansion of macro ‘xdg_mime_get_simple_globs’ <built-in>: note: argument 1 of ‘__builtin_strcpy’ must be non-null # 350| /* Check the mime.cache file */ # 351| file_name = malloc (strlen (directory) + strlen ("/mime/mime.cache") + 1); # 352|-> strcpy (file_name, directory); strcat (file_name, "/mime/mime.cache"); # 353| invalid = xdg_check_file (file_name, &exists); # 354| free (file_name); Error: GCC_ANALYZER_WARNING (CWE-688): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.c:367:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘file_name’ where non-null expected webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:42:34: note: in definition of macro ‘_XDG_ENTRY3’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:40:25: note: in expansion of macro ‘_XDG_ENTRY2’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:40:37: note: in expansion of macro ‘XDG_PREFIX’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:75:47: note: in expansion of macro ‘XDG_ENTRY’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.c:947:1: note: in expansion of macro ‘xdg_mime_get_simple_globs’ <built-in>: note: argument 1 of ‘__builtin_strcpy’ must be non-null # 365| /* Check the globs file */ # 366| file_name = malloc (strlen (directory) + strlen ("/mime/globs") + 1); # 367|-> strcpy (file_name, directory); strcat (file_name, "/mime/globs"); # 368| invalid = xdg_check_file (file_name, NULL); # 369| free (file_name); Error: GCC_ANALYZER_WARNING (CWE-688): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.c:378:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘file_name’ where non-null expected webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:42:34: note: in definition of macro ‘_XDG_ENTRY3’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:40:25: note: in expansion of macro ‘_XDG_ENTRY2’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:40:37: note: in expansion of macro ‘XDG_PREFIX’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:75:47: note: in expansion of macro ‘XDG_ENTRY’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.c:947:1: note: in expansion of macro ‘xdg_mime_get_simple_globs’ <built-in>: note: argument 1 of ‘__builtin_strcpy’ must be non-null # 376| /* Check the magic file */ # 377| file_name = malloc (strlen (directory) + strlen ("/mime/magic") + 1); # 378|-> strcpy (file_name, directory); strcat (file_name, "/mime/magic"); # 379| invalid = xdg_check_file (file_name, NULL); # 380| free (file_name); Error: CPPCHECK_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimealias.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: GCC_ANALYZER_WARNING (CWE-476): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimealias.c: scope_hint: In function ‘__wk_xdg_alias_list_new’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimealias.c:69:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘list’ # 67| list = malloc (sizeof (XdgAliasList)); # 68| # 69|-> list->aliases = NULL; # 70| list->n_aliases = 0; # 71| Error: GCC_ANALYZER_WARNING (CWE-401): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimealias.c: scope_hint: In function ‘__wk_xdg_alias_read_from_file’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimealias.c:150:25: warning[-Wanalyzer-malloc-leak]: leak of ‘*list.aliases’ # 148| { # 149| alloc <<= 1; # 150|-> list->aliases = realloc (list->aliases, # 151| alloc * sizeof (XdgAlias)); # 152| } Error: GCC_ANALYZER_WARNING (CWE-401): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimealias.c:157:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’ # 155| list->n_aliases++; # 156| } # 157|-> list->aliases = realloc (list->aliases, # 158| list->n_aliases * sizeof (XdgAlias)); # 159| Error: GCC_ANALYZER_WARNING (CWE-122): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimealias.c:157:19: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow # 155| list->n_aliases++; # 156| } # 157|-> list->aliases = realloc (list->aliases, # 158| list->n_aliases * sizeof (XdgAlias)); # 159| Error: GCC_ANALYZER_WARNING (CWE-688): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimealias.c:163:5: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:32: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimealias.h:31: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimealias.c:32: included_from: Included from here. /usr/include/stdlib.h:970:13: note: argument 1 of ‘qsort’ must be non-null # 161| # 162| if (list->n_aliases > 1) # 163|-> qsort (list->aliases, list->n_aliases, # 164| sizeof (XdgAlias), alias_entry_cmp); # 165| } Error: CPPCHECK_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimecache.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimecache.c:298:22: warning[core.NullDereference]: Dereference of null pointer # 296| const char *non_match; # 297| # 298|-> mimetype_offset = GET_UINT32 (cache->buffer, offset + 16 * j + 4); # 299| non_match = cache->buffer + mimetype_offset; # 300| Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimecache.c:390:8: warning[deadcode.DeadStores]: Value stored to 'weight' is never read # 388| int weight = GET_UINT32 (cache->buffer, list_offset + 4 + 12 * mid + 8); # 389| int case_sensitive = weight & 0x100; # 390|-> weight = weight & 0xff; # 391| # 392| if (case_sensitive_check || !case_sensitive) Error: GCC_ANALYZER_WARNING (CWE-688): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimecache.c: scope_hint: In function ‘__wk_xdg_cache_list_mime_parents’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimecache.c:981:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘result’ where non-null expected <built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null # 979| # 980| result = (char **) malloc (p * sizeof (char *)); # 981|-> memcpy (result, all_parents, p * sizeof (char *)); # 982| # 983| return result; Error: GCC_ANALYZER_WARNING (CWE-476): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimecache.c:1064:36: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*<unknown> + ((sizetype)(depth - i) + 18446744073709551615)’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:45:43: note: in expansion of macro ‘_XDG_RESERVED_ENTRY3’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:44:34: note: in expansion of macro ‘_XDG_RESERVED_ENTRY2’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimecache.h:48:55: note: in expansion of macro ‘XDG_RESERVED_ENTRY’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimecache.c:1086:1: note: in expansion of macro ‘_xdg_mime_cache_get_simple_globs’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimecache.c:1099:34: note: in expansion of macro ‘GET_UINT32’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimecache.c:1059:34: note: in expansion of macro ‘GET_UINT32’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimecache.c:1059:34: note: in expansion of macro ‘GET_UINT32’ # 1062| globs[*n] = malloc ((depth + 1) * sizeof (char)); # 1063| for (i = 0; i < depth; i++) # 1064|-> globs[*n][depth - i - 1] = prefix[i]; # 1065| globs[*n][depth] = '\0'; # 1066| Error: GCC_ANALYZER_WARNING (CWE-476): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimecache.c: scope_hint: In function ‘get_simple_globs’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimecache.c:1064:36: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*globs’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimecache.h:30: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimecache.c:52: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:45:43: note: in expansion of macro ‘_XDG_RESERVED_ENTRY3’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:44:34: note: in expansion of macro ‘_XDG_RESERVED_ENTRY2’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimecache.h:48:55: note: in expansion of macro ‘XDG_RESERVED_ENTRY’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimecache.c:1086:1: note: in expansion of macro ‘_xdg_mime_cache_get_simple_globs’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimecache.c:41: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimecache.c:1099:34: note: in expansion of macro ‘GET_UINT32’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimecache.c:1059:34: note: in expansion of macro ‘GET_UINT32’ # 1062| globs[*n] = malloc ((depth + 1) * sizeof (char)); # 1063| for (i = 0; i < depth; i++) # 1064|-> globs[*n][depth - i - 1] = prefix[i]; # 1065| globs[*n][depth] = '\0'; # 1066| Error: GCC_ANALYZER_WARNING (CWE-476): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimecache.c:1065:26: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*<unknown> + (sizetype)depth’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:45:43: note: in expansion of macro ‘_XDG_RESERVED_ENTRY3’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:44:34: note: in expansion of macro ‘_XDG_RESERVED_ENTRY2’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimecache.h:48:55: note: in expansion of macro ‘XDG_RESERVED_ENTRY’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimecache.c:1086:1: note: in expansion of macro ‘_xdg_mime_cache_get_simple_globs’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimecache.c:1099:34: note: in expansion of macro ‘GET_UINT32’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimecache.c:1059:34: note: in expansion of macro ‘GET_UINT32’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimecache.c:1059:34: note: in expansion of macro ‘GET_UINT32’ # 1063| for (i = 0; i < depth; i++) # 1064| globs[*n][depth - i - 1] = prefix[i]; # 1065|-> globs[*n][depth] = '\0'; # 1066| # 1067| (*n)++; Error: GCC_ANALYZER_WARNING (CWE-476): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimecache.c:1065:26: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*globs’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:45:43: note: in expansion of macro ‘_XDG_RESERVED_ENTRY3’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:44:34: note: in expansion of macro ‘_XDG_RESERVED_ENTRY2’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimecache.h:48:55: note: in expansion of macro ‘XDG_RESERVED_ENTRY’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimecache.c:1086:1: note: in expansion of macro ‘_xdg_mime_cache_get_simple_globs’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimecache.c:1099:34: note: in expansion of macro ‘GET_UINT32’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimecache.c:1059:34: note: in expansion of macro ‘GET_UINT32’ # 1063| for (i = 0; i < depth; i++) # 1064| globs[*n][depth - i - 1] = prefix[i]; # 1065|-> globs[*n][depth] = '\0'; # 1066| # 1067| (*n)++; Error: CPPCHECK_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: GCC_ANALYZER_WARNING (CWE-688): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.c: scope_hint: In function ‘_xdg_glob_list_append’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.c:124:11: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘data’ where non-null expected webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.h:31: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.c:32: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:45:43: note: in expansion of macro ‘_XDG_RESERVED_ENTRY3’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:44:34: note: in expansion of macro ‘_XDG_RESERVED_ENTRY2’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.h:49:47: note: in expansion of macro ‘XDG_RESERVED_ENTRY’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.c:609:1: note: in expansion of macro ‘_xdg_glob_hash_append_glob’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.c:37: included_from: Included from here. /usr/include/string.h:156:12: note: argument 2 of ‘strcmp’ must be non-null # 122| while (tmp_element != NULL) # 123| { # 124|-> if (strcmp (tmp_element->data, data) == 0 && # 125| strcmp (tmp_element->mime_type, mime_type) == 0) # 126| return glob_list; Error: GCC_ANALYZER_WARNING (CWE-688): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.c:125:11: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘mime_type’ where non-null expected webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:45:43: note: in expansion of macro ‘_XDG_RESERVED_ENTRY3’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:44:34: note: in expansion of macro ‘_XDG_RESERVED_ENTRY2’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.h:49:47: note: in expansion of macro ‘XDG_RESERVED_ENTRY’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.c:609:1: note: in expansion of macro ‘_xdg_glob_hash_append_glob’ /usr/include/string.h:156:12: note: argument 2 of ‘strcmp’ must be non-null # 123| { # 124| if (strcmp (tmp_element->data, data) == 0 && # 125|-> strcmp (tmp_element->mime_type, mime_type) == 0) # 126| return glob_list; # 127| Error: GCC_ANALYZER_WARNING (CWE-476): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.c:132:21: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘new_element’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:45:43: note: in expansion of macro ‘_XDG_RESERVED_ENTRY3’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:44:34: note: in expansion of macro ‘_XDG_RESERVED_ENTRY2’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.h:49:47: note: in expansion of macro ‘XDG_RESERVED_ENTRY’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.c:609:1: note: in expansion of macro ‘_xdg_glob_hash_append_glob’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.c: scope_hint: In function ‘_xdg_glob_list_append’ # 130| # 131| new_element = _xdg_glob_list_new (); # 132|-> new_element->data = data; # 133| new_element->mime_type = mime_type; # 134| new_element->weight = weight; Error: GCC_ANALYZER_WARNING (CWE-476): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.c: scope_hint: In function ‘_xdg_glob_hash_insert_ucs4’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.c:196:23: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘glob_hash_node’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:45:43: note: in expansion of macro ‘_XDG_RESERVED_ENTRY3’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:44:34: note: in expansion of macro ‘_XDG_RESERVED_ENTRY2’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.h:49:47: note: in expansion of macro ‘XDG_RESERVED_ENTRY’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.c:609:1: note: in expansion of macro ‘_xdg_glob_hash_append_glob’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.c: scope_hint: In function ‘_xdg_glob_hash_insert_ucs4’ # 194| { # 195| node = _xdg_glob_hash_node_new (); # 196|-> node->character = character; # 197| node->next = glob_hash_node; # 198| glob_hash_node = node; Error: GCC_ANALYZER_WARNING (CWE-476): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.c:219:31: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘glob_hash_node’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:45:43: note: in expansion of macro ‘_XDG_RESERVED_ENTRY3’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:44:34: note: in expansion of macro ‘_XDG_RESERVED_ENTRY2’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.h:49:47: note: in expansion of macro ‘XDG_RESERVED_ENTRY’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.c:609:1: note: in expansion of macro ‘_xdg_glob_hash_append_glob’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.c: scope_hint: In function ‘_xdg_glob_hash_insert_ucs4’ # 217| { # 218| node = _xdg_glob_hash_node_new (); # 219|-> node->character = character; # 220| node->next = prev_node->next; # 221| prev_node->next = node; Error: GCC_ANALYZER_WARNING (CWE-476): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.c:238:27: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘glob_hash_node’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:45:43: note: in expansion of macro ‘_XDG_RESERVED_ENTRY3’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:44:34: note: in expansion of macro ‘_XDG_RESERVED_ENTRY2’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.h:49:47: note: in expansion of macro ‘XDG_RESERVED_ENTRY’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.c:609:1: note: in expansion of macro ‘_xdg_glob_hash_append_glob’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.c: scope_hint: In function ‘_xdg_glob_hash_insert_ucs4’ # 236| { # 237| node = _xdg_glob_hash_node_new (); # 238|-> node->character = character; # 239| node->next = prev_node->next; # 240| prev_node->next = node; Error: GCC_ANALYZER_WARNING (CWE-476): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.c:269:36: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘glob_hash_node’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:45:43: note: in expansion of macro ‘_XDG_RESERVED_ENTRY3’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:44:34: note: in expansion of macro ‘_XDG_RESERVED_ENTRY2’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.h:49:47: note: in expansion of macro ‘XDG_RESERVED_ENTRY’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.c:609:1: note: in expansion of macro ‘_xdg_glob_hash_append_glob’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.c: scope_hint: In function ‘_xdg_glob_hash_insert_ucs4’ # 267| child = _xdg_glob_hash_node_new (); # 268| child->character = 0; # 269|-> child->mime_type = strdup (mime_type); # 270| child->weight = weight; # 271| child->case_sensitive = case_sensitive; Error: GCC_ANALYZER_WARNING (CWE-401): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.c:289:10: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:45:43: note: in expansion of macro ‘_XDG_RESERVED_ENTRY3’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:44:34: note: in expansion of macro ‘_XDG_RESERVED_ENTRY2’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.h:49:47: note: in expansion of macro ‘XDG_RESERVED_ENTRY’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.c:609:1: note: in expansion of macro ‘_xdg_glob_hash_append_glob’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.c: scope_hint: In function ‘_xdg_glob_hash_insert_ucs4’ # 287| node->child = _xdg_glob_hash_insert_ucs4 (node->child, text, mime_type, weight, case_sensitive); # 288| } # 289|-> return glob_hash_node; # 290| } # 291| Error: GCC_ANALYZER_WARNING (CWE-401): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.c:289:10: warning[-Wanalyzer-malloc-leak]: leak of ‘node’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:45:43: note: in expansion of macro ‘_XDG_RESERVED_ENTRY3’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:44:34: note: in expansion of macro ‘_XDG_RESERVED_ENTRY2’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.h:49:47: note: in expansion of macro ‘XDG_RESERVED_ENTRY’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.c:609:1: note: in expansion of macro ‘_xdg_glob_hash_append_glob’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.c: scope_hint: In function ‘_xdg_glob_hash_insert_ucs4’ # 287| node->child = _xdg_glob_hash_insert_ucs4 (node->child, text, mime_type, weight, case_sensitive); # 288| } # 289|-> return glob_hash_node; # 290| } # 291| Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.c:420:3: warning[deadcode.DeadStores]: Value stored to 'n' is never read # 418| assert (file_name != NULL && n_mime_types > 0); # 419| # 420|-> n = 0; # 421| # 422| lower_case = ascii_tolower (file_name); Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.c:625:31: warning[unix.Malloc]: Potential memory leak # 623| { # 624| case XDG_GLOB_LITERAL: # 625|-> glob_hash->literal_list = _xdg_glob_list_append (glob_hash->literal_list, strdup (glob), strdup (mime_type), weight, case_sensitive); # 626| break; # 627| case XDG_GLOB_SIMPLE: Error: GCC_ANALYZER_WARNING (CWE-401): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.c: scope_hint: In function ‘_xdg_glob_list_append’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.c:625:33: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(glob)’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:45:43: note: in expansion of macro ‘_XDG_RESERVED_ENTRY3’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:44:34: note: in expansion of macro ‘_XDG_RESERVED_ENTRY2’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.h:49:47: note: in expansion of macro ‘XDG_RESERVED_ENTRY’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.c:609:1: note: in expansion of macro ‘_xdg_glob_hash_append_glob’ # 623| { # 624| case XDG_GLOB_LITERAL: # 625|-> glob_hash->literal_list = _xdg_glob_list_append (glob_hash->literal_list, strdup (glob), strdup (mime_type), weight, case_sensitive); # 626| break; # 627| case XDG_GLOB_SIMPLE: Error: GCC_ANALYZER_WARNING (CWE-401): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.c:625:33: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(mime_type)’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:45:43: note: in expansion of macro ‘_XDG_RESERVED_ENTRY3’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:44:34: note: in expansion of macro ‘_XDG_RESERVED_ENTRY2’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.h:49:47: note: in expansion of macro ‘XDG_RESERVED_ENTRY’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.c:609:1: note: in expansion of macro ‘_xdg_glob_hash_append_glob’ # 623| { # 624| case XDG_GLOB_LITERAL: # 625|-> glob_hash->literal_list = _xdg_glob_list_append (glob_hash->literal_list, strdup (glob), strdup (mime_type), weight, case_sensitive); # 626| break; # 627| case XDG_GLOB_SIMPLE: Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.c:631:28: warning[unix.Malloc]: Potential memory leak # 629| break; # 630| case XDG_GLOB_FULL: # 631|-> glob_hash->full_list = _xdg_glob_list_append (glob_hash->full_list, strdup (glob), strdup (mime_type), weight, case_sensitive); # 632| break; # 633| } Error: GCC_ANALYZER_WARNING (CWE-401): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.c:631:30: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(glob)’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:45:43: note: in expansion of macro ‘_XDG_RESERVED_ENTRY3’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:44:34: note: in expansion of macro ‘_XDG_RESERVED_ENTRY2’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.h:44:47: note: in expansion of macro ‘XDG_RESERVED_ENTRY’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.c:674:1: note: in expansion of macro ‘_xdg_mime_glob_read_from_file’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:45:43: note: in expansion of macro ‘_XDG_RESERVED_ENTRY3’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:44:34: note: in expansion of macro ‘_XDG_RESERVED_ENTRY2’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.h:49:47: note: in expansion of macro ‘XDG_RESERVED_ENTRY’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.c:751:7: note: in expansion of macro ‘_xdg_glob_hash_append_glob’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:45:43: note: in expansion of macro ‘_XDG_RESERVED_ENTRY3’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:44:34: note: in expansion of macro ‘_XDG_RESERVED_ENTRY2’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.h:49:47: note: in expansion of macro ‘XDG_RESERVED_ENTRY’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.c:609:1: note: in expansion of macro ‘_xdg_glob_hash_append_glob’ # 629| break; # 630| case XDG_GLOB_FULL: # 631|-> glob_hash->full_list = _xdg_glob_list_append (glob_hash->full_list, strdup (glob), strdup (mime_type), weight, case_sensitive); # 632| break; # 633| } Error: GCC_ANALYZER_WARNING (CWE-401): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.c:631:30: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(mime_type)’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:45:43: note: in expansion of macro ‘_XDG_RESERVED_ENTRY3’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:44:34: note: in expansion of macro ‘_XDG_RESERVED_ENTRY2’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.h:44:47: note: in expansion of macro ‘XDG_RESERVED_ENTRY’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.c:674:1: note: in expansion of macro ‘_xdg_mime_glob_read_from_file’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:45:43: note: in expansion of macro ‘_XDG_RESERVED_ENTRY3’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:44:34: note: in expansion of macro ‘_XDG_RESERVED_ENTRY2’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.h:49:47: note: in expansion of macro ‘XDG_RESERVED_ENTRY’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.c:751:7: note: in expansion of macro ‘_xdg_glob_hash_append_glob’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:45:43: note: in expansion of macro ‘_XDG_RESERVED_ENTRY3’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:44:34: note: in expansion of macro ‘_XDG_RESERVED_ENTRY2’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.h:49:47: note: in expansion of macro ‘XDG_RESERVED_ENTRY’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeglob.c:609:1: note: in expansion of macro ‘_xdg_glob_hash_append_glob’ # 629| break; # 630| case XDG_GLOB_FULL: # 631|-> glob_hash->full_list = _xdg_glob_list_append (glob_hash->full_list, strdup (glob), strdup (mime_type), weight, case_sensitive); # 632| break; # 633| } Error: CPPCHECK_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeicon.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: GCC_ANALYZER_WARNING (CWE-476): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeicon.c: scope_hint: In function ‘_wk_xdg_icon_list_new’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeicon.c:68:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘list’ # 66| list = malloc (sizeof (XdgIconList)); # 67| # 68|-> list->icons = NULL; # 69| list->n_icons = 0; # 70| Error: GCC_ANALYZER_WARNING (CWE-401): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeicon.c: scope_hint: In function ‘_wk_xdg_icon_read_from_file’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeicon.c:149:23: warning[-Wanalyzer-malloc-leak]: leak of ‘*list.icons’ # 147| { # 148| alloc <<= 1; # 149|-> list->icons = realloc (list->icons, # 150| alloc * sizeof (XdgIcon)); # 151| } Error: GCC_ANALYZER_WARNING (CWE-401): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeicon.c:156:15: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’ # 154| list->n_icons++; # 155| } # 156|-> list->icons = realloc (list->icons, # 157| list->n_icons * sizeof (XdgIcon)); # 158| Error: GCC_ANALYZER_WARNING (CWE-122): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeicon.c:156:17: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow # 154| list->n_icons++; # 155| } # 156|-> list->icons = realloc (list->icons, # 157| list->n_icons * sizeof (XdgIcon)); # 158| Error: GCC_ANALYZER_WARNING (CWE-688): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeicon.c:162:5: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:32: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeicon.h:30: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeicon.c:31: included_from: Included from here. /usr/include/stdlib.h:970:13: note: argument 1 of ‘qsort’ must be non-null # 160| # 161| if (list->n_icons > 1) # 162|-> qsort (list->icons, list->n_icons, # 163| sizeof (XdgIcon), icon_entry_cmp); # 164| } Error: CPPCHECK_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeint.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: GCC_ANALYZER_WARNING (CWE-476): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeint.c: scope_hint: In function ‘__wk_xdg_convert_to_ucs4’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeint.c:169:16: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘out’ # 167| while (*p) # 168| { # 169|-> out[i++] = _xdg_utf8_to_ucs4 (p); # 170| p = _xdg_utf8_next_char (p); # 171| } Error: GCC_ANALYZER_WARNING (CWE-476): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeint.c:172:10: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘out’ # 170| p = _xdg_utf8_next_char (p); # 171| } # 172|-> out[i] = 0; # 173| *len = i; # 174| Error: CPPCHECK_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimemagic.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: GCC_ANALYZER_WARNING (CWE-476): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimemagic.c: scope_hint: In function ‘_xdg_mime_magic_matchlet_new’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimemagic.c:107:20: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘matchlet’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimemagic.h:32: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimemagic.c:33: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:45:43: note: in expansion of macro ‘_XDG_RESERVED_ENTRY3’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:44:34: note: in expansion of macro ‘_XDG_RESERVED_ENTRY2’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimemagic.h:38:51: note: in expansion of macro ‘XDG_RESERVED_ENTRY’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimemagic.c:798:1: note: in expansion of macro ‘_xdg_mime_magic_read_from_file’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimemagic.c: scope_hint: In function ‘_xdg_mime_magic_matchlet_new’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimemagic.c: scope_hint: In function ‘_xdg_mime_magic_matchlet_new’ # 105| matchlet = malloc (sizeof (XdgMimeMagicMatchlet)); # 106| # 107|-> matchlet->indent = 0; # 108| matchlet->offset = 0; # 109| matchlet->value_length = 0; Error: CPPCHECK_WARNING (CWE-401): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimemagic.c:188: error[memleakOnRealloc]: Common realloc mistake: 'retval' nulled but not freed upon failure # 186| { # 187| len = len + 128; # 188|-> retval = realloc (retval, len); # 189| } # 190| } Error: GCC_ANALYZER_WARNING (CWE-476): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimemagic.c: scope_hint: In function ‘_xdg_mime_magic_parse_header’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimemagic.c:261:19: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘match’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:45:43: note: in expansion of macro ‘_XDG_RESERVED_ENTRY3’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:44:34: note: in expansion of macro ‘_XDG_RESERVED_ENTRY2’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimemagic.h:38:51: note: in expansion of macro ‘XDG_RESERVED_ENTRY’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimemagic.c:798:1: note: in expansion of macro ‘_xdg_mime_magic_read_from_file’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimemagic.c: scope_hint: In function ‘_xdg_mime_magic_parse_header’ # 259| return XDG_MIME_MAGIC_ERROR; # 260| # 261|-> match->priority = _xdg_mime_magic_read_a_number (magic_file, &end_of_file); # 262| if (end_of_file) # 263| return XDG_MIME_MAGIC_EOF; Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimemagic.c:775:12: warning[unix.Malloc]: Use of memory after it is freed # 773| break; # 774| case XDG_MIME_MAGIC_MAGIC: # 775|-> state = _xdg_mime_magic_parse_magic_line (magic_file, match); # 776| if (state == XDG_MIME_MAGIC_SECTION || # 777| (state == XDG_MIME_MAGIC_EOF && match->mime_type)) Error: GCC_ANALYZER_WARNING (CWE-476): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimemagic.c: scope_hint: In function ‘_xdg_mime_magic_read_magic_file’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimemagic.c:777:52: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘match’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:45:43: note: in expansion of macro ‘_XDG_RESERVED_ENTRY3’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:44:34: note: in expansion of macro ‘_XDG_RESERVED_ENTRY2’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimemagic.h:38:51: note: in expansion of macro ‘XDG_RESERVED_ENTRY’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimemagic.c:798:1: note: in expansion of macro ‘_xdg_mime_magic_read_from_file’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimemagic.c: scope_hint: In function ‘_xdg_mime_magic_read_magic_file’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimemagic.c: scope_hint: In function ‘_xdg_mime_magic_read_magic_file’ # 775| state = _xdg_mime_magic_parse_magic_line (magic_file, match); # 776| if (state == XDG_MIME_MAGIC_SECTION || # 777|-> (state == XDG_MIME_MAGIC_EOF && match->mime_type)) # 778| { # 779| match->matchlet = _xdg_mime_magic_matchlet_mirror (match->matchlet); Error: GCC_ANALYZER_WARNING (CWE-476): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimemagic.c:779:33: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘match’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:45:43: note: in expansion of macro ‘_XDG_RESERVED_ENTRY3’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:44:34: note: in expansion of macro ‘_XDG_RESERVED_ENTRY2’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimemagic.h:38:51: note: in expansion of macro ‘XDG_RESERVED_ENTRY’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimemagic.c:798:1: note: in expansion of macro ‘_xdg_mime_magic_read_from_file’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimemagic.c: scope_hint: In function ‘_xdg_mime_magic_read_magic_file’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimemagic.c: scope_hint: In function ‘_xdg_mime_magic_read_magic_file’ # 777| (state == XDG_MIME_MAGIC_EOF && match->mime_type)) # 778| { # 779|-> match->matchlet = _xdg_mime_magic_matchlet_mirror (match->matchlet); # 780| _xdg_mime_magic_insert_match (mime_magic, match); # 781| } Error: CPPCHECK_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeparent.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: GCC_ANALYZER_WARNING (CWE-476): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeparent.c: scope_hint: In function ‘__wk_xdg_parent_list_new’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeparent.c:70:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘list’ # 68| list = malloc (sizeof (XdgParentList)); # 69| # 70|-> list->parents = NULL; # 71| list->n_mimes = 0; # 72| Error: CPPCHECK_WARNING (CWE-457): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeparent.c:115: error[uninitvar]: Uninitialized variable: &key.n_parents # 113| key.parents = NULL; # 114| # 115|-> entry = bsearch (&key, list->parents, list->n_mimes, # 116| sizeof (XdgMimeParents), &parent_entry_cmp); # 117| if (entry) Error: GCC_ANALYZER_WARNING (CWE-476): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeparent.c: scope_hint: In function ‘__wk_xdg_parent_read_from_file’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeparent.c:156:39: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ # 154| for (i = 0; i < list->n_mimes; i++) # 155| { # 156|-> if (strcmp (list->parents[i].mime, line) == 0) # 157| { # 158| entry = &(list->parents[i]); Error: GCC_ANALYZER_WARNING (CWE-401): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeparent.c:168:29: warning[-Wanalyzer-malloc-leak]: leak of ‘*list.parents’ # 166| { # 167| alloc <<= 1; # 168|-> list->parents = realloc (list->parents, # 169| alloc * sizeof (XdgMimeParents)); # 170| } Error: GCC_ANALYZER_WARNING (CWE-476): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeparent.c:188:44: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*entry.parents + ((long unsigned int)*entry.n_parents * 8 + 18446744073709551608)’ # 186| (entry->n_parents + 2) * sizeof (char *)); # 187| } # 188|-> entry->parents[entry->n_parents - 1] = strdup (sep); # 189| entry->parents[entry->n_parents] = NULL; # 190| } Error: GCC_ANALYZER_WARNING (CWE-401): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeparent.c:192:17: warning[-Wanalyzer-malloc-leak]: leak of ‘*list.parents’ # 190| } # 191| # 192|-> list->parents = realloc (list->parents, # 193| list->n_mimes * sizeof (XdgMimeParents)); # 194| Error: GCC_ANALYZER_WARNING (CWE-401): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeparent.c:192:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’ # 190| } # 191| # 192|-> list->parents = realloc (list->parents, # 193| list->n_mimes * sizeof (XdgMimeParents)); # 194| Error: GCC_ANALYZER_WARNING (CWE-122): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeparent.c:192:19: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow # 190| } # 191| # 192|-> list->parents = realloc (list->parents, # 193| list->n_mimes * sizeof (XdgMimeParents)); # 194| Error: GCC_ANALYZER_WARNING (CWE-688): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeparent.c:198:5: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmime.h:32: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeparent.h:31: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/ThirdParty/xdgmime/src/xdgmimeparent.c:32: included_from: Included from here. /usr/include/stdlib.h:970:13: note: argument 1 of ‘qsort’ must be non-null # 196| # 197| if (list->n_mimes > 1) # 198|-> qsort (list->parents, list->n_mimes, # 199| sizeof (XdgMimeParents), &parent_entry_cmp); # 200| } Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/WTF/wtf/dragonbox/dragonbox_to_chars.cpp:610:41: warning[core.DivideZero]: Division by zero # 608| # 609| // Obtain and write the integral part. # 610|-> uint64_t integral = significand / base; # 611| buffer = double_to_chars_impl<Mode::ToShortest, PrintTrailingZero::Yes>(integral, exponent, buffer); # 612| Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/WTF/wtf/dtoa/double-conversion.cc:197:32: warning[core.UndefinedBinaryOperatorResult]: The left operand of '-' is a garbage value # 195| } # 196| # 197|-> int exponent = decimal_point - 1; # 198| if (validShortestRepresentation(exponent, decimal_in_shortest_low_, decimal_in_shortest_high_)) { # 199| CreateDecimalRepresentation(decimal_rep, decimal_rep_length, Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/WTF/wtf/FastFloat.cpp:29: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/WTF/wtf/fast_float/fast_float.h:5: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/WTF/wtf/fast_float/float_common.h:230:50: warning[deadcode.DeadStores]: Value stored to 'input_num' is never read # 228| if(input_num & uint64_t( 0xf0)) { input_num >>= 4; last_bit |= 4; } # 229| if(input_num & uint64_t( 0xc)) { input_num >>= 2; last_bit |= 2; } # 230|-> if(input_num & uint64_t( 0x2)) { input_num >>= 1; last_bit |= 1; } # 231| return 63 - last_bit; # 232| } Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/WTF/wtf/text/StringImpl.cpp:26: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/WTF/wtf/text/StringImpl.h:40: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/WTF/wtf/text/StringCommon.h:928:22: warning[core.NullDereference]: Dereference of null pointer (loaded from variable 'destination') # 926| { # 927| if (length == 1) # 928|-> *destination = *source; # 929| else if (length) # 930| std::memcpy(destination, source, length * sizeof(ElementType)); Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/WTF/wtf/text/StringCommon.h:930:9: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull' # 928| *destination = *source; # 929| else if (length) # 930|-> std::memcpy(destination, source, length * sizeof(ElementType)); # 931| } # 932| Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/WebCore/PAL/pal/text/EncodingTables.cpp:1084:31: warning[core.UndefinedBinaryOperatorResult]: The left operand of '!=' is a garbage value # 1082| ucnv_toUnicode(icuConverter.get(), &output, output + 1, &input, input + sizeof(icuInput), nullptr, true, &error); # 1083| ASSERT(!error); # 1084|-> if (icuOutput != 0xFFFD) { # 1085| uint16_t pointer = i * range + j; # 1086| (*array)[arrayIndex++] = { pointer, icuOutput }; Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/WebCore/PAL/pal/text/EncodingTables.cpp:1890:31: warning[core.UndefinedBinaryOperatorResult]: The left operand of '!=' is a garbage value # 1888| ucnv_toUnicode(icuConverter.get(), &output, output + 1, &input, input + sizeof(icuInput), nullptr, true, &error); # 1889| ASSERT(!error); # 1890|-> if (icuOutput != 0xFFFD) { # 1891| uint16_t pointer = i * range + j; # 1892| // ICU has some pointers above 7708 that are not in the encoding standard. Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/WebCore/PAL/pal/text/EncodingTables.cpp:7084:30: warning[core.UndefinedBinaryOperatorResult]: The left operand of '==' is a garbage value # 7082| UErrorCode error = U_ZERO_ERROR; # 7083| ucnv_toUnicode(icuConverter.get(), &output, output + 2, &input, input + sizeof(icuInput), nullptr, true, &error); # 7084|-> if (icuOutput[0] == 0xFFFD) # 7085| return std::nullopt; # 7086| return { { pointer, icuOutput[0] } }; Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/WebCore/PAL/pal/text/TextCodecUTF8.cpp:170:24: warning[core.NullDereference]: Dereference of null pointer # 168| ASSERT(!U_IS_SURROGATE(character)); # 169| if (U_IS_BMP(character)) # 170|-> *destination++ = character; # 171| else { # 172| *destination++ = U16_LEAD(character); Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/WebCore/PAL/pal/text/TextCodecUTF8.cpp:172:24: warning[core.NullDereference]: Dereference of null pointer # 170| *destination++ = character; # 171| else { # 172|-> *destination++ = U16_LEAD(character); # 173| *destination++ = U16_TRAIL(character); # 174| } Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/WebCore/PAL/pal/text/TextCodecUTF8.cpp:392:26: warning[core.NullDereference]: Dereference of null pointer # 390| // Copy the already converted characters # 391| for (LChar* converted8 = buffer.characters(); converted8 < destination;) # 392|-> *destination16++ = *converted8++; # 393| # 394| do { Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/WebCore/PAL/pal/text/TextCodecUTF8.cpp:425:34: warning[core.NullDereference]: Dereference of null pointer # 423| continue; # 424| } # 425|-> *destination16++ = *source++; # 426| continue; # 427| } Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/WebCore/PAL/pal/text/TextCodecUTF8.cpp:447:34: warning[core.NullDereference]: Dereference of null pointer # 445| if (stopOnError) # 446| break; # 447|-> *destination16++ = replacementCharacter; # 448| source += count ? count : 1; # 449| continue; Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkitgtk-6.0/WebCore/DerivedSources/unified-sources/UnifiedSource-2f84417a-26.cpp:1: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/WebCore/css/typedom/color/CSSRGB.cpp:27: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/WebCore/css/typedom/color/CSSRGB.h:29: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/WebCore/dom/ExceptionOr.h:29: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/WebCore/dom/Exception.h:34:7: warning[core.uninitialized.Assign]: Value assigned to field 'm_code' in implicit constructor is garbage or undefined # 32| namespace WebCore { # 33| # 34|-> class Exception { # 35| public: # 36| explicit Exception(ExceptionCode, String = { }); Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkitgtk-6.0/WebCore/DerivedSources/unified-sources/UnifiedSource-3c72abbe-8.cpp:7: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/WebCore/platform/ScrollAnimator.cpp:207:32: warning[core.CallAndMessage]: Called C++ object pointer is null # 205| deltaY = std::copysign(Scrollbar::pageStepDelta(m_scrollableArea.visibleHeight()), deltaY); # 206| # 207|-> auto scrollDelta = verticalScrollbar->pixelStep() * -deltaY; // Wheel deltas are reversed from scrolling direction. # 208| singleAxisScroll(ScrollEventAxis::Vertical, scrollDelta, behavior); # 209| } Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/WebCore/platform/ScrollAnimator.cpp:215:32: warning[core.CallAndMessage]: Called C++ object pointer is null # 213| deltaX = std::copysign(Scrollbar::pageStepDelta(m_scrollableArea.visibleWidth()), deltaX); # 214| # 215|-> auto scrollDelta = horizontalScrollbar->pixelStep() * -deltaX; // Wheel deltas are reversed from scrolling direction. # 216| singleAxisScroll(ScrollEventAxis::Horizontal, scrollDelta, behavior); # 217| } Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkitgtk-6.0/WebCore/DerivedSources/unified-sources/UnifiedSource-3c72abbe-27.cpp:8: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/WebCore/platform/graphics/FloatPolygon.cpp:105:59: warning[core.DivideZero]: Division by zero # 103| minVertexIndex = i; # 104| } # 105|-> FloatPoint nextVertex = vertexAt((minVertexIndex + 1) % nVertices); # 106| FloatPoint prevVertex = vertexAt((minVertexIndex + nVertices - 1) % nVertices); # 107| bool clockwise = FloatPolygonInternal::determinant(vertexAt(minVertexIndex) - prevVertex, nextVertex - prevVertex) > 0; Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkitgtk-6.0/WebCore/DerivedSources/unified-sources/UnifiedSource-3c72abbe-14.cpp:1: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/WebCore/platform/animation/TimingFunction.cpp:34: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/WebCore/platform/graphics/SpringSolver.h:53:69: warning[core.UndefinedBinaryOperatorResult]: The left operand of '*' is a garbage value # 51| if (m_zeta < 1) { # 52| // Under-damped # 53|-> t = std::exp(-t * m_zeta * m_w0) * (m_A * std::cos(m_wd * t) + m_B * std::sin(m_wd * t)); # 54| } else { # 55| // Critically damped (ignoring over-damped case for now). Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/WebCore/platform/graphics/egl/GLContext.cpp:169:16: warning[deadcode.DeadStores]: Value stored to 'display' during its initialization is never read # 167| } # 168| # 169|-> EGLDisplay display = platformDisplay.eglDisplay(); # 170| EGLSurface surface = EGL_NO_SURFACE; # 171| switch (platformDisplay.type()) { Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkitgtk-6.0/WebCore/DerivedSources/unified-sources/UnifiedSource-3c72abbe-77.cpp:8: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/WebCore/platform/text/SegmentedString.cpp:21: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/WebCore/platform/text/SegmentedString.h:85:12: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined # 83| # 84| private: # 85|-> struct Substring { # 86| Substring() = default; # 87| Substring(String&&); Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkitgtk-6.0/DerivedSources/WebKit/unified-sources/UnifiedSource-123a7f2f-3.cpp:8: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/WebKit/Platform/IPC/unix/ConnectionUnix.cpp:478:34: warning[core.NullDereference]: Array access (from variable 'fdPtr') results in a null pointer dereference # 476| if (!!attachments[i]) { # 477| ASSERT(fdPtr); # 478|-> fdPtr[fdIndex++] = attachments[i].value(); # 479| } else # 480| attachmentInfo[i].setNull(); Error: GCC_ANALYZER_WARNING (CWE-476): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_bitfit_allocator.c: scope_hint: In function ‘pas_bitfit_allocator_commit_view’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_bitfit_allocator.c:61:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘directory’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_atomic_ptr.h:29: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_atomic_bitfit_size_class_ptr.h:29: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_bitfit_directory.h:32: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_bitfit_allocator_inlines.h:31: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_bitfit_allocator.c:32: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_ptr.h:97:25: note: in definition of macro ‘PAS_DEFINE_COMPACT_PTR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_ptr.h:102:16: note: in definition of macro ‘PAS_DEFINE_COMPACT_PTR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_ptr.h:84:5: note: in expansion of macro ‘PAS_DEFINE_COMPACT_PTR_HELPERS’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_bitfit_directory_ptr.h:36:1: note: in expansion of macro ‘PAS_DEFINE_COMPACT_PTR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_bitfit_directory_ptr.h: scope_hint: In function ‘pas_bitfit_allocator_commit_view’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_ptr.h:102:16: note: in definition of macro ‘PAS_DEFINE_COMPACT_PTR’ # 59| # 60| directory = pas_compact_bitfit_directory_ptr_load(&view->directory); # 61|-> heap = directory->heap; # 62| # 63| /* We're almost certainly gonna commit a page, so let's just get this out of the way. We need to Error: GCC_ANALYZER_WARNING (CWE-476): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_bitfit_page_inlines.h:218:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/jit_heap_config.c:38: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/jit_heap_config.c: scope_hint: In function ‘jit_small_bitfit_page_config_specialized_allocator_try_allocate’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_heap_config_inlines.h:62:5: note: in definition of macro ‘PAS_HEAP_CONFIG_SPECIALIZATION_DEFINITIONS’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/jit_heap_config.c:375:1: note: in expansion of macro ‘PAS_HEAP_CONFIG_SPECIALIZATION_DEFINITIONS’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_heap_config_inlines.h:31: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_local_allocator_inlines.h:1680:5: note: in expansion of macro ‘PAS_ASSERT’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_local_allocator_inlines.h: scope_hint: In function ‘jit_small_bitfit_page_config_specialized_allocator_try_allocate’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_utils_prefix.h:87:45: note: in definition of macro ‘__PAS_LIKELY’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_local_allocator_inlines.h:81:9: note: in expansion of macro ‘PAS_LIKELY’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_local_allocator_inlines.h:105:5: note: in expansion of macro ‘PAS_ASSERT’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/jit_heap_config.c:375:1: note: in expansion of macro ‘PAS_HEAP_CONFIG_SPECIALIZATION_DEFINITIONS’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_local_allocator_inlines.h: scope_hint: In function ‘jit_small_bitfit_page_config_specialized_allocator_try_allocate’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/jit_heap_config.c:36: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/jit_heap_config.c: scope_hint: In function ‘jit_small_bitfit_page_config_specialized_allocator_try_allocate’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_bitfit_page_config_inlines.h:37:5: note: in definition of macro ‘PAS_BITFIT_PAGE_CONFIG_SPECIALIZATION_DEFINITIONS’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/jit_heap_config.c:371:1: note: in expansion of macro ‘PAS_BITFIT_PAGE_CONFIG_SPECIALIZATION_DEFINITIONS’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_bitfit_page_config_inlines.h:29: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_bitfit_page_inlines.h: scope_hint: In function ‘jit_small_bitfit_page_config_specialized_allocator_try_allocate’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_bitfit_page_inlines.h: scope_hint: In function ‘jit_small_bitfit_page_config_specialized_allocator_try_allocate’ # 216| PAS_ASSERT(page_config.base.is_enabled); # 217| # 218|-> num_live_bits = page->num_live_bits; # 219| if (!num_live_bits) # 220| pas_bitfit_view_note_nonemptiness(view); Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/bmalloc/AllIsoHeaps.cpp:26: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/bmalloc/AllIsoHeaps.h:28: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/bmalloc/IsoHeapImpl.h:28: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/bmalloc/BMalloced.h:28: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/bmalloc/bmalloc.h:40: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/bmalloc_heap_inlines.h:34: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/bmalloc_heap_config.h:34: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_heap_config_utils.h:34: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_bitfit_page_config_utils.h:33: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_bitfit_page_inlines.h:429:25: warning[deadcode.DeadStores]: Value stored to 'num_available_leading_bits' is never read # 427| } # 428| } else { # 429|-> num_available_leading_bits = PAS_BITVECTOR_BITS_PER_WORD64; # 430| if (num_remaining_needed_bits > PAS_BITVECTOR_BITS_PER_WORD64) { # 431| num_remaining_needed_bits -= PAS_BITVECTOR_BITS_PER_WORD64; Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_view.c:32: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_full_alloc_bits_inlines.h:31: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_page_config.h:30: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_bitvector.h:78:40: warning[core.NullDereference]: Array access (from variable 'bits') results in a null pointer dereference # 76| static inline bool pas_bitvector_get(const unsigned* bits, size_t index) # 77| { # 78|-> return pas_bitvector_get_from_word(bits[PAS_BITVECTOR_WORD_INDEX(index)], index); # 79| } # 80| Error: GCC_ANALYZER_WARNING (CWE-476): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_atomic_ptr.h:63:42: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segmented_vector.h:46:5: note: in expansion of macro ‘PAS_DEFINE_COMPACT_ATOMIC_PTR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_bitfit_directory.h:60:1: note: in expansion of macro ‘PAS_DECLARE_SEGMENTED_VECTOR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_bitfit_directory.c: scope_hint: In function ‘pas_bitfit_directory_view_vector_get_ptr’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_bitfit_directory.h:36: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_bitfit_directory.h: scope_hint: In function ‘pas_bitfit_directory_view_vector_get_ptr’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segmented_vector.h:142:36: note: in definition of macro ‘PAS_DECLARE_SEGMENTED_VECTOR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_bitfit_max_free.h:29: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_bitfit_directory.h:29: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segmented_vector.h:144:9: note: in expansion of macro ‘PAS_ASSERT’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_bitfit_directory.h:60:1: note: in expansion of macro ‘PAS_DECLARE_SEGMENTED_VECTOR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segmented_vector.h:146:16: note: in definition of macro ‘PAS_DECLARE_SEGMENTED_VECTOR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segmented_vector.h:146:16: note: in definition of macro ‘PAS_DECLARE_SEGMENTED_VECTOR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segmented_vector.h:128:36: note: in definition of macro ‘PAS_DECLARE_SEGMENTED_VECTOR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segmented_vector.h:139:13: note: in definition of macro ‘PAS_DECLARE_SEGMENTED_VECTOR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_atomic_ptr.h:63:16: note: in definition of macro ‘PAS_DEFINE_COMPACT_ATOMIC_PTR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_bitfit_directory.h:60:1: note: in expansion of macro ‘PAS_DECLARE_SEGMENTED_VECTOR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_atomic_ptr.h:54:5: note: in expansion of macro ‘PAS_DEFINE_COMPACT_PTR_HELPERS’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segmented_vector.h:47:5: note: in expansion of macro ‘PAS_DEFINE_COMPACT_ATOMIC_PTR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_bitfit_directory.h:60:1: note: in expansion of macro ‘PAS_DECLARE_SEGMENTED_VECTOR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_bitfit_directory.h: scope_hint: In function ‘pas_bitfit_directory_view_vector_get_ptr’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_bitfit_directory.h:60:1: note: in expansion of macro ‘PAS_DECLARE_SEGMENTED_VECTOR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segmented_vector.h:138:16: note: in definition of macro ‘PAS_DECLARE_SEGMENTED_VECTOR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segmented_vector.h:138:16: note: in definition of macro ‘PAS_DECLARE_SEGMENTED_VECTOR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segmented_vector.h:138:16: note: in definition of macro ‘PAS_DECLARE_SEGMENTED_VECTOR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segmented_vector.h:46:5: note: in expansion of macro ‘PAS_DEFINE_COMPACT_ATOMIC_PTR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_bitfit_directory.h:60:1: note: in expansion of macro ‘PAS_DECLARE_SEGMENTED_VECTOR’ # 61| static inline type* name ## _load(name* ptr) \ # 62| { \ # 63|-> return name ## _ptr_for_index(ptr->payload); \ # 64| } \ # 65| \ Error: GCC_ANALYZER_WARNING (CWE-476): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_atomic_ptr.h:63:42: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘y’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_red_black_tree.h:54:1: note: in expansion of macro ‘PAS_DEFINE_COMPACT_ATOMIC_PTR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_red_black_tree.c: scope_hint: In function ‘pas_red_black_tree_remove’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_allocation_result.h:31: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_aligned_allocation_result.h:29: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_heap_reservation.h:29: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_ptr.h:29: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_atomic_ptr.h:29: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_red_black_tree.c:324:5: note: in expansion of macro ‘PAS_ASSERT’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_utils.h:49: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_utils_prefix.h:87:45: note: in definition of macro ‘__PAS_LIKELY’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_utils.h:422:13: note: in expansion of macro ‘PAS_LIKELY’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_red_black_tree.c:325:5: note: in expansion of macro ‘PAS_ASSERT’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_red_black_tree.h:55:1: note: in expansion of macro ‘PAS_DEFINE_COMPACT_TAGGED_ATOMIC_PTR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_red_black_tree.c: scope_hint: In function ‘pas_red_black_tree_remove’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_atomic_ptr.h:63:16: note: in definition of macro ‘PAS_DEFINE_COMPACT_ATOMIC_PTR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_atomic_ptr.h:54:5: note: in expansion of macro ‘PAS_DEFINE_COMPACT_PTR_HELPERS’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_red_black_tree.h:54:1: note: in expansion of macro ‘PAS_DEFINE_COMPACT_ATOMIC_PTR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_atomic_ptr.h:54:5: note: in expansion of macro ‘PAS_DEFINE_COMPACT_PTR_HELPERS’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_red_black_tree.h:54:1: note: in expansion of macro ‘PAS_DEFINE_COMPACT_ATOMIC_PTR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_red_black_tree.c: scope_hint: In function ‘pas_red_black_tree_remove’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_red_black_tree.h:54:1: note: in expansion of macro ‘PAS_DEFINE_COMPACT_ATOMIC_PTR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_red_black_tree.h: scope_hint: In function ‘pas_red_black_tree_remove’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_atomic_ptr.h:63:16: note: in definition of macro ‘PAS_DEFINE_COMPACT_ATOMIC_PTR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_atomic_ptr.h:54:5: note: in expansion of macro ‘PAS_DEFINE_COMPACT_PTR_HELPERS’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_red_black_tree.h:54:1: note: in expansion of macro ‘PAS_DEFINE_COMPACT_ATOMIC_PTR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_atomic_ptr.h:54:5: note: in expansion of macro ‘PAS_DEFINE_COMPACT_PTR_HELPERS’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_red_black_tree.h:54:1: note: in expansion of macro ‘PAS_DEFINE_COMPACT_ATOMIC_PTR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_red_black_tree.c: scope_hint: In function ‘pas_red_black_tree_remove’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_atomic_ptr.h:63:16: note: in definition of macro ‘PAS_DEFINE_COMPACT_ATOMIC_PTR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_atomic_ptr.h:54:5: note: in expansion of macro ‘PAS_DEFINE_COMPACT_PTR_HELPERS’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_red_black_tree.h:54:1: note: in expansion of macro ‘PAS_DEFINE_COMPACT_ATOMIC_PTR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_atomic_ptr.h:54:5: note: in expansion of macro ‘PAS_DEFINE_COMPACT_PTR_HELPERS’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_red_black_tree.h:54:1: note: in expansion of macro ‘PAS_DEFINE_COMPACT_ATOMIC_PTR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_red_black_tree.h: scope_hint: In function ‘pas_red_black_tree_remove’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_red_black_tree.h:55:1: note: in expansion of macro ‘PAS_DEFINE_COMPACT_TAGGED_ATOMIC_PTR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_red_black_tree.c: scope_hint: In function ‘pas_red_black_tree_remove’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_red_black_tree.h:54:1: note: in expansion of macro ‘PAS_DEFINE_COMPACT_ATOMIC_PTR’ # 61| static inline type* name ## _load(name* ptr) \ # 62| { \ # 63|-> return name ## _ptr_for_index(ptr->payload); \ # 64| } \ # 65| \ Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_bitfit_page.c:33: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_bitfit_view.h:30: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_bitfit_directory_ptr.h:36:1: warning[core.NonNullParamChecker]: Null pointer passed to 2nd parameter expecting 'nonnull' # 34| typedef struct pas_bitfit_directory pas_bitfit_directory; # 35| # 36|-> PAS_DEFINE_COMPACT_PTR(pas_bitfit_directory, pas_compact_bitfit_directory_ptr); # 37| # 38| PAS_END_EXTERN_C; Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_deallocate.c:30: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_deallocate.h:38: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_page_inlines.h:33: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_exclusive_view_inlines.h:33: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_exclusive_view.h:29: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_segregated_size_directory_ptr.h:36:1: warning[core.NonNullParamChecker]: Null pointer passed to 2nd parameter expecting 'nonnull' # 34| typedef struct pas_segregated_size_directory pas_segregated_size_directory; # 35| # 36|-> PAS_DEFINE_COMPACT_PTR(pas_segregated_size_directory, # 37| pas_compact_segregated_size_directory_ptr); # 38| Error: GCC_ANALYZER_WARNING (CWE-476): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_tagged_atomic_ptr.h:61:43: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_directory.h:109:1: note: in expansion of macro ‘PAS_DEFINE_COMPACT_TAGGED_ATOMIC_PTR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_page_sharing_participant.c: scope_hint: In function ‘pas_page_sharing_participant_get_payload’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_directory.h:107:1: note: in expansion of macro ‘PAS_DEFINE_COMPACT_ATOMIC_PTR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_directory.h: scope_hint: In function ‘pas_page_sharing_participant_get_payload’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_atomic_ptr.h:63:16: note: in definition of macro ‘PAS_DEFINE_COMPACT_ATOMIC_PTR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_atomic_ptr.h:54:5: note: in expansion of macro ‘PAS_DEFINE_COMPACT_PTR_HELPERS’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_directory.h:107:1: note: in expansion of macro ‘PAS_DEFINE_COMPACT_ATOMIC_PTR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_page_sharing_participant.c: scope_hint: In function ‘pas_page_sharing_participant_get_payload’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_size_directory.h:39: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_page_sharing_participant.c:37: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_directory.h:109:1: note: in expansion of macro ‘PAS_DEFINE_COMPACT_TAGGED_ATOMIC_PTR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_directory.h:109:1: note: in expansion of macro ‘PAS_DEFINE_COMPACT_TAGGED_ATOMIC_PTR’ # 59| static inline type name ## _load(name* ptr) \ # 60| { \ # 61|-> return name ## _ptr_for_offset(ptr->payload); \ # 62| } \ # 63| \ Error: GCC_ANALYZER_WARNING (CWE-476): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_deallocate.h:109:17: warning[-Wanalyzer-jump-through-null]: jump through null pointer webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_utility_heap_config.c: scope_hint: In function ‘pas_utility_heap_config_specialized_try_deallocate_not_small_exclusive_segregated.part.0’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_heap_config_inlines.h:88:10: note: in definition of macro ‘PAS_HEAP_CONFIG_SPECIALIZATION_DEFINITIONS’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_utility_heap_config.c:43:1: note: in expansion of macro ‘PAS_HEAP_CONFIG_SPECIALIZATION_DEFINITIONS’ # 107| pas_msl_free_logging((void*)begin); # 108| # 109|-> page_base = config.page_header_func(begin); # 110| if (page_base) { # 111| switch (pas_page_base_get_kind(page_base)) { Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_utility_heap_config.c:33: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_heap_config_utils_inlines.h:30: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_heap_config_inlines.h:29: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_deallocate.h:109:17: warning[core.CallAndMessage]: Called function pointer is null (null dereference) # 107| pas_msl_free_logging((void*)begin); # 108| # 109|-> page_base = config.page_header_func(begin); # 110| if (page_base) { # 111| switch (pas_page_base_get_kind(page_base)) { Error: GCC_ANALYZER_WARNING (CWE-476): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_deallocate.h:124:13: warning[-Wanalyzer-jump-through-null]: jump through null pointer webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_utility_heap_config.c: scope_hint: In function ‘pas_utility_heap_config_specialized_try_deallocate_not_small_exclusive_segregated.part.0’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_heap_config_inlines.h:88:10: note: in definition of macro ‘PAS_HEAP_CONFIG_SPECIALIZATION_DEFINITIONS’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_utility_heap_config.c:43:1: note: in expansion of macro ‘PAS_HEAP_CONFIG_SPECIALIZATION_DEFINITIONS’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_deallocate.h: scope_hint: In function ‘pas_utility_heap_config_specialized_try_deallocate_not_small_exclusive_segregated.part.0’ # 122| case pas_small_bitfit_page_kind: # 123| PAS_ASSERT(!config.small_bitfit_is_in_megapage); # 124|-> config.small_bitfit_config.specialized_page_deallocate_with_page( # 125| pas_page_base_get_bitfit(page_base), # 126| begin); Error: GCC_ANALYZER_WARNING (CWE-476): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_deallocate.h:137:13: warning[-Wanalyzer-jump-through-null]: jump through null pointer webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_utility_heap_config.c: scope_hint: In function ‘pas_utility_heap_config_specialized_try_deallocate_not_small_exclusive_segregated.part.0’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_heap_config_inlines.h:88:10: note: in definition of macro ‘PAS_HEAP_CONFIG_SPECIALIZATION_DEFINITIONS’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_utility_heap_config.c:43:1: note: in expansion of macro ‘PAS_HEAP_CONFIG_SPECIALIZATION_DEFINITIONS’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_deallocate.h: scope_hint: In function ‘pas_utility_heap_config_specialized_try_deallocate_not_small_exclusive_segregated.part.0’ # 135| return true; # 136| case pas_medium_bitfit_page_kind: # 137|-> config.medium_bitfit_config.specialized_page_deallocate_with_page( # 138| pas_page_base_get_bitfit(page_base), # 139| begin); Error: GCC_ANALYZER_WARNING (CWE-476): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_deallocate.h:142:13: warning[-Wanalyzer-jump-through-null]: jump through null pointer webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/jit_heap_config.c: scope_hint: In function ‘jit_heap_config_specialized_try_deallocate_not_small_exclusive_segregated.part.0’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_heap_config_inlines.h:88:10: note: in definition of macro ‘PAS_HEAP_CONFIG_SPECIALIZATION_DEFINITIONS’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/jit_heap_config.c:375:1: note: in expansion of macro ‘PAS_HEAP_CONFIG_SPECIALIZATION_DEFINITIONS’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/jit_heap_config.h: scope_hint: In function ‘jit_heap_config_specialized_try_deallocate_not_small_exclusive_segregated.part.0’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_lock_free_read_ptr_ptr_hashtable.h: scope_hint: In function ‘jit_heap_config_specialized_try_deallocate_not_small_exclusive_segregated.part.0’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/jit_heap_config.c: scope_hint: In function ‘jit_heap_config_specialized_try_deallocate_not_small_exclusive_segregated.part.0’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/jit_heap_config.c:375:1: note: in expansion of macro ‘PAS_HEAP_CONFIG_SPECIALIZATION_DEFINITIONS’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_deallocate.h: scope_hint: In function ‘jit_heap_config_specialized_try_deallocate_not_small_exclusive_segregated.part.0’ # 140| return true; # 141| case pas_marge_bitfit_page_kind: # 142|-> config.marge_bitfit_config.specialized_page_deallocate_with_page( # 143| pas_page_base_get_bitfit(page_base), # 144| begin); Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/jit_heap_config.c:38: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_heap_config_inlines.h:29: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_deallocate.h:142:13: warning[core.CallAndMessage]: Called function pointer is null (null dereference) # 140| return true; # 141| case pas_marge_bitfit_page_kind: # 142|-> config.marge_bitfit_config.specialized_page_deallocate_with_page( # 143| pas_page_base_get_bitfit(page_base), # 144| begin); Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_expendable_memory.c:177:5: warning[deadcode.DeadStores]: Value stored to 'first_kind' is never read # 175| header_version = ((pas_expendable_memory_state_version*)object)[-1]; # 176| first_state = header->states[first]; # 177|-> first_kind = pas_expendable_memory_state_get_kind(first_state); # 178| first_version = pas_expendable_memory_state_get_version(first_state); # 179| Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_fast_large_free_heap.c:32: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_generic_large_free_heap.h:197:5: warning[deadcode.DeadStores]: Value stored to 'result' is never read # 195| pas_alignment_validate(alignment); # 196| pas_heap_lock_assert_held(); # 197|-> result = pas_allocation_result_create_failure(); # 198| # 199| test_allocation_candidate_data.heap = heap; Error: GCC_ANALYZER_WARNING (CWE-457): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_heap_inlines.h:76:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘cached_index’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/jit_heap_config.c: scope_hint: In function ‘jit_heap_config_specialized_try_allocate_common_impl_slow’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_heap_config_inlines.h:74:5: note: in definition of macro ‘PAS_HEAP_CONFIG_SPECIALIZATION_DEFINITIONS’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/jit_heap_config.c:375:1: note: in expansion of macro ‘PAS_HEAP_CONFIG_SPECIALIZATION_DEFINITIONS’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_try_allocate_common.h: scope_hint: In function ‘jit_heap_config_specialized_try_allocate_common_impl_slow’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_try_allocate_common.h: scope_hint: In function ‘jit_heap_config_specialized_try_allocate_common_impl_slow’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_heap_inlines.h: scope_hint: In function ‘jit_heap_config_specialized_try_allocate_common_impl_slow’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_heap_inlines.h: scope_hint: In function ‘jit_heap_config_specialized_try_allocate_common_impl_slow’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_atomic_ptr.h:63:16: note: in definition of macro ‘PAS_DEFINE_COMPACT_ATOMIC_PTR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_atomic_ptr.h:54:5: note: in expansion of macro ‘PAS_DEFINE_COMPACT_PTR_HELPERS’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_atomic_segregated_size_directory_ptr.h:36:1: note: in expansion of macro ‘PAS_DEFINE_COMPACT_ATOMIC_PTR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_atomic_ptr.h:54:5: note: in expansion of macro ‘PAS_DEFINE_COMPACT_PTR_HELPERS’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_atomic_segregated_size_directory_ptr.h:36:1: note: in expansion of macro ‘PAS_DEFINE_COMPACT_ATOMIC_PTR’ # 74| #endif /* PAS_ENABLE_TESTING */ # 75| # 76|-> return pas_heap_ensure_size_directory_for_size_slow( # 77| heap, size, alignment, force_size_lookup, config.config_ptr, cached_index); # 78| } Error: GCC_ANALYZER_WARNING (CWE-688): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_directory.h:33: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_directory.h: scope_hint: In function ‘pas_segregated_directory_view_vector_append’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_immutable_vector.h:83:13: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_directory.h:104:1: note: in expansion of macro ‘PAS_DECLARE_IMMUTABLE_VECTOR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_immutable_vector.h:57:35: note: in definition of macro ‘PAS_DECLARE_IMMUTABLE_VECTOR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_immutable_vector.h:67:17: note: in definition of macro ‘PAS_DECLARE_IMMUTABLE_VECTOR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_immutable_vector.h:29: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_atomic_ptr.h:63:16: note: in definition of macro ‘PAS_DEFINE_COMPACT_ATOMIC_PTR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_directory.h:104:1: note: in expansion of macro ‘PAS_DECLARE_IMMUTABLE_VECTOR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_atomic_ptr.h:54:5: note: in expansion of macro ‘PAS_DEFINE_COMPACT_PTR_HELPERS’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_immutable_vector.h:44:5: note: in expansion of macro ‘PAS_DEFINE_COMPACT_ATOMIC_PTR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_directory.h:104:1: note: in expansion of macro ‘PAS_DECLARE_IMMUTABLE_VECTOR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_directory.h: scope_hint: In function ‘pas_segregated_directory_view_vector_append’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_directory.h:104:1: note: in expansion of macro ‘PAS_DECLARE_IMMUTABLE_VECTOR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_directory.h:104:1: note: in expansion of macro ‘PAS_DECLARE_IMMUTABLE_VECTOR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_directory.h:104:1: note: in expansion of macro ‘PAS_DECLARE_IMMUTABLE_VECTOR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_directory.h:104:1: note: in expansion of macro ‘PAS_DECLARE_IMMUTABLE_VECTOR’ <built-in>: note: argument 2 of ‘__builtin_memcpy’ must be non-null # 81| heap_lock_hold_mode); \ # 82| \ # 83|-> memcpy(new_array, array, vector->size * sizeof(type)); \ # 84| pas_zero_memory(new_array + vector->size, \ # 85| (new_array_capacity - vector->size) * sizeof(type)); \ Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_large_sharing_pool.c:119:9: warning[deadcode.DeadStores]: Value stored to 'node' is never read # 117| pas_large_sharing_node* node; # 118| # 119|-> node = *pas_large_sharing_min_heap_get_ptr_by_index( # 120| &pas_large_sharing_min_heap_instance, index); # 121| Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_large_sharing_pool.c:865:63: warning[core.NullDereference]: Dereference of null pointer # 863| next_node = successor(node); # 864| # 865|-> PAS_ASSERT(!next_node || next_node->range.begin > node->range.begin); # 866| PAS_ASSERT(!next_node || next_node->range.begin == node->range.end); # 867| PAS_ASSERT(node->range.begin >= pas_round_down_to_power_of_2(range.begin, page_size)); Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/bmalloc/AllIsoHeaps.cpp:26: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/bmalloc/AllIsoHeaps.h:28: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/bmalloc/IsoHeapImpl.h:28: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/bmalloc/BMalloced.h:28: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/bmalloc/bmalloc.h:40: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/bmalloc_heap_inlines.h:37: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_try_allocate.h:34: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_local_allocator_inlines.h:931:5: warning[deadcode.DeadStores]: Value stored to 'directory' is never read # 929| pas_segregated_heap_touch_lookup_tables(size_directory->heap, pas_expendable_memory_touch_to_note_use); # 930| # 931|-> directory = &size_directory->base; # 932| # 933| if (verbose) { Error: GCC_ANALYZER_WARNING (CWE-476): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_local_allocator_inlines.h:960:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/jit_heap_config.c: scope_hint: In function ‘jit_heap_config_specialized_local_allocator_try_allocate_small_segregated_slow’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_heap_config_inlines.h:38:5: note: in definition of macro ‘PAS_HEAP_CONFIG_SPECIALIZATION_DEFINITIONS’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/jit_heap_config.c:375:1: note: in expansion of macro ‘PAS_HEAP_CONFIG_SPECIALIZATION_DEFINITIONS’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_local_allocator_inlines.h:1551:5: note: in expansion of macro ‘PAS_ASSERT’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_local_allocator_inlines.h: scope_hint: In function ‘jit_heap_config_specialized_local_allocator_try_allocate_small_segregated_slow’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_utils_prefix.h:87:45: note: in definition of macro ‘__PAS_LIKELY’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_local_allocator_inlines.h:81:9: note: in expansion of macro ‘PAS_LIKELY’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_local_allocator_inlines.h:105:5: note: in expansion of macro ‘PAS_ASSERT’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/jit_heap_config.c:375:1: note: in expansion of macro ‘PAS_HEAP_CONFIG_SPECIALIZATION_DEFINITIONS’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_local_allocator_inlines.h: scope_hint: In function ‘jit_heap_config_specialized_local_allocator_try_allocate_small_segregated_slow’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_utils.h:466:12: note: in expansion of macro ‘PAS_ROUND_DOWN_TO_POWER_OF_2’ # 958| old_page = pas_segregated_page_for_boundary( # 959| (void*)pas_local_allocator_page_boundary(allocator, page_config), page_config); # 960|-> old_view = old_page->owner; # 961| if (!pas_segregated_view_is_some_exclusive(old_view)) { # 962| PAS_ASSERT(!pas_segregated_page_config_is_utility(page_config)); Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_local_allocator_inlines.h:1041:17: warning[deadcode.DeadStores]: Value stored to 'new_view' is never read # 1039| partial = (pas_segregated_partial_view*)pas_segregated_view_get_ptr(old_view); # 1040| if (partial->eligibility_has_been_noted) { # 1041|-> new_view = old_view; # 1042| new_page = old_page; # 1043| pas_segregated_page_switch_lock(new_page, &held_lock, page_config); Error: GCC_ANALYZER_WARNING (CWE-476): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_page_sharing_pool.c: scope_hint: In function ‘verify_participants’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_page_sharing_pool.c:120:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘word_ptr’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_utils_prefix.h:87:45: note: in definition of macro ‘__PAS_LIKELY’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_utils.h:422:13: note: in expansion of macro ‘PAS_LIKELY’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_page_sharing_pool.c:120:13: note: in expansion of macro ‘PAS_ASSERT’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_page_sharing_pool.c:74:5: note: in expansion of macro ‘PAS_ASSERT’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_page_sharing_pool.c:88:9: note: in expansion of macro ‘PAS_ASSERT’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_page_sharing_pool.c:92:9: note: in expansion of macro ‘PAS_ASSERT’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segmented_vector.h:128:36: note: in definition of macro ‘PAS_DECLARE_SEGMENTED_VECTOR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segmented_vector.h:139:13: note: in definition of macro ‘PAS_DECLARE_SEGMENTED_VECTOR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_atomic_ptr.h:63:16: note: in definition of macro ‘PAS_DEFINE_COMPACT_ATOMIC_PTR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_page_sharing_pool.h:51:1: note: in expansion of macro ‘PAS_DECLARE_SEGMENTED_VECTOR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_atomic_ptr.h:54:5: note: in expansion of macro ‘PAS_DEFINE_COMPACT_PTR_HELPERS’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segmented_vector.h:47:5: note: in expansion of macro ‘PAS_DEFINE_COMPACT_ATOMIC_PTR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_page_sharing_pool.h:51:1: note: in expansion of macro ‘PAS_DECLARE_SEGMENTED_VECTOR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_atomic_ptr.h:54:5: note: in expansion of macro ‘PAS_DEFINE_COMPACT_PTR_HELPERS’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segmented_vector.h:47:5: note: in expansion of macro ‘PAS_DEFINE_COMPACT_ATOMIC_PTR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_page_sharing_pool.h:51:1: note: in expansion of macro ‘PAS_DECLARE_SEGMENTED_VECTOR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_page_sharing_pool.h: scope_hint: In function ‘verify_participants’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segmented_vector.h:138:16: note: in definition of macro ‘PAS_DECLARE_SEGMENTED_VECTOR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_atomic_ptr.h:63:16: note: in definition of macro ‘PAS_DEFINE_COMPACT_ATOMIC_PTR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_page_sharing_pool.h:51:1: note: in expansion of macro ‘PAS_DECLARE_SEGMENTED_VECTOR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_atomic_ptr.h:54:5: note: in expansion of macro ‘PAS_DEFINE_COMPACT_PTR_HELPERS’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segmented_vector.h:46:5: note: in expansion of macro ‘PAS_DEFINE_COMPACT_ATOMIC_PTR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_page_sharing_pool.h:51:1: note: in expansion of macro ‘PAS_DECLARE_SEGMENTED_VECTOR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_page_sharing_pool.h: scope_hint: In function ‘verify_participants’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_page_sharing_pool.h:51:1: note: in expansion of macro ‘PAS_DECLARE_SEGMENTED_VECTOR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_page_sharing_pool.h:51:1: note: in expansion of macro ‘PAS_DECLARE_SEGMENTED_VECTOR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_page_sharing_pool.h:51:1: note: in expansion of macro ‘PAS_DECLARE_SEGMENTED_VECTOR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_utils_prefix.h:87:45: note: in definition of macro ‘__PAS_LIKELY’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_utils.h:422:13: note: in expansion of macro ‘PAS_LIKELY’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_page_sharing_pool.c:120:13: note: in expansion of macro ‘PAS_ASSERT’ # 118| word_ptr = pas_page_sharing_pool_segmented_delta_bitvector_get_ptr( # 119| &pool->delta, PAS_BITVECTOR_WORD_INDEX(index)); # 120|-> PAS_ASSERT(pas_bitvector_get_from_word(*word_ptr, index)); # 121| } else { # 122| uint64_t epoch; Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_red_black_tree.c:35: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_red_black_tree.h:54:1: warning[core.NullDereference]: Access to field 'payload' results in a dereference of a null pointer (loaded from variable 'ptr') # 52| typedef struct pas_red_black_tree_node pas_red_black_tree_node; # 53| # 54|-> PAS_DEFINE_COMPACT_ATOMIC_PTR(pas_red_black_tree_node, pas_red_black_tree_node_ptr); # 55| PAS_DEFINE_COMPACT_TAGGED_ATOMIC_PTR(uintptr_t, pas_red_black_tree_node_tagged_ptr); # 56| Error: GCC_ANALYZER_WARNING (CWE-688): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_page_sharing_pool.h: scope_hint: In function ‘pas_page_sharing_pool_segmented_delta_bitvector_append’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segmented_vector.h:89:13: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_page_sharing_pool.h:51:1: note: in expansion of macro ‘PAS_DECLARE_SEGMENTED_VECTOR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_page_sharing_pool.c: scope_hint: In function ‘pas_page_sharing_pool_segmented_delta_bitvector_append’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_bootstrap_free_heap.h:31: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_heap_lock.h:33:1: note: in expansion of macro ‘PAS_DECLARE_LOCK’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_utils_prefix.h:87:45: note: in definition of macro ‘__PAS_LIKELY’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_utils.h:422:13: note: in expansion of macro ‘PAS_LIKELY’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_lock.h:108:5: note: in expansion of macro ‘PAS_ASSERT’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_lock.h:108:5: note: in expansion of macro ‘PAS_ASSERT’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_page_sharing_pool.c: scope_hint: In function ‘pas_page_sharing_pool_segmented_delta_bitvector_append’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segmented_vector.h:60:36: note: in definition of macro ‘PAS_DECLARE_SEGMENTED_VECTOR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segmented_vector.h:70:9: note: in expansion of macro ‘PAS_ASSERT’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_page_sharing_pool.h:51:1: note: in expansion of macro ‘PAS_DECLARE_SEGMENTED_VECTOR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_page_sharing_pool.h:51:1: note: in expansion of macro ‘PAS_DECLARE_SEGMENTED_VECTOR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_page_sharing_pool.h:51:1: note: in expansion of macro ‘PAS_DECLARE_SEGMENTED_VECTOR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_page_sharing_pool.h:51:1: note: in expansion of macro ‘PAS_DECLARE_SEGMENTED_VECTOR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_page_sharing_pool.h:51:1: note: in expansion of macro ‘PAS_DECLARE_SEGMENTED_VECTOR’ <built-in>: note: argument 2 of ‘__builtin_memcpy’ must be non-null # 87| heap_lock_hold_mode); \ # 88| \ # 89|-> memcpy(new_spine, spine, used_spine_size * sizeof(name##_chunk_ptr)); \ # 90| pas_zero_memory(new_spine + used_spine_size, \ # 91| (new_spine_size - used_spine_size) * sizeof(name##_chunk_ptr)); \ Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_directory.c:175:13: warning[deadcode.DeadStores]: Value stored to 'payload' is never read # 173| encoded_payload & ~PAS_SEGREGATED_DIRECTORY_SHARING_PAYLOAD_IS_INITIALIZED_BIT); # 174| } else { # 175|-> payload = (pas_page_sharing_participant_payload*)( # 176| encoded_payload & ~PAS_SEGREGATED_DIRECTORY_SHARING_PAYLOAD_IS_INITIALIZED_BIT); # 177| Error: GCC_ANALYZER_WARNING (CWE-457): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_heap_inlines.h:70:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘cached_index’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/jit_heap_config.c: scope_hint: In function ‘jit_heap_config_specialized_try_allocate_common_impl_slow’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_heap_config_inlines.h:74:5: note: in definition of macro ‘PAS_HEAP_CONFIG_SPECIALIZATION_DEFINITIONS’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/jit_heap_config.c:375:1: note: in expansion of macro ‘PAS_HEAP_CONFIG_SPECIALIZATION_DEFINITIONS’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_try_allocate_common.h: scope_hint: In function ‘jit_heap_config_specialized_try_allocate_common_impl_slow’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_try_allocate_common.h: scope_hint: In function ‘jit_heap_config_specialized_try_allocate_common_impl_slow’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_heap_inlines.h: scope_hint: In function ‘jit_heap_config_specialized_try_allocate_common_impl_slow’ # 68| # 69| slow: # 70|-> return pas_segregated_heap_size_directory_for_index_slow(heap, index, cached_index, config); # 71| } # 72| Error: GCC_ANALYZER_WARNING (CWE-476): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_page_inlines.h:214:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/jit_heap_config.c: scope_hint: In function ‘jit_heap_config_specialized_try_deallocate_not_small_exclusive_segregated.part.0’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_heap_config_inlines.h:88:10: note: in definition of macro ‘PAS_HEAP_CONFIG_SPECIALIZATION_DEFINITIONS’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/jit_heap_config.c:375:1: note: in expansion of macro ‘PAS_HEAP_CONFIG_SPECIALIZATION_DEFINITIONS’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/jit_heap_config.h: scope_hint: In function ‘jit_heap_config_specialized_try_deallocate_not_small_exclusive_segregated.part.0’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_page_base_config_utils.h:33: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_bitfit_page_config_utils.h:30: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_lock_free_read_ptr_ptr_hashtable.h: scope_hint: In function ‘jit_heap_config_specialized_try_deallocate_not_small_exclusive_segregated.part.0’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/jit_heap_config.c: scope_hint: In function ‘jit_heap_config_specialized_try_deallocate_not_small_exclusive_segregated.part.0’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/jit_heap_config.c:375:1: note: in expansion of macro ‘PAS_HEAP_CONFIG_SPECIALIZATION_DEFINITIONS’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_deallocate.h: scope_hint: In function ‘jit_heap_config_specialized_try_deallocate_not_small_exclusive_segregated.part.0’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_deallocate.h: scope_hint: In function ‘jit_heap_config_specialized_try_deallocate_not_small_exclusive_segregated.part.0’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_utils.h:466:12: note: in expansion of macro ‘PAS_ROUND_DOWN_TO_POWER_OF_2’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_page_inlines.h: scope_hint: In function ‘jit_heap_config_specialized_try_deallocate_not_small_exclusive_segregated.part.0’ # 212| # 213| held_lock_value = *held_lock; # 214|-> page_lock = page->lock_ptr; # 215| # 216| PAS_TESTING_ASSERT(page_lock); Error: GCC_ANALYZER_WARNING (CWE-476): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_page_inlines.h:440:30: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_deallocate.c: scope_hint: In function ‘deallocate_segregated’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_size_directory_inlines.h:36: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_designated_intrinsic_heap_inlines.h:32: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_exclusive_view_inlines.h:29: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_page_inlines.h:33: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_deallocate.c: scope_hint: In function ‘deallocate_segregated’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_deallocate.c: scope_hint: In function ‘deallocate_segregated’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_page_inlines.h:507:5: note: in expansion of macro ‘PAS_ASSERT’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_page_inlines.h: scope_hint: In function ‘deallocate_segregated’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_heap.h:45: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_heap.h:32: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_root.h:29: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_malloc_stack_logging.h:32: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_deallocate.h:37: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_utils.h:49: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_utils_prefix.h:87:45: note: in definition of macro ‘__PAS_LIKELY’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_utils.h:422:13: note: in expansion of macro ‘PAS_LIKELY’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_utils.h:465:5: note: in expansion of macro ‘PAS_ASSERT’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_page_inlines.h: scope_hint: In function ‘deallocate_segregated’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_page_inlines.h: scope_hint: In function ‘deallocate_segregated’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_page_inlines.h: scope_hint: In function ‘deallocate_segregated’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_page_inlines.h: scope_hint: In function ‘deallocate_segregated’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_view.h:166:5: note: in expansion of macro ‘PAS_ASSERT’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_page_config.h:42: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_view.h: scope_hint: In function ‘deallocate_segregated’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_page_inlines.h: scope_hint: In function ‘deallocate_segregated’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_page_inlines.h:38: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_shared_handle_inlines.h:46:5: note: in expansion of macro ‘PAS_ASSERT’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_shared_handle_inlines.h: scope_hint: In function ‘deallocate_segregated’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_atomic_bitfit_view_ptr.h:29: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_bitfit_page.h:30: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_atomic_ptr.h:63:16: note: in definition of macro ‘PAS_DEFINE_COMPACT_ATOMIC_PTR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_atomic_ptr.h:54:5: note: in expansion of macro ‘PAS_DEFINE_COMPACT_PTR_HELPERS’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_atomic_segregated_partial_view_ptr.h:36:1: note: in expansion of macro ‘PAS_DEFINE_COMPACT_ATOMIC_PTR’ # 438| pas_log("Notifying partial eligibility on view %p.\n", partial_view); # 439| # 440|-> if (!partial_view->eligibility_has_been_noted) # 441| pas_segregated_partial_view_note_eligibility(partial_view, page); # 442| break; Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_partial_view.c:118:5: warning[deadcode.DeadStores]: Value stored to 'index' is never read # 116| # 117| shared_page_directory = shared_handle->directory; # 118|-> index = shared_view->index; # 119| # 120| PAS_UNUSED_PARAM(shared_page_directory); Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_partial_view.c:208:9: warning[deadcode.DeadStores]: Value stored to 'page_boundary' is never read # 206| page = NULL; # 207| alloc_bits = NULL; # 208|-> page_boundary = 0; # 209| } # 210| Error: GCC_ANALYZER_WARNING (CWE-476): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_utils.h:49: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_allocation_result.h:31: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_aligned_allocation_result.h:29: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_heap_reservation.h:29: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_ptr.h:29: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_atomic_ptr.h:29: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_atomic_segregated_partial_view_ptr.h:29: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_shared_handle.h:29: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_shared_handle.c:30: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_shared_handle.c: scope_hint: In function ‘pas_segregated_shared_handle_destroy’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_shared_handle.c:80:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘shared_view’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_utils_prefix.h:87:45: note: in definition of macro ‘__PAS_LIKELY’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_utils.h:422:13: note: in expansion of macro ‘PAS_LIKELY’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_shared_handle.c:80:5: note: in expansion of macro ‘PAS_ASSERT’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_ptr.h:97:25: note: in definition of macro ‘PAS_DEFINE_COMPACT_PTR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_ptr.h:102:16: note: in definition of macro ‘PAS_DEFINE_COMPACT_PTR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_ptr.h:84:5: note: in expansion of macro ‘PAS_DEFINE_COMPACT_PTR_HELPERS’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_segregated_shared_view_ptr.h:36:1: note: in expansion of macro ‘PAS_DEFINE_COMPACT_PTR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_segregated_shared_view_ptr.h: scope_hint: In function ‘pas_segregated_shared_handle_destroy’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_ptr.h:102:16: note: in definition of macro ‘PAS_DEFINE_COMPACT_PTR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_utils_prefix.h:87:45: note: in definition of macro ‘__PAS_LIKELY’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_utils.h:422:13: note: in expansion of macro ‘PAS_LIKELY’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_shared_handle.c:80:5: note: in expansion of macro ‘PAS_ASSERT’ # 78| shared_view = pas_compact_segregated_shared_view_ptr_load(&handle->shared_view); # 79| # 80|-> PAS_ASSERT(pas_unwrap_shared_handle(shared_view->shared_handle_or_page_boundary, # 81| page_config) == handle); # 82| Error: GCC_ANALYZER_WARNING (CWE-476): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_shared_handle.c: scope_hint: In function ‘pas_segregated_shared_handle_note_emptiness’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_shared_handle.c:111:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘shared_view’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_ptr.h:97:25: note: in definition of macro ‘PAS_DEFINE_COMPACT_PTR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_ptr.h:102:16: note: in definition of macro ‘PAS_DEFINE_COMPACT_PTR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_ptr.h:84:5: note: in expansion of macro ‘PAS_DEFINE_COMPACT_PTR_HELPERS’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_segregated_shared_view_ptr.h:36:1: note: in expansion of macro ‘PAS_DEFINE_COMPACT_PTR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_segregated_shared_view_ptr.h: scope_hint: In function ‘pas_segregated_shared_handle_note_emptiness’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_ptr.h:102:16: note: in definition of macro ‘PAS_DEFINE_COMPACT_PTR’ # 109| Also, this will at worst happen once per granule. So this loop is likely not a # 110| terrible thing. */ # 111|-> if (shared_view->is_in_use_for_allocation_count) { # 112| if (verbose) # 113| pas_log("Not setting shared %p as empty because it's in use.\n", shared_view); Error: GCC_ANALYZER_WARNING (CWE-476): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_size_directory.c: scope_hint: In function ‘pas_segregated_size_directory_compute_summary_for_unowned_exclusive’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_size_directory.c:972:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_allocator_index.h:29: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_size_directory.h:29: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_size_directory.c:30: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_size_directory.c:965:5: note: in expansion of macro ‘PAS_ASSERT’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_size_directory.h:52:1: note: in expansion of macro ‘PAS_DEFINE_COMPACT_ATOMIC_PTR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_size_directory.h: scope_hint: In function ‘pas_segregated_size_directory_compute_summary_for_unowned_exclusive’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_atomic_ptr.h:63:16: note: in definition of macro ‘PAS_DEFINE_COMPACT_ATOMIC_PTR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_atomic_ptr.h:54:5: note: in expansion of macro ‘PAS_DEFINE_COMPACT_PTR_HELPERS’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_size_directory.h:52:1: note: in expansion of macro ‘PAS_DEFINE_COMPACT_ATOMIC_PTR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_size_directory.c: scope_hint: In function ‘pas_segregated_size_directory_compute_summary_for_unowned_exclusive’ # 970| result = pas_heap_summary_create_empty(); # 971| # 972|-> payload_size = (data->offset_from_page_boundary_to_end_of_last_object - # 973| data->offset_from_page_boundary_to_first_object); # 974| Error: GCC_ANALYZER_WARNING (CWE-457): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_size_directory_inlines.h:62:16: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘cached_index’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/jit_heap_config.c: scope_hint: In function ‘jit_heap_config_specialized_try_allocate_common_impl_slow’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_heap_config_inlines.h:74:5: note: in definition of macro ‘PAS_HEAP_CONFIG_SPECIALIZATION_DEFINITIONS’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_heap_config_inlines.h:32: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/jit_heap_config.c:375:1: note: in expansion of macro ‘PAS_HEAP_CONFIG_SPECIALIZATION_DEFINITIONS’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_try_allocate_common.h: scope_hint: In function ‘jit_heap_config_specialized_try_allocate_common_impl_slow’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_try_allocate_common.h: scope_hint: In function ‘jit_heap_config_specialized_try_allocate_common_impl_slow’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_heap_inlines.h: scope_hint: In function ‘jit_heap_config_specialized_try_allocate_common_impl_slow’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_local_allocator_inlines.h:41: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_heap_inlines.h: scope_hint: In function ‘jit_heap_config_specialized_try_allocate_common_impl_slow’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_atomic_enumerable_range_list_chunk_ptr.h:29: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_enumerable_range_list.h:29: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_large_heap_physical_page_sharing_cache.h:30: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_atomic_ptr.h:63:16: note: in definition of macro ‘PAS_DEFINE_COMPACT_ATOMIC_PTR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_atomic_ptr.h:54:5: note: in expansion of macro ‘PAS_DEFINE_COMPACT_PTR_HELPERS’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_atomic_segregated_size_directory_ptr.h:36:1: note: in expansion of macro ‘PAS_DEFINE_COMPACT_ATOMIC_PTR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_atomic_ptr.h:54:5: note: in expansion of macro ‘PAS_DEFINE_COMPACT_PTR_HELPERS’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_compact_atomic_segregated_size_directory_ptr.h:36:1: note: in expansion of macro ‘PAS_DEFINE_COMPACT_ATOMIC_PTR’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_heap_inlines.h: scope_hint: In function ‘jit_heap_config_specialized_try_allocate_common_impl_slow’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_try_allocate_common.h: scope_hint: In function ‘jit_heap_config_specialized_try_allocate_common_impl_slow’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_size_directory_inlines.h: scope_hint: In function ‘jit_heap_config_specialized_try_allocate_common_impl_slow’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_size_directory_inlines.h:36: included_from: Included from here. # 60| if (pas_segregated_size_directory_has_tlc_allocator(directory) # 61| && (pas_thread_local_cache_try_get() || pas_thread_local_cache_can_set())) { # 62|-> return pas_segregated_size_directory_get_allocator_from_tlc( # 63| directory, size, size_lookup_mode, config, cached_index); # 64| } Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/bmalloc/AllIsoHeaps.cpp:26: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/bmalloc/AllIsoHeaps.h:28: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/bmalloc/IsoHeapImpl.h:28: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/bmalloc/BMalloced.h:28: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/bmalloc/bmalloc.h:40: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/bmalloc_heap_inlines.h:37: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_try_allocate.h:34: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_local_allocator_inlines.h:47: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_segregated_view_allocator_inlines.h:234:9: warning[deadcode.DeadStores]: Value stored to 'size_directory_base' is never read # 232| # 233| size_directory = pas_compact_segregated_size_directory_ptr_load_non_null(&partial->directory); # 234|-> size_directory_base = &size_directory->base; # 235| heap = size_directory->heap; # 236| shared_page_directory = page_config.shared_page_directory_selector(heap, size_directory); Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_thread_local_cache.c:682:13: warning[deadcode.DeadStores]: Value stored to 'last_held_lock' is never read # 680| # 681| default: # 682|-> last_held_lock = *held_lock; # 683| pas_segregated_page_deallocate(begin, held_lock, deallocation_mode, cache, page_config, role); # 684| if (verbose && *held_lock != last_held_lock && last_held_lock) Error: GCC_ANALYZER_WARNING (CWE-476): webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_try_allocate_common.h:122:36: warning[-Wanalyzer-jump-through-null]: jump through null pointer webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_utils.h:1056:33: note: in definition of macro ‘PAS_MAX’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_utility_heap_config.c: scope_hint: In function ‘pas_utility_heap_config_specialized_try_allocate_common_impl_slow’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_utility_heap_config.c:43:1: note: in expansion of macro ‘PAS_HEAP_CONFIG_SPECIALIZATION_DEFINITIONS’ webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_utils.h:1056:33: note: in definition of macro ‘PAS_MAX’ # 120| # 121| type = heap_ref->type; # 122|-> alignment = PAS_MAX(alignment, config.get_type_alignment(type)); # 123| # 124| if (PAS_UNLIKELY(pas_debug_heap_is_enabled(config.kind))) { Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_utility_heap_config.c:33: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_heap_config_utils_inlines.h:30: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_heap_config_inlines.h:32: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/bmalloc/libpas/src/libpas/pas_try_allocate_common.h:122:36: warning[core.CallAndMessage]: Called function pointer is null (null dereference) # 120| # 121| type = heap_ref->type; # 122|-> alignment = PAS_MAX(alignment, config.get_type_alignment(type)); # 123| # 124| if (PAS_UNLIKELY(pas_debug_heap_is_enabled(config.kind))) { Error: CPPCHECK_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Tools/MiniBrowser/gtk/BrowserTab.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Tools/MiniBrowser/gtk/main.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkit2gtk-4.1/WebCore/DerivedSources/JSMediaConfiguration.cpp:22: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkit2gtk-4.1/WebCore/DerivedSources/JSMediaConfiguration.h:23: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/WebCore/bindings/js/JSDOMConvertDictionary.h:29: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/WebCore/bindings/js/JSDOMConvertBase.h:29: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkit2gtk-4.1/JavaScriptCore/PrivateHeaders/JavaScriptCore/Error.h:25: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkit2gtk-4.1/JavaScriptCore/PrivateHeaders/JavaScriptCore/ErrorInstance.h:24: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkit2gtk-4.1/JavaScriptCore/PrivateHeaders/JavaScriptCore/JSObject.h:26: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkit2gtk-4.1/JavaScriptCore/PrivateHeaders/JavaScriptCore/ArrayStorage.h:32: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkit2gtk-4.1/JavaScriptCore/PrivateHeaders/JavaScriptCore/SparseArrayValueMap.h:30: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkit2gtk-4.1/JavaScriptCore/PrivateHeaders/JavaScriptCore/PropertyDescriptor.h:30: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkit2gtk-4.1/JavaScriptCore/PrivateHeaders/JavaScriptCore/PropertySlot.h:24: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkit2gtk-4.1/JavaScriptCore/PrivateHeaders/JavaScriptCore/DisallowVMEntry.h:57:9: warning[core.NullDereference]: Access to field 'disallowVMEntryCount' results in a dereference of a null pointer (loaded from field 'm_vm') # 55| ~DisallowVMEntryImpl() # 56| { # 57|-> RELEASE_ASSERT(m_vm->disallowVMEntryCount); # 58| m_vm->disallowVMEntryCount--; # 59| m_vm = nullptr; Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkit2gtk-4.1/WebCore/DerivedSources/JSMediaConfiguration.cpp:22: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkit2gtk-4.1/WebCore/DerivedSources/JSMediaConfiguration.h:23: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/WebCore/bindings/js/JSDOMConvertDictionary.h:29: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/WebCore/bindings/js/JSDOMConvertBase.h:29: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkit2gtk-4.1/JavaScriptCore/PrivateHeaders/JavaScriptCore/Error.h:25: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkit2gtk-4.1/JavaScriptCore/PrivateHeaders/JavaScriptCore/ErrorInstance.h:24: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkit2gtk-4.1/JavaScriptCore/PrivateHeaders/JavaScriptCore/JSObject.h:26: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkit2gtk-4.1/JavaScriptCore/PrivateHeaders/JavaScriptCore/ArrayStorage.h:32: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkit2gtk-4.1/JavaScriptCore/PrivateHeaders/JavaScriptCore/SparseArrayValueMap.h:30: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkit2gtk-4.1/JavaScriptCore/PrivateHeaders/JavaScriptCore/PropertyDescriptor.h:30: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkit2gtk-4.1/JavaScriptCore/PrivateHeaders/JavaScriptCore/PropertySlot.h:130:13: warning[core.NonNullParamChecker]: Forming reference to null pointer # 128| { # 129| if (isVMInquiry()) # 130|-> disallowVMEntry.emplace(*vmForInquiry); # 131| } # 132| Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkit2gtk-4.1/WebCore/DerivedSources/unified-sources/UnifiedSource-68aea4ac-15.cpp:1: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/WebCore/bindings/js/JSPromiseRejectionEventCustom.cpp:28: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkit2gtk-4.1/WebCore/DerivedSources/JSPromiseRejectionEvent.h:23: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/WebCore/bindings/js/JSDOMConvertDictionary.h:29: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/WebCore/bindings/js/JSDOMConvertBase.h:28: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/WebCore/bindings/js/JSDOMExceptionHandling.h:28: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkit2gtk-4.1/JavaScriptCore/PrivateHeaders/JavaScriptCore/ThrowScope.h:28: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkit2gtk-4.1/JavaScriptCore/PrivateHeaders/JavaScriptCore/ExceptionScope.h:28: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkit2gtk-4.1/JavaScriptCore/PrivateHeaders/JavaScriptCore/VM.h:42: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkit2gtk-4.1/JavaScriptCore/PrivateHeaders/JavaScriptCore/Interpreter.h:33: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkit2gtk-4.1/JavaScriptCore/PrivateHeaders/JavaScriptCore/MacroAssemblerCodeRef.h:28: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkit2gtk-4.1/JavaScriptCore/PrivateHeaders/JavaScriptCore/ExecutableMemoryHandle.h:34: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkit2gtk-4.1/WTF/Headers/wtf/MetaAllocatorHandle.h:32: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkit2gtk-4.1/WTF/Headers/wtf/CodePtr.h:28: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkit2gtk-4.1/WTF/Headers/wtf/FunctionPtr.h:106:16: warning[core.CallAndMessage]: Called function pointer is null (null dereference) # 104| { # 105| ASSERT(m_ptr); # 106|-> return (*get())(std::forward<In>(in)...); # 107| } # 108| Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkit2gtk-4.1/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-bfc896e1-6.cpp:1: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/dfg/DFGDisassembler.cpp:27: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/dfg/DFGDisassembler.h:34: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/profiler/ProfilerCompilation.h:40: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkit2gtk-4.1/WTF/Headers/wtf/SegmentedVector.h:272:53: warning[unix.MallocSizeof]: Result of 'malloc' is converted to a pointer of type 'Segment', which is incompatible with sizeof operand type 'class JSC::DFG::RegisteredStructureSet' # 270| void allocateSegment() # 271| { # 272|-> m_segments.append(static_cast<Segment*>(SegmentedVectorMalloc::malloc(sizeof(T) * SegmentSize))); # 273| } # 274| Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/API/glib/JSCContext.cpp:24: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/API/APICast.h:31: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/runtime/JSCJSValueInlines.h:35: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/runtime/JSCellInlines.h:32: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/interpreter/CallFrameInlines.h:29: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/runtime/JSCalleeInlines.h:28: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/runtime/JSCallee.h:28: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/runtime/JSGlobalObject.h:24: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/runtime/JSSegmentedVariableObject.h:34: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkit2gtk-4.1/WTF/Headers/wtf/SegmentedVector.h:272:53: warning[unix.MallocSizeof]: Result of 'malloc' is converted to a pointer of type 'Segment', which is incompatible with sizeof operand type 'class JSC::Identifier' # 270| void allocateSegment() # 271| { # 272|-> m_segments.append(static_cast<Segment*>(SegmentedVectorMalloc::malloc(sizeof(T) * SegmentSize))); # 273| } # 274| Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkit2gtk-4.1/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-32435e5c-1.cpp:1: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/profiler/ProfilerBytecode.cpp:29: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/runtime/JSCInlines.h:44: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/runtime/JSCJSValueInlines.h:35: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/runtime/JSCellInlines.h:32: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/interpreter/CallFrameInlines.h:29: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/runtime/JSCalleeInlines.h:28: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/runtime/JSCallee.h:28: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/runtime/JSGlobalObject.h:24: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/runtime/JSSegmentedVariableObject.h:34: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkit2gtk-4.1/WTF/Headers/wtf/SegmentedVector.h:272:53: warning[unix.MallocSizeof]: Result of 'malloc' is converted to a pointer of type 'Segment', which is incompatible with sizeof operand type 'class JSC::Profiler::Bytecodes' # 270| void allocateSegment() # 271| { # 272|-> m_segments.append(static_cast<Segment*>(SegmentedVectorMalloc::malloc(sizeof(T) * SegmentSize))); # 273| } # 274| Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkit2gtk-4.1/WTF/Headers/wtf/SegmentedVector.h:272:53: warning[unix.MallocSizeof]: Result of 'malloc' is converted to a pointer of type 'Segment', which is incompatible with sizeof operand type 'class JSC::Profiler::OSRExit' # 270| void allocateSegment() # 271| { # 272|-> m_segments.append(static_cast<Segment*>(SegmentedVectorMalloc::malloc(sizeof(T) * SegmentSize))); # 273| } # 274| Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkit2gtk-4.1/WTF/Headers/wtf/SegmentedVector.h:272:53: warning[unix.MallocSizeof]: Result of 'malloc' is converted to a pointer of type 'Segment', which is incompatible with sizeof operand type 'struct JSC::DFG::OSRExitCompilationInfo' # 270| void allocateSegment() # 271| { # 272|-> m_segments.append(static_cast<Segment*>(SegmentedVectorMalloc::malloc(sizeof(T) * SegmentSize))); # 273| } # 274| Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/WTF/wtf/Gigacage.cpp:73: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkit2gtk-4.1/bmalloc/Headers/bmalloc/bmalloc.h:40: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkit2gtk-4.1/bmalloc/Headers/bmalloc/bmalloc_heap_inlines.h:34: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkit2gtk-4.1/bmalloc/Headers/bmalloc/bmalloc_heap_config.h:34: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkit2gtk-4.1/bmalloc/Headers/bmalloc/pas_heap_config_utils.h:34: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkit2gtk-4.1/bmalloc/Headers/bmalloc/pas_bitfit_page_config_utils.h:33: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkit2gtk-4.1/bmalloc/Headers/bmalloc/pas_bitfit_page_inlines.h:429:25: warning[deadcode.DeadStores]: Value stored to 'num_available_leading_bits' is never read # 427| } # 428| } else { # 429|-> num_available_leading_bits = PAS_BITVECTOR_BITS_PER_WORD64; # 430| if (num_remaining_needed_bits > PAS_BITVECTOR_BITS_PER_WORD64) { # 431| num_remaining_needed_bits -= PAS_BITVECTOR_BITS_PER_WORD64; Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/WTF/wtf/Gigacage.cpp:73: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkit2gtk-4.1/bmalloc/Headers/bmalloc/bmalloc.h:40: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkit2gtk-4.1/bmalloc/Headers/bmalloc/bmalloc_heap_inlines.h:37: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkit2gtk-4.1/bmalloc/Headers/bmalloc/pas_try_allocate.h:34: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkit2gtk-4.1/bmalloc/Headers/bmalloc/pas_local_allocator_inlines.h:931:5: warning[deadcode.DeadStores]: Value stored to 'directory' is never read # 929| pas_segregated_heap_touch_lookup_tables(size_directory->heap, pas_expendable_memory_touch_to_note_use); # 930| # 931|-> directory = &size_directory->base; # 932| # 933| if (verbose) { Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkit2gtk-4.1/bmalloc/Headers/bmalloc/pas_local_allocator_inlines.h:1041:17: warning[deadcode.DeadStores]: Value stored to 'new_view' is never read # 1039| partial = (pas_segregated_partial_view*)pas_segregated_view_get_ptr(old_view); # 1040| if (partial->eligibility_has_been_noted) { # 1041|-> new_view = old_view; # 1042| new_page = old_page; # 1043| pas_segregated_page_switch_lock(new_page, &held_lock, page_config); Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/WTF/wtf/Gigacage.cpp:73: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkit2gtk-4.1/bmalloc/Headers/bmalloc/bmalloc.h:40: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkit2gtk-4.1/bmalloc/Headers/bmalloc/bmalloc_heap_inlines.h:37: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkit2gtk-4.1/bmalloc/Headers/bmalloc/pas_try_allocate.h:34: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkit2gtk-4.1/bmalloc/Headers/bmalloc/pas_local_allocator_inlines.h:47: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkit2gtk-4.1/bmalloc/Headers/bmalloc/pas_segregated_view_allocator_inlines.h:234:9: warning[deadcode.DeadStores]: Value stored to 'size_directory_base' is never read # 232| # 233| size_directory = pas_compact_segregated_size_directory_ptr_load_non_null(&partial->directory); # 234|-> size_directory_base = &size_directory->base; # 235| heap = size_directory->heap; # 236| shared_page_directory = page_config.shared_page_directory_selector(heap, size_directory); Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkitgtk-6.0/WebCore/DerivedSources/JSMediaConfiguration.cpp:22: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkitgtk-6.0/WebCore/DerivedSources/JSMediaConfiguration.h:23: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/WebCore/bindings/js/JSDOMConvertDictionary.h:29: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/WebCore/bindings/js/JSDOMConvertBase.h:29: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkitgtk-6.0/JavaScriptCore/PrivateHeaders/JavaScriptCore/Error.h:25: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkitgtk-6.0/JavaScriptCore/PrivateHeaders/JavaScriptCore/ErrorInstance.h:24: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkitgtk-6.0/JavaScriptCore/PrivateHeaders/JavaScriptCore/JSObject.h:26: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkitgtk-6.0/JavaScriptCore/PrivateHeaders/JavaScriptCore/ArrayStorage.h:32: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkitgtk-6.0/JavaScriptCore/PrivateHeaders/JavaScriptCore/SparseArrayValueMap.h:30: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkitgtk-6.0/JavaScriptCore/PrivateHeaders/JavaScriptCore/PropertyDescriptor.h:30: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkitgtk-6.0/JavaScriptCore/PrivateHeaders/JavaScriptCore/PropertySlot.h:24: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkitgtk-6.0/JavaScriptCore/PrivateHeaders/JavaScriptCore/DisallowVMEntry.h:57:9: warning[core.NullDereference]: Access to field 'disallowVMEntryCount' results in a dereference of a null pointer (loaded from field 'm_vm') # 55| ~DisallowVMEntryImpl() # 56| { # 57|-> RELEASE_ASSERT(m_vm->disallowVMEntryCount); # 58| m_vm->disallowVMEntryCount--; # 59| m_vm = nullptr; Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkitgtk-6.0/WebCore/DerivedSources/JSMediaConfiguration.cpp:22: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkitgtk-6.0/WebCore/DerivedSources/JSMediaConfiguration.h:23: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/WebCore/bindings/js/JSDOMConvertDictionary.h:29: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/WebCore/bindings/js/JSDOMConvertBase.h:29: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkitgtk-6.0/JavaScriptCore/PrivateHeaders/JavaScriptCore/Error.h:25: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkitgtk-6.0/JavaScriptCore/PrivateHeaders/JavaScriptCore/ErrorInstance.h:24: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkitgtk-6.0/JavaScriptCore/PrivateHeaders/JavaScriptCore/JSObject.h:26: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkitgtk-6.0/JavaScriptCore/PrivateHeaders/JavaScriptCore/ArrayStorage.h:32: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkitgtk-6.0/JavaScriptCore/PrivateHeaders/JavaScriptCore/SparseArrayValueMap.h:30: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkitgtk-6.0/JavaScriptCore/PrivateHeaders/JavaScriptCore/PropertyDescriptor.h:30: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkitgtk-6.0/JavaScriptCore/PrivateHeaders/JavaScriptCore/PropertySlot.h:130:13: warning[core.NonNullParamChecker]: Forming reference to null pointer # 128| { # 129| if (isVMInquiry()) # 130|-> disallowVMEntry.emplace(*vmForInquiry); # 131| } # 132| Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkitgtk-6.0/WebCore/DerivedSources/unified-sources/UnifiedSource-68aea4ac-15.cpp:1: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/WebCore/bindings/js/JSPromiseRejectionEventCustom.cpp:28: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkitgtk-6.0/WebCore/DerivedSources/JSPromiseRejectionEvent.h:23: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/WebCore/bindings/js/JSDOMConvertDictionary.h:29: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/WebCore/bindings/js/JSDOMConvertBase.h:28: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/WebCore/bindings/js/JSDOMExceptionHandling.h:28: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkitgtk-6.0/JavaScriptCore/PrivateHeaders/JavaScriptCore/ThrowScope.h:28: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkitgtk-6.0/JavaScriptCore/PrivateHeaders/JavaScriptCore/ExceptionScope.h:28: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkitgtk-6.0/JavaScriptCore/PrivateHeaders/JavaScriptCore/VM.h:42: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkitgtk-6.0/JavaScriptCore/PrivateHeaders/JavaScriptCore/Interpreter.h:33: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkitgtk-6.0/JavaScriptCore/PrivateHeaders/JavaScriptCore/MacroAssemblerCodeRef.h:28: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkitgtk-6.0/JavaScriptCore/PrivateHeaders/JavaScriptCore/ExecutableMemoryHandle.h:34: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkitgtk-6.0/WTF/Headers/wtf/MetaAllocatorHandle.h:32: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkitgtk-6.0/WTF/Headers/wtf/CodePtr.h:28: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkitgtk-6.0/WTF/Headers/wtf/FunctionPtr.h:106:16: warning[core.CallAndMessage]: Called function pointer is null (null dereference) # 104| { # 105| ASSERT(m_ptr); # 106|-> return (*get())(std::forward<In>(in)...); # 107| } # 108| Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkitgtk-6.0/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-bfc896e1-6.cpp:1: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/dfg/DFGDisassembler.cpp:27: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/dfg/DFGDisassembler.h:34: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/profiler/ProfilerCompilation.h:40: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkitgtk-6.0/WTF/Headers/wtf/SegmentedVector.h:272:53: warning[unix.MallocSizeof]: Result of 'malloc' is converted to a pointer of type 'Segment', which is incompatible with sizeof operand type 'class JSC::DFG::RegisteredStructureSet' # 270| void allocateSegment() # 271| { # 272|-> m_segments.append(static_cast<Segment*>(SegmentedVectorMalloc::malloc(sizeof(T) * SegmentSize))); # 273| } # 274| Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/API/glib/JSCContext.cpp:24: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/API/APICast.h:31: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/runtime/JSCJSValueInlines.h:35: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/runtime/JSCellInlines.h:32: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/interpreter/CallFrameInlines.h:29: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/runtime/JSCalleeInlines.h:28: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/runtime/JSCallee.h:28: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/runtime/JSGlobalObject.h:24: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/runtime/JSSegmentedVariableObject.h:34: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkitgtk-6.0/WTF/Headers/wtf/SegmentedVector.h:272:53: warning[unix.MallocSizeof]: Result of 'malloc' is converted to a pointer of type 'Segment', which is incompatible with sizeof operand type 'class JSC::Identifier' # 270| void allocateSegment() # 271| { # 272|-> m_segments.append(static_cast<Segment*>(SegmentedVectorMalloc::malloc(sizeof(T) * SegmentSize))); # 273| } # 274| Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkitgtk-6.0/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-32435e5c-1.cpp:1: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/profiler/ProfilerBytecode.cpp:29: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/runtime/JSCInlines.h:44: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/runtime/JSCJSValueInlines.h:35: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/runtime/JSCellInlines.h:32: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/interpreter/CallFrameInlines.h:29: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/runtime/JSCalleeInlines.h:28: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/runtime/JSCallee.h:28: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/runtime/JSGlobalObject.h:24: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/JavaScriptCore/runtime/JSSegmentedVariableObject.h:34: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkitgtk-6.0/WTF/Headers/wtf/SegmentedVector.h:272:53: warning[unix.MallocSizeof]: Result of 'malloc' is converted to a pointer of type 'Segment', which is incompatible with sizeof operand type 'class JSC::Profiler::Bytecodes' # 270| void allocateSegment() # 271| { # 272|-> m_segments.append(static_cast<Segment*>(SegmentedVectorMalloc::malloc(sizeof(T) * SegmentSize))); # 273| } # 274| Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkitgtk-6.0/WTF/Headers/wtf/SegmentedVector.h:272:53: warning[unix.MallocSizeof]: Result of 'malloc' is converted to a pointer of type 'Segment', which is incompatible with sizeof operand type 'class JSC::Profiler::OSRExit' # 270| void allocateSegment() # 271| { # 272|-> m_segments.append(static_cast<Segment*>(SegmentedVectorMalloc::malloc(sizeof(T) * SegmentSize))); # 273| } # 274| Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkitgtk-6.0/WTF/Headers/wtf/SegmentedVector.h:272:53: warning[unix.MallocSizeof]: Result of 'malloc' is converted to a pointer of type 'Segment', which is incompatible with sizeof operand type 'struct JSC::DFG::OSRExitCompilationInfo' # 270| void allocateSegment() # 271| { # 272|-> m_segments.append(static_cast<Segment*>(SegmentedVectorMalloc::malloc(sizeof(T) * SegmentSize))); # 273| } # 274| Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/WTF/wtf/Gigacage.cpp:73: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkitgtk-6.0/bmalloc/Headers/bmalloc/bmalloc.h:40: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkitgtk-6.0/bmalloc/Headers/bmalloc/bmalloc_heap_inlines.h:34: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkitgtk-6.0/bmalloc/Headers/bmalloc/bmalloc_heap_config.h:34: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkitgtk-6.0/bmalloc/Headers/bmalloc/pas_heap_config_utils.h:34: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkitgtk-6.0/bmalloc/Headers/bmalloc/pas_bitfit_page_config_utils.h:33: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkitgtk-6.0/bmalloc/Headers/bmalloc/pas_bitfit_page_inlines.h:429:25: warning[deadcode.DeadStores]: Value stored to 'num_available_leading_bits' is never read # 427| } # 428| } else { # 429|-> num_available_leading_bits = PAS_BITVECTOR_BITS_PER_WORD64; # 430| if (num_remaining_needed_bits > PAS_BITVECTOR_BITS_PER_WORD64) { # 431| num_remaining_needed_bits -= PAS_BITVECTOR_BITS_PER_WORD64; Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/WTF/wtf/Gigacage.cpp:73: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkitgtk-6.0/bmalloc/Headers/bmalloc/bmalloc.h:40: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkitgtk-6.0/bmalloc/Headers/bmalloc/bmalloc_heap_inlines.h:37: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkitgtk-6.0/bmalloc/Headers/bmalloc/pas_try_allocate.h:34: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkitgtk-6.0/bmalloc/Headers/bmalloc/pas_local_allocator_inlines.h:931:5: warning[deadcode.DeadStores]: Value stored to 'directory' is never read # 929| pas_segregated_heap_touch_lookup_tables(size_directory->heap, pas_expendable_memory_touch_to_note_use); # 930| # 931|-> directory = &size_directory->base; # 932| # 933| if (verbose) { Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkitgtk-6.0/bmalloc/Headers/bmalloc/pas_local_allocator_inlines.h:1041:17: warning[deadcode.DeadStores]: Value stored to 'new_view' is never read # 1039| partial = (pas_segregated_partial_view*)pas_segregated_view_get_ptr(old_view); # 1040| if (partial->eligibility_has_been_noted) { # 1041|-> new_view = old_view; # 1042| new_page = old_page; # 1043| pas_segregated_page_switch_lock(new_page, &held_lock, page_config); Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/Source/WTF/wtf/Gigacage.cpp:73: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkitgtk-6.0/bmalloc/Headers/bmalloc/bmalloc.h:40: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkitgtk-6.0/bmalloc/Headers/bmalloc/bmalloc_heap_inlines.h:37: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkitgtk-6.0/bmalloc/Headers/bmalloc/pas_try_allocate.h:34: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkitgtk-6.0/bmalloc/Headers/bmalloc/pas_local_allocator_inlines.h:47: included_from: Included from here. webkitgtk-2.44.0-build/webkitgtk-2.44.0/redhat-linux-build/webkitgtk-6.0/bmalloc/Headers/bmalloc/pas_segregated_view_allocator_inlines.h:234:9: warning[deadcode.DeadStores]: Value stored to 'size_directory_base' is never read # 232| # 233| size_directory = pas_compact_segregated_size_directory_ptr_load_non_null(&partial->directory); # 234|-> size_directory_base = &size_directory->base; # 235| heap = size_directory->heap; # 236| shared_page_directory = page_config.shared_page_directory_selector(heap, size_directory); Error: CPPCHECK_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/tmp-introspect07fnru_9/WebKitWebProcessExtension-6.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/tmp-introspect07fnru_9/WebKitWebProcessExtension-6.0.c:799:27: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error') Error: CPPCHECK_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/tmp-introspect73nxmuwp/JavaScriptCore-6.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/tmp-introspect73nxmuwp/JavaScriptCore-6.0.c:799:27: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error') Error: CPPCHECK_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/tmp-introspect87da51eo/WebKit-6.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/tmp-introspect87da51eo/WebKit-6.0.c:799:27: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error') Error: CPPCHECK_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/tmp-introspectc6z6hzbu/JavaScriptCore-4.1.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/tmp-introspectc6z6hzbu/JavaScriptCore-4.1.c:799:27: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error') Error: CPPCHECK_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/tmp-introspectk7qsq0rx/WebKit2-4.1.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/tmp-introspectk7qsq0rx/WebKit2-4.1.c:799:27: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error') Error: CPPCHECK_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/tmp-introspectuohzk7xb/WebKit2WebExtension-4.1.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: webkitgtk-2.44.0-build/webkitgtk-2.44.0/tmp-introspectuohzk7xb/WebKit2WebExtension-4.1.c:799:27: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')