2026-08-08 06:26 ftp://ftp.de.debian.org/debian/pool/main/j/jpcre2/jpcre2_10.32.01.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --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 -j96 platform: Linux-6.8.0-111-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.4.0 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0 cppcheck: head 2.21.0 head-info: 1444269 (2026-08-07 15:46:02 +0200) count: 144 144 elapsed-time: 3.9 1.4 head-timing-info: old-timing-info: head results: jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:178:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:4439:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable code [valueFlowBailoutIncompleteVar] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:4470:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCRE2_SUBSTITUTE_OVERFLOW_LENGTH [valueFlowBailoutIncompleteVar] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:4607:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vec_eoff [valueFlowBailoutIncompleteVar] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:4659:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable last_replace_counter [valueFlowBailoutIncompleteVar] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:4753:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Char_T [valueFlowBailoutIncompleteVar] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:4783:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re [valueFlowBailoutIncompleteVar] jpcre2-jpcre2-a022ba0/src/test_replace.cpp:22:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:1829:85: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FIND_ALL [valueFlowBailoutIncompleteVar] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:2821:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCRE2_PARTIAL_HARD [valueFlowBailoutIncompleteVar] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:2916:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCRE2_SUBSTITUTE_OVERFLOW_LENGTH [valueFlowBailoutIncompleteVar] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:3286:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCRE2_SUBSTITUTE_OVERFLOW_LENGTH [valueFlowBailoutIncompleteVar] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:3334:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCRE2_SUBSTITUTE_OVERFLOW_LENGTH [valueFlowBailoutIncompleteVar] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:3469:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCRE2_SUBSTITUTE_GLOBAL [valueFlowBailoutIncompleteVar] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:3508:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCRE2_SUBSTITUTE_GLOBAL [valueFlowBailoutIncompleteVar] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:3526:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCRE2_SUBSTITUTE_GLOBAL [valueFlowBailoutIncompleteVar] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:3966:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCRE2_INFO_NEWLINE [valueFlowBailoutIncompleteVar] jpcre2-jpcre2-a022ba0/src/test_pthread.cpp:20:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCKS_PER_SEC [valueFlowBailoutIncompleteVar] jpcre2-jpcre2-a022ba0/src/test_pthread.cpp:49:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] jpcre2-jpcre2-a022ba0/src/test_pthread.cpp:63:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] jpcre2-jpcre2-a022ba0/src/test_pthread.cpp:77:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] jpcre2-jpcre2-a022ba0/src/test_pthread.cpp:98:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] jpcre2-jpcre2-a022ba0/src/test_pthread.cpp:108:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_CREATE_DETACHED [valueFlowBailoutIncompleteVar] jpcre2-jpcre2-a022ba0/src/test_match.cpp:30:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] jpcre2-jpcre2-a022ba0/src/test_replace2.cpp:14:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cin [valueFlowBailoutIncompleteVar] jpcre2-jpcre2-a022ba0/src/test_replace2.cpp:20:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] jpcre2-jpcre2-a022ba0/src/test_match2.cpp:12:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cin [valueFlowBailoutIncompleteVar] jpcre2-jpcre2-a022ba0/src/test_shorts.cpp:20:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] jpcre2-jpcre2-a022ba0/src/test_match2.cpp:28:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] jpcre2-jpcre2-a022ba0/src/test_issue_29.cpp:34:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] jpcre2-jpcre2-a022ba0/src/testmd.cpp:45:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] jpcre2-jpcre2-a022ba0/src/teststdthread.cpp:19:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCKS_PER_SEC [valueFlowBailoutIncompleteVar] jpcre2-jpcre2-a022ba0/src/teststdthread.cpp:48:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] jpcre2-jpcre2-a022ba0/src/teststdthread.cpp:61:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] jpcre2-jpcre2-a022ba0/src/teststdthread.cpp:74:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] jpcre2-jpcre2-a022ba0/src/teststdthread.cpp:94:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] jpcre2-jpcre2-a022ba0/src/testcovme.cpp:73:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] jpcre2-jpcre2-a022ba0/src/testme.cpp:87:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCRE2_SUBSTITUTE_GLOBAL [valueFlowBailoutIncompleteVar] jpcre2-jpcre2-a022ba0/src/test0.cpp:33:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] jpcre2-jpcre2-a022ba0/src/test32.cpp:20:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] jpcre2-jpcre2-a022ba0/src/test16.cpp:21:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:847:10: style: The member function 'jpcre2::ModifierTable::toOption' can be static. [functionStatic] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:863:17: style: The member function 'jpcre2::ModifierTable::fromOption' can be static. [functionStatic] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:4399:36: style: The member function 'jpcre2::ModifierTable::parseModifierTable' can be static. [functionStatic] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:875:10: note: The member function 'jpcre2::ModifierTable::parseModifierTable' can be static. jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:4399:36: note: The member function 'jpcre2::ModifierTable::parseModifierTable' can be static. jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:3138:30: style:inconclusive: Technically the member function 'jpcre2::select < char , std :: map >::RegexReplace::getModifierTable' can be const. [functionConst] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:3973:30: style:inconclusive: Technically the member function 'jpcre2::select < char , std :: map >::Regex::getModifierTable' can be const. [functionConst] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:643:5: style: Class 'Modifier' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:647:5: style: Class 'Modifier' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:885:5: style: Class 'ModifierTable' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:1478:9: style: Class 'RegexMatch' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:2985:9: style: Class 'RegexReplace' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:3660:9: style: Class 'Regex' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:3667:9: style: Class 'Regex' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:2234:25: style: The function 'setNumberedSubstringVector' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:1710:29: note: Virtual function in base class jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:2234:25: note: Function in derived class jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:2238:25: style: The function 'setNamedSubstringVector' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:1721:29: note: Virtual function in base class jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:2238:25: note: Function in derived class jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:2242:25: style: The function 'setNameToNumberMapVector' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:1732:29: note: Virtual function in base class jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:2242:25: note: Function in derived class jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:2246:25: style: The function 'setMatchStartOffsetVector' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:1742:29: note: Virtual function in base class jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:2246:25: note: Function in derived class jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:2250:25: style: The function 'setMatchEndOffsetVector' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:1752:29: note: Virtual function in base class jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:2250:25: note: Function in derived class jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:2426:18: style: The destructor '~MatchEvaluator' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:1531:18: note: Virtual destructor in base class jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:2426:18: note: Destructor in derived class jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:2627:25: style: The function 'reset' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:1537:29: note: Virtual function in base class jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:2627:25: note: Function in derived class jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:2637:25: style: The function 'clear' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:1547:29: note: Virtual function in base class jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:2637:25: note: Function in derived class jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:2646:25: style: The function 'resetErrors' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:1561:29: note: Virtual function in base class jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:2646:25: note: Function in derived class jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:2654:25: style: The function 'setRegexObject' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:1699:29: note: Virtual function in base class jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:2654:25: note: Function in derived class jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:2662:25: style: The function 'setSubject' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:1762:29: note: Virtual function in base class jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:2662:25: note: Function in derived class jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:2670:25: style: The function 'setSubject' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:1774:29: note: Virtual function in base class jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:2670:25: note: Function in derived class jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:2678:25: style: The function 'setModifier' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:1790:29: note: Virtual function in base class jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:2678:25: note: Function in derived class jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:2686:25: style: The function 'setModifierTable' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:1800:29: note: Virtual function in base class jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:2686:25: note: Function in derived class jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:2694:25: style: The function 'setJpcre2Option' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:1810:29: note: Virtual function in base class jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:2694:25: note: Function in derived class jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:2702:25: style: The function 'setPcre2Option' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:1820:29: note: Virtual function in base class jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:2702:25: note: Function in derived class jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:2710:25: style: The function 'setFindAll' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:1828:29: note: Virtual function in base class jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:2710:25: note: Function in derived class jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:2717:25: style: The function 'setFindAll' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:1837:29: note: Virtual function in base class jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:2717:25: note: Function in derived class jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:2725:25: style: The function 'setStartOffset' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:1846:29: note: Virtual function in base class jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:2725:25: note: Function in derived class jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:2733:25: style: The function 'setMatchContext' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:1857:29: note: Virtual function in base class jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:2733:25: note: Function in derived class jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:2741:25: style: The function 'setMatchDataBlock' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:1874:29: note: Virtual function in base class jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:2741:25: note: Function in derived class jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:2767:25: style: The function 'changeModifier' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:1898:29: note: Virtual function in base class jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:2767:25: note: Function in derived class jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:2776:25: style: The function 'changeJpcre2Option' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:1910:29: note: Virtual function in base class jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:2776:25: note: Function in derived class jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:2785:25: style: The function 'changePcre2Option' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:1921:29: note: Virtual function in base class jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:2785:25: note: Function in derived class jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:2793:25: style: The function 'addModifier' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:1932:29: note: Virtual function in base class jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:2793:25: note: Function in derived class jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:2801:25: style: The function 'addJpcre2Option' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:1941:29: note: Virtual function in base class jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:2801:25: note: Function in derived class jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:2809:25: style: The function 'addPcre2Option' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:1951:29: note: Virtual function in base class jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:2809:25: note: Function in derived class jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:2819:16: style: The function 'match' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:1962:24: note: Virtual function in base class jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:2819:16: note: Function in derived class jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:651:17: performance: Function 'str()' should return member 'mod' by const reference. [returnByReference] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:4576:45: style: C-style pointer casting [cstyleCast] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:4710:50: style: C-style pointer casting [cstyleCast] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:4728:34: style: C-style pointer casting [cstyleCast] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:4755:28: style: C-style pointer casting [cstyleCast] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:4759:28: style: C-style pointer casting [cstyleCast] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:4763:22: style: C-style pointer casting [cstyleCast] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:3873:20: style: C-style pointer casting [cstyleCast] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:4576:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:4710:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:1326:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:1335:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:3138:30: style:inconclusive: Technically the member function 'jpcre2::select < char , std :: unordered_map >::RegexReplace::getModifierTable' can be const. [functionConst] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:3973:30: style:inconclusive: Technically the member function 'jpcre2::select < char , std :: unordered_map >::Regex::getModifierTable' can be const. [functionConst] jpcre2-jpcre2-a022ba0/src/test_match2.cpp:45:12: style: The scope of the variable 'matched' can be reduced. [variableScope] jpcre2-jpcre2-a022ba0/src/test_shorts.cpp:105:11: style: Variable 'count' is assigned a value that is never used. [unreadVariable] jpcre2-jpcre2-a022ba0/src/test_issue_29.cpp:14:28: style: Parameter 're' can be declared as reference to const [constParameterReference] jpcre2-jpcre2-a022ba0/src/test_match2.cpp:45:20: style: Variable 'matched' is assigned a value that is never used. [unreadVariable] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:4968:20: style: Local variable 'start_offset' shadows outer variable [shadowVariable] jpcre2-jpcre2-a022ba0/src/testme.cpp:72:23: note: Shadowed variable jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:4968:20: note: Shadow local variable jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:3311:49: style: Argument 'start_offset' shadows outer variable [shadowVariable] jpcre2-jpcre2-a022ba0/src/testme.cpp:72:23: note: Shadowed variable jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:3311:49: note: Shadow argument jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:4227:71: style: Argument 'start_offset' shadows outer variable [shadowVariable] jpcre2-jpcre2-a022ba0/src/testme.cpp:72:23: note: Shadowed variable jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:4227:71: note: Shadow argument jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:4237:71: style: Argument 'start_offset' shadows outer variable [shadowVariable] jpcre2-jpcre2-a022ba0/src/testme.cpp:72:23: note: Shadowed variable jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:4237:71: note: Shadow argument jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:4247:51: style: Argument 'start_offset' shadows outer variable [shadowVariable] jpcre2-jpcre2-a022ba0/src/testme.cpp:72:23: note: Shadowed variable jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:4247:51: note: Shadow argument jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:4257:51: style: Argument 'start_offset' shadows outer variable [shadowVariable] jpcre2-jpcre2-a022ba0/src/testme.cpp:72:23: note: Shadowed variable jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:4257:51: note: Shadow argument jpcre2-jpcre2-a022ba0/src/testmd.cpp:131:5: style: Variable 'mdt' is assigned an expression that holds the same value. [redundantAssignment] jpcre2-jpcre2-a022ba0/src/testmd.cpp:130:10: note: mdt1 is assigned 'mdt' here. jpcre2-jpcre2-a022ba0/src/testmd.cpp:131:5: note: Variable 'mdt' is assigned an expression that holds the same value. jpcre2-jpcre2-a022ba0/src/testmd.cpp:132:5: style: Variable 'mdt1' is assigned an expression that holds the same value. [redundantAssignment] jpcre2-jpcre2-a022ba0/src/testmd.cpp:131:9: note: mdt is assigned 'mdt1' here. jpcre2-jpcre2-a022ba0/src/testmd.cpp:132:5: note: Variable 'mdt1' is assigned an expression that holds the same value. jpcre2-jpcre2-a022ba0/src/testmd.cpp:155:9: style: Variable 'mdt' is reassigned a value before the old one has been used. [redundantAssignment] jpcre2-jpcre2-a022ba0/src/testmd.cpp:154:9: note: mdt is assigned jpcre2-jpcre2-a022ba0/src/testmd.cpp:155:9: note: mdt is overwritten jpcre2-jpcre2-a022ba0/src/testmd.cpp:156:9: style: Variable 'mdt' is reassigned a value before the old one has been used. [redundantAssignment] jpcre2-jpcre2-a022ba0/src/testmd.cpp:155:9: note: mdt is assigned jpcre2-jpcre2-a022ba0/src/testmd.cpp:156:9: note: mdt is overwritten jpcre2-jpcre2-a022ba0/src/testmd.cpp:25:18: style: Variable 'valtab' can be declared as const array [constVariable] jpcre2-jpcre2-a022ba0/src/testmd.cpp:59:14: style: Variable 'valtabm' can be declared as const array [constVariable] jpcre2-jpcre2-a022ba0/src/testmd.cpp:80:14: style: Variable 'valtabr' can be declared as const array [constVariable] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:3138:30: style:inconclusive: Technically the member function 'jpcre2::select < wchar_t , std :: map >::RegexReplace::getModifierTable' can be const. [functionConst] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:3973:30: style:inconclusive: Technically the member function 'jpcre2::select < wchar_t , std :: map >::Regex::getModifierTable' can be const. [functionConst] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:3138:30: style:inconclusive: Technically the member function 'jpcre2::select < char32_t , std :: map >::RegexReplace::getModifierTable' can be const. [functionConst] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:3973:30: style:inconclusive: Technically the member function 'jpcre2::select < char32_t , std :: map >::Regex::getModifierTable' can be const. [functionConst] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:3138:30: style:inconclusive: Technically the member function 'jpcre2::select < char16_t , std :: map >::RegexReplace::getModifierTable' can be const. [functionConst] jpcre2-jpcre2-a022ba0/src/jpcre2.hpp:3973:30: style:inconclusive: Technically the member function 'jpcre2::select < char16_t , std :: map >::Regex::getModifierTable' can be const. [functionConst] jpcre2-jpcre2-a022ba0/src/testio.cpp:46:16: warning: Assert statement calls a function which may have desired side effects: 'match'. If there are no side effects, consider declaring the method const. [assertWithSideEffect] jpcre2-jpcre2-a022ba0/src/testio.cpp:105:16: warning: Assert statement calls a function which may have desired side effects: 'match'. If there are no side effects, consider declaring the method const. [assertWithSideEffect] jpcre2-jpcre2-a022ba0/src/testio.cpp:135:17: warning: Assert statement calls a function which may have desired side effects: 'match'. If there are no side effects, consider declaring the method const. [assertWithSideEffect] jpcre2-jpcre2-a022ba0/src/testio.cpp:164:17: warning: Assert statement calls a function which may have desired side effects: 'match'. If there are no side effects, consider declaring the method const. [assertWithSideEffect] jpcre2-jpcre2-a022ba0/src/test.cpp:362:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCRE2_ANCHORED [valueFlowBailoutIncompleteVar] jpcre2-jpcre2-a022ba0/src/test.cpp:362:1: warning: Assert statement calls a function which may have desired side effects: 'nreplace'. If there are no side effects, consider declaring the method const. [assertWithSideEffect] jpcre2-jpcre2-a022ba0/src/test.cpp:370:1: warning: Assert statement calls a function which may have desired side effects: 'nreplace'. If there are no side effects, consider declaring the method const. [assertWithSideEffect] jpcre2-jpcre2-a022ba0/src/test.cpp:379:1: warning: Assert statement calls a function which may have desired side effects: 'nreplace'. If there are no side effects, consider declaring the method const. [assertWithSideEffect] jpcre2-jpcre2-a022ba0/src/test.cpp:387:1: warning: Assert statement calls a function which may have desired side effects: 'nreplace'. If there are no side effects, consider declaring the method const. [assertWithSideEffect] jpcre2-jpcre2-a022ba0/src/test.cpp:362:1: style:inconclusive: Variable 'rec' is reassigned a value before the old one has been used if variable is no semaphore variable. [redundantAssignment] jpcre2-jpcre2-a022ba0/src/test.cpp:362:1: note: rec is assigned jpcre2-jpcre2-a022ba0/src/test.cpp:362:1: note: rec is overwritten jpcre2-jpcre2-a022ba0/src/test.cpp:362:1: style: Variable 'rec' is assigned an expression that holds the same value. [redundantAssignment] jpcre2-jpcre2-a022ba0/src/test.cpp:362:1: note: re3c is assigned 'rec' here. jpcre2-jpcre2-a022ba0/src/test.cpp:362:1: note: Variable 'rec' is assigned an expression that holds the same value. jpcre2-jpcre2-a022ba0/src/test.cpp:362:1: style: Variable 'countc' is reassigned a value before the old one has been used. [redundantAssignment] jpcre2-jpcre2-a022ba0/src/test.cpp:362:1: note: countc is assigned jpcre2-jpcre2-a022ba0/src/test.cpp:362:1: note: countc is overwritten jpcre2-jpcre2-a022ba0/src/test.cpp:362:1: style:inconclusive: Variable 'rr2c' is reassigned a value before the old one has been used if variable is no semaphore variable. [redundantAssignment] jpcre2-jpcre2-a022ba0/src/test.cpp:362:1: note: rr2c is assigned jpcre2-jpcre2-a022ba0/src/test.cpp:362:1: note: rr2c is overwritten jpcre2-jpcre2-a022ba0/src/test.cpp:370:1: style:inconclusive: Variable 'rew' is reassigned a value before the old one has been used if variable is no semaphore variable. [redundantAssignment] jpcre2-jpcre2-a022ba0/src/test.cpp:370:1: note: rew is assigned jpcre2-jpcre2-a022ba0/src/test.cpp:370:1: note: rew is overwritten jpcre2-jpcre2-a022ba0/src/test.cpp:370:1: style: Variable 'rew' is assigned an expression that holds the same value. [redundantAssignment] jpcre2-jpcre2-a022ba0/src/test.cpp:370:1: note: re3w is assigned 'rew' here. jpcre2-jpcre2-a022ba0/src/test.cpp:370:1: note: Variable 'rew' is assigned an expression that holds the same value. jpcre2-jpcre2-a022ba0/src/test.cpp:370:1: style: Variable 'countw' is reassigned a value before the old one has been used. [redundantAssignment] jpcre2-jpcre2-a022ba0/src/test.cpp:370:1: note: countw is assigned jpcre2-jpcre2-a022ba0/src/test.cpp:370:1: note: countw is overwritten jpcre2-jpcre2-a022ba0/src/test.cpp:370:1: style:inconclusive: Variable 'rr2w' is reassigned a value before the old one has been used if variable is no semaphore variable. [redundantAssignment] jpcre2-jpcre2-a022ba0/src/test.cpp:370:1: note: rr2w is assigned jpcre2-jpcre2-a022ba0/src/test.cpp:370:1: note: rr2w is overwritten jpcre2-jpcre2-a022ba0/src/test.cpp:379:1: style:inconclusive: Variable 're16' is reassigned a value before the old one has been used if variable is no semaphore variable. [redundantAssignment] jpcre2-jpcre2-a022ba0/src/test.cpp:379:1: note: re16 is assigned jpcre2-jpcre2-a022ba0/src/test.cpp:379:1: note: re16 is overwritten jpcre2-jpcre2-a022ba0/src/test.cpp:379:1: style: Variable 're16' is assigned an expression that holds the same value. [redundantAssignment] jpcre2-jpcre2-a022ba0/src/test.cpp:379:1: note: re316 is assigned 're16' here. jpcre2-jpcre2-a022ba0/src/test.cpp:379:1: note: Variable 're16' is assigned an expression that holds the same value. jpcre2-jpcre2-a022ba0/src/test.cpp:379:1: style: Variable 'count16' is reassigned a value before the old one has been used. [redundantAssignment] jpcre2-jpcre2-a022ba0/src/test.cpp:379:1: note: count16 is assigned jpcre2-jpcre2-a022ba0/src/test.cpp:379:1: note: count16 is overwritten jpcre2-jpcre2-a022ba0/src/test.cpp:379:1: style:inconclusive: Variable 'rr216' is reassigned a value before the old one has been used if variable is no semaphore variable. [redundantAssignment] jpcre2-jpcre2-a022ba0/src/test.cpp:379:1: note: rr216 is assigned jpcre2-jpcre2-a022ba0/src/test.cpp:379:1: note: rr216 is overwritten jpcre2-jpcre2-a022ba0/src/test.cpp:387:1: style:inconclusive: Variable 're32' is reassigned a value before the old one has been used if variable is no semaphore variable. [redundantAssignment] jpcre2-jpcre2-a022ba0/src/test.cpp:387:1: note: re32 is assigned jpcre2-jpcre2-a022ba0/src/test.cpp:387:1: note: re32 is overwritten jpcre2-jpcre2-a022ba0/src/test.cpp:387:1: style: Variable 're32' is assigned an expression that holds the same value. [redundantAssignment] jpcre2-jpcre2-a022ba0/src/test.cpp:387:1: note: re332 is assigned 're32' here. jpcre2-jpcre2-a022ba0/src/test.cpp:387:1: note: Variable 're32' is assigned an expression that holds the same value. jpcre2-jpcre2-a022ba0/src/test.cpp:387:1: style: Variable 'count32' is reassigned a value before the old one has been used. [redundantAssignment] jpcre2-jpcre2-a022ba0/src/test.cpp:387:1: note: count32 is assigned jpcre2-jpcre2-a022ba0/src/test.cpp:387:1: note: count32 is overwritten jpcre2-jpcre2-a022ba0/src/test.cpp:387:1: style:inconclusive: Variable 'rr232' is reassigned a value before the old one has been used if variable is no semaphore variable. [redundantAssignment] jpcre2-jpcre2-a022ba0/src/test.cpp:387:1: note: rr232 is assigned jpcre2-jpcre2-a022ba0/src/test.cpp:387:1: note: rr232 is overwritten jpcre2-jpcre2-a022ba0/src/test.cpp:42:22: style: Unused variable: md [unusedVariable] diff: head jpcre2-jpcre2-a022ba0/src/test.cpp:362:1: warning: Assert statement calls a function which may have desired side effects: 'nreplace'. If there are no side effects, consider declaring the method const. [assertWithSideEffect] 2.21.0 jpcre2-jpcre2-a022ba0/src/test.cpp:362:1: warning: Assert statement calls a function which may have desired side effects: 'nreplace'. [assertWithSideEffect] head jpcre2-jpcre2-a022ba0/src/test.cpp:370:1: warning: Assert statement calls a function which may have desired side effects: 'nreplace'. If there are no side effects, consider declaring the method const. [assertWithSideEffect] 2.21.0 jpcre2-jpcre2-a022ba0/src/test.cpp:370:1: warning: Assert statement calls a function which may have desired side effects: 'nreplace'. [assertWithSideEffect] head jpcre2-jpcre2-a022ba0/src/test.cpp:379:1: warning: Assert statement calls a function which may have desired side effects: 'nreplace'. If there are no side effects, consider declaring the method const. [assertWithSideEffect] 2.21.0 jpcre2-jpcre2-a022ba0/src/test.cpp:379:1: warning: Assert statement calls a function which may have desired side effects: 'nreplace'. [assertWithSideEffect] head jpcre2-jpcre2-a022ba0/src/test.cpp:387:1: warning: Assert statement calls a function which may have desired side effects: 'nreplace'. If there are no side effects, consider declaring the method const. [assertWithSideEffect] 2.21.0 jpcre2-jpcre2-a022ba0/src/test.cpp:387:1: warning: Assert statement calls a function which may have desired side effects: 'nreplace'. [assertWithSideEffect] head jpcre2-jpcre2-a022ba0/src/testio.cpp:105:16: warning: Assert statement calls a function which may have desired side effects: 'match'. If there are no side effects, consider declaring the method const. [assertWithSideEffect] 2.21.0 jpcre2-jpcre2-a022ba0/src/testio.cpp:105:16: warning: Assert statement calls a function which may have desired side effects: 'match'. [assertWithSideEffect] head jpcre2-jpcre2-a022ba0/src/testio.cpp:135:17: warning: Assert statement calls a function which may have desired side effects: 'match'. If there are no side effects, consider declaring the method const. [assertWithSideEffect] 2.21.0 jpcre2-jpcre2-a022ba0/src/testio.cpp:135:17: warning: Assert statement calls a function which may have desired side effects: 'match'. [assertWithSideEffect] head jpcre2-jpcre2-a022ba0/src/testio.cpp:164:17: warning: Assert statement calls a function which may have desired side effects: 'match'. If there are no side effects, consider declaring the method const. [assertWithSideEffect] 2.21.0 jpcre2-jpcre2-a022ba0/src/testio.cpp:164:17: warning: Assert statement calls a function which may have desired side effects: 'match'. [assertWithSideEffect] head jpcre2-jpcre2-a022ba0/src/testio.cpp:46:16: warning: Assert statement calls a function which may have desired side effects: 'match'. If there are no side effects, consider declaring the method const. [assertWithSideEffect] 2.21.0 jpcre2-jpcre2-a022ba0/src/testio.cpp:46:16: warning: Assert statement calls a function which may have desired side effects: 'match'. [assertWithSideEffect] DONE