firefox-scan-build - scan-build results

User:jenkins@relman-ci.moz.tools
Working Directory:/var/lib/jenkins/workspace/firefox-scan-build
Command Line:./mach --log-no-times build
Clang Version:Debian clang version 18.0.0 (++20240123100859+dc410f94f602-1~exp1~20240123221021.1839)
Date:Sat Jul 27 02:22:26 2024

Bug Summary

Bug TypeQuantityDisplay?
All Bugs222
API
Argument with 'nonnull' attribute passed null3
C++ move semantics
Use-after-move2
Logic error
Assigned value is garbage or undefined1
Branch condition evaluates to a garbage value6
Called C++ object pointer is null7
Called C++ object pointer is uninitialized3
Dereference of null pointer8
Dereference of undefined pointer value2
Garbage return value1
Result of operation is garbage or undefined5
Uninitialized argument value5
Unix API4
Memory error
Bad deallocator3
Double free3
Memory leak3
Use-after-free3
Performance
Excessive Padding20
Suspicious operation
Bitwise shift2
Unused code
Dead assignment73
Dead increment17
Dead initialization47
Dead nested assignment4

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length Description
APIArgument with 'nonnull' attribute passed nullvar/lib/jenkins/workspace/firefox-scan-build/mfbt/lz4/lz4frame.cLZ4F_updateDict157946Null pointer passed to 2nd parameter expecting 'nonnull'View Report
APIArgument with 'nonnull' attribute passed nullvar/lib/jenkins/workspace/firefox-scan-build/mfbt/lz4/lz4frame.cLZ4F_updateDict158846Null pointer passed to 2nd parameter expecting 'nonnull'View Report
APIArgument with 'nonnull' attribute passed nullvar/lib/jenkins/workspace/firefox-scan-build/config/pathsub.cino2name9413Null pointer passed to 1st parameter expecting 'nonnull'View Report
Logic errorAssigned value is garbage or undefinedvar/lib/jenkins/workspace/firefox-scan-build/dom/bindings/PrimitiveConversions.hValueToPrimitive32230Assigned value is garbage or undefinedView Report
Memory errorBad deallocatorvar/lib/jenkins/workspace/firefox-scan-build/gfx/2d/RecordedEventImpl.h~RecordedFontData389620Memory allocated by malloc() should be deallocated by free(), not 'delete[]'View Report
Memory errorBad deallocatorvar/lib/jenkins/workspace/firefox-scan-build/gfx/2d/RecordedEventImpl.h~RecordedSourceSurfaceCreation344926Memory allocated by malloc() should be deallocated by free(), not 'delete[]'View Report
Memory errorBad deallocatorvar/lib/jenkins/workspace/firefox-scan-build/mfbt/UniquePtr.hoperator()47212Memory allocated by malloc() should be deallocated by free(), not 'delete[]'View Report
Suspicious operationBitwise shiftvar/lib/jenkins/workspace/firefox-scan-build/mfbt/HashTable.hhash1173068The result of right shift is undefined because the right operand '32' is not smaller than 32, the capacity of 'HashNumber'View Report
Suspicious operationBitwise shiftvar/lib/jenkins/workspace/firefox-scan-build/js/src/irregexp/imported/regexp-compiler.ccRationalize146657The result of left shift is undefined because the right operand '32' is not smaller than 32, the capacity of 'uint32_t'View Report
Logic errorBranch condition evaluates to a garbage valuevar/lib/jenkins/workspace/firefox-scan-build/mozglue/baseprofiler/public/BaseProfilerLabels.h~AutoProfilerLabel15724Branch condition evaluates to a garbage valueView Report
Logic errorBranch condition evaluates to a garbage valuevar/lib/jenkins/workspace/firefox-scan-build/mfbt/HashTable.h~HashTable172437Branch condition evaluates to a garbage valueView Report
Logic errorBranch condition evaluates to a garbage valuevar/lib/jenkins/workspace/firefox-scan-build/mfbt/Maybe.h~MaybeStorage27335Branch condition evaluates to a garbage valueView Report
Logic errorBranch condition evaluates to a garbage valuevar/lib/jenkins/workspace/firefox-scan-build/tools/profiler/public/ProfilerLabels.h~AutoProfilerLabel25932Branch condition evaluates to a garbage valueView Report
Logic errorBranch condition evaluates to a garbage valuevar/lib/jenkins/workspace/firefox-scan-build/mfbt/RefPtr.h~RefPtr7924Branch condition evaluates to a garbage valueView Report
Logic errorBranch condition evaluates to a garbage valuevar/lib/jenkins/workspace/firefox-scan-build/xpcom/base/nsCOMPtr.h~nsCOMPtr34242Branch condition evaluates to a garbage valueView Report
Logic errorCalled C++ object pointer is nullvar/lib/jenkins/workspace/firefox-scan-build/dom/events/EventStateManager.cppComputeScrollTargetAndMayAdjustWheelEvent335929Called C++ object pointer is nullView Report
Logic errorCalled C++ object pointer is nullvar/lib/jenkins/workspace/firefox-scan-build/dom/events/EventStateManager.cppDispatchMouseOrPointerBoundaryEvent503192Called C++ object pointer is nullView Report
Logic errorCalled C++ object pointer is nullvar/lib/jenkins/workspace/firefox-scan-build/mfbt/HashTable.hget115646Called C++ object pointer is nullView Report
Logic errorCalled C++ object pointer is nullvar/lib/jenkins/workspace/firefox-scan-build/mfbt/HashTable.hoperator*130620Called C++ object pointer is nullView Report
Logic errorCalled C++ object pointer is nullvar/lib/jenkins/workspace/firefox-scan-build/mfbt/HashTable.hoperator->131419Called C++ object pointer is nullView Report
Logic errorCalled C++ object pointer is nullvar/lib/jenkins/workspace/firefox-scan-build/dom/base/nsContentUtils.cppNewXULOrHTMLElement1024629Called C++ object pointer is nullView Report
Logic errorCalled C++ object pointer is nullvar/lib/jenkins/workspace/firefox-scan-build/dom/base/nsContentUtils.cppNewXULOrHTMLElement1028629Called C++ object pointer is nullView Report
Logic errorCalled C++ object pointer is uninitializedvar/lib/jenkins/workspace/firefox-scan-build/gfx/gl/GLContextProviderGLX.cppoperator()34522Called C++ object pointer is uninitializedView Report
Logic errorCalled C++ object pointer is uninitializedvar/lib/jenkins/workspace/firefox-scan-build/js/src/threading/LockGuard.hunlock3111Called C++ object pointer is uninitializedView Report
Logic errorCalled C++ object pointer is uninitializedvar/lib/jenkins/workspace/firefox-scan-build/js/src/vm/Realm-inl.h~AutoRealm7125Called C++ object pointer is uninitializedView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/toolkit/components/reputationservice/ApplicationReputation.cppDoLookupInternal14361Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/ipc/glue/BackgroundUtils.cppLoadInfoToLoadInfoArgs5271Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/netwerk/cache2/CacheFileContextEvictor.cppLoadEvictInfoFromDisk3481Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/netwerk/cache2/CacheFileIOManager.cppDoomFileInternal23161Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/netwerk/cache2/CacheFileIOManager.cppOnProfile13421Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/netwerk/cache2/CacheFileIOManager.cppOnProfile13471Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/netwerk/cache2/CacheFileIOManager.cppRemoveTrashInternal36351Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/netwerk/cache2/CacheIndex.cppParseJournal23921Value stored to 'pos' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/netwerk/cache2/CacheIndex.cppParseRecords22651Value stored to 'pos' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/netwerk/cache2/CacheStorageService.cppCheckStorageEntry17001Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/toolkit/components/url-classifier/Classifier.cppSwapDirectoryContent5491Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/toolkit/components/url-classifier/Classifier.cppSwapDirectoryContent5501Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/js/src/debugger/Debugger.cppsweepAll40801Value stored to 'dbg' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/toolkit/components/places/FaviconHelpers.cppFetchIconPerSpec4241Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/netwerk/protocol/http/HttpBaseChannel.cppTimingAllowCheck55901Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/dom/base/Location.cppGetHost1901Value stored to 'result' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/dom/base/Location.cppGetSearch5051Value stored to 'result' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/dom/notification/Notification.cppRun5471Value stored to 'blocked' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/netwerk/protocol/http/OpaqueResponseUtils.hDetermineContentType1901Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/gfx/vr/service/OpenVRSession.cppGetControllerHandFromControllerRole1211Value stored to 'hand' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/dom/media/encoder/OpusTrackEncoder.cppEncode4011Value stored to 'result' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/dom/payments/PaymentRequestService.cppRequestPayment3371Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/dom/payments/PaymentRequestService.cppShowPayment5641Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/modules/libpref/Preferences.cppReadSavedPrefs43881Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/modules/libpref/Preferences.cppReadUserOverridePrefs44161Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/dom/prototype/PrototypeDocumentContentSink.cppLoadScript7581Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/dom/prototype/PrototypeDocumentContentSink.cppLoadScript7361Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/dom/prototype/PrototypeDocumentContentSink.cppOnScriptCompileComplete9131Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/js/src/jit/RangeAnalysis.cppdump4841Value stored to 'first' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/startupcache/StartupCache.cppInit1891Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/toolkit/components/antitracking/StorageAccess.cppShouldAllowAccessFor7791Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/mfbt/StringBuffer.hRelease1851Value stored to 'count' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/netwerk/dns/TRR.cppSendHTTPRequest2631Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/toolkit/components/antitracking/URLQueryStringStripper.cppURLQueryStringStripper701Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/gfx/vr/ipc/VRManagerChild.cppUpdateDisplayInfo1781Value stored to 'found' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/gfx/layers/wr/WebRenderLayerManager.cppEndTransactionWithoutLayer3711Value stored to 'builderDumpIndex' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/gfx/layers/wr/WebRenderLayerManager.cppEndTransactionWithoutLayer3791Value stored to 'builderDumpIndex' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/netwerk/protocol/websocket/WebSocketChannel.cppHandleExtensions26781Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/js/xpconnect/src/XPCShellImpl.cppGetLocationProperty1931Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/extensions/spellcheck/hunspell/glue/mozHunspell.cppLoadDictionaryList2461Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/storage/mozStorageAsyncStatementExecution.cppexecuteStatement2361Value stored to 'busyRetry' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/storage/mozStorageConnection.cppinternalClose15471Value stored to 'srv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/netwerk/base/nsAsyncRedirectVerifyHelper.cppRun2601Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/extensions/auth/nsAuthGSSAPI.cppLogGssError2351Value stored to 'ret' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/netwerk/protocol/http/nsCORSListenerProxy.cppCheckRequestApproved6631Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/layout/base/nsCSSFrameConstructor.cppContentRemoved75081Value stored to 'parentType' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/layout/forms/nsDateTimeControlFrame.cppReflow1081Value stored to 'contentBoxBSize' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/docshell/base/nsDocShell.cppDisplayLoadError34221Value stored to 'error' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/docshell/base/nsDocShell.cppDisplayLoadError34261Value stored to 'error' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/dom/serializers/nsDocumentEncoder.cppEncodeToStream15121Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/layout/base/nsDocumentViewer.cppShow20981Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/dom/base/nsFocusManager.cppGetSelectionLocation33171Value stored to 'startFrame' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/widget/gtk/nsGtkKeyUtils.cppHandleKeyPressEvent15471Value stored to 'handlingState' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/netwerk/protocol/http/nsHttpChannel.cppOpenCacheInputStream48671Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/layout/generic/nsIFrame.cppBuildDisplayListForStackingContext35631Value stored to 'createdContainer' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/layout/generic/nsImageFrame.cppCreateWebRenderCommands23731Value stored to 'flags' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/layout/generic/nsImageFrame.cppCreateWebRenderCommands1701Value stored to 'result' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/layout/generic/nsImageFrame.cppPaint22651Value stored to 'result' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/netwerk/base/nsInputStreamPump.cppOnInputStreamReady4191Value stored to 'nextState' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/layout/mathml/nsMathMLmmultiscriptsFrame.cppPlaceMultiScript4701Value stored to 'trySupScriptShift' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/layout/xul/nsMenuPopupFrame.cppFindMenuWithShortcut20551Value stored to 'stringLength' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/security/manager/ssl/nsNTLMAuthModule.cppGenerateType1Msg3791Value stored to 'cursor' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/security/manager/ssl/nsNTLMAuthModule.cppGenerateType3Msg8641Value stored to 'cursor' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/toolkit/components/places/nsNavHistory.cppRowToResult25891Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/layout/generic/nsSubDocumentFrame.cppGetSubdocumentPresShellForPainting2521Value stored to 'subdocView' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/layout/generic/nsSubDocumentFrame.cppGetSubdocumentPresShellForPainting2531Value stored to 'subdocRootFrame' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/toolkit/profile/nsToolkitProfileService.cppCreateProfile19611Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/toolkit/profile/nsToolkitProfileService.cppInit9901Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/toolkit/components/url-classifier/nsUrlClassifierUtils.cppMakeFindFullHashRequestV45181Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/dom/webbrowserpersist/nsWebBrowserPersist.cppSaveDocumentInternal16291Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/toolkit/xre/nsXREDirProvider.cppGetUserProfilesLocalDir2581Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/dom/xul/nsXULPrototypeCache.cppGetPrototype1241Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/config/nsinstall.cmain3161Value stored to 'tdlen' is never readView Report
Unused codeDead incrementvar/lib/jenkins/workspace/firefox-scan-build/js/src/jit/BaselineIC.cppemitCall18191Value stored to 'valueOffset' is never readView Report
Unused codeDead incrementvar/lib/jenkins/workspace/firefox-scan-build/js/src/frontend/BytecodeEmitter.cppemitEnvCoordOp8231Value stored to 'pc' is never readView Report
Unused codeDead incrementvar/lib/jenkins/workspace/firefox-scan-build/js/src/vm/BytecodeUtil.cppDisassemble114871Value stored to 'pc2' is never readView Report
Unused codeDead incrementvar/lib/jenkins/workspace/firefox-scan-build/js/src/vm/BytecodeUtil.cppparse8831Value stored to 'pc2' is never readView Report
Unused codeDead incrementvar/lib/jenkins/workspace/firefox-scan-build/js/src/debugger/Script.cpppopulate12481Value stored to 'pc' is never readView Report
Unused codeDead incrementvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-63ae0a99caba1c8a/out/brush_mix_blend.hColorBurn7881Value stored to 'ret_mask' is never readView Report
Unused codeDead incrementvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-63ae0a99caba1c8a/out/brush_mix_blend.hColorDodge7731Value stored to 'ret_mask' is never readView Report
Unused codeDead incrementvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-63ae0a99caba1c8a/out/brush_mix_blend.hSoftLight8071Value stored to 'ret_mask' is never readView Report
Unused codeDead incrementvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-63ae0a99caba1c8a/out/brush_mix_blend_ALPHA_PASS.hColorBurn7881Value stored to 'ret_mask' is never readView Report
Unused codeDead incrementvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-63ae0a99caba1c8a/out/brush_mix_blend_ALPHA_PASS.hColorDodge7731Value stored to 'ret_mask' is never readView Report
Unused codeDead incrementvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-63ae0a99caba1c8a/out/brush_mix_blend_ALPHA_PASS.hSoftLight8071Value stored to 'ret_mask' is never readView Report
Unused codeDead incrementvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-63ae0a99caba1c8a/out/cs_svg_filter.hColorBurn7771Value stored to 'ret_mask' is never readView Report
Unused codeDead incrementvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-63ae0a99caba1c8a/out/cs_svg_filter.hColorDodge7621Value stored to 'ret_mask' is never readView Report
Unused codeDead incrementvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-63ae0a99caba1c8a/out/cs_svg_filter.hSoftLight7961Value stored to 'ret_mask' is never readView Report
Unused codeDead incrementvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-63ae0a99caba1c8a/out/cs_svg_filter_node.hColorBurn8351Value stored to 'ret_mask' is never readView Report
Unused codeDead incrementvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-63ae0a99caba1c8a/out/cs_svg_filter_node.hColorDodge8501Value stored to 'ret_mask' is never readView Report
Unused codeDead incrementvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-63ae0a99caba1c8a/out/cs_svg_filter_node.hSoftLight9491Value stored to 'ret_mask' is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/editor/libeditor/ChangeStyleTransaction.cppValueIncludes1001Value stored to 'end' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/js/src/jit/CodeGenerator.cppvisitIsNullOrLikeUndefinedAndBranchV124691Value stored to 'extractObject' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/toolkit/components/places/Database.cppTryToCloneTablesFromCorruptDatabase9311Value stored to 'rv' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/caps/ExpandedPrincipal.cppRead2121Value stored to 'rv' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/netwerk/protocol/http/Http2Compression.cppDecodeHeaderBlock3911Value stored to 'preamble' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/js/src/jit/MIR-wasm.hgetExtras5791Value stored to 'what' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/js/src/jit/MIR.cppEvaluateConstantOperands2301Value stored to 'ret' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/js/src/jit/MIR.cppprintOpcode14541Value stored to 'name' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/dom/media/MediaManager.cppGetUserMedia28221Value stored to 'rv' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/dom/file/ipc/RemoteLazyInputStream.cppDescribe2751Value stored to 'state' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/dom/reporting/ReportDeliver.cppSendReports1661Value stored to 'rv' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/layout/svg/SVGTextFrame.cppDoAnchoring47391Value stored to 'end' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/dom/serviceworkers/ServiceWorkerScriptCache.cppOnStreamComplete10111Value stored to 'rv' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/gfx/2d/SkConvolver.cppBGRAConvolve2D5021Value stored to 'filterValues' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/layout/style/StreamLoader.cppOnStopRequest1401Value stored to 'rv' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/netwerk/dns/TRRQuery.cppDispatchLookup1201Value stored to 'rectype' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/toolkit/components/antitracking/URLDecorationStripper.cppStripTrackingIdentifiers261Value stored to 'rv' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/tools/profiler/core/VTuneProfiler.cppInitialize231Value stored to 'testEvent' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/js/src/wasm/WasmIonCompile.cppswitchToCatch37741Value stored to 'exception' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/js/xpconnect/src/XPCShellImpl.cppGetLocationProperty1841Value stored to 'rv' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-63ae0a99caba1c8a/out/brush_image_DEBUG_OVERDRAW_TEXTURE_2D.hbrush_vs5211Value stored to 'normalized_offset' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-63ae0a99caba1c8a/out/brush_image_DEBUG_OVERDRAW_TEXTURE_RECT.hbrush_vs5211Value stored to 'normalized_offset' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-63ae0a99caba1c8a/out/brush_image_TEXTURE_2D.hbrush_vs5211Value stored to 'normalized_offset' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-63ae0a99caba1c8a/out/brush_image_TEXTURE_RECT.hbrush_vs5211Value stored to 'normalized_offset' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-63ae0a99caba1c8a/out/brush_linear_gradient.hwrite_gradient_vertex4731Value stored to 'tile_repeat' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-63ae0a99caba1c8a/out/brush_linear_gradient_DEBUG_OVERDRAW.hwrite_gradient_vertex4731Value stored to 'tile_repeat' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-63ae0a99caba1c8a/out/brush_solid.hstep_interp_inputs6791Value stored to 'chunks' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-63ae0a99caba1c8a/out/brush_solid_ALPHA_PASS.hstep_interp_inputs6881Value stored to 'chunks' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-63ae0a99caba1c8a/out/brush_solid_DEBUG_OVERDRAW.hstep_interp_inputs6711Value stored to 'chunks' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-63ae0a99caba1c8a/out/composite_FAST_PATH_TEXTURE_RECT.hmain701Value stored to 'texture_size' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-63ae0a99caba1c8a/out/composite_TEXTURE_RECT.hmain771Value stored to 'texture_size' during its initialization is never readView Report
Unused codeDead initializationtmp/conftestewflo_bd.cppmain81Value stored to 'foo' during its initialization is never readView Report
Unused codeDead initializationtmp/conftestzeb0kb30.cppmain51Value stored to 'cs' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-63ae0a99caba1c8a/out/cs_blur_ALPHA_TARGET.hfetch_render_task_rect3671Value stored to 'texel1' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-63ae0a99caba1c8a/out/cs_blur_COLOR_TARGET.hfetch_render_task_rect3671Value stored to 'texel1' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-63ae0a99caba1c8a/out/cs_svg_filter.hfetch_render_task_rect4091Value stored to 'texel1' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-63ae0a99caba1c8a/out/cs_svg_filter_node.hfetch_render_task_rect3791Value stored to 'texel1' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/extensions/spellcheck/src/mozEnglishWordUtils.cppFindNextWord421Value stored to 'startWord' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/dom/commandhandler/nsCommandManager.cppDoCommand1821Value stored to 'rv' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/dom/commandhandler/nsCommandManager.cppGetCommandState1601Value stored to 'rv' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/layout/generic/nsFrameSelection.cppMoveCaret8051Value stored to 'tHint' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/netwerk/protocol/http/nsHttpChannel.cppRedirectToInterceptedChannel106931Value stored to 'rv' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/layout/mathml/nsMathMLOperators.cppSetOperator1631Value stored to 'end' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/layout/mathml/nsMathMLmmultiscriptsFrame.cppPlaceMultiScript2581Value stored to 'trySupScriptShift' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/layout/mathml/nsMathMLmoFrame.cppProcessOperatorData2701Value stored to 'embellishAncestor' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/layout/tables/nsTableFrame.cppPeekBEnd42211Value stored to 'rg' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/widget/gtk/nsWindow.cppWaylandPopupFitsToplevelWindow21891Value stored to 'tmp' during its initialization is never readView Report
Unused codeDead nested assignmentvar/lib/jenkins/workspace/firefox-scan-build/accessible/generic/LocalAccessible.cppSelectedItemCount30291Although the value stored to 'selected' is used in the enclosing expression, the value is never actually read from 'selected'View Report
Unused codeDead nested assignmentvar/lib/jenkins/workspace/firefox-scan-build/dom/media/webaudio/blink/ReverbConvolver.cppbackgroundThreadEntry2301Although the value stored to 'readIndex' is used in the enclosing expression, the value is never actually read from 'readIndex'View Report
Unused codeDead nested assignmentvar/lib/jenkins/workspace/firefox-scan-build/dom/media/webrtc/transport/nr_socket_prsock.cpprecvfrom13351Although the value stored to 'r' is used in the enclosing expression, the value is never actually read from 'r'View Report
Unused codeDead nested assignmentvar/lib/jenkins/workspace/firefox-scan-build/parser/htmlparser/nsParser.cppTerminate3571Although the value stored to 'result' is used in the enclosing expression, the value is never actually read from 'result'View Report
Logic errorDereference of null pointervar/lib/jenkins/workspace/firefox-scan-build/dom/events/EventStateManager.cppDispatchCrossProcessEvent194023Access to field 'mMessage' results in a dereference of a null pointer (loaded from variable 'mouseEvent')View Report
Logic errorDereference of null pointervar/lib/jenkins/workspace/firefox-scan-build/mfbt/HashTable.hhasCollision119159Dereference of null pointer (loaded from field 'mKeyHash')View Report
Logic errorDereference of null pointervar/lib/jenkins/workspace/firefox-scan-build/js/src/frontend/Parser.cppnotePositionalFormalParameter58635Dereference of null pointer (loaded from variable 'duplicatedParam')View Report
Logic errorDereference of null pointervar/lib/jenkins/workspace/firefox-scan-build/js/public/RootingAPI.h~Rooted121336Dereference of null pointer (loaded from field 'stack')View Report
Logic errorDereference of null pointervar/lib/jenkins/workspace/firefox-scan-build/js/src/vm/Scope.hGetScopeDataTrailingNames26617Access to field 'length' results in a dereference of a null pointer (loaded from variable 'data')View Report
Logic errorDereference of null pointerusr/lib/llvm-18/lib/clang/18/include/emmintrin.h_mm_loadu_si128337314Access to field '__v' results in a dereference of a null pointer (loaded from variable '__p')View Report
Logic errorDereference of null pointervar/lib/jenkins/workspace/firefox-scan-build/modules/libmar/src/mar_read.cmar_find_item6816Access to field 'offset' results in a dereference of a null pointer (loaded from variable 'item')View Report
Logic errorDereference of null pointervar/lib/jenkins/workspace/firefox-scan-build/config/pathsub.cino2name9516Access to field 'd_ino' results in a dereference of a null pointer (loaded from variable 'ep')View Report
Logic errorDereference of undefined pointer valuevar/lib/jenkins/workspace/firefox-scan-build/js/public/RootingAPI.h~AutoGCRooter108926Dereference of undefined pointer value (loaded from field 'stackTop')View Report
Logic errorDereference of undefined pointer valuevar/lib/jenkins/workspace/firefox-scan-build/js/public/RootingAPI.h~Rooted121332Dereference of undefined pointer value (loaded from field 'stack')View Report
Memory errorDouble freevar/lib/jenkins/workspace/firefox-scan-build/ipc/glue/ByteBuf.h~ByteBuf6118Attempt to free released memoryView Report
Memory errorDouble freevar/lib/jenkins/workspace/firefox-scan-build/memory/mozalloc/cxxalloc.hoperator delete518Attempt to free released memoryView Report
Memory errorDouble freevar/lib/jenkins/workspace/firefox-scan-build/memory/mozalloc/cxxalloc.hoperator delete[]6015Attempt to free released memoryView Report
PerformanceExcessive Paddingvar/lib/jenkins/workspace/firefox-scan-build/js/src/gc/GCRuntime.hGCRuntime2681Excessive padding in 'class js::gc::GCRuntime' (82 padding bytes, where 2 is optimal). Optimal fields order: rt, numActiveZoneIters, queuePos, lastLastDitchTime, systemZone, sharedAtomsZone_, delayedMarkingList, markLaterArenas, helperThreadRatio, maxHelperThreads, helperThreadCount, maxMarkingThreads, markingThreadCount, maxParallelThreads, dispatchedParallelTasks, createBudgetCallback, nextCellUniqueId_, verifyPreData, lastGCStartTime_, lastGCEndTime_, initialized, minorGCNumber, majorGCNumber, number, sliceNumber, reservedMarkingThreads, sweepGroups, currentSweepGroup, sweepActions, sweepZone, foregroundFinalizedZone, zonesCompacted, relocatedArenasToRelease, markingValidator, defaultTimeBudgetMS_, maybeMarkStackLimit, inPageLoadCount, lastAllocRateUpdateTime, collectorTimeSinceAllocRateUpdate, permanentAtoms, permanentWellKnownSymbols, emptyChunks_, availableChunks_, fullChunks_, backgroundSweepZones, zonesToMaybeCompact, gcCallback, gcDoCycleCollectionCallback, tenuredCallback, hostCleanupFinalizationRegistryCallback, grayRootTracer, stringStats, heapSize, queuedParallelTasks, weakCachesToSweep, markers, sweepingTracer, rootsHash, buffersToFreeAfterMinorGC, cellsToAssertNotGray, atomMarking, testMarkQueue, mainThreadContext, zones_, selectedForMarking, lock, storeBufferLock, delayedMarkingLock, maybeAtomsToSweep, sweepTask, freeTask, decommitTask, lifoBlocksToFree, lifoBlocksToFreeAfterFullMinorGC, lifoBlocksToFreeAfterNextMinorGC, finalizeCallbacks, updateWeakPointerZonesCallbacks, updateWeakPointerCompartmentCallbacks, nurseryCollectionCallbacks, blackRootTracers, allocTask, markTask, unmarkTask, tunables, storeBuffer_, foregroundFinalizedArenas, nursery_, stats_, schedulingState, numArenasFreeCommitted, majorGCTriggerReason, heapState_, minEmptyChunkCount_, maxEmptyChunkCount_, initialReason, incrementalState, initialState, sweepGroupIndex, sweepMarkResult, zealModeBits, zealFrequency, nextScheduled, zealSliceBudget, gcCallbackDepth, maybeGcOptions, delayedMarkingWorkAdded, fullGCRequested, incrementalGCEnabled, perZoneGCEnabled, cleanUpEverything, grayBitsValid, isIncremental, isFull, isCompacting, useParallelMarking, useZeal, lastMarkSlice, safeToYield, markOnBackgroundThreadDuringSweeping, useBackgroundThreads, haveDiscardedJITCodeThisSlice, hadShutdownGC, requestSliceAfterBackgroundTask, sweepAllocKind, abortSweepAfterCurrentGroup, foregroundFinalizedAllocKind, queueMarkColor, startedCompacting, compactingEnabled, nurseryEnabled, parallelMarkingEnabled, rootsRemoved, deterministicOnly, fullCompartmentChecks, alwaysPreserveCode, lowMemoryState, consider reordering the fields or adding explicit padding membersView Report
PerformanceExcessive Paddingvar/lib/jenkins/workspace/firefox-scan-build/dom/media/MediaFormatReader.hDecoderData3691Excessive padding in 'struct mozilla::MediaFormatReader::DecoderData' (34 padding bytes, where 2 is optimal). Optimal fields order: mOwner, mTrackDemuxer, mTaskQueue, mDecoder, mDecodePerfRecorder, mSeekRequest, mQueuedSamples, mDemuxRequest, mWaitingPromise, mDecodeRequest, mShutdownPromise, mDrainRequest, mOutput, mNumSamplesInput, mNumSamplesOutput, mNumSamplesOutputTotal, mNumSamplesSkippedTotal, mSizeOfQueue, mOriginalInfo, mWorkingInfo, mInfo, mDescription, mProcessName, mCodecName, mWaitingForDataStartTime, mMeanRate, mFirstFrameTime, mLastTimeRangesEnd, mFirstDemuxedSampleTime, mError, mMutex, mLastDecodedSampleTime, mTimeThreshold, mTimeRanges, mDrainState, mNumOfConsecutiveDecodingError, mMaxConsecutiveDecodingError, mNumOfConsecutiveRDDOrGPUCrashes, mMaxConsecutiveRDDOrGPUCrashes, mNumOfConsecutiveUtilityCrashes, mMaxConsecutiveUtilityCrashes, mIsHardwareAccelerated, mLastStreamSourceID, mNextStreamSourceID, mType, mUpdateScheduled, mDemuxEOS, mWaitingForKey, mReceivedNewData, mFlushing, mFlushed, mIsNullDecode, mHardwareDecodingDisabled, mHasReportedVideoHardwareSupportTelemtry, consider reordering the fields or adding explicit padding membersView Report
PerformanceExcessive Paddingvar/lib/jenkins/workspace/firefox-scan-build/memory/build/PHC.cppPHC5041Excessive padding in 'class PHC' (80 padding bytes, where 16 is optimal). Optimal fields order: mAvgFirstAllocDelay, mPhcState, mNow, mRNG, mFreePageListHead, mFreePageListTail, mMutex, mAllocPages, mAvgAllocDelay, mAvgPageReuseDelay, consider reordering the fields or adding explicit padding membersView Report
PerformanceExcessive Paddingvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/dom/bindings/WebIDLSerializable.cppWebIDLSerializableEntry171Excessive padding in 'struct mozilla::dom::WebIDLSerializableEntry' (10 padding bytes, where 2 is optimal). Optimal fields order: mDeserialize, mTag, mExposedGlobals, consider reordering the fields or adding explicit padding membersView Report
PerformanceExcessive Paddingvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-63ae0a99caba1c8a/out/brush_linear_gradient.hSamplers21Excessive padding in 'struct brush_linear_gradient_common::Samplers' (32 padding bytes, where 0 is optimal). Optimal fields order: sGpuBufferI_impl, sPrimitiveHeadersI_impl, sClipMask_impl, sGpuBufferF_impl, sGpuCache_impl, sPrimitiveHeadersF_impl, sRenderTasks_impl, sTransformPalette_impl, sClipMask_slot, sGpuBufferF_slot, sGpuBufferI_slot, sGpuCache_slot, sPrimitiveHeadersF_slot, sPrimitiveHeadersI_slot, sRenderTasks_slot, sTransformPalette_slot, consider reordering the fields or adding explicit padding membersView Report
PerformanceExcessive Paddingvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-63ae0a99caba1c8a/out/brush_linear_gradient_ALPHA_PASS.hSamplers21Excessive padding in 'struct brush_linear_gradient_ALPHA_PASS_common::Samplers' (32 padding bytes, where 0 is optimal). Optimal fields order: sGpuBufferI_impl, sPrimitiveHeadersI_impl, sClipMask_impl, sGpuBufferF_impl, sGpuCache_impl, sPrimitiveHeadersF_impl, sRenderTasks_impl, sTransformPalette_impl, sClipMask_slot, sGpuBufferF_slot, sGpuBufferI_slot, sGpuCache_slot, sPrimitiveHeadersF_slot, sPrimitiveHeadersI_slot, sRenderTasks_slot, sTransformPalette_slot, consider reordering the fields or adding explicit padding membersView Report
PerformanceExcessive Paddingvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-63ae0a99caba1c8a/out/brush_linear_gradient_DEBUG_OVERDRAW.hSamplers21Excessive padding in 'struct brush_linear_gradient_DEBUG_OVERDRAW_common::Samplers' (32 padding bytes, where 0 is optimal). Optimal fields order: sGpuBufferI_impl, sPrimitiveHeadersI_impl, sClipMask_impl, sGpuBufferF_impl, sGpuCache_impl, sPrimitiveHeadersF_impl, sRenderTasks_impl, sTransformPalette_impl, sClipMask_slot, sGpuBufferF_slot, sGpuBufferI_slot, sGpuCache_slot, sPrimitiveHeadersF_slot, sPrimitiveHeadersI_slot, sRenderTasks_slot, sTransformPalette_slot, consider reordering the fields or adding explicit padding membersView Report
PerformanceExcessive Paddingvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-63ae0a99caba1c8a/out/brush_mix_blend.hSamplers21Excessive padding in 'struct brush_mix_blend_common::Samplers' (32 padding bytes, where 0 is optimal). Optimal fields order: sPrimitiveHeadersI_impl, sClipMask_impl, sColor0_impl, sColor1_impl, sGpuCache_impl, sPrimitiveHeadersF_impl, sRenderTasks_impl, sTransformPalette_impl, sClipMask_slot, sColor0_slot, sColor1_slot, sGpuCache_slot, sPrimitiveHeadersF_slot, sPrimitiveHeadersI_slot, sRenderTasks_slot, sTransformPalette_slot, consider reordering the fields or adding explicit padding membersView Report
PerformanceExcessive Paddingvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-63ae0a99caba1c8a/out/brush_mix_blend_ALPHA_PASS.hSamplers21Excessive padding in 'struct brush_mix_blend_ALPHA_PASS_common::Samplers' (32 padding bytes, where 0 is optimal). Optimal fields order: sPrimitiveHeadersI_impl, sClipMask_impl, sColor0_impl, sColor1_impl, sGpuCache_impl, sPrimitiveHeadersF_impl, sRenderTasks_impl, sTransformPalette_impl, sClipMask_slot, sColor0_slot, sColor1_slot, sGpuCache_slot, sPrimitiveHeadersF_slot, sPrimitiveHeadersI_slot, sRenderTasks_slot, sTransformPalette_slot, consider reordering the fields or adding explicit padding membersView Report
PerformanceExcessive Paddingvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-63ae0a99caba1c8a/out/brush_mix_blend_DEBUG_OVERDRAW.hSamplers21Excessive padding in 'struct brush_mix_blend_DEBUG_OVERDRAW_common::Samplers' (32 padding bytes, where 0 is optimal). Optimal fields order: sPrimitiveHeadersI_impl, sClipMask_impl, sColor0_impl, sColor1_impl, sGpuCache_impl, sPrimitiveHeadersF_impl, sRenderTasks_impl, sTransformPalette_impl, sClipMask_slot, sColor0_slot, sColor1_slot, sGpuCache_slot, sPrimitiveHeadersF_slot, sPrimitiveHeadersI_slot, sRenderTasks_slot, sTransformPalette_slot, consider reordering the fields or adding explicit padding membersView Report
PerformanceExcessive Paddingvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-63ae0a99caba1c8a/out/brush_yuv_image_ALPHA_PASS_TEXTURE_2D_YUV.hSamplers21Excessive padding in 'struct brush_yuv_image_ALPHA_PASS_TEXTURE_2D_YUV_common::Samplers' (36 padding bytes, where 4 is optimal). Optimal fields order: sPrimitiveHeadersI_impl, sClipMask_impl, sColor0_impl, sColor1_impl, sColor2_impl, sGpuCache_impl, sPrimitiveHeadersF_impl, sRenderTasks_impl, sTransformPalette_impl, sClipMask_slot, sColor0_slot, sColor1_slot, sColor2_slot, sGpuCache_slot, sPrimitiveHeadersF_slot, sPrimitiveHeadersI_slot, sRenderTasks_slot, sTransformPalette_slot, consider reordering the fields or adding explicit padding membersView Report
PerformanceExcessive Paddingvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-63ae0a99caba1c8a/out/brush_yuv_image_ALPHA_PASS_TEXTURE_RECT_YUV.hSamplers21Excessive padding in 'struct brush_yuv_image_ALPHA_PASS_TEXTURE_RECT_YUV_common::Samplers' (36 padding bytes, where 4 is optimal). Optimal fields order: sPrimitiveHeadersI_impl, sClipMask_impl, sColor0_impl, sColor1_impl, sColor2_impl, sGpuCache_impl, sPrimitiveHeadersF_impl, sRenderTasks_impl, sTransformPalette_impl, sClipMask_slot, sColor0_slot, sColor1_slot, sColor2_slot, sGpuCache_slot, sPrimitiveHeadersF_slot, sPrimitiveHeadersI_slot, sRenderTasks_slot, sTransformPalette_slot, consider reordering the fields or adding explicit padding membersView Report
PerformanceExcessive Paddingvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-63ae0a99caba1c8a/out/brush_yuv_image_DEBUG_OVERDRAW_TEXTURE_2D_YUV.hSamplers21Excessive padding in 'struct brush_yuv_image_DEBUG_OVERDRAW_TEXTURE_2D_YUV_common::Samplers' (36 padding bytes, where 4 is optimal). Optimal fields order: sPrimitiveHeadersI_impl, sClipMask_impl, sColor0_impl, sColor1_impl, sColor2_impl, sGpuCache_impl, sPrimitiveHeadersF_impl, sRenderTasks_impl, sTransformPalette_impl, sClipMask_slot, sColor0_slot, sColor1_slot, sColor2_slot, sGpuCache_slot, sPrimitiveHeadersF_slot, sPrimitiveHeadersI_slot, sRenderTasks_slot, sTransformPalette_slot, consider reordering the fields or adding explicit padding membersView Report
PerformanceExcessive Paddingvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-63ae0a99caba1c8a/out/brush_yuv_image_DEBUG_OVERDRAW_TEXTURE_RECT_YUV.hSamplers21Excessive padding in 'struct brush_yuv_image_DEBUG_OVERDRAW_TEXTURE_RECT_YUV_common::Samplers' (36 padding bytes, where 4 is optimal). Optimal fields order: sPrimitiveHeadersI_impl, sClipMask_impl, sColor0_impl, sColor1_impl, sColor2_impl, sGpuCache_impl, sPrimitiveHeadersF_impl, sRenderTasks_impl, sTransformPalette_impl, sClipMask_slot, sColor0_slot, sColor1_slot, sColor2_slot, sGpuCache_slot, sPrimitiveHeadersF_slot, sPrimitiveHeadersI_slot, sRenderTasks_slot, sTransformPalette_slot, consider reordering the fields or adding explicit padding membersView Report
PerformanceExcessive Paddingvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-63ae0a99caba1c8a/out/brush_yuv_image_TEXTURE_2D_YUV.hSamplers21Excessive padding in 'struct brush_yuv_image_TEXTURE_2D_YUV_common::Samplers' (36 padding bytes, where 4 is optimal). Optimal fields order: sPrimitiveHeadersI_impl, sClipMask_impl, sColor0_impl, sColor1_impl, sColor2_impl, sGpuCache_impl, sPrimitiveHeadersF_impl, sRenderTasks_impl, sTransformPalette_impl, sClipMask_slot, sColor0_slot, sColor1_slot, sColor2_slot, sGpuCache_slot, sPrimitiveHeadersF_slot, sPrimitiveHeadersI_slot, sRenderTasks_slot, sTransformPalette_slot, consider reordering the fields or adding explicit padding membersView Report
PerformanceExcessive Paddingvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-63ae0a99caba1c8a/out/brush_yuv_image_TEXTURE_RECT_YUV.hSamplers21Excessive padding in 'struct brush_yuv_image_TEXTURE_RECT_YUV_common::Samplers' (36 padding bytes, where 4 is optimal). Optimal fields order: sPrimitiveHeadersI_impl, sClipMask_impl, sColor0_impl, sColor1_impl, sColor2_impl, sGpuCache_impl, sPrimitiveHeadersF_impl, sRenderTasks_impl, sTransformPalette_impl, sClipMask_slot, sColor0_slot, sColor1_slot, sColor2_slot, sGpuCache_slot, sPrimitiveHeadersF_slot, sPrimitiveHeadersI_slot, sRenderTasks_slot, sTransformPalette_slot, consider reordering the fields or adding explicit padding membersView Report
PerformanceExcessive Paddingvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-63ae0a99caba1c8a/out/cs_svg_filter.hSamplers21Excessive padding in 'struct cs_svg_filter_common::Samplers' (32 padding bytes, where 0 is optimal). Optimal fields order: sPrimitiveHeadersI_impl, sClipMask_impl, sColor0_impl, sColor1_impl, sGpuCache_impl, sPrimitiveHeadersF_impl, sRenderTasks_impl, sTransformPalette_impl, sClipMask_slot, sColor0_slot, sColor1_slot, sGpuCache_slot, sPrimitiveHeadersF_slot, sPrimitiveHeadersI_slot, sRenderTasks_slot, sTransformPalette_slot, consider reordering the fields or adding explicit padding membersView Report
PerformanceExcessive Paddingvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-63ae0a99caba1c8a/out/cs_svg_filter_node.hSamplers21Excessive padding in 'struct cs_svg_filter_node_common::Samplers' (32 padding bytes, where 0 is optimal). Optimal fields order: sPrimitiveHeadersI_impl, sClipMask_impl, sColor0_impl, sColor1_impl, sGpuCache_impl, sPrimitiveHeadersF_impl, sRenderTasks_impl, sTransformPalette_impl, sClipMask_slot, sColor0_slot, sColor1_slot, sGpuCache_slot, sPrimitiveHeadersF_slot, sPrimitiveHeadersI_slot, sRenderTasks_slot, sTransformPalette_slot, consider reordering the fields or adding explicit padding membersView Report
PerformanceExcessive Paddingvar/lib/jenkins/workspace/firefox-scan-build/docshell/base/nsDocShellLoadState.hnsDocShellLoadState411Excessive padding in 'class nsDocShellLoadState' (48 padding bytes, where 0 is optimal). Optimal fields order: mRefCnt, _mOwningThread, mReferrerInfo, mURI, mOriginalURI, mResultPrincipalURI, mTriggeringPrincipal, mTriggeringWindowId, mCsp, mPrincipalToInherit, mPartitionedPrincipalToInherit, mHttpsFirstDowngradeData, mSHEntry, mLoadingSessionHistoryInfo, mPostDataStream, mHeadersStream, mBaseURI, mPendingRedirectedChannel, mChannelRegistrarId, mLoadIdentifier, mUnstrippedURI, mTarget, mTargetBrowsingContext, mSrcdocData, mSourceBrowsingContext, mTypeHint, mFileName, mTriggeringRemoteType, mOriginalURIString, mRemoteTypeOverride, mTriggeringSandboxFlags, mLoadType, mLoadFlags, mInternalLoadFlags, mHttpsUpgradeTelemetry, mCancelContentJSEpoch, mResultPrincipalURIIsSome, mTriggeringStorageAccess, mKeepResultPrincipalURIIfSet, mLoadReplace, mInheritPrincipal, mPrincipalIsExplicit, mNotifiedBeforeUnloadListeners, mForceAllowDataURI, mIsExemptFromHTTPSFirstMode, mOriginalFrameSrc, mIsFormSubmission, mFirstParty, mHasValidUserGestureActivation, mTextDirectiveUserActivation, mAllowFocusMove, mIsFromProcessingFrameAttributes, mChannelInitialized, mIsMetaRefresh, mWasCreatedRemotely, mWasSchemelessInput, consider reordering the fields or adding explicit padding membersView Report
PerformanceExcessive Paddingvar/lib/jenkins/workspace/firefox-scan-build/parser/html/nsHtml5Tokenizer.hnsHtml5Tokenizer581Excessive padding in 'class nsHtml5Tokenizer' (34 padding bytes, where 2 is optimal). Optimal fields order: tokenHandler, encodingDeclarationHandler, publicId, systemId, endTagExpectation, tagName, nonInternedTagName, attributeName, nonInternedAttributeName, doctypeName, publicIdentifier, systemIdentifier, attributes, interner, mViewSource, strBuf, charRefBuf, bmpChar, astralChar, endTagExpectationAsArray, stateSave, returnStateSave, index, entCol, firstCharKey, lo, hi, candidate, charRefBufMark, value, cstart, strBufLen, charRefBufLen, line, attributeLine, col, additional, lastCR, forceQuirks, seenDigits, suspendAfterCurrentNonTextToken, endTag, containsHyphen, newAttributesEachTime, shouldSuspend, keepBuffer, confident, viewingXmlSource, nextCharOnNewLine, consider reordering the fields or adding explicit padding membersView Report
Logic errorGarbage return valuevar/lib/jenkins/workspace/firefox-scan-build/mfbt/RefPtr.hget31442Undefined or garbage value returned to callerView Report
Memory errorMemory leakvar/lib/jenkins/workspace/firefox-scan-build/toolkit/xre/CmdLineAndEnvUtils.hSaveToEnv7109Potential leak of memory pointed to by 'expr'View Report
Memory errorMemory leakvar/lib/jenkins/workspace/firefox-scan-build/modules/libmar/src/mar_create.cmar_create38638Potential leak of memory pointed to by 'stack.head'View Report
Memory errorMemory leakvar/lib/jenkins/workspace/firefox-scan-build/browser/app/nsBrowserApp.cppdo_main17815Potential memory leakView Report
Logic errorResult of operation is garbage or undefinedvar/lib/jenkins/workspace/firefox-scan-build/gfx/2d/InlineTranslator.cppTranslateRecording3314The left operand of '!=' is a garbage valueView Report
Logic errorResult of operation is garbage or undefinedvar/lib/jenkins/workspace/firefox-scan-build/gfx/2d/InlineTranslator.cppTranslateRecording4016The left operand of '>' is a garbage valueView Report
Logic errorResult of operation is garbage or undefinedvar/lib/jenkins/workspace/firefox-scan-build/gfx/2d/InlineTranslator.cppTranslateRecording2612The left operand of '!=' is a garbage valueView Report
Logic errorResult of operation is garbage or undefinedvar/lib/jenkins/workspace/firefox-scan-build/mfbt/RefPtr.hoperator->34227The left operand of '!=' is a garbage valueView Report
Logic errorResult of operation is garbage or undefinedvar/lib/jenkins/workspace/firefox-scan-build/mozglue/misc/TimeStamp.hIsNull42032The left operand of '==' is a garbage valueView Report
Logic errorUninitialized argument valuevar/lib/jenkins/workspace/firefox-scan-build/js/src/frontend/NameCollections.h~PooledCollectionPtr370351st function call argument is an uninitialized valueView Report
Logic errorUninitialized argument valuevar/lib/jenkins/workspace/firefox-scan-build/gfx/layers/client/TextureClient.h~TextureClientAutoLock815501st function call argument is an uninitialized valueView Report
Logic errorUninitialized argument valuevar/lib/jenkins/workspace/firefox-scan-build/dom/base/nsGlobalWindowInner.cppShowSlowScriptDialog5224371st function call argument is an uninitialized valueView Report
Logic errorUninitialized argument valuevar/lib/jenkins/workspace/firefox-scan-build/config/nsinstall.ccopyfile152342nd function call argument is an uninitialized valueView Report
Logic errorUninitialized argument valuevar/lib/jenkins/workspace/firefox-scan-build/tools/power/rapl.cppRAPL561132nd function call argument is an uninitialized valueView Report
Logic errorUnix APIvar/lib/jenkins/workspace/firefox-scan-build/mfbt/lz4/lz4.cLZ4_decompress_generic217932Null pointer passed as 2nd argument to memory copy functionView Report
Logic errorUnix APIvar/lib/jenkins/workspace/firefox-scan-build/mfbt/lz4/lz4.cLZ4_decompress_generic218532Null pointer passed as 2nd argument to memory copy functionView Report
Logic errorUnix APIvar/lib/jenkins/workspace/firefox-scan-build/mfbt/lz4/lz4.cLZ4_saveDict18279Null pointer passed as 1st argument to memory copy functionView Report
Logic errorUnix APIvar/lib/jenkins/workspace/firefox-scan-build/mfbt/lz4/lz4hc.cLZ4_saveDictHC175311Null pointer passed as 1st argument to memory copy functionView Report
Memory errorUse-after-freevar/lib/jenkins/workspace/firefox-scan-build/dom/indexedDB/ActorsParent.cppRelease205734Use of memory after it is freedView Report
Memory errorUse-after-freevar/lib/jenkins/workspace/firefox-scan-build/mfbt/HashTable.h~HashTable172539Use of memory after it is freedView Report
Memory errorUse-after-freevar/lib/jenkins/workspace/firefox-scan-build/mfbt/UniquePtr.hget28715Use of memory after it is freedView Report
C++ move semanticsUse-after-movevar/lib/jenkins/workspace/firefox-scan-build/dom/indexedDB/ActorsParent.cppPopulateResponseFromStatement1993875Moved-from object 'previousKey' is movedView Report
C++ move semanticsUse-after-movevar/lib/jenkins/workspace/firefox-scan-build/netwerk/sctp/datachannel/DataChannel.cppOpenFinish247930Method called on moved-from object 'mPending' of type 'std::set'View Report

Analyzer Failures

The analyzer had problems processing the following files:

ProblemSource FilePreprocessed FileSTDERR Output
Crashvar/lib/jenkins/workspace/firefox-scan-build/third_party/rust/glslopt/glsl-optimizer/src/compiler/glsl/ir_constant_expression.cppclang_crash_sqro5S.iiclang_crash_sqro5S.ii.stderr.txt

Please consider submitting preprocessed files as bug reports.