2022-06-28 14:34 ftp://ftp.de.debian.org/debian/pool/main/h/hashcat/hashcat_6.2.5+ds1.orig.tar.xz cppcheck-options: --library=posix --library=gnu --showtime=top5 --check-library --inconclusive --enable=style,information --inline-suppr --template=daca2 -D__GNUC__ --platform=unix64 -rp=temp -j4 platform: Linux-5.10.0-15-amd64-x86_64-with-glibc2.31 python: 3.9.2 client-version: 1.3.25 compiler: g++ (Debian 10.2.1-6) 10.2.1 20210110 cppcheck: head 2.8 head-info: 2223cd2 (2022-06-28 14:02:02 +0200) count: 287 283 elapsed-time: 198.3 277.8 head-timing-info: Overall time: 0s old-timing-info: Overall time: 0s head results: hashcat-6.2.5/deps/LZMA-SDK/C/7zCrc.c:277:19: style: Variable 'g_CrcUpdate' is reassigned a value before the old one has been used. [redundantAssignment] hashcat-6.2.5/deps/LZMA-SDK/C/7zCrc.c:274:19: note: g_CrcUpdate is assigned hashcat-6.2.5/deps/LZMA-SDK/C/7zCrc.c:277:19: note: g_CrcUpdate is overwritten hashcat-6.2.5/deps/LZMA-SDK/C/7zCrc.c:294:19: style: Variable 'g_CrcUpdate' is reassigned a value before the old one has been used. [redundantAssignment] hashcat-6.2.5/deps/LZMA-SDK/C/7zCrc.c:291:19: note: g_CrcUpdate is assigned hashcat-6.2.5/deps/LZMA-SDK/C/7zCrc.c:294:19: note: g_CrcUpdate is overwritten hashcat-6.2.5/deps/LZMA-SDK/C/7zCrc.c:47:38: style:inconclusive: Function 'CrcUpdate' argument 1 names different: declaration 'crc' definition 'v'. [funcArgNamesDifferent] hashcat-6.2.5/deps/LZMA-SDK/C/7zCrc.h:20:38: note: Function 'CrcUpdate' argument 1 names different: declaration 'crc' definition 'v'. hashcat-6.2.5/deps/LZMA-SDK/C/7zCrc.c:47:38: note: Function 'CrcUpdate' argument 1 names different: declaration 'crc' definition 'v'. hashcat-6.2.5/deps/LZMA-SDK/C/Alloc.c:343:15: style: Condition 'newSizesize+pos' here. hashcat-6.2.5/deps/LZMA-SDK/C/XzEnc.c:166:20: note: newSize is assigned '(unsigned long)newSize64' here. hashcat-6.2.5/deps/LZMA-SDK/C/XzEnc.c:167:17: note: Condition 'newSize!=newSize64' is always false hashcat-6.2.5/deps/LZMA-SDK/C/XzEnc.c:1020:33: style:inconclusive: Function 'XzEnc_Destroy' argument 1 names different: declaration 'p' definition 'pp'. [funcArgNamesDifferent] hashcat-6.2.5/deps/LZMA-SDK/C/XzEnc.h:48:33: note: Function 'XzEnc_Destroy' argument 1 names different: declaration 'p' definition 'pp'. hashcat-6.2.5/deps/LZMA-SDK/C/XzEnc.c:1020:33: note: Function 'XzEnc_Destroy' argument 1 names different: declaration 'p' definition 'pp'. hashcat-6.2.5/deps/LZMA-SDK/C/XzEnc.c:1028:34: style:inconclusive: Function 'XzEnc_SetProps' argument 1 names different: declaration 'p' definition 'pp'. [funcArgNamesDifferent] hashcat-6.2.5/deps/LZMA-SDK/C/XzEnc.h:49:34: note: Function 'XzEnc_SetProps' argument 1 names different: declaration 'p' definition 'pp'. hashcat-6.2.5/deps/LZMA-SDK/C/XzEnc.c:1028:34: note: Function 'XzEnc_SetProps' argument 1 names different: declaration 'p' definition 'pp'. hashcat-6.2.5/deps/LZMA-SDK/C/XzEnc.c:1037:37: style:inconclusive: Function 'XzEnc_SetDataSize' argument 1 names different: declaration 'p' definition 'pp'. [funcArgNamesDifferent] hashcat-6.2.5/deps/LZMA-SDK/C/XzEnc.h:50:37: note: Function 'XzEnc_SetDataSize' argument 1 names different: declaration 'p' definition 'pp'. hashcat-6.2.5/deps/LZMA-SDK/C/XzEnc.c:1037:37: note: Function 'XzEnc_SetDataSize' argument 1 names different: declaration 'p' definition 'pp'. hashcat-6.2.5/deps/LZMA-SDK/C/XzEnc.c:1129:32: style:inconclusive: Function 'XzEnc_Encode' argument 1 names different: declaration 'p' definition 'pp'. [funcArgNamesDifferent] hashcat-6.2.5/deps/LZMA-SDK/C/XzEnc.h:51:32: note: Function 'XzEnc_Encode' argument 1 names different: declaration 'p' definition 'pp'. hashcat-6.2.5/deps/LZMA-SDK/C/XzEnc.c:1129:32: note: Function 'XzEnc_Encode' argument 1 names different: declaration 'p' definition 'pp'. hashcat-6.2.5/deps/LZMA-SDK/C/XzEnc.c:768:31: style: Variable 'seqSizeOutStream.realStream' is assigned a value that is never used. [unreadVariable] hashcat-6.2.5/deps/LZMA-SDK/C/XzEnc.c:875:31: style: Variable 'seqSizeOutStream.outBuf' is assigned a value that is never used. [unreadVariable] hashcat-6.2.5/deps/LZMA-SDK/C/XzEnc.c:876:36: style: Variable 'seqSizeOutStream.outBufLimit' is assigned a value that is never used. [unreadVariable] hashcat-6.2.5/deps/LZMA-SDK/C/XzEnc.c:1214:24: style: Variable 'progress2.inOffset' is assigned a value that is never used. [unreadVariable] hashcat-6.2.5/deps/LZMA-SDK/C/XzEnc.c:1215:25: style: Variable 'progress2.outOffset' is assigned a value that is never used. [unreadVariable] hashcat-6.2.5/deps/LZMA-SDK/C/XzEnc.c:1216:24: style: Variable 'progress2.progress' is assigned a value that is never used. [unreadVariable] hashcat-6.2.5/deps/LZMA-SDK/C/XzEnc.c:1290:28: style: Variable 'progress2.inOffset' is assigned a value that is never used. [unreadVariable] hashcat-6.2.5/deps/LZMA-SDK/C/XzEnc.c:1291:29: style: Variable 'progress2.outOffset' is assigned a value that is never used. [unreadVariable] hashcat-6.2.5/deps/LZMA-SDK/C/XzDec.c:1597:37: style:inconclusive: Function 'XzDecMt_Destroy' argument 1 names different: declaration 'p' definition 'pp'. [funcArgNamesDifferent] hashcat-6.2.5/deps/LZMA-SDK/C/Xz.h:444:37: note: Function 'XzDecMt_Destroy' argument 1 names different: declaration 'p' definition 'pp'. hashcat-6.2.5/deps/LZMA-SDK/C/XzDec.c:1597:37: note: Function 'XzDecMt_Destroy' argument 1 names different: declaration 'p' definition 'pp'. hashcat-6.2.5/deps/LZMA-SDK/C/XzDec.c:2579:36: style:inconclusive: Function 'XzDecMt_Decode' argument 1 names different: declaration 'p' definition 'pp'. [funcArgNamesDifferent] hashcat-6.2.5/deps/LZMA-SDK/C/Xz.h:502:36: note: Function 'XzDecMt_Decode' argument 1 names different: declaration 'p' definition 'pp'. hashcat-6.2.5/deps/LZMA-SDK/C/XzDec.c:2579:36: note: Function 'XzDecMt_Decode' argument 1 names different: declaration 'p' definition 'pp'. hashcat-6.2.5/deps/LZMA-SDK/C/XzDec.c:1442:8: style: struct member 'CXzDecMtThread::mtPad' is never used. [unusedStructMember] hashcat-6.2.5/deps/LZMA-SDK/C/XzDec.c:1710:13: style: Variable 'srcSize' is assigned a value that is never used. [unreadVariable] hashcat-6.2.5/deps/unrar/model.cpp:317:55: style:inconclusive: Boolean expression '4*ns1<=ns' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] hashcat-6.2.5/deps/unrar/model.cpp:18:24: style: C-style pointer casting [cstyleCast] hashcat-6.2.5/deps/unrar/model.cpp:44:29: style: C-style pointer casting [cstyleCast] hashcat-6.2.5/deps/unrar/model.cpp:50:34: style: C-style pointer casting [cstyleCast] hashcat-6.2.5/deps/unrar/model.cpp:166:15: style: C-style pointer casting [cstyleCast] hashcat-6.2.5/deps/unrar/model.cpp:219:19: style: C-style pointer casting [cstyleCast] hashcat-6.2.5/deps/unrar/model.cpp:220:41: style: C-style pointer casting [cstyleCast] hashcat-6.2.5/deps/unrar/model.cpp:223:9: style: C-style pointer casting [cstyleCast] hashcat-6.2.5/deps/unrar/model.cpp:287:15: style: C-style pointer casting [cstyleCast] hashcat-6.2.5/deps/unrar/model.cpp:292:9: style: C-style pointer casting [cstyleCast] hashcat-6.2.5/deps/unrar/model.cpp:313:21: style: C-style pointer casting [cstyleCast] hashcat-6.2.5/deps/unrar/model.cpp:321:9: style: C-style pointer casting [cstyleCast] hashcat-6.2.5/deps/unrar/model.cpp:606:7: style: C-style pointer casting [cstyleCast] hashcat-6.2.5/deps/unrar/model.cpp:610:9: style: C-style pointer casting [cstyleCast] hashcat-6.2.5/deps/unrar/model.cpp:625:11: style: C-style pointer casting [cstyleCast] hashcat-6.2.5/deps/unrar/model.cpp:633:21: style: C-style pointer casting [cstyleCast] hashcat-6.2.5/deps/unrar/model.cpp:76:7: style: The scope of the variable 'i' can be reduced. [variableScope] hashcat-6.2.5/deps/unrar/model.cpp:76:10: style: The scope of the variable 'k' can be reduced. [variableScope] hashcat-6.2.5/deps/unrar/model.cpp:76:13: style: The scope of the variable 'm' can be reduced. [variableScope] hashcat-6.2.5/deps/unrar/model.cpp:76:16: style: The scope of the variable 'Step' can be reduced. [variableScope] hashcat-6.2.5/deps/unrar/model.cpp:163:26: style: Variable 'EscFreq' is assigned a value that is never used. [unreadVariable] hashcat-6.2.5/deps/unrar/recvol5.cpp:38:9: style: C-style pointer casting [cstyleCast] hashcat-6.2.5/deps/unrar/recvol5.cpp:360:17: style: C-style pointer casting [cstyleCast] hashcat-6.2.5/deps/unrar/recvol5.cpp:197:18: style: Local variable 'Num' shadows outer variable [shadowVariable] hashcat-6.2.5/deps/unrar/recvol5.cpp:145:10: note: Shadowed declaration hashcat-6.2.5/deps/unrar/recvol5.cpp:197:18: note: Shadow variable hashcat-6.2.5/deps/unrar/suballoc.cpp:25:4: style: C-style pointer casting [cstyleCast] hashcat-6.2.5/deps/unrar/suballoc.cpp:26:23: style: C-style pointer casting [cstyleCast] hashcat-6.2.5/deps/unrar/suballoc.cpp:51:30: style: C-style pointer casting [cstyleCast] hashcat-6.2.5/deps/unrar/suballoc.cpp:58:12: style: C-style pointer casting [cstyleCast] hashcat-6.2.5/deps/unrar/suballoc.cpp:92:18: style: C-style pointer casting [cstyleCast] hashcat-6.2.5/deps/unrar/suballoc.cpp:178:9: style: C-style pointer casting [cstyleCast] hashcat-6.2.5/deps/unrar/suballoc.cpp:171:29: style: The scope of the variable 'p1' can be reduced. [variableScope] hashcat-6.2.5/deps/unrar/threadmisc.cpp:9:1: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] hashcat-6.2.5/deps/unrar/threadmisc.cpp:145:13: style: Condition 'NumCPU<1' is always false [knownConditionTrueFalse] hashcat-6.2.5/deps/unrar/threadmisc.cpp:144:29: note: Assignment 'NumCPU=GetNumberOfCPU()', assigned value is 1 hashcat-6.2.5/deps/unrar/threadmisc.cpp:145:13: note: Condition 'NumCPU<1' is always false hashcat-6.2.5/deps/unrar/ulinks.cpp:61:32: style: C-style pointer casting [cstyleCast] hashcat-6.2.5/deps/unrar/ulinks.cpp:55:8: style: The scope of the variable 'Target' can be reduced. [variableScope] hashcat-6.2.5/deps/unrar/recvol3.cpp:330:24: style: C-style pointer casting [cstyleCast] hashcat-6.2.5/deps/unrar/recvol3.cpp:459:13: style: Local variable 'Arc' shadows outer variable [shadowVariable] hashcat-6.2.5/deps/unrar/recvol3.cpp:130:11: note: Shadowed declaration hashcat-6.2.5/deps/unrar/recvol3.cpp:459:13: note: Shadow variable hashcat-6.2.5/deps/unrar/unpack50frag.cpp:44:14: style: C-style pointer casting [cstyleCast] hashcat-6.2.5/deps/unrar/unpack15.cpp:119:23: style: The scope of the variable 'ShortLen1' can be reduced. [variableScope] hashcat-6.2.5/deps/unrar/unpack15.cpp:120:23: style: The scope of the variable 'ShortXor1' can be reduced. [variableScope] hashcat-6.2.5/deps/unrar/unpack15.cpp:122:23: style: The scope of the variable 'ShortLen2' can be reduced. [variableScope] hashcat-6.2.5/deps/unrar/unpack15.cpp:123:23: style: The scope of the variable 'ShortXor2' can be reduced. [variableScope] hashcat-6.2.5/deps/unrar/unpack15.cpp:127:23: style: The scope of the variable 'SaveLength' can be reduced. [variableScope] hashcat-6.2.5/deps/unrar/unpack15.cpp:128:16: style: The scope of the variable 'LastDistance' can be reduced. [variableScope] hashcat-6.2.5/deps/unrar/unpack15.cpp:324:16: style: The scope of the variable 'Length' can be reduced. [variableScope] hashcat-6.2.5/deps/unrar/unpack15.cpp:325:16: style: The scope of the variable 'Distance' can be reduced. [variableScope] hashcat-6.2.5/deps/unrar/unpack50.cpp:354:25: style: Local variable 'flt' shadows outer variable [shadowVariable] hashcat-6.2.5/deps/unrar/unpack50.cpp:269:19: note: Shadowed declaration hashcat-6.2.5/deps/unrar/unpack50.cpp:354:25: note: Shadow variable hashcat-6.2.5/deps/unrar/unpack30.cpp:241:23: warning: Either the condition 'Number<272' is redundant or the array 'SDBits[8]' is accessed at index 8, which is out of bounds. [arrayIndexOutOfBoundsCond] hashcat-6.2.5/deps/unrar/unpack30.cpp:238:15: note: Assuming that condition 'Number<272' is not redundant hashcat-6.2.5/deps/unrar/unpack30.cpp:240:30: note: Compound assignment '-=', assigned value is 8 hashcat-6.2.5/deps/unrar/unpack30.cpp:241:23: note: Array index out of bounds hashcat-6.2.5/deps/unrar/uowners.cpp:17:11: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] hashcat-6.2.5/deps/unrar/uowners.cpp:28:11: portability: Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'. [prohibitedgetgrnamCalled] hashcat-6.2.5/deps/unrar/uowners.cpp:63:11: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] hashcat-6.2.5/deps/unrar/uowners.cpp:72:11: portability: Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'. [prohibitedgetgrnamCalled] hashcat-6.2.5/deps/unrar/uowners.cpp:105:13: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] hashcat-6.2.5/deps/unrar/uowners.cpp:120:13: portability: Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'. [prohibitedgetgrnamCalled] hashcat-6.2.5/deps/unrar/unpack30.cpp:22:14: style: The scope of the variable 'DBitLengthCounts' can be reduced. [variableScope] hashcat-6.2.5/deps/unrar/unpack30.cpp:106:17: style: Local variable 'Ch' shadows outer variable [shadowVariable] hashcat-6.2.5/deps/unrar/unpack30.cpp:74:11: note: Shadowed declaration hashcat-6.2.5/deps/unrar/unpack30.cpp:106:17: note: Shadow variable hashcat-6.2.5/deps/unrar/unpack30.cpp:583:31: style: Local variable 'ParentPrg' shadows outer variable [shadowVariable] hashcat-6.2.5/deps/unrar/unpack30.cpp:561:29: note: Shadowed declaration hashcat-6.2.5/deps/unrar/unpack30.cpp:583:31: note: Shadow variable hashcat-6.2.5/deps/unrar/unpack30.cpp:606:27: style: Local variable 'flt' shadows outer variable [shadowVariable] hashcat-6.2.5/deps/unrar/unpack30.cpp:531:21: note: Shadowed declaration hashcat-6.2.5/deps/unrar/unpack30.cpp:606:27: note: Shadow variable hashcat-6.2.5/deps/unrar/unpack30.cpp:561:38: style: Variable 'ParentPrg' is assigned a value that is never used. [unreadVariable] hashcat-6.2.5/deps/unrar/unpack30.cpp:583:40: style: Variable 'ParentPrg' is assigned a value that is never used. [unreadVariable] hashcat-6.2.5/deps/unrar/unpack50mt.cpp:14:28: style: C-style pointer casting [cstyleCast] hashcat-6.2.5/deps/unrar/unpack50mt.cpp:47:26: style: C-style pointer casting [cstyleCast] hashcat-6.2.5/deps/unrar/unpack50mt.cpp:337:17: style: C-style pointer casting [cstyleCast] hashcat-6.2.5/src/convert.c:930:9: style: Variable 'v.v32' is assigned a value that is never used. [unreadVariable] hashcat-6.2.5/src/convert.c:939:9: style: Variable 'v.v32' is assigned a value that is never used. [unreadVariable] hashcat-6.2.5/src/convert.c:948:9: style: Variable 'v.v32' is assigned a value that is never used. [unreadVariable] hashcat-6.2.5/src/convert.c:957:9: style: Variable 'v.v32' is assigned a value that is never used. [unreadVariable] hashcat-6.2.5/src/convert.c:966:9: style: Variable 'v.v32' is assigned a value that is never used. [unreadVariable] hashcat-6.2.5/src/convert.c:975:9: style: Variable 'v.v32' is assigned a value that is never used. [unreadVariable] hashcat-6.2.5/src/convert.c:994:9: style: Variable 'v.v64' is assigned a value that is never used. [unreadVariable] hashcat-6.2.5/src/convert.c:1003:9: style: Variable 'v.v64' is assigned a value that is never used. [unreadVariable] hashcat-6.2.5/src/dispatch.c:1054:21: style: Variable 'words_cur' is assigned a value that is never used. [unreadVariable] hashcat-6.2.5/src/dispatch.c:1149:23: style: Variable 'words_cur' is assigned a value that is never used. [unreadVariable] hashcat-6.2.5/src/dispatch.c:1389:23: style: Variable 'words_off' is assigned a value that is never used. [unreadVariable] hashcat-6.2.5/src/event.c:39:14: style: The if condition is the same as the previous if condition [duplicateCondition] hashcat-6.2.5/src/event.c:32:14: note: First condition hashcat-6.2.5/src/event.c:39:14: note: Second condition hashcat-6.2.5/src/folder.c:64:0: error: #error Your Operating System is not supported or detected [preprocessorErrorDirective] hashcat-6.2.5/src/filehandling.c:40:22: style: struct member 'xzfile::inBuf' is never used. [unusedStructMember] hashcat-6.2.5/src/filehandling.c:41:22: style: struct member 'xzfile::inEof' is never used. [unusedStructMember] hashcat-6.2.5/src/filehandling.c:442:14: style: Variable 'res' is assigned a value that is never used. [unreadVariable] hashcat-6.2.5/src/filehandling.c:783:14: style: Variable 'res' is assigned a value that is never used. [unreadVariable] hashcat-6.2.5/src/hashcat.c:63:45: style: Variable 'logfile_ctx' is assigned a value that is never used. [unreadVariable] hashcat-6.2.5/src/hashcat.c:1500:34: style: Variable 'logfile_ctx' is assigned a value that is never used. [unreadVariable] hashcat-6.2.5/src/hashes.c:318:10: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] hashcat-6.2.5/src/hashes.c:2391:30: style: Variable 'logfile_ctx' is assigned a value that is never used. [unreadVariable] hashcat-6.2.5/src/hwmon.c:1204:3: style:inconclusive: Statements following return, break, continue, goto or throw will never be executed. [unreachableCode] hashcat-6.2.5/src/hwmon.c:1195:32: style: Variable 'backend_ctx' is assigned a value that is never used. [unreadVariable] hashcat-6.2.5/src/hwmon.c:1196:32: style: Variable 'user_options' is assigned a value that is never used. [unreadVariable] hashcat-6.2.5/src/brain.c:1563:19: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] hashcat-6.2.5/src/brain.c:1762:19: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] hashcat-6.2.5/src/main.c:453:12: style: Local variable 'buf' shadows outer argument [shadowArgument] hashcat-6.2.5/src/main.c:436:106: note: Shadowed declaration hashcat-6.2.5/src/main.c:453:12: note: Shadow variable hashcat-6.2.5/src/main.c:455:14: style: Local variable 'len' shadows outer argument [shadowArgument] hashcat-6.2.5/src/main.c:436:137: note: Shadowed declaration hashcat-6.2.5/src/main.c:455:14: note: Shadow variable hashcat-6.2.5/src/modules/module_00022.c:81:8: style: Variable 'pos' can be declared as const array [constVariable] hashcat-6.2.5/src/modules/module_00022.c:80:8: style: Variable 'sig' can be declared as const array [constVariable] hashcat-6.2.5/src/modules/module_00022.c:183:8: style: Variable 'sig' can be declared as const array [constVariable] hashcat-6.2.5/src/modules/module_06400.c:233:25: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] hashcat-6.2.5/src/modules/module_06700.c:168:25: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] hashcat-6.2.5/src/modules/module_07400.c:230:26: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] hashcat-6.2.5/src/modules/module_07401.c:231:26: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] hashcat-6.2.5/src/interface.c:403:24: style:inconclusive: Boolean expression 'hashconfig->salt_type==SALT_TYPE_GENERIC' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] hashcat-6.2.5/src/interface.c:404:24: style:inconclusive: Boolean expression 'hashconfig->salt_type==SALT_TYPE_VIRTUAL' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] hashcat-6.2.5/src/modules/module_13400.c:142:16: style: Condition 'line_len<16' is always false [knownConditionTrueFalse] hashcat-6.2.5/src/modules/module_13400.c:107:16: note: Assuming that condition 'line_len<128' is not redundant hashcat-6.2.5/src/modules/module_13400.c:142:16: note: Condition 'line_len<16' is always false hashcat-6.2.5/src/modules/module_14600.c:81:13: style: struct member 'luks_phdr::mkDigestSalt' is never used. [unusedStructMember] hashcat-6.2.5/src/modules/module_14600.c:82:13: style: struct member 'luks_phdr::mkDigestIterations' is never used. [unusedStructMember] hashcat-6.2.5/src/modules/module_14600.c:83:13: style: struct member 'luks_phdr::uuid' is never used. [unusedStructMember] hashcat-6.2.5/src/modules/module_14600.c:94:14: style: struct member 'luks_phdr::_padding' is never used. [unusedStructMember] hashcat-6.2.5/src/modules/module_14700.c:246:12: style: Variable 'dpic' is assigned a value that is never used. [unreadVariable] hashcat-6.2.5/src/modules/module_14800.c:252:12: style: Variable 'dpic' is assigned a value that is never used. [unreadVariable] hashcat-6.2.5/src/modules/module_22700.c:376:24: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] hashcat-6.2.5/src/modules/module_23900.c:159:21: warning: Redundant assignment of 'salt->salt_buf[0]' to itself. [selfAssignment] hashcat-6.2.5/src/modules/module_23900.c:160:21: warning: Redundant assignment of 'salt->salt_buf[1]' to itself. [selfAssignment] hashcat-6.2.5/src/modules/module_25400.c:321:35: error: Using pointer to local variable 'tmp_buf' that is out of scope. [invalidLifetime] hashcat-6.2.5/src/modules/module_25400.c:238:17: note: Array decayed to pointer here. hashcat-6.2.5/src/modules/module_25400.c:233:10: note: Variable created here. hashcat-6.2.5/src/modules/module_25400.c:321:35: note: Using pointer to local variable 'tmp_buf' that is out of scope. hashcat-6.2.5/src/monitor.c:88:26: style: The if condition is the same as the previous if condition [duplicateCondition] hashcat-6.2.5/src/monitor.c:83:26: note: First condition hashcat-6.2.5/src/monitor.c:88:26: note: Second condition hashcat-6.2.5/src/rp.c:741:16: style: Variable 'rule_len' is assigned a value that is never used. [unreadVariable] hashcat-6.2.5/src/mpsp.c:1216:44: style: Variable 'logfile_ctx' is assigned a value that is never used. [unreadVariable] hashcat-6.2.5/src/potfile.c:94:27: style: Variable 'entry' is assigned a value that is never used. [unreadVariable] hashcat-6.2.5/src/slow_candidates.c:65:48: error: Using pointer to local variable 'rule_buf_out' that is out of scope. [invalidLifetime] hashcat-6.2.5/src/slow_candidates.c:58:24: note: Array decayed to pointer here. hashcat-6.2.5/src/slow_candidates.c:46:16: note: Variable created here. hashcat-6.2.5/src/slow_candidates.c:65:48: note: Using pointer to local variable 'rule_buf_out' that is out of scope. hashcat-6.2.5/src/slow_candidates.c:114:45: error: Using pointer to local variable 'rule_buf_out' that is out of scope. [invalidLifetime] hashcat-6.2.5/src/slow_candidates.c:107:24: note: Array decayed to pointer here. hashcat-6.2.5/src/slow_candidates.c:95:16: note: Variable created here. hashcat-6.2.5/src/slow_candidates.c:114:45: note: Using pointer to local variable 'rule_buf_out' that is out of scope. hashcat-6.2.5/src/slow_candidates.c:206:46: error: Using pointer to local variable 'rule_buf_out' that is out of scope. [invalidLifetime] hashcat-6.2.5/src/slow_candidates.c:199:22: note: Array decayed to pointer here. hashcat-6.2.5/src/slow_candidates.c:187:14: note: Variable created here. hashcat-6.2.5/src/slow_candidates.c:206:46: note: Using pointer to local variable 'rule_buf_out' that is out of scope. hashcat-6.2.5/src/slow_candidates.c:278:43: error: Using pointer to local variable 'rule_buf_out' that is out of scope. [invalidLifetime] hashcat-6.2.5/src/slow_candidates.c:271:22: note: Array decayed to pointer here. hashcat-6.2.5/src/slow_candidates.c:259:14: note: Variable created here. hashcat-6.2.5/src/slow_candidates.c:278:43: note: Using pointer to local variable 'rule_buf_out' that is out of scope. hashcat-6.2.5/src/slow_candidates.c:65:48: warning: Possible null pointer dereference: line_buf [nullPointer] hashcat-6.2.5/src/slow_candidates.c:35:26: note: Assignment 'line_buf=NULL', assigned value is 0 hashcat-6.2.5/src/slow_candidates.c:38:16: note: Assuming condition is false hashcat-6.2.5/src/slow_candidates.c:65:48: note: Null pointer dereference hashcat-6.2.5/src/slow_candidates.c:114:45: warning: Possible null pointer dereference: line_buf [nullPointer] hashcat-6.2.5/src/slow_candidates.c:86:26: note: Assignment 'line_buf=NULL', assigned value is 0 hashcat-6.2.5/src/slow_candidates.c:89:16: note: Assuming condition is false hashcat-6.2.5/src/slow_candidates.c:114:45: note: Null pointer dereference hashcat-6.2.5/src/slow_candidates.c:206:46: warning: Possible null pointer dereference: line_buf [nullPointer] hashcat-6.2.5/src/slow_candidates.c:176:24: note: Assignment 'line_buf=NULL', assigned value is 0 hashcat-6.2.5/src/slow_candidates.c:179:14: note: Assuming condition is false hashcat-6.2.5/src/slow_candidates.c:206:46: note: Null pointer dereference hashcat-6.2.5/src/slow_candidates.c:278:43: warning: Possible null pointer dereference: line_buf [nullPointer] hashcat-6.2.5/src/slow_candidates.c:250:24: note: Assignment 'line_buf=NULL', assigned value is 0 hashcat-6.2.5/src/slow_candidates.c:253:14: note: Assuming condition is false hashcat-6.2.5/src/slow_candidates.c:278:43: note: Null pointer dereference hashcat-6.2.5/src/slow_candidates.c:122:22: style: Variable 'line_len' is assigned a value that is never used. [unreadVariable] hashcat-6.2.5/src/stdout.c:103:17: style: Variable 'plain_len' is assigned a value that is never used. [unreadVariable] hashcat-6.2.5/src/stdout.c:170:24: style: Variable 'plain_buf[i]' is assigned a value that is never used. [unreadVariable] hashcat-6.2.5/src/stdout.c:240:24: style: Variable 'plain_buf[i]' is assigned a value that is never used. [unreadVariable] hashcat-6.2.5/src/status.c:978:17: style: Obsolescent function 'ctime_r' called. It is recommended to use 'strftime' instead. [prohibitedctime_rCalled] hashcat-6.2.5/src/status.c:1063:11: style: Obsolescent function 'ctime_r' called. It is recommended to use 'strftime' instead. [prohibitedctime_rCalled] hashcat-6.2.5/src/straight.c:47:44: style: Variable 'logfile_ctx' is assigned a value that is never used. [unreadVariable] hashcat-6.2.5/src/terminal.c:122:50: style: Obsolescent function 'ctime_r' called. It is recommended to use 'strftime' instead. [prohibitedctime_rCalled] hashcat-6.2.5/src/terminal.c:123:50: style: Obsolescent function 'ctime_r' called. It is recommended to use 'strftime' instead. [prohibitedctime_rCalled] hashcat-6.2.5/src/terminal.c:205:53: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] hashcat-6.2.5/src/terminal.c:274:32: style: Obsolescent function 'ctime_r' called. It is recommended to use 'strftime' instead. [prohibitedctime_rCalled] hashcat-6.2.5/src/terminal.c:309:33: style: Obsolescent function 'ctime_r' called. It is recommended to use 'strftime' instead. [prohibitedctime_rCalled] hashcat-6.2.5/src/terminal.c:1829:35: style: The if condition is the same as the previous if condition [duplicateCondition] hashcat-6.2.5/src/terminal.c:1803:35: note: First condition hashcat-6.2.5/src/terminal.c:1829:35: note: Second condition hashcat-6.2.5/src/user_options.c:3054:32: style: Variable 'logfile_ctx' is assigned a value that is never used. [unreadVariable] hashcat-6.2.5/src/backend.c:5582:90: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] hashcat-6.2.5/src/backend.c:5583:90: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] hashcat-6.2.5/src/backend.c:5584:90: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] hashcat-6.2.5/src/backend.c:5585:90: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] hashcat-6.2.5/src/backend.c:5586:90: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] hashcat-6.2.5/src/backend.c:5587:90: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] hashcat-6.2.5/src/backend.c:5588:90: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] hashcat-6.2.5/src/backend.c:5589:90: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] hashcat-6.2.5/src/backend.c:5590:90: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] hashcat-6.2.5/src/backend.c:5591:90: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] hashcat-6.2.5/src/backend.c:5592:90: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] hashcat-6.2.5/src/backend.c:5593:90: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] hashcat-6.2.5/src/backend.c:5594:90: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] hashcat-6.2.5/src/backend.c:4565:9: style: The if condition is the same as the previous if condition [duplicateCondition] hashcat-6.2.5/src/backend.c:4447:9: note: First condition hashcat-6.2.5/src/backend.c:4565:9: note: Second condition hashcat-6.2.5/src/backend.c:4778:9: style: The if condition is the same as the previous if condition [duplicateCondition] hashcat-6.2.5/src/backend.c:4721:9: note: First condition hashcat-6.2.5/src/backend.c:4778:9: note: Second condition hashcat-6.2.5/src/backend.c:7890:37: style: The if condition is the same as the previous if condition [duplicateCondition] hashcat-6.2.5/src/backend.c:7889:37: note: First condition hashcat-6.2.5/src/backend.c:7890:37: note: Second condition hashcat-6.2.5/src/backend.c:7891:37: style: The if condition is the same as the previous if condition [duplicateCondition] hashcat-6.2.5/src/backend.c:7890:37: note: First condition hashcat-6.2.5/src/backend.c:7891:37: note: Second condition hashcat-6.2.5/src/backend.c:7897:37: style: The if condition is the same as the previous if condition [duplicateCondition] hashcat-6.2.5/src/backend.c:7896:37: note: First condition hashcat-6.2.5/src/backend.c:7897:37: note: Second condition hashcat-6.2.5/src/backend.c:7898:37: style: The if condition is the same as the previous if condition [duplicateCondition] hashcat-6.2.5/src/backend.c:7897:37: note: First condition hashcat-6.2.5/src/backend.c:7898:37: note: Second condition hashcat-6.2.5/src/backend.c:8274:37: style: The if condition is the same as the previous if condition [duplicateCondition] hashcat-6.2.5/src/backend.c:8273:37: note: First condition hashcat-6.2.5/src/backend.c:8274:37: note: Second condition hashcat-6.2.5/src/backend.c:8275:37: style: The if condition is the same as the previous if condition [duplicateCondition] hashcat-6.2.5/src/backend.c:8274:37: note: First condition hashcat-6.2.5/src/backend.c:8275:37: note: Second condition hashcat-6.2.5/src/backend.c:8281:37: style: The if condition is the same as the previous if condition [duplicateCondition] hashcat-6.2.5/src/backend.c:8280:37: note: First condition hashcat-6.2.5/src/backend.c:8281:37: note: Second condition hashcat-6.2.5/src/backend.c:8282:37: style: The if condition is the same as the previous if condition [duplicateCondition] hashcat-6.2.5/src/backend.c:8281:37: note: First condition hashcat-6.2.5/src/backend.c:8282:37: note: Second condition hashcat-6.2.5/src/backend.c:8934:41: style: The if condition is the same as the previous if condition [duplicateCondition] hashcat-6.2.5/src/backend.c:8933:41: note: First condition hashcat-6.2.5/src/backend.c:8934:41: note: Second condition hashcat-6.2.5/src/backend.c:8935:41: style: The if condition is the same as the previous if condition [duplicateCondition] hashcat-6.2.5/src/backend.c:8934:41: note: First condition hashcat-6.2.5/src/backend.c:8935:41: note: Second condition hashcat-6.2.5/src/backend.c:8960:37: style: The if condition is the same as the previous if condition [duplicateCondition] hashcat-6.2.5/src/backend.c:8959:37: note: First condition hashcat-6.2.5/src/backend.c:8960:37: note: Second condition hashcat-6.2.5/src/backend.c:8961:37: style: The if condition is the same as the previous if condition [duplicateCondition] hashcat-6.2.5/src/backend.c:8960:37: note: First condition hashcat-6.2.5/src/backend.c:8961:37: note: Second condition hashcat-6.2.5/src/backend.c:9413:43: style: The if condition is the same as the previous if condition [duplicateCondition] hashcat-6.2.5/src/backend.c:9412:43: note: First condition hashcat-6.2.5/src/backend.c:9413:43: note: Second condition hashcat-6.2.5/src/backend.c:9414:43: style: The if condition is the same as the previous if condition [duplicateCondition] hashcat-6.2.5/src/backend.c:9413:43: note: First condition hashcat-6.2.5/src/backend.c:9414:43: note: Second condition hashcat-6.2.5/src/backend.c:9420:43: style: The if condition is the same as the previous if condition [duplicateCondition] hashcat-6.2.5/src/backend.c:9419:43: note: First condition hashcat-6.2.5/src/backend.c:9420:43: note: Second condition hashcat-6.2.5/src/backend.c:9421:43: style: The if condition is the same as the previous if condition [duplicateCondition] hashcat-6.2.5/src/backend.c:9420:43: note: First condition hashcat-6.2.5/src/backend.c:9421:43: note: Second condition hashcat-6.2.5/src/backend.c:10210:34: style: The if condition is the same as the previous if condition [duplicateCondition] hashcat-6.2.5/src/backend.c:10191:34: note: First condition hashcat-6.2.5/src/backend.c:10210:34: note: Second condition hashcat-6.2.5/src/backend.c:10457:35: style: The if condition is the same as the previous if condition [duplicateCondition] hashcat-6.2.5/src/backend.c:10438:35: note: First condition hashcat-6.2.5/src/backend.c:10457:35: note: Second condition hashcat-6.2.5/src/backend.c:10588:17: style: The if condition is the same as the previous if condition [duplicateCondition] hashcat-6.2.5/src/backend.c:10558:17: note: First condition hashcat-6.2.5/src/backend.c:10588:17: note: Second condition hashcat-6.2.5/src/backend.c:14742:37: style: The if condition is the same as the previous if condition [duplicateCondition] hashcat-6.2.5/src/backend.c:14741:37: note: First condition hashcat-6.2.5/src/backend.c:14742:37: note: Second condition hashcat-6.2.5/src/backend.c:14743:37: style: The if condition is the same as the previous if condition [duplicateCondition] hashcat-6.2.5/src/backend.c:14742:37: note: First condition hashcat-6.2.5/src/backend.c:14743:37: note: Second condition hashcat-6.2.5/src/backend.c:14744:37: style: The if condition is the same as the previous if condition [duplicateCondition] hashcat-6.2.5/src/backend.c:14743:37: note: First condition hashcat-6.2.5/src/backend.c:14744:37: note: Second condition hashcat-6.2.5/src/backend.c:14745:37: style: The if condition is the same as the previous if condition [duplicateCondition] hashcat-6.2.5/src/backend.c:14744:37: note: First condition hashcat-6.2.5/src/backend.c:14745:37: note: Second condition hashcat-6.2.5/src/backend.c:14746:37: style: The if condition is the same as the previous if condition [duplicateCondition] hashcat-6.2.5/src/backend.c:14745:37: note: First condition hashcat-6.2.5/src/backend.c:14746:37: note: Second condition hashcat-6.2.5/src/backend.c:14747:37: style: The if condition is the same as the previous if condition [duplicateCondition] hashcat-6.2.5/src/backend.c:14746:37: note: First condition hashcat-6.2.5/src/backend.c:14747:37: note: Second condition hashcat-6.2.5/src/backend.c:14748:37: style: The if condition is the same as the previous if condition [duplicateCondition] hashcat-6.2.5/src/backend.c:14747:37: note: First condition hashcat-6.2.5/src/backend.c:14748:37: note: Second condition hashcat-6.2.5/src/backend.c:8208:43: style: Condition 'device_max_constant_buffer_size<65536' is always false [knownConditionTrueFalse] hashcat-6.2.5/src/backend.c:8206:41: note: Assignment 'device_max_constant_buffer_size=65536', assigned value is 65536 hashcat-6.2.5/src/backend.c:8208:43: note: Condition 'device_max_constant_buffer_size<65536' is always false hashcat-6.2.5/src/backend.c:9343:30: style: The comparison 'amd_warn == true' is always true because 'amd_warn' and 'true' represent the same value. [knownConditionTrueFalse] hashcat-6.2.5/src/backend.c:9326:33: note: 'amd_warn' is assigned value 'true' here. hashcat-6.2.5/src/backend.c:9343:30: note: The comparison 'amd_warn == true' is always true because 'amd_warn' and 'true' represent the same value. hashcat-6.2.5/src/backend.c:7421:28: style: Local variable 'backend_ctx' shadows outer variable [shadowVariable] hashcat-6.2.5/src/backend.c:6933:19: note: Shadowed declaration hashcat-6.2.5/src/backend.c:7421:28: note: Shadow variable hashcat-6.2.5/src/backend.c:8452:26: style: Local variable 'backend_ctx' shadows outer variable [shadowVariable] hashcat-6.2.5/src/backend.c:7578:19: note: Shadowed declaration hashcat-6.2.5/src/backend.c:8452:26: note: Shadow variable hashcat-6.2.5/src/backend.c:11856:17: style: Local variable 'md5_ctx' shadows outer variable [shadowVariable] hashcat-6.2.5/src/backend.c:11510:15: note: Shadowed declaration hashcat-6.2.5/src/backend.c:11856:17: note: Shadow variable hashcat-6.2.5/src/backend.c:7036:21: style: Variable 'rc_nvrtc_init' is assigned a value that is never used. [unreadVariable] hashcat-6.2.5/src/backend.c:7172:19: style: Variable 'rc_ocl_init' is assigned a value that is never used. [unreadVariable] diff: head hashcat-6.2.5/deps/LZMA-SDK/C/7zDec.c:407:16: style: Variable 'indices' can be declared as const array [constVariable] 2.8 hashcat-6.2.5/deps/LZMA-SDK/C/7zDec.c:407:16: style: Variable 'indices' can be declared with const [constVariable] head hashcat-6.2.5/deps/unrar/crypt5.cpp:104:9: style: Variable 'CurCount' can be declared as const array [constVariable] 2.8 hashcat-6.2.5/deps/unrar/crypt5.cpp:104:9: style: Variable 'CurCount' can be declared with const [constVariable] head hashcat-6.2.5/src/modules/module_00022.c:183:8: style: Variable 'sig' can be declared as const array [constVariable] 2.8 hashcat-6.2.5/src/modules/module_00022.c:183:8: style: Variable 'sig' can be declared with const [constVariable] head hashcat-6.2.5/src/modules/module_00022.c:80:8: style: Variable 'sig' can be declared as const array [constVariable] 2.8 hashcat-6.2.5/src/modules/module_00022.c:80:8: style: Variable 'sig' can be declared with const [constVariable] head hashcat-6.2.5/src/modules/module_00022.c:81:8: style: Variable 'pos' can be declared as const array [constVariable] 2.8 hashcat-6.2.5/src/modules/module_00022.c:81:8: style: Variable 'pos' can be declared with const [constVariable] head hashcat-6.2.5/src/modules/module_06400.c:233:25: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head hashcat-6.2.5/src/modules/module_06700.c:168:25: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head hashcat-6.2.5/src/modules/module_07400.c:230:26: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head hashcat-6.2.5/src/modules/module_07401.c:231:26: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] DONE