2025-11-22 17:49 ftp://ftp.de.debian.org/debian/pool/main/m/mosh/mosh_1.4.0.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=bsd --library=zlib --library=openssl --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.12.57+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.67 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.18.0 head-info: cb76e52 (2025-11-22 14:47:37 +0100) count: 274 275 elapsed-time: 0.6 0.6 head-timing-info: old-timing-info: head results: mosh-1.4.0/src/crypto/ocb_internal.cc:33:0: error: #error ocb_internal.cc only works with OpenSSL, Apple Common Crypto, or Nettle [preprocessorErrorDirective] mosh-1.4.0/src/crypto/base64.cc:67:29: style: Parameter 'raw_len' can be declared as pointer to const [constParameterPointer] mosh-1.4.0/src/examples/benchmark.cc:75:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/crypto/ocb_openssl.cc:47:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EVP_CTRL_AEAD_SET_IVLEN [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/crypto/ocb_openssl.cc:126:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EVP_CTRL_AEAD_GET_TAG [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/crypto/ocb_openssl.cc:181:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EVP_CTRL_AEAD_SET_TAG [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/examples/decrypt.cc:44:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/crypto/crypto.cc:53:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/crypto/crypto.cc:260:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/crypto/crypto.cc:294:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RLIMIT_CORE [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/crypto/crypto.cc:312:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RLIMIT_CORE [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/examples/encrypt.cc:44:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/examples/ntester.cc:69:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/examples/ntester.cc:48:9: style: The scope of the variable 'key' can be reduced. [variableScope] mosh-1.4.0/src/examples/ntester.cc:49:9: style: The scope of the variable 'ip' can be reduced. [variableScope] mosh-1.4.0/src/examples/ntester.cc:50:9: style: The scope of the variable 'port' can be reduced. [variableScope] mosh-1.4.0/src/examples/ntester.cc:131:6: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mosh-1.4.0/src/examples/ntester.cc:151:8: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mosh-1.4.0/src/crypto/crypto.h:55:5: style: Class 'CryptoException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mosh-1.4.0/src/crypto/crypto.h:76:5: style: Class 'AlignedBuffer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mosh-1.4.0/src/crypto/crypto.h:97:5: style: Class 'Base64Key' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mosh-1.4.0/src/crypto/crypto.h:98:5: style: Class 'Base64Key' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mosh-1.4.0/src/crypto/crypto.h:111:5: style: Class 'Nonce' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mosh-1.4.0/src/crypto/crypto.h:150:5: style: Class 'Session' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mosh-1.4.0/src/crypto/crypto.cc:259:15: style: Condition 'pt_len<0' is always false [knownConditionTrueFalse] mosh-1.4.0/src/crypto/crypto.cc:252:12: note: Assuming that condition 'len<24' is not redundant mosh-1.4.0/src/crypto/crypto.cc:256:22: note: Assignment 'body_len=len-8', assigned value is 16 mosh-1.4.0/src/crypto/crypto.cc:257:25: note: Assignment 'pt_len=body_len-16', assigned value is greater than -1 mosh-1.4.0/src/crypto/crypto.cc:259:15: note: Condition 'pt_len<0' is always false mosh-1.4.0/src/crypto/crypto.cc:101:12: style: C-style pointer casting [cstyleCast] mosh-1.4.0/src/crypto/crypto.cc:160:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] mosh-1.4.0/src/crypto/crypto.cc:110:30: performance: Function parameter 'printable_key' should be passed by const reference. [passedByValue] mosh-1.4.0/src/crypto/byteorder.h:74:11: style: Variable 'xs' can be declared as const array [constVariable] mosh-1.4.0/src/crypto/byteorder.h:108:11: style: Variable 'xs' can be declared as const array [constVariable] mosh-1.4.0/src/examples/parse.cc:92:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/examples/parse.cc:161:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/examples/parse.cc:215:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/frontend/mosh-client.cc:70:0: error: #error "SysV or X/Open-compatible Curses header file required" [preprocessorErrorDirective] mosh-1.4.0/src/examples/termemu.cc:96:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/examples/termemu.cc:223:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIOCGWINSZ [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/examples/parse.cc:200:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mosh-1.4.0/src/crypto/ocb_openssl.cc:182:20: style: C-style pointer casting [cstyleCast] mosh-1.4.0/src/crypto/ocb_openssl.cc:89:41: style:inconclusive: Function 'ae_encrypt' argument 2 names different: declaration 'nonce' definition 'nonce_ptr'. [funcArgNamesDifferent] mosh-1.4.0/src/crypto/ae.h:99:28: note: Function 'ae_encrypt' argument 2 names different: declaration 'nonce' definition 'nonce_ptr'. mosh-1.4.0/src/crypto/ocb_openssl.cc:89:41: note: Function 'ae_encrypt' argument 2 names different: declaration 'nonce' definition 'nonce_ptr'. mosh-1.4.0/src/crypto/ocb_openssl.cc:89:64: style:inconclusive: Function 'ae_encrypt' argument 3 names different: declaration 'pt' definition 'pt_ptr'. [funcArgNamesDifferent] mosh-1.4.0/src/crypto/ae.h:100:28: note: Function 'ae_encrypt' argument 3 names different: declaration 'pt' definition 'pt_ptr'. mosh-1.4.0/src/crypto/ocb_openssl.cc:89:64: note: Function 'ae_encrypt' argument 3 names different: declaration 'pt' definition 'pt_ptr'. mosh-1.4.0/src/crypto/ocb_openssl.cc:90:33: style:inconclusive: Function 'ae_encrypt' argument 5 names different: declaration 'ad' definition 'ad_ptr'. [funcArgNamesDifferent] mosh-1.4.0/src/crypto/ae.h:102:28: note: Function 'ae_encrypt' argument 5 names different: declaration 'ad' definition 'ad_ptr'. mosh-1.4.0/src/crypto/ocb_openssl.cc:90:33: note: Function 'ae_encrypt' argument 5 names different: declaration 'ad' definition 'ad_ptr'. mosh-1.4.0/src/crypto/ocb_openssl.cc:90:59: style:inconclusive: Function 'ae_encrypt' argument 7 names different: declaration 'ct' definition 'ct_ptr'. [funcArgNamesDifferent] mosh-1.4.0/src/crypto/ae.h:104:28: note: Function 'ae_encrypt' argument 7 names different: declaration 'ct' definition 'ct_ptr'. mosh-1.4.0/src/crypto/ocb_openssl.cc:90:59: note: Function 'ae_encrypt' argument 7 names different: declaration 'ct' definition 'ct_ptr'. mosh-1.4.0/src/crypto/ocb_openssl.cc:137:41: style:inconclusive: Function 'ae_decrypt' argument 2 names different: declaration 'nonce' definition 'nonce_ptr'. [funcArgNamesDifferent] mosh-1.4.0/src/crypto/ae.h:136:28: note: Function 'ae_decrypt' argument 2 names different: declaration 'nonce' definition 'nonce_ptr'. mosh-1.4.0/src/crypto/ocb_openssl.cc:137:41: note: Function 'ae_decrypt' argument 2 names different: declaration 'nonce' definition 'nonce_ptr'. mosh-1.4.0/src/crypto/ocb_openssl.cc:137:64: style:inconclusive: Function 'ae_decrypt' argument 3 names different: declaration 'ct' definition 'ct_ptr'. [funcArgNamesDifferent] mosh-1.4.0/src/crypto/ae.h:137:28: note: Function 'ae_decrypt' argument 3 names different: declaration 'ct' definition 'ct_ptr'. mosh-1.4.0/src/crypto/ocb_openssl.cc:137:64: note: Function 'ae_decrypt' argument 3 names different: declaration 'ct' definition 'ct_ptr'. mosh-1.4.0/src/crypto/ocb_openssl.cc:138:33: style:inconclusive: Function 'ae_decrypt' argument 5 names different: declaration 'ad' definition 'ad_ptr'. [funcArgNamesDifferent] mosh-1.4.0/src/crypto/ae.h:139:28: note: Function 'ae_decrypt' argument 5 names different: declaration 'ad' definition 'ad_ptr'. mosh-1.4.0/src/crypto/ocb_openssl.cc:138:33: note: Function 'ae_decrypt' argument 5 names different: declaration 'ad' definition 'ad_ptr'. mosh-1.4.0/src/crypto/ocb_openssl.cc:138:59: style:inconclusive: Function 'ae_decrypt' argument 7 names different: declaration 'pt' definition 'pt_ptr'. [funcArgNamesDifferent] mosh-1.4.0/src/crypto/ae.h:141:28: note: Function 'ae_decrypt' argument 7 names different: declaration 'pt' definition 'pt_ptr'. mosh-1.4.0/src/crypto/ocb_openssl.cc:138:59: note: Function 'ae_decrypt' argument 7 names different: declaration 'pt' definition 'pt_ptr'. mosh-1.4.0/src/frontend/mosh-server.cc:113:26: error: There is an unknown macro here somewhere. Configuration is required. If PACKAGE_STRING is a macro then please configure it. [unknownMacro] mosh-1.4.0/src/examples/termemu.cc:127:22: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] mosh-1.4.0/src/examples/termemu.cc:127:17: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] mosh-1.4.0/src/frontend/terminaloverlay.h:188:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACK_INTERVAL [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/frontend/stmclient.h:119:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/frontend/stmclient.cc:71:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCSANOW [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/frontend/stmclient.cc:89:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/frontend/stmclient.cc:212:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCSANOW [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/frontend/stmclient.cc:239:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIOCGWINSZ [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/frontend/stmclient.cc:295:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/frontend/stmclient.cc:349:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCSANOW [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/frontend/stmclient.cc:403:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIOCGWINSZ [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/frontend/stmclient.cc:534:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/network/transportfragment.h:69:5: style: Class 'Fragment' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mosh-1.4.0/src/network/transportfragment.cc:47:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] mosh-1.4.0/src/network/transportfragment.cc:53:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] mosh-1.4.0/src/network/transportfragment.cc:83:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] mosh-1.4.0/src/network/transportfragment.cc:91:48: style:inconclusive: Function 'add_fragment' argument 1 names different: declaration 'inst' definition 'frag'. [funcArgNamesDifferent] mosh-1.4.0/src/network/transportfragment.h:85:34: note: Function 'add_fragment' argument 1 names different: declaration 'inst' definition 'frag'. mosh-1.4.0/src/network/transportfragment.cc:91:48: note: Function 'add_fragment' argument 1 names different: declaration 'inst' definition 'frag'. mosh-1.4.0/src/frontend/terminaloverlay.cc:325:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACK_INTERVAL [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/frontend/terminaloverlay.cc:646:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable col [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/network/network.cc:155:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/network/network.cc:273:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/network/network.cc:295:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/network/network.cc:379:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/network/network.cc:404:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_NONBLOCK [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/network/network.cc:441:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAGAIN [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/network/network.cc:463:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RECEIVE_MTU [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/network/network.cc:582:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/network/network.cc:643:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/network/network.cc:650:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/network/network.cc:664:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/statesync/completeterminal.cc:79:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable echoack [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/statesync/completeterminal.cc:110:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hostbytes [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/statesync/completeterminal.cc:194:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/statesync/completeterminal.h:77:10: performance:inconclusive: Technically the member function 'Terminal::Complete::subtract' can be static (but you may consider moving to unnamed namespace). [functionStatic] mosh-1.4.0/src/statesync/completeterminal.cc:55:15: style: Local variable 'act' shadows outer function [shadowFunction] mosh-1.4.0/src/statesync/completeterminal.h:66:17: note: Shadowed declaration mosh-1.4.0/src/statesync/completeterminal.cc:55:15: note: Shadow variable mosh-1.4.0/src/statesync/completeterminal.cc:54:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mosh-1.4.0/src/statesync/completeterminal.cc:137:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mosh-1.4.0/src/statesync/completeterminal.cc:146:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mosh-1.4.0/src/statesync/completeterminal.cc:174:3: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mosh-1.4.0/src/statesync/user.cc:82:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable keystroke [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/statesync/user.cc:114:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable keystroke [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/statesync/user.cc:128:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/statesync/user.h:92:10: performance:inconclusive: Technically the member function 'Network::UserStream::compare' can be static (but you may consider moving to unnamed namespace). [functionStatic] mosh-1.4.0/src/statesync/user.h:60:5: style: Class 'UserEvent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mosh-1.4.0/src/statesync/user.h:61:5: style: Class 'UserEvent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mosh-1.4.0/src/statesync/user.cc:53:2: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mosh-1.4.0/src/statesync/user.cc:67:2: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mosh-1.4.0/src/statesync/user.cc:70:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mosh-1.4.0/src/statesync/user.cc:102:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mosh-1.4.0/src/network/network.h:65:5: style: Class 'NetworkException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mosh-1.4.0/src/network/network.h:90:5: style: Class 'Packet' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mosh-1.4.0/src/network/network.h:156:7: style: Class 'Socket' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mosh-1.4.0/src/network/network.cc:271:20: style: Condition 'try_bind(desired_ip,desired_port_low,desired_port_high)' is always true [knownConditionTrueFalse] mosh-1.4.0/src/network/network.cc:271:20: note: Calling function 'try_bind' returns 1 mosh-1.4.0/src/network/network.cc:271:20: note: Condition 'try_bind(desired_ip,desired_port_low,desired_port_high)' is always true mosh-1.4.0/src/network/network.cc:281:18: style: Condition 'try_bind(NULL,desired_port_low,desired_port_high)' is always true [knownConditionTrueFalse] mosh-1.4.0/src/network/network.cc:281:18: note: Calling function 'try_bind' returns 1 mosh-1.4.0/src/network/network.cc:281:18: note: Condition 'try_bind(NULL,desired_port_low,desired_port_high)' is always true mosh-1.4.0/src/network/network.cc:79:26: style: C-style pointer casting [cstyleCast] mosh-1.4.0/src/network/network.cc:505:28: style: C-style pointer casting [cstyleCast] mosh-1.4.0/src/network/network.cc:94:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] mosh-1.4.0/src/network/network.cc:656:48: style:inconclusive: Function 'parse_portrange' argument 1 names different: declaration 'desired_port_range' definition 'desired_port'. [funcArgNamesDifferent] mosh-1.4.0/src/network/network.h:234:47: note: Function 'parse_portrange' argument 1 names different: declaration 'desired_port_range' definition 'desired_port'. mosh-1.4.0/src/network/network.cc:656:48: note: Function 'parse_portrange' argument 1 names different: declaration 'desired_port_range' definition 'desired_port'. mosh-1.4.0/src/network/network.cc:440:34: style: Variable 'e' can be declared as reference to const [constVariableReference] mosh-1.4.0/src/network/network.cc:193:2: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mosh-1.4.0/src/network/network.cc:436:2: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mosh-1.4.0/src/terminal/parser.cc:72:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MB_CUR_MAX [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/terminal/parser.cc:113:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/frontend/terminaloverlay.h:115:10: warning: The class 'ConditionalOverlayCell' defines member function with name 'reset' also defined in its parent class 'ConditionalOverlay'. [duplInheritedMember] mosh-1.4.0/src/frontend/terminaloverlay.h:77:10: note: Parent function 'ConditionalOverlay::reset' mosh-1.4.0/src/frontend/terminaloverlay.h:115:10: note: Derived function 'ConditionalOverlayCell::reset' mosh-1.4.0/src/frontend/terminaloverlay.h:136:5: style: Class 'ConditionalOverlayRow' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mosh-1.4.0/src/terminal/parseraction.h:138:5: style: Class 'UserByte' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mosh-1.4.0/src/terminal/parsertransition.h:61:5: style: Class 'Transition' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mosh-1.4.0/src/terminal/parsertransition.h:68:5: style: Class 'Transition' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mosh-1.4.0/src/terminal/parseraction.h:67:17: style: The function 'name' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mosh-1.4.0/src/terminal/parseraction.h:52:25: note: Virtual function in base class mosh-1.4.0/src/terminal/parseraction.h:67:17: note: Function in derived class mosh-1.4.0/src/terminal/parseraction.h:68:10: style: The function 'ignore' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mosh-1.4.0/src/terminal/parseraction.h:56:18: note: Virtual function in base class mosh-1.4.0/src/terminal/parseraction.h:68:10: note: Function in derived class mosh-1.4.0/src/terminal/parseraction.h:72:17: style: The function 'name' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mosh-1.4.0/src/terminal/parseraction.h:52:25: note: Virtual function in base class mosh-1.4.0/src/terminal/parseraction.h:72:17: note: Function in derived class mosh-1.4.0/src/terminal/parseraction.h:73:10: style: The function 'act_on_terminal' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mosh-1.4.0/src/terminal/parseraction.h:54:18: note: Virtual function in base class mosh-1.4.0/src/terminal/parseraction.h:73:10: note: Function in derived class mosh-1.4.0/src/terminal/parseraction.h:77:17: style: The function 'name' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mosh-1.4.0/src/terminal/parseraction.h:52:25: note: Virtual function in base class mosh-1.4.0/src/terminal/parseraction.h:77:17: note: Function in derived class mosh-1.4.0/src/terminal/parseraction.h:78:10: style: The function 'act_on_terminal' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mosh-1.4.0/src/terminal/parseraction.h:54:18: note: Virtual function in base class mosh-1.4.0/src/terminal/parseraction.h:78:10: note: Function in derived class mosh-1.4.0/src/terminal/parseraction.h:82:17: style: The function 'name' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mosh-1.4.0/src/terminal/parseraction.h:52:25: note: Virtual function in base class mosh-1.4.0/src/terminal/parseraction.h:82:17: note: Function in derived class mosh-1.4.0/src/terminal/parseraction.h:83:10: style: The function 'act_on_terminal' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mosh-1.4.0/src/terminal/parseraction.h:54:18: note: Virtual function in base class mosh-1.4.0/src/terminal/parseraction.h:83:10: note: Function in derived class mosh-1.4.0/src/terminal/parseraction.h:87:17: style: The function 'name' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mosh-1.4.0/src/terminal/parseraction.h:52:25: note: Virtual function in base class mosh-1.4.0/src/terminal/parseraction.h:87:17: note: Function in derived class mosh-1.4.0/src/terminal/parseraction.h:88:10: style: The function 'act_on_terminal' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mosh-1.4.0/src/terminal/parseraction.h:54:18: note: Virtual function in base class mosh-1.4.0/src/terminal/parseraction.h:88:10: note: Function in derived class mosh-1.4.0/src/terminal/parseraction.h:92:17: style: The function 'name' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mosh-1.4.0/src/terminal/parseraction.h:52:25: note: Virtual function in base class mosh-1.4.0/src/terminal/parseraction.h:92:17: note: Function in derived class mosh-1.4.0/src/terminal/parseraction.h:93:10: style: The function 'act_on_terminal' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mosh-1.4.0/src/terminal/parseraction.h:54:18: note: Virtual function in base class mosh-1.4.0/src/terminal/parseraction.h:93:10: note: Function in derived class mosh-1.4.0/src/terminal/parseraction.h:97:17: style: The function 'name' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mosh-1.4.0/src/terminal/parseraction.h:52:25: note: Virtual function in base class mosh-1.4.0/src/terminal/parseraction.h:97:17: note: Function in derived class mosh-1.4.0/src/terminal/parseraction.h:98:10: style: The function 'act_on_terminal' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mosh-1.4.0/src/terminal/parseraction.h:54:18: note: Virtual function in base class mosh-1.4.0/src/terminal/parseraction.h:98:10: note: Function in derived class mosh-1.4.0/src/terminal/parseraction.h:102:17: style: The function 'name' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mosh-1.4.0/src/terminal/parseraction.h:52:25: note: Virtual function in base class mosh-1.4.0/src/terminal/parseraction.h:102:17: note: Function in derived class mosh-1.4.0/src/terminal/parseraction.h:103:10: style: The function 'act_on_terminal' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mosh-1.4.0/src/terminal/parseraction.h:54:18: note: Virtual function in base class mosh-1.4.0/src/terminal/parseraction.h:103:10: note: Function in derived class mosh-1.4.0/src/terminal/parseraction.h:106:23: style: The function 'name' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mosh-1.4.0/src/terminal/parseraction.h:52:25: note: Virtual function in base class mosh-1.4.0/src/terminal/parseraction.h:106:23: note: Function in derived class mosh-1.4.0/src/terminal/parseraction.h:109:23: style: The function 'name' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mosh-1.4.0/src/terminal/parseraction.h:52:25: note: Virtual function in base class mosh-1.4.0/src/terminal/parseraction.h:109:23: note: Function in derived class mosh-1.4.0/src/terminal/parseraction.h:112:23: style: The function 'name' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mosh-1.4.0/src/terminal/parseraction.h:52:25: note: Virtual function in base class mosh-1.4.0/src/terminal/parseraction.h:112:23: note: Function in derived class mosh-1.4.0/src/terminal/parseraction.h:116:17: style: The function 'name' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mosh-1.4.0/src/terminal/parseraction.h:52:25: note: Virtual function in base class mosh-1.4.0/src/terminal/parseraction.h:116:17: note: Function in derived class mosh-1.4.0/src/terminal/parseraction.h:117:10: style: The function 'act_on_terminal' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mosh-1.4.0/src/terminal/parseraction.h:54:18: note: Virtual function in base class mosh-1.4.0/src/terminal/parseraction.h:117:10: note: Function in derived class mosh-1.4.0/src/terminal/parseraction.h:121:17: style: The function 'name' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mosh-1.4.0/src/terminal/parseraction.h:52:25: note: Virtual function in base class mosh-1.4.0/src/terminal/parseraction.h:121:17: note: Function in derived class mosh-1.4.0/src/terminal/parseraction.h:122:10: style: The function 'act_on_terminal' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mosh-1.4.0/src/terminal/parseraction.h:54:18: note: Virtual function in base class mosh-1.4.0/src/terminal/parseraction.h:122:10: note: Function in derived class mosh-1.4.0/src/terminal/parseraction.h:126:17: style: The function 'name' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mosh-1.4.0/src/terminal/parseraction.h:52:25: note: Virtual function in base class mosh-1.4.0/src/terminal/parseraction.h:126:17: note: Function in derived class mosh-1.4.0/src/terminal/parseraction.h:127:10: style: The function 'act_on_terminal' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mosh-1.4.0/src/terminal/parseraction.h:54:18: note: Virtual function in base class mosh-1.4.0/src/terminal/parseraction.h:127:10: note: Function in derived class mosh-1.4.0/src/terminal/parseraction.h:135:17: style: The function 'name' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mosh-1.4.0/src/terminal/parseraction.h:52:25: note: Virtual function in base class mosh-1.4.0/src/terminal/parseraction.h:135:17: note: Function in derived class mosh-1.4.0/src/terminal/parseraction.h:136:10: style: The function 'act_on_terminal' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mosh-1.4.0/src/terminal/parseraction.h:54:18: note: Virtual function in base class mosh-1.4.0/src/terminal/parseraction.h:136:10: note: Function in derived class mosh-1.4.0/src/terminal/parseraction.h:151:17: style: The function 'name' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mosh-1.4.0/src/terminal/parseraction.h:52:25: note: Virtual function in base class mosh-1.4.0/src/terminal/parseraction.h:151:17: note: Function in derived class mosh-1.4.0/src/terminal/parseraction.h:152:10: style: The function 'act_on_terminal' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mosh-1.4.0/src/terminal/parseraction.h:54:18: note: Virtual function in base class mosh-1.4.0/src/terminal/parseraction.h:152:10: note: Function in derived class mosh-1.4.0/src/terminal/parserstate.h:64:16: style: The function 'input_state_rule' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mosh-1.4.0/src/terminal/parserstate.h:44:24: note: Virtual function in base class mosh-1.4.0/src/terminal/parserstate.h:64:16: note: Function in derived class mosh-1.4.0/src/terminal/parserstate.h:68:19: style: The function 'enter' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mosh-1.4.0/src/terminal/parserstate.h:53:27: note: Virtual function in base class mosh-1.4.0/src/terminal/parserstate.h:68:19: note: Function in derived class mosh-1.4.0/src/terminal/parserstate.h:69:16: style: The function 'input_state_rule' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mosh-1.4.0/src/terminal/parserstate.h:44:24: note: Virtual function in base class mosh-1.4.0/src/terminal/parserstate.h:69:16: note: Function in derived class mosh-1.4.0/src/terminal/parserstate.h:73:16: style: The function 'input_state_rule' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mosh-1.4.0/src/terminal/parserstate.h:44:24: note: Virtual function in base class mosh-1.4.0/src/terminal/parserstate.h:73:16: note: Function in derived class mosh-1.4.0/src/terminal/parserstate.h:77:19: style: The function 'enter' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mosh-1.4.0/src/terminal/parserstate.h:53:27: note: Virtual function in base class mosh-1.4.0/src/terminal/parserstate.h:77:19: note: Function in derived class mosh-1.4.0/src/terminal/parserstate.h:78:16: style: The function 'input_state_rule' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mosh-1.4.0/src/terminal/parserstate.h:44:24: note: Virtual function in base class mosh-1.4.0/src/terminal/parserstate.h:78:16: note: Function in derived class mosh-1.4.0/src/terminal/parserstate.h:81:16: style: The function 'input_state_rule' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mosh-1.4.0/src/terminal/parserstate.h:44:24: note: Virtual function in base class mosh-1.4.0/src/terminal/parserstate.h:81:16: note: Function in derived class mosh-1.4.0/src/terminal/parserstate.h:84:16: style: The function 'input_state_rule' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mosh-1.4.0/src/terminal/parserstate.h:44:24: note: Virtual function in base class mosh-1.4.0/src/terminal/parserstate.h:84:16: note: Function in derived class mosh-1.4.0/src/terminal/parserstate.h:87:16: style: The function 'input_state_rule' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mosh-1.4.0/src/terminal/parserstate.h:44:24: note: Virtual function in base class mosh-1.4.0/src/terminal/parserstate.h:87:16: note: Function in derived class mosh-1.4.0/src/terminal/parserstate.h:91:19: style: The function 'enter' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mosh-1.4.0/src/terminal/parserstate.h:53:27: note: Virtual function in base class mosh-1.4.0/src/terminal/parserstate.h:91:19: note: Function in derived class mosh-1.4.0/src/terminal/parserstate.h:92:16: style: The function 'input_state_rule' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mosh-1.4.0/src/terminal/parserstate.h:44:24: note: Virtual function in base class mosh-1.4.0/src/terminal/parserstate.h:92:16: note: Function in derived class mosh-1.4.0/src/terminal/parserstate.h:95:16: style: The function 'input_state_rule' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mosh-1.4.0/src/terminal/parserstate.h:44:24: note: Virtual function in base class mosh-1.4.0/src/terminal/parserstate.h:95:16: note: Function in derived class mosh-1.4.0/src/terminal/parserstate.h:98:16: style: The function 'input_state_rule' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mosh-1.4.0/src/terminal/parserstate.h:44:24: note: Virtual function in base class mosh-1.4.0/src/terminal/parserstate.h:98:16: note: Function in derived class mosh-1.4.0/src/terminal/parserstate.h:101:19: style: The function 'enter' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mosh-1.4.0/src/terminal/parserstate.h:53:27: note: Virtual function in base class mosh-1.4.0/src/terminal/parserstate.h:101:19: note: Function in derived class mosh-1.4.0/src/terminal/parserstate.h:102:16: style: The function 'input_state_rule' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mosh-1.4.0/src/terminal/parserstate.h:44:24: note: Virtual function in base class mosh-1.4.0/src/terminal/parserstate.h:102:16: note: Function in derived class mosh-1.4.0/src/terminal/parserstate.h:103:19: style: The function 'exit' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mosh-1.4.0/src/terminal/parserstate.h:54:27: note: Virtual function in base class mosh-1.4.0/src/terminal/parserstate.h:103:19: note: Function in derived class mosh-1.4.0/src/terminal/parserstate.h:106:16: style: The function 'input_state_rule' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mosh-1.4.0/src/terminal/parserstate.h:44:24: note: Virtual function in base class mosh-1.4.0/src/terminal/parserstate.h:106:16: note: Function in derived class mosh-1.4.0/src/terminal/parserstate.h:110:19: style: The function 'enter' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mosh-1.4.0/src/terminal/parserstate.h:53:27: note: Virtual function in base class mosh-1.4.0/src/terminal/parserstate.h:110:19: note: Function in derived class mosh-1.4.0/src/terminal/parserstate.h:111:16: style: The function 'input_state_rule' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mosh-1.4.0/src/terminal/parserstate.h:44:24: note: Virtual function in base class mosh-1.4.0/src/terminal/parserstate.h:111:16: note: Function in derived class mosh-1.4.0/src/terminal/parserstate.h:112:19: style: The function 'exit' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mosh-1.4.0/src/terminal/parserstate.h:54:27: note: Virtual function in base class mosh-1.4.0/src/terminal/parserstate.h:112:19: note: Function in derived class mosh-1.4.0/src/terminal/parserstate.h:115:16: style: The function 'input_state_rule' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mosh-1.4.0/src/terminal/parserstate.h:44:24: note: Virtual function in base class mosh-1.4.0/src/terminal/parserstate.h:115:16: note: Function in derived class mosh-1.4.0/src/terminal/parser.cc:53:50: style:inconclusive: Function 'input' argument 2 names different: declaration 'actions' definition 'ret'. [funcArgNamesDifferent] mosh-1.4.0/src/terminal/parser.h:61:38: note: Function 'input' argument 2 names different: declaration 'actions' definition 'ret'. mosh-1.4.0/src/terminal/parser.cc:53:50: note: Function 'input' argument 2 names different: declaration 'actions' definition 'ret'. mosh-1.4.0/src/terminal/parser.cc:76:50: style:inconclusive: Function 'input' argument 2 names different: declaration 'actions' definition 'ret'. [funcArgNamesDifferent] mosh-1.4.0/src/terminal/parser.h:82:34: note: Function 'input' argument 2 names different: declaration 'actions' definition 'ret'. mosh-1.4.0/src/terminal/parser.cc:76:50: note: Function 'input' argument 2 names different: declaration 'actions' definition 'ret'. mosh-1.4.0/src/terminal/terminalframebuffer.h:163:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MB_LEN_MAX [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/terminal/terminalframebuffer.h:178:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MB_LEN_MAX [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/frontend/terminaloverlay.cc:104:44: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mosh-1.4.0/src/frontend/terminaloverlay.cc:258:88: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mosh-1.4.0/src/frontend/terminaloverlay.cc:351:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mosh-1.4.0/src/frontend/terminaloverlay.cc:367:2: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mosh-1.4.0/src/frontend/terminaloverlay.cc:373:2: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mosh-1.4.0/src/frontend/terminaloverlay.cc:382:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mosh-1.4.0/src/frontend/terminaloverlay.cc:397:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mosh-1.4.0/src/frontend/terminaloverlay.cc:400:11: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mosh-1.4.0/src/frontend/terminaloverlay.cc:481:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mosh-1.4.0/src/frontend/terminaloverlay.cc:490:11: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mosh-1.4.0/src/frontend/terminaloverlay.cc:566:3: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mosh-1.4.0/src/frontend/terminaloverlay.cc:623:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mosh-1.4.0/src/frontend/terminaloverlay.cc:632:54: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mosh-1.4.0/src/frontend/terminaloverlay.cc:677:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mosh-1.4.0/src/frontend/terminaloverlay.cc:890:11: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mosh-1.4.0/src/frontend/terminaloverlay.cc:921:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mosh-1.4.0/src/frontend/terminaloverlay.cc:924:11: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mosh-1.4.0/src/terminal/terminalframebuffer.h:464:10: style:inconclusive: Technically the member function 'Terminal::Framebuffer::reset_cell' can be const. [functionConst] mosh-1.4.0/src/terminal/terminalframebuffer.h:465:10: style:inconclusive: Technically the member function 'Terminal::Framebuffer::reset_row' can be const. [functionConst] mosh-1.4.0/src/terminal/terminalframebuffer.h:65:5: style: Class 'Renditions' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mosh-1.4.0/src/terminal/terminalframebuffer.h:110:5: style: Class 'Cell' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mosh-1.4.0/src/terminal/terminaldisplay.h:50:5: style: Class 'FrameState' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mosh-1.4.0/src/terminal/terminaldisplay.h:83:5: style: Class 'Display' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mosh-1.4.0/src/terminal/terminaldispatcher.h:110:17: performance: Function 'get_dispatch_chars()' should return member 'dispatch_chars' by const reference. [returnByReference] mosh-1.4.0/src/terminal/terminaldispatcher.h:111:26: performance: Function 'get_OSC_string()' should return member 'OSC_string' by const reference. [returnByReference] mosh-1.4.0/src/frontend/stmclient.cc:570:9: error: Unhandled exception thrown in function that is an entry point. [throwInEntryPoint] mosh-1.4.0/src/frontend/stmclient.cc:249:10: style: Local variable 'init' shadows outer function [shadowFunction] mosh-1.4.0/src/frontend/stmclient.h:128:8: note: Shadowed declaration mosh-1.4.0/src/frontend/stmclient.cc:249:10: note: Shadow variable mosh-1.4.0/src/frontend/stmclient.cc:457:6: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mosh-1.4.0/src/frontend/stmclient.cc:472:6: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mosh-1.4.0/src/terminal/terminal.cc:59:16: style: Unused private function: 'Emulator::print' [unusedPrivateFunction] mosh-1.4.0/src/terminal/terminal.h:69:10: note: Unused private function: 'Emulator::print' mosh-1.4.0/src/terminal/terminal.cc:59:16: note: Unused private function: 'Emulator::print' mosh-1.4.0/src/terminal/terminal.cc:54:16: style: Unused private function: 'Emulator::execute' [unusedPrivateFunction] mosh-1.4.0/src/terminal/terminal.h:70:10: note: Unused private function: 'Emulator::execute' mosh-1.4.0/src/terminal/terminal.cc:54:16: note: Unused private function: 'Emulator::execute' mosh-1.4.0/src/terminal/terminal.cc:150:16: style: Unused private function: 'Emulator::CSI_dispatch' [unusedPrivateFunction] mosh-1.4.0/src/terminal/terminal.h:71:10: note: Unused private function: 'Emulator::CSI_dispatch' mosh-1.4.0/src/terminal/terminal.cc:150:16: note: Unused private function: 'Emulator::CSI_dispatch' mosh-1.4.0/src/terminal/terminal.cc:160:16: style: Unused private function: 'Emulator::Esc_dispatch' [unusedPrivateFunction] mosh-1.4.0/src/terminal/terminal.h:72:10: note: Unused private function: 'Emulator::Esc_dispatch' mosh-1.4.0/src/terminal/terminal.cc:160:16: note: Unused private function: 'Emulator::Esc_dispatch' mosh-1.4.0/src/terminal/terminal.cc:155:16: style: Unused private function: 'Emulator::OSC_end' [unusedPrivateFunction] mosh-1.4.0/src/terminal/terminal.h:73:10: note: Unused private function: 'Emulator::OSC_end' mosh-1.4.0/src/terminal/terminal.cc:155:16: note: Unused private function: 'Emulator::OSC_end' mosh-1.4.0/src/terminal/terminaldispatcher.cc:95:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/terminal/terminaldisplayinit.cc:58:0: error: #error "SysV or X/Open-compatible Curses header file required" [preprocessorErrorDirective] mosh-1.4.0/src/terminal/terminaldispatcher.cc:86:15: style: Local variable 'str' shadows outer function [shadowFunction] mosh-1.4.0/src/terminal/terminaldispatcher.h:107:17: note: Shadowed declaration mosh-1.4.0/src/terminal/terminaldispatcher.cc:86:15: note: Shadow variable mosh-1.4.0/src/terminal/terminalframebuffer.cc:494:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bold [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/terminal/terminalframebuffer.cc:528:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bold [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/terminal/terminalframebuffer.cc:630:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/tests/base64.cc:141:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/tests/base64.cc:132:27: style: Parameter 'argv' can be declared as const array [constParameter] mosh-1.4.0/src/tests/encrypt-decrypt.cc:106:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx64 [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/tests/encrypt-decrypt.cc:145:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/tests/encrypt-decrypt.cc:136:27: style: Parameter 'argv' can be declared as const array [constParameter] mosh-1.4.0/src/terminal/terminalframebuffer.cc:352:15: performance:inconclusive: Technically the member function 'Terminal::Row::get_gen' can be static (but you may consider moving to unnamed namespace). [functionStatic] mosh-1.4.0/src/terminal/terminalframebuffer.h:241:14: note: Technically the member function 'Terminal::Row::get_gen' can be static (but you may consider moving to unnamed namespace). mosh-1.4.0/src/terminal/terminalframebuffer.cc:352:15: note: Technically the member function 'Terminal::Row::get_gen' can be static (but you may consider moving to unnamed namespace). mosh-1.4.0/src/terminal/terminalframebuffer.cc:541:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] mosh-1.4.0/src/terminal/terminalframebuffer.cc:541:7: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] mosh-1.4.0/src/terminal/terminalframebuffer.cc:541:7: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] mosh-1.4.0/src/terminal/terminalframebuffer.cc:546:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] mosh-1.4.0/src/terminal/terminalframebuffer.cc:560:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] mosh-1.4.0/src/terminal/terminalframebuffer.cc:560:7: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] mosh-1.4.0/src/terminal/terminalframebuffer.cc:560:7: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] mosh-1.4.0/src/terminal/terminalframebuffer.cc:565:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] mosh-1.4.0/src/terminal/terminalframebuffer.cc:649:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] mosh-1.4.0/src/terminal/terminalframebuffer.cc:649:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] mosh-1.4.0/src/terminal/terminalframebuffer.cc:656:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] mosh-1.4.0/src/terminal/terminalframebuffer.cc:656:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] mosh-1.4.0/src/terminal/terminalframebuffer.cc:668:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] mosh-1.4.0/src/terminal/terminalframebuffer.cc:668:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] mosh-1.4.0/src/terminal/terminalframebuffer.cc:307:7: style: Local variable 'scroll' shadows outer function [shadowFunction] mosh-1.4.0/src/terminal/terminalframebuffer.h:401:10: note: Shadowed declaration mosh-1.4.0/src/terminal/terminalframebuffer.cc:307:7: note: Shadow variable mosh-1.4.0/src/terminal/terminalframebuffer.cc:331:7: style: Local variable 'scroll' shadows outer function [shadowFunction] mosh-1.4.0/src/terminal/terminalframebuffer.h:401:10: note: Shadowed declaration mosh-1.4.0/src/terminal/terminalframebuffer.cc:331:7: note: Shadow variable mosh-1.4.0/src/tests/inpty.cc:61:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/terminal/terminalframebuffer.cc:218:40: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] mosh-1.4.0/src/terminal/terminalframebuffer.cc:225:38: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] mosh-1.4.0/src/terminal/terminalframebuffer.cc:419:2: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mosh-1.4.0/src/terminal/terminalframebuffer.cc:583:2: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mosh-1.4.0/src/terminal/terminalframebuffer.cc:609:2: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mosh-1.4.0/src/tests/is-utf8-locale.cc:41:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/tests/nonce-incr.cc:47:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TO_CLIENT [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/tests/test_utils.cc:38:31: style: C-style pointer casting [cstyleCast] mosh-1.4.0/src/tests/ocb-aes.cc:69:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AE_SUCCESS [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/tests/ocb-aes.cc:74:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AE_SUCCESS [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/tests/ocb-aes.cc:80:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AlignedBuffer [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/tests/ocb-aes.cc:106:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AlignedBuffer [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/tests/ocb-aes.cc:473:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AlignedBuffer [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/tests/ocb-aes.cc:552:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/util/locale_utils.cc:75:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CODESET [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/util/locale_utils.cc:95:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/util/pty_compat.cc:63:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/util/pty_compat.cc:174:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IGNBRK [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/tests/ocb-aes.cc:69:40: style: C-style pointer casting [cstyleCast] mosh-1.4.0/src/tests/ocb-aes.cc:74:41: style: C-style pointer casting [cstyleCast] mosh-1.4.0/src/tests/ocb-aes.cc:81:17: style: C-style pointer casting [cstyleCast] mosh-1.4.0/src/tests/ocb-aes.cc:107:17: style: C-style pointer casting [cstyleCast] mosh-1.4.0/src/tests/ocb-aes.cc:163:7: style: C-style pointer casting [cstyleCast] mosh-1.4.0/src/tests/ocb-aes.cc:474:17: style: C-style pointer casting [cstyleCast] mosh-1.4.0/src/tests/ocb-aes.cc:482:18: style: C-style pointer casting [cstyleCast] mosh-1.4.0/src/tests/ocb-aes.cc:490:7: style: C-style pointer casting [cstyleCast] mosh-1.4.0/src/tests/ocb-aes.cc:542:27: style: Parameter 'argv' can be declared as const array [constParameter] mosh-1.4.0/src/util/pty_compat.cc:54:9: style: Variable 'slave_name' can be declared as pointer to const [constVariablePointer] mosh-1.4.0/src/terminal/terminaldisplay.cc:85:13: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mosh-1.4.0/src/terminal/terminaldisplay.cc:96:6: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mosh-1.4.0/src/terminal/terminaldisplay.cc:105:6: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mosh-1.4.0/src/terminal/terminaldisplay.cc:119:11: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mosh-1.4.0/src/terminal/terminaldisplay.cc:162:79: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mosh-1.4.0/src/util/timestamp.cc:128:0: error: #error "gettimeofday() unavailable-- required as timer of last resort" [preprocessorErrorDirective] mosh-1.4.0/src/util/fatal_assert.h:41:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/util/select.h:72:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/util/select.h:104:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/util/select.h:130:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/util/select.h:204:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/util/select.cc:43:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] mosh-1.4.0/src/util/select.h:197:13: warning: Assert statement calls a function which may have desired side effects: 'FD_ISSET'. [assertWithSideEffect] mosh-1.4.0/src/util/select.h:75:8: style:inconclusive: Technically the member function 'Select::clear_got_signal' can be const. [functionConst] diff: head mosh-1.4.0/src/crypto/byteorder.h:108:11: style: Variable 'xs' can be declared as const array [constVariable] head mosh-1.4.0/src/crypto/byteorder.h:74:11: style: Variable 'xs' can be declared as const array [constVariable] 2.18.0 mosh-1.4.0/src/crypto/ocb_internal.cc:33:2: error: #error ocb_internal.cc only works with OpenSSL, Apple Common Crypto, or Nettle [preprocessorErrorDirective] 2.18.0 mosh-1.4.0/src/frontend/mosh-client.cc:70:4: error: #error "SysV or X/Open-compatible Curses header file required" [preprocessorErrorDirective] head mosh-1.4.0/src/frontend/stmclient.cc:570:9: error: Unhandled exception thrown in function that is an entry point. [throwInEntryPoint] 2.18.0 mosh-1.4.0/src/terminal/terminaldisplayinit.cc:58:4: error: #error "SysV or X/Open-compatible Curses header file required" [preprocessorErrorDirective] 2.18.0 mosh-1.4.0/src/util/timestamp.cc:128:3: error: #error "gettimeofday() unavailable-- required as timer of last resort" [preprocessorErrorDirective] DONE