2025-07-07 05:14 ftp://ftp.de.debian.org/debian/pool/main/b/bpfcc/bpfcc_0.31.0+ds.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=zlib --library=lua --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 -j6 platform: Linux-6.1.0-37-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.67 compiler: g++ (Debian 12.2.0-14+deb12u1) 12.2.0 cppcheck: head 2.17.0 head-info: 0eb4dd8 (2025-07-06 21:35:35 +0200) count: 1756 1783 elapsed-time: 5.7 14.6 head-timing-info: old-timing-info: head results: bpfcc-0.31.0/examples/cpp/CGroupTest.cc:46:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/examples/cgroupid/cgroupid.c:37:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/examples/cgroupid/cgroupid.c:71:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/examples/cpp/CPUDistribution.cc:65:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/examples/cpp/HelloWorld.cc:25:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/examples/cpp/FollyRequestContextSwitch.cc:58:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/examples/cpp/FollyRequestContextSwitch.cc:84:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/examples/cpp/KFuncExample.cc:73:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/examples/cpp/KFuncExample.cc:82:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/examples/cgroupid/cgroupid.c:60:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bpfcc-0.31.0/examples/cpp/LLCStat.cc:77:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/examples/cpp/KModRetExample.cc:102:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_PROG_TYPE_TRACING [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/examples/cpp/KModRetExample.cc:140:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_PROG_TYPE_TRACING [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/examples/cpp/KModRetExample.cc:177:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/examples/cpp/RandomRead.cc:64:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/examples/cpp/RandomRead.cc:72:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/examples/cpp/RandomRead.cc:78:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/examples/cpp/RandomRead.cc:91:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RLIMIT_MEMLOCK [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/examples/cpp/FollyRequestContextSwitch.cc:57:8: style: Variable 'event' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/examples/cpp/KFuncExample.cc:71:8: style: Variable 'info' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/examples/cpp/RecordMySQLQuery.cc:56:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/examples/cpp/TCPSendStack.cc:62:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/examples/cpp/SkLocalStorageIterator.cc:92:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/examples/cpp/TaskIterator.cc:91:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/examples/cpp/KModRetExample.cc:118:5: error: Resource leak: ret [resourceLeak] bpfcc-0.31.0/examples/cpp/KModRetExample.cc:165:5: error: Resource leak: ret [resourceLeak] bpfcc-0.31.0/examples/cpp/KModRetExample.cc:170:3: error: Resource leak: ret [resourceLeak] bpfcc-0.31.0/examples/cpp/RandomRead.cc:63:8: style: Variable 'event' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/examples/cpp/UseExternalMap.cc:85:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_MAP_TYPE_ARRAY [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/examples/cpp/TaskIterator.cc:135:20: style: C-style pointer casting [cstyleCast] bpfcc-0.31.0/examples/cpp/TaskIterator.cc:120:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] bpfcc-0.31.0/examples/cpp/pyperf/PyPerfLoggingHelper.cc:27:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/examples/cpp/pyperf/PyPerf.cc:32:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/examples/cpp/SkLocalStorageIterator.cc:170:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bpfcc-0.31.0/examples/cpp/SkLocalStorageIterator.cc:170:7: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bpfcc-0.31.0/examples/cpp/SkLocalStorageIterator.cc:170:7: warning: %lld in format string (no. 3) requires 'long long' but the argument type is 'unsigned long long'. [invalidPrintfArgType_sint] bpfcc-0.31.0/examples/cpp/UseExternalMap.cc:67:55: performance: Function parameter 'msg' should be passed by const reference. [passedByValue] bpfcc-0.31.0/examples/cpp/SkLocalStorageIterator.cc:175:20: style: C-style pointer casting [cstyleCast] bpfcc-0.31.0/examples/cpp/SkLocalStorageIterator.cc:160:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] bpfcc-0.31.0/examples/networking/dns_matching/dns_matching.c:62:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_P_IP [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/examples/networking/distributed_bridge/tunnel_mesh.c:45:22: style: Variable 'key_p' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/examples/networking/distributed_bridge/tunnel.c:73:27: style: Local variable 'tkey' shadows outer variable [shadowVariable] bpfcc-0.31.0/examples/networking/distributed_bridge/tunnel.c:64:25: note: Shadowed declaration bpfcc-0.31.0/examples/networking/distributed_bridge/tunnel.c:73:27: note: Shadow variable bpfcc-0.31.0/examples/networking/distributed_bridge/tunnel.c:10:7: style: struct member 'vni_key::pad' is never used. [unusedStructMember] bpfcc-0.31.0/examples/networking/distributed_bridge/tunnel.c:66:14: style: Variable 'zero' is assigned a value that is never used. [unreadVariable] bpfcc-0.31.0/examples/networking/distributed_bridge/tunnel.c:66:9: style: Variable 'zero' is assigned a value that is never used. [unreadVariable] bpfcc-0.31.0/examples/networking/dns_matching/dns_matching.c:61:22: style: Variable 'ethernet' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/examples/networking/dns_matching/dns_matching.c:65:18: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/examples/networking/dns_matching/dns_matching.c:70:21: style: Variable 'udp' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/examples/networking/dns_matching/dns_matching.c:73:27: style: Variable 'dns_hdr' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/examples/networking/dns_matching/dns_matching.c:82:28: style: Variable 'c' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/examples/networking/dns_matching/dns_matching.c:91:23: style: Variable 'lookup_leaf' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/examples/networking/dns_matching/dns_matching.c:51:17: style: struct member 'Leaf::p' is never used. [unusedStructMember] bpfcc-0.31.0/examples/networking/dns_matching/dns_matching.c:66:20: style: Variable 'hlen_bytes' is assigned a value that is never used. [unreadVariable] bpfcc-0.31.0/examples/networking/dns_matching/dns_matching.c:66:9: style: Variable 'hlen_bytes' is assigned a value that is never used. [unreadVariable] bpfcc-0.31.0/examples/networking/neighbor_sharing/tc_neighbor_sharing.c:23:3: style: Label 'ethernet' is not used. [unusedLabel] bpfcc-0.31.0/examples/networking/neighbor_sharing/tc_neighbor_sharing.c:48:3: style: Label 'ethernet' is not used. [unusedLabel] bpfcc-0.31.0/examples/networking/neighbor_sharing/tc_neighbor_sharing.c:13:28: style: Parameter 'skb' can be declared as pointer to const [constParameterPointer] bpfcc-0.31.0/examples/networking/neighbor_sharing/tc_neighbor_sharing.c:24:24: style: Variable 'ethernet' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/examples/networking/neighbor_sharing/tc_neighbor_sharing.c:31:18: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/examples/networking/neighbor_sharing/tc_neighbor_sharing.c:49:24: style: Variable 'ethernet' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/examples/networking/neighbor_sharing/tc_neighbor_sharing.c:56:18: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/examples/cpp/pyperf/PyPerf.cc:27:51: performance: Function parameter 'argNames' should be passed by const reference. [passedByValue] bpfcc-0.31.0/examples/cpp/pyperf/PyPerf.cc:50:52: performance: Function parameter 'argNames' should be passed by const reference. [passedByValue] bpfcc-0.31.0/examples/cpp/pyperf/PyPerf.cc:30:24: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] bpfcc-0.31.0/examples/cpp/pyperf/PyPerfUtil.cc:52:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/examples/cpp/pyperf/PyPerfUtil.cc:100:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/examples/cpp/pyperf/PyPerfUtil.cc:146:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STT_OBJECT [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/examples/cpp/pyperf/PyPerfUtil.cc:168:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SC_NPROCESSORS_ONLN [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/examples/cpp/pyperf/PyPerfUtil.cc:241:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/examples/cpp/pyperf/PyPerfUtil.cc:344:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/examples/networking/http_filter/http-parse-simple.c:20:21: style: Variable 'ethernet' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/examples/networking/http_filter/http-parse-simple.c:26:15: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/examples/networking/http_filter/http-parse-simple.c:48:15: style: Variable '_' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/examples/networking/http_filter/http-parse-simple.c:50:16: style: Variable 'tcp' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/examples/networking/http_filter/http-parse-simple.c:48:15: style: Variable '_' is assigned a value that is never used. [unreadVariable] bpfcc-0.31.0/examples/cpp/pyperf/PyPerfDefaultPrinter.cc:99:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bpfcc-0.31.0/examples/cpp/pyperf/PyPerfDefaultPrinter.cc:100:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bpfcc-0.31.0/examples/cpp/pyperf/PyPerfDefaultPrinter.cc:101:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bpfcc-0.31.0/examples/cpp/pyperf/PyPerfDefaultPrinter.cc:102:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bpfcc-0.31.0/examples/networking/vlan_filter/data-plane-tracing.c:24:21: style: Variable 'ethernet' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/examples/networking/vlan_filter/data-plane-tracing.c:34:16: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/examples/networking/vlan_filter/data-plane-tracing.c:41:17: style: Variable 'udp' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/examples/networking/tcp_mon_block/src/tcp_mon_block.c:107:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TC_ACT_OK [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/examples/networking/tcp_mon_block/src/tcp_mon_block.c:151:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable protocol [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/examples/networking/tcp_mon_block/src/tcp_mon_block.c:199:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/examples/cpp/pyperf/PyPerfDefaultPrinter.cc:58:14: style: Variable 'sample' can be declared as reference to const [constVariableReference] bpfcc-0.31.0/examples/networking/http_filter/http-parse-complete.c:40:21: style: Variable 'ethernet' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/examples/networking/http_filter/http-parse-complete.c:46:15: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/examples/networking/http_filter/http-parse-complete.c:70:15: style: Variable '_' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/examples/networking/http_filter/http-parse-complete.c:72:16: style: Variable 'tcp' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/examples/networking/http_filter/http-parse-complete.c:134:16: style: Variable 'lookup_leaf' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/examples/networking/http_filter/http-parse-complete.c:16:6: style: struct member 'Leaf::timestamp' is never used. [unusedStructMember] bpfcc-0.31.0/examples/networking/http_filter/http-parse-complete.c:70:15: style: Variable '_' is assigned a value that is never used. [unreadVariable] bpfcc-0.31.0/examples/networking/tunnel_monitor/monitor.c:64:22: style: Variable 'ethernet' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/examples/networking/tunnel_monitor/monitor.c:76:16: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/examples/networking/tunnel_monitor/monitor.c:86:17: style: Variable 'udp' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/examples/networking/tunnel_monitor/monitor.c:113:22: style: Variable 'ethernet' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/examples/networking/tunnel_monitor/monitor.c:119:16: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/examples/networking/vlan_learning/vlan_learning.c:25:3: style: Label 'ethernet' is not used. [unusedLabel] bpfcc-0.31.0/examples/networking/vlan_learning/vlan_learning.c:52:3: style: Label 'ethernet' is not used. [unusedLabel] bpfcc-0.31.0/examples/networking/vlan_learning/vlan_learning.c:26:24: style: Variable 'ethernet' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/examples/networking/vlan_learning/vlan_learning.c:53:24: style: Variable 'ethernet' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/examples/tracing/task_switch.c:10:58: style: Parameter 'prev' can be declared as pointer to const [constParameterPointer] bpfcc-0.31.0/examples/networking/vlan_learning/vlan_learning.c:53:33: style: Variable 'ethernet' is assigned a value that is never used. [unreadVariable] bpfcc-0.31.0/examples/tracing/vfsreadlat.c:32:7: style: Variable 'tsp' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/examples/usdt_sample/usdt_sample_lib1/src/lib1.cpp:43:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _gen [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/examples/networking/tcp_mon_block/src/tcp_mon_block.c:72:77: style: Parameter 'data_end' can be declared as pointer to const [constParameterPointer] bpfcc-0.31.0/examples/networking/tcp_mon_block/src/tcp_mon_block.c:99:20: style: Variable 'eth' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/examples/networking/tcp_mon_block/src/tcp_mon_block.c:164:22: style: Variable 'sk' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/examples/networking/tcp_mon_block/src/tcp_mon_block.c:211:10: style: Variable 'monitored_pid' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/examples/networking/tcp_mon_block/src/tcp_mon_block.c:217:10: style: Variable 'allowed_ip' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/examples/networking/tcp_mon_block/src/tcp_mon_block.c:74:21: portability: '(void*)tcp' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] bpfcc-0.31.0/examples/networking/tcp_mon_block/src/tcp_mon_block.c:100:29: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] bpfcc-0.31.0/examples/networking/tcp_mon_block/src/tcp_mon_block.c:105:14: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] bpfcc-0.31.0/examples/networking/tcp_mon_block/src/tcp_mon_block.c:105:29: portability: 'data+sizeof(*eth)' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] bpfcc-0.31.0/examples/networking/tcp_mon_block/src/tcp_mon_block.c:120:22: portability: '(void*)ip' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] bpfcc-0.31.0/examples/networking/tcp_mon_block/src/tcp_mon_block.c:164:25: style: Variable 'sk' is assigned a value that is never used. [unreadVariable] bpfcc-0.31.0/examples/networking/tcp_mon_block/src/tcp_mon_block.c:164:22: style: Variable 'sk' is assigned a value that is never used. [unreadVariable] bpfcc-0.31.0/libbpf-tools/bashreadline.bpf.c:38:16: error: There is an unknown macro here somewhere. Configuration is required. If SEC is a macro then please configure it. [unknownMacro] bpfcc-0.31.0/examples/usdt_sample/usdt_sample_app1/main.cpp:21:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/examples/usdt_sample/usdt_sample_app1/main.cpp:68:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/examples/usdt_sample/scripts/bpf_text_shared.c:62:21: style: Variable 'bpf_usdt_readarg' is assigned a value that is never used. [unreadVariable] bpfcc-0.31.0/libbpf-tools/bindsnoop.bpf.c:153:16: error: There is an unknown macro here somewhere. Configuration is required. If SEC is a macro then please configure it. [unknownMacro] bpfcc-0.31.0/libbpf-tools/biolatency.bpf.c:184:16: error: There is an unknown macro here somewhere. Configuration is required. If SEC is a macro then please configure it. [unknownMacro] bpfcc-0.31.0/libbpf-tools/bashreadline.c:53:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARGP_ERR_UNKNOWN [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/bashreadline.c:69:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBBPF_DEBUG [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/bashreadline.c:90:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/bashreadline.c:106:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHT_SYMTAB [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/bashreadline.c:200:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/examples/cpp/pyperf/PyPerfUtil.cc:229:18: style: Unused private function: 'PyPerfUtil::handleSample' [unusedPrivateFunction] bpfcc-0.31.0/examples/cpp/pyperf/PyPerfUtil.h:52:8: note: Unused private function: 'PyPerfUtil::handleSample' bpfcc-0.31.0/examples/cpp/pyperf/PyPerfUtil.cc:229:18: note: Unused private function: 'PyPerfUtil::handleSample' bpfcc-0.31.0/examples/cpp/pyperf/PyPerfUtil.cc:235:18: style: Unused private function: 'PyPerfUtil::handleLostSamples' [unusedPrivateFunction] bpfcc-0.31.0/examples/cpp/pyperf/PyPerfUtil.h:53:8: note: Unused private function: 'PyPerfUtil::handleLostSamples' bpfcc-0.31.0/examples/cpp/pyperf/PyPerfUtil.cc:235:18: note: Unused private function: 'PyPerfUtil::handleLostSamples' bpfcc-0.31.0/examples/cpp/pyperf/PyPerfUtil.cc:302:25: performance:inconclusive: Technically the member function 'ebpf::pyperf::PyPerfUtil::getSymbolName' can be static (but you may consider moving to unnamed namespace). [functionStatic] bpfcc-0.31.0/examples/cpp/pyperf/PyPerfUtil.h:57:15: note: Technically the member function 'ebpf::pyperf::PyPerfUtil::getSymbolName' can be static (but you may consider moving to unnamed namespace). bpfcc-0.31.0/examples/cpp/pyperf/PyPerfUtil.cc:302:25: note: Technically the member function 'ebpf::pyperf::PyPerfUtil::getSymbolName' can be static (but you may consider moving to unnamed namespace). bpfcc-0.31.0/examples/cpp/pyperf/PyPerfUtil.cc:327:18: performance:inconclusive: Technically the member function 'ebpf::pyperf::PyPerfUtil::tryTargetPid' can be static (but you may consider moving to unnamed namespace). [functionStatic] bpfcc-0.31.0/examples/cpp/pyperf/PyPerfUtil.h:59:8: note: Technically the member function 'ebpf::pyperf::PyPerfUtil::tryTargetPid' can be static (but you may consider moving to unnamed namespace). bpfcc-0.31.0/examples/cpp/pyperf/PyPerfUtil.cc:327:18: note: Technically the member function 'ebpf::pyperf::PyPerfUtil::tryTargetPid' can be static (but you may consider moving to unnamed namespace). bpfcc-0.31.0/examples/cpp/pyperf/PyPerfUtil.cc:56:11: style: Variable 'result' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/examples/cpp/pyperf/PyPerfUtil.cc:155:50: style: Parameter 'raw_data' can be declared as pointer to const. However it seems that 'handleSampleCallback' is a callback function, if 'raw_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bpfcc-0.31.0/examples/cpp/pyperf/PyPerfUtil.cc:217:28: note: You might need to cast the function pointer here bpfcc-0.31.0/examples/cpp/pyperf/PyPerfUtil.cc:155:50: note: Parameter 'raw_data' can be declared as pointer to const bpfcc-0.31.0/examples/cpp/pyperf/PyPerfUtil.cc:103:7: performance: Inefficient usage of string::find() in condition; string::starts_with() could be faster. [stlIfStrFind] bpfcc-0.31.0/examples/cpp/pyperf/PyPerfUtil.cc:316:7: performance: Inefficient usage of string::find() in condition; string::starts_with() could be faster. [stlIfStrFind] bpfcc-0.31.0/examples/cpp/pyperf/PyPerfUtil.cc:320:12: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use resize() or pop_back() instead. [uselessCallsSubstr] bpfcc-0.31.0/introspection/bps.c:111:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/bindsnoop.c:84:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/introspection/bps.c:147:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCK_REALTIME [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/bindsnoop.c:132:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBBPF_DEBUG [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/introspection/bps.c:211:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/bindsnoop.c:158:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_TCP [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/introspection/bps.c:305:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/bindsnoop.c:181:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/introspection/bps.c:342:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EX_USAGE [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/bindsnoop.c:206:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable open_opts [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/biopattern.bpf.c:57:16: error: There is an unknown macro here somewhere. Configuration is required. If SEC is a macro then please configure it. [unknownMacro] bpfcc-0.31.0/libbpf-tools/bashreadline.c:82:7: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] bpfcc-0.31.0/libbpf-tools/biolatency.c:106:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/biolatency.c:139:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBBPF_DEBUG [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/biolatency.c:208:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/biolatency.c:251:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BTF_KIND_TYPEDEF [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/biolatency.c:295:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/bashreadline.c:47:41: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'parse_arg' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bpfcc-0.31.0/libbpf-tools/bashreadline.c:185:13: note: You might need to cast the function pointer here bpfcc-0.31.0/libbpf-tools/bashreadline.c:47:41: note: Parameter 'arg' can be declared as pointer to const bpfcc-0.31.0/libbpf-tools/bashreadline.c:76:16: style: Variable 'e' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/bashreadline.c:77:13: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/biosnoop.bpf.c:204:16: error: There is an unknown macro here somewhere. Configuration is required. If SEC is a macro then please configure it. [unknownMacro] bpfcc-0.31.0/libbpf-tools/bindsnoop.c:102:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] bpfcc-0.31.0/libbpf-tools/bindsnoop.c:109:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] bpfcc-0.31.0/libbpf-tools/bindsnoop.c:154:8: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] bpfcc-0.31.0/libbpf-tools/bindsnoop.c:246:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] bpfcc-0.31.0/libbpf-tools/bindsnoop.c:250:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] bpfcc-0.31.0/libbpf-tools/bindsnoop.c:148:7: style: Local variable 'opts' shadows outer variable [shadowVariable] bpfcc-0.31.0/libbpf-tools/bindsnoop.c:66:33: note: Shadowed declaration bpfcc-0.31.0/libbpf-tools/bindsnoop.c:148:7: note: Shadow variable bpfcc-0.31.0/libbpf-tools/biostacks.bpf.c:131:16: error: There is an unknown macro here somewhere. Configuration is required. If SEC is a macro then please configure it. [unknownMacro] bpfcc-0.31.0/libbpf-tools/bindsnoop.c:80:8: style: Variable 'port' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/bindsnoop.c:144:21: style: Variable 'e' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/bindsnoop.c:146:13: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/bindsnoop.c:195:8: style: Variable 'port' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/biopattern.c:67:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/biopattern.c:103:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBBPF_DEBUG [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/biopattern.c:126:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/biopattern.c:179:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable open_opts [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/biotop.bpf.c:157:16: error: There is an unknown macro here somewhere. Configuration is required. If SEC is a macro then please configure it. [unknownMacro] bpfcc-0.31.0/libbpf-tools/biosnoop.c:88:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/biosnoop.c:124:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBBPF_DEBUG [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/biosnoop.c:196:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCK_REALTIME [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/biosnoop.c:219:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/biosnoop.c:256:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/biostacks.c:60:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/biostacks.c:88:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBBPF_DEBUG [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/biostacks.c:110:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/biostacks.c:185:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/biolatency.c:374:9: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] bpfcc-0.31.0/libbpf-tools/biolatency.c:197:71: style: Parameter 'partitions' can be declared as pointer to const [constParameterPointer] bpfcc-0.31.0/libbpf-tools/biolatency.c:280:13: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/biopattern.c:135:9: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] bpfcc-0.31.0/libbpf-tools/biopattern.c:113:67: style: Parameter 'partitions' can be declared as pointer to const [constParameterPointer] bpfcc-0.31.0/libbpf-tools/biopattern.c:119:13: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/biostacks.c:98:30: style: Parameter 'ksyms' can be declared as pointer to const [constParameterPointer] bpfcc-0.31.0/libbpf-tools/biostacks.c:98:56: style: Parameter 'partitions' can be declared as pointer to const [constParameterPointer] bpfcc-0.31.0/libbpf-tools/bitesize.bpf.c:85:16: error: There is an unknown macro here somewhere. Configuration is required. If SEC is a macro then please configure it. [unknownMacro] bpfcc-0.31.0/libbpf-tools/cachestat.bpf.c:90:16: error: There is an unknown macro here somewhere. Configuration is required. If SEC is a macro then please configure it. [unknownMacro] bpfcc-0.31.0/libbpf-tools/bitesize.c:74:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/bitesize.c:110:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBBPF_DEBUG [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/bitesize.c:130:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/bitesize.c:174:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/cachestat.c:66:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/cachestat.c:94:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBBPF_DEBUG [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/cachestat.c:149:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/biosnoop.c:197:8: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] bpfcc-0.31.0/libbpf-tools/biotop.c:132:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/biotop.c:190:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBBPF_DEBUG [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/biotop.c:258:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/biotop.c:307:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/btf_helpers.c:86:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_WBITS [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/biotop.c:421:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/btf_helpers.c:183:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOPNOTSUPP [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/introspection/bps.c:221:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] bpfcc-0.31.0/libbpf-tools/biosnoop.c:177:45: style: Parameter 'data' can be declared as pointer to const. However it seems that 'handle_event' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bpfcc-0.31.0/libbpf-tools/biosnoop.c:326:10: note: You might need to cast the function pointer here bpfcc-0.31.0/libbpf-tools/biosnoop.c:177:45: note: Parameter 'data' can be declared as pointer to const bpfcc-0.31.0/libbpf-tools/biosnoop.c:183:13: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/bitesize.c:222:9: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] bpfcc-0.31.0/libbpf-tools/bitesize.c:161:13: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/capable.bpf.c:162:16: error: There is an unknown macro here somewhere. Configuration is required. If SEC is a macro then please configure it. [unknownMacro] bpfcc-0.31.0/libbpf-tools/cachestat.c:266:9: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] bpfcc-0.31.0/libbpf-tools/cachestat.c:51:41: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'parse_arg' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bpfcc-0.31.0/libbpf-tools/cachestat.c:129:13: note: You might need to cast the function pointer here bpfcc-0.31.0/libbpf-tools/cachestat.c:51:41: note: Parameter 'arg' can be declared as pointer to const bpfcc-0.31.0/libbpf-tools/cachestat.c:135:13: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/cpudist.bpf.c:121:16: error: There is an unknown macro here somewhere. Configuration is required. If SEC is a macro then please configure it. [unknownMacro] bpfcc-0.31.0/libbpf-tools/compat.c:41:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_MAP_TYPE_RINGBUF [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/compat.c:83:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/compat.c:97:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/cpufreq.bpf.c:85:16: error: There is an unknown macro here somewhere. Configuration is required. If SEC is a macro then please configure it. [unknownMacro] bpfcc-0.31.0/libbpf-tools/btf_helpers.c:182:6: style: Condition '!_binary_min_core_btfs_tar_gz_start' is always false [knownConditionTrueFalse] bpfcc-0.31.0/libbpf-tools/btf_helpers.c:157:3: warning: %o in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] bpfcc-0.31.0/libbpf-tools/btf_helpers.c:209:38: error: Subtracting pointers that point to different objects [subtractPointers] bpfcc-0.31.0/libbpf-tools/btf_helpers.c:14:22: note: Variable declared here. bpfcc-0.31.0/libbpf-tools/btf_helpers.c:209:5: note: Array decayed to pointer here. bpfcc-0.31.0/libbpf-tools/btf_helpers.c:13:22: note: Variable declared here. bpfcc-0.31.0/libbpf-tools/btf_helpers.c:209:40: note: Array decayed to pointer here. bpfcc-0.31.0/libbpf-tools/btf_helpers.c:209:38: note: Subtracting pointers that point to different objects bpfcc-0.31.0/libbpf-tools/btf_helpers.c:167:7: style: Variable 'name_fmt' can be declared as const array [constVariable] bpfcc-0.31.0/libbpf-tools/btf_helpers.c:171:8: style: Variable 'file_start' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/drsnoop.bpf.c:116:16: error: There is an unknown macro here somewhere. Configuration is required. If SEC is a macro then please configure it. [unknownMacro] bpfcc-0.31.0/libbpf-tools/cpudist.c:87:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/cpudist.c:135:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBBPF_DEBUG [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/cpudist.c:169:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/cpudist.c:215:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/capable.c:134:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/capable.c:182:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBBPF_DEBUG [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/capable.c:206:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/capable.c:303:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/capable.c:332:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/errno_helpers.c:173:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/drsnoop.c:72:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/drsnoop.c:109:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBBPF_DEBUG [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/drsnoop.c:146:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/drsnoop.c:171:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/cpufreq.c:65:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/cpufreq.c:96:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PERF_TYPE_SOFTWARE [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/cpufreq.c:126:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBBPF_DEBUG [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/cpufreq.c:151:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/cpufreq.c:182:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/cpufreq.c:217:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/cpudist.c:284:9: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] bpfcc-0.31.0/libbpf-tools/drsnoop.c:134:7: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] bpfcc-0.31.0/libbpf-tools/drsnoop.c:59:41: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'parse_arg' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bpfcc-0.31.0/libbpf-tools/drsnoop.c:153:13: note: You might need to cast the function pointer here bpfcc-0.31.0/libbpf-tools/drsnoop.c:59:41: note: Parameter 'arg' can be declared as pointer to const bpfcc-0.31.0/libbpf-tools/drsnoop.c:119:45: style: Parameter 'data' can be declared as pointer to const. However it seems that 'handle_event' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bpfcc-0.31.0/libbpf-tools/drsnoop.c:225:10: note: You might need to cast the function pointer here bpfcc-0.31.0/libbpf-tools/drsnoop.c:119:45: note: Parameter 'data' can be declared as pointer to const bpfcc-0.31.0/libbpf-tools/drsnoop.c:122:13: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/cpudist.c:161:8: style: Variable 'units' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/cpudist.c:201:13: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/execsnoop.bpf.c:148:16: error: There is an unknown macro here somewhere. Configuration is required. If SEC is a macro then please configure it. [unknownMacro] bpfcc-0.31.0/libbpf-tools/cpufreq.c:135:62: style: Parameter 'links' can be declared as const array [constParameter] bpfcc-0.31.0/libbpf-tools/exitsnoop.bpf.c:62:16: error: There is an unknown macro here somewhere. Configuration is required. If SEC is a macro then please configure it. [unknownMacro] bpfcc-0.31.0/libbpf-tools/filelife.bpf.c:160:16: error: There is an unknown macro here somewhere. Configuration is required. If SEC is a macro then please configure it. [unknownMacro] bpfcc-0.31.0/libbpf-tools/filetop.bpf.c:92:16: error: There is an unknown macro here somewhere. Configuration is required. If SEC is a macro then please configure it. [unknownMacro] bpfcc-0.31.0/libbpf-tools/capable.c:286:7: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] bpfcc-0.31.0/libbpf-tools/exitsnoop.c:76:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/exitsnoop.c:111:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBBPF_DEBUG [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/exitsnoop.c:166:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/exitsnoop.c:189:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable open_opts [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/filelife.c:64:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/filelife.c:80:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBBPF_DEBUG [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/filelife.c:114:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/filelife.c:135:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable open_opts [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/execsnoop.c:105:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/execsnoop.c:147:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBBPF_DEBUG [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/execsnoop.c:163:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCK_MONOTONIC [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/execsnoop.c:225:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/capable.c:192:37: style: Parameter 'ksyms' can be declared as pointer to const [constParameterPointer] bpfcc-0.31.0/libbpf-tools/execsnoop.c:265:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/capable.c:281:13: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/execsnoop.c:288:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable open_opts [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/capable.c:289:8: style: Variable 'verdict' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/biotop.c:293:8: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] bpfcc-0.31.0/libbpf-tools/biotop.c:238:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] bpfcc-0.31.0/libbpf-tools/filelife.c:105:7: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] bpfcc-0.31.0/libbpf-tools/biotop.c:113:41: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'parse_arg' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bpfcc-0.31.0/libbpf-tools/biotop.c:406:13: note: You might need to cast the function pointer here bpfcc-0.31.0/libbpf-tools/biotop.c:113:41: note: Parameter 'arg' can be declared as pointer to const bpfcc-0.31.0/libbpf-tools/biotop.c:210:16: style: Variable 's1' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/biotop.c:211:16: style: Variable 's2' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/biotop.c:283:13: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/biotop.c:329:17: style: Variable 'value' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/biotop.c:391:20: style: Parameter 'ksyms' can be declared as pointer to const [constParameterPointer] bpfcc-0.31.0/libbpf-tools/filelife.c:52:41: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'parse_arg' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bpfcc-0.31.0/libbpf-tools/filelife.c:122:13: note: You might need to cast the function pointer here bpfcc-0.31.0/libbpf-tools/filelife.c:52:41: note: Parameter 'arg' can be declared as pointer to const bpfcc-0.31.0/libbpf-tools/filelife.c:90:45: style: Parameter 'data' can be declared as pointer to const. However it seems that 'handle_event' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bpfcc-0.31.0/libbpf-tools/filelife.c:169:10: note: You might need to cast the function pointer here bpfcc-0.31.0/libbpf-tools/filelife.c:90:45: note: Parameter 'data' can be declared as pointer to const bpfcc-0.31.0/libbpf-tools/filelife.c:93:13: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/fsdist.bpf.c:191:16: error: There is an unknown macro here somewhere. Configuration is required. If SEC is a macro then please configure it. [unknownMacro] bpfcc-0.31.0/libbpf-tools/fsslower.bpf.c:208:16: error: There is an unknown macro here somewhere. Configuration is required. If SEC is a macro then please configure it. [unknownMacro] bpfcc-0.31.0/libbpf-tools/exitsnoop.c:139:8: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] bpfcc-0.31.0/libbpf-tools/filetop.c:79:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/filetop.c:154:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBBPF_DEBUG [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/filetop.c:212:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/filetop.c:275:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable open_opts [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/funclatency.bpf.c:107:16: error: There is an unknown macro here somewhere. Configuration is required. If SEC is a macro then please configure it. [unknownMacro] bpfcc-0.31.0/libbpf-tools/exitsnoop.c:121:52: style: Parameter 'data' can be declared as pointer to const. However it seems that 'handle_event' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bpfcc-0.31.0/libbpf-tools/exitsnoop.c:234:10: note: You might need to cast the function pointer here bpfcc-0.31.0/libbpf-tools/exitsnoop.c:121:52: note: Parameter 'data' can be declared as pointer to const bpfcc-0.31.0/libbpf-tools/exitsnoop.c:125:13: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/execsnoop.c:245:7: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] bpfcc-0.31.0/libbpf-tools/futexctn.bpf.c:131:16: error: There is an unknown macro here somewhere. Configuration is required. If SEC is a macro then please configure it. [unknownMacro] bpfcc-0.31.0/libbpf-tools/execsnoop.c:233:13: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/gethostlatency.bpf.c:75:16: error: There is an unknown macro here somewhere. Configuration is required. If SEC is a macro then please configure it. [unknownMacro] bpfcc-0.31.0/libbpf-tools/funclatency.c:99:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/funclatency.c:181:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBBPF_DEBUG [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/funclatency.c:212:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/funclatency.c:241:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/funclatency.c:259:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/funclatency.c:349:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable open_opts [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/fsdist.c:163:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/fsdist.c:225:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBBPF_DEBUG [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/fsdist.c:365:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/fsdist.c:390:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/filetop.c:197:8: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] bpfcc-0.31.0/libbpf-tools/fsslower.c:139:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/fsslower.c:209:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBBPF_DEBUG [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/fsslower.c:312:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/fsslower.c:378:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/fsslower.c:400:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/filetop.c:72:41: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'parse_arg' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bpfcc-0.31.0/libbpf-tools/filetop.c:263:13: note: You might need to cast the function pointer here bpfcc-0.31.0/libbpf-tools/filetop.c:72:41: note: Parameter 'arg' can be declared as pointer to const bpfcc-0.31.0/libbpf-tools/filetop.c:166:20: style: Variable 's1' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/filetop.c:167:20: style: Variable 's2' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/filetop.c:187:13: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/futexctn.c:108:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/futexctn.c:176:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBBPF_DEBUG [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/futexctn.c:205:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/futexctn.c:279:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/futexctn.c:332:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/hardirqs.bpf.c:130:16: error: There is an unknown macro here somewhere. Configuration is required. If SEC is a macro then please configure it. [unknownMacro] bpfcc-0.31.0/libbpf-tools/funclatency.c:417:9: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] bpfcc-0.31.0/libbpf-tools/funclatency.c:272:3: error: Memory leak: binary [memleak] bpfcc-0.31.0/libbpf-tools/funclatency.c:94:19: style: Local variable 'env' shadows outer variable [shadowVariable] bpfcc-0.31.0/libbpf-tools/funclatency.c:45:3: note: Shadowed declaration bpfcc-0.31.0/libbpf-tools/funclatency.c:94:19: note: Shadow variable bpfcc-0.31.0/libbpf-tools/funclatency.c:332:13: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/gethostlatency.c:61:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/gethostlatency.c:90:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBBPF_DEBUG [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/gethostlatency.c:122:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/gethostlatency.c:128:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/gethostlatency.c:172:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/gethostlatency.c:257:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable open_opts [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/javagc.bpf.c:80:16: error: There is an unknown macro here somewhere. Configuration is required. If SEC is a macro then please configure it. [unknownMacro] bpfcc-0.31.0/libbpf-tools/hardirqs.c:91:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/hardirqs.c:119:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBBPF_DEBUG [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/hardirqs.c:147:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/hardirqs.c:195:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/javagc.c:68:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/javagc.c:93:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBBPF_DEBUG [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/javagc.c:178:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/futexctn.c:377:9: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] bpfcc-0.31.0/libbpf-tools/futexctn.c:87:41: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'parse_arg' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bpfcc-0.31.0/libbpf-tools/futexctn.c:315:13: note: You might need to cast the function pointer here bpfcc-0.31.0/libbpf-tools/futexctn.c:87:41: note: Parameter 'arg' can be declared as pointer to const bpfcc-0.31.0/libbpf-tools/futexctn.c:319:13: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/javagc.c:107:7: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] bpfcc-0.31.0/libbpf-tools/javagc.c:134:9: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] bpfcc-0.31.0/libbpf-tools/fsslower.c:365:7: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] bpfcc-0.31.0/libbpf-tools/fsslower.c:241:8: style: Condition 'err' is always false [knownConditionTrueFalse] bpfcc-0.31.0/libbpf-tools/fsslower.c:239:12: note: Assignment 'err=0', assigned value is 0 bpfcc-0.31.0/libbpf-tools/fsslower.c:241:8: note: Condition 'err' is always false bpfcc-0.31.0/libbpf-tools/javagc.c:56:41: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'parse_arg' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bpfcc-0.31.0/libbpf-tools/javagc.c:154:13: note: You might need to cast the function pointer here bpfcc-0.31.0/libbpf-tools/javagc.c:56:41: note: Parameter 'arg' can be declared as pointer to const bpfcc-0.31.0/libbpf-tools/javagc.c:101:17: style: Variable 'e' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/javagc.c:102:13: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/javagc.c:112:38: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'handle_lost_events' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bpfcc-0.31.0/libbpf-tools/javagc.c:227:18: note: You might need to cast the function pointer here bpfcc-0.31.0/libbpf-tools/javagc.c:112:38: note: Parameter 'ctx' can be declared as pointer to const bpfcc-0.31.0/libbpf-tools/gethostlatency.c:114:7: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] bpfcc-0.31.0/libbpf-tools/fsslower.c:129:41: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'parse_arg' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bpfcc-0.31.0/libbpf-tools/fsslower.c:386:13: note: You might need to cast the function pointer here bpfcc-0.31.0/libbpf-tools/fsslower.c:129:41: note: Parameter 'arg' can be declared as pointer to const bpfcc-0.31.0/libbpf-tools/gethostlatency.c:148:9: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] bpfcc-0.31.0/libbpf-tools/fsslower.c:340:52: style: Parameter 'data' can be declared as pointer to const. However it seems that 'handle_event' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bpfcc-0.31.0/libbpf-tools/fsslower.c:456:10: note: You might need to cast the function pointer here bpfcc-0.31.0/libbpf-tools/fsslower.c:340:52: note: Parameter 'data' can be declared as pointer to const bpfcc-0.31.0/libbpf-tools/fsslower.c:343:13: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/gethostlatency.c:71:14: warning: If memory allocation fails, then there is a possible null pointer dereference: libc_path [nullPointerOutOfMemory] bpfcc-0.31.0/libbpf-tools/gethostlatency.c:70:21: note: Assuming allocation function fails bpfcc-0.31.0/libbpf-tools/gethostlatency.c:70:21: note: Assignment 'libc_path=strdup(arg)', assigned value is 0 bpfcc-0.31.0/libbpf-tools/gethostlatency.c:71:14: note: Null pointer dereference bpfcc-0.31.0/libbpf-tools/hardirqs.c:269:9: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] bpfcc-0.31.0/libbpf-tools/gethostlatency.c:172:7: style: Local variable 'libc_path' shadows outer variable [shadowVariable] bpfcc-0.31.0/libbpf-tools/gethostlatency.c:32:20: note: Shadowed declaration bpfcc-0.31.0/libbpf-tools/gethostlatency.c:172:7: note: Shadow variable bpfcc-0.31.0/libbpf-tools/gethostlatency.c:55:41: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'parse_arg' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bpfcc-0.31.0/libbpf-tools/gethostlatency.c:243:13: note: You might need to cast the function pointer here bpfcc-0.31.0/libbpf-tools/gethostlatency.c:55:41: note: Parameter 'arg' can be declared as pointer to const bpfcc-0.31.0/libbpf-tools/gethostlatency.c:100:52: style: Parameter 'data' can be declared as pointer to const. However it seems that 'handle_event' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bpfcc-0.31.0/libbpf-tools/gethostlatency.c:282:10: note: You might need to cast the function pointer here bpfcc-0.31.0/libbpf-tools/gethostlatency.c:100:52: note: Parameter 'data' can be declared as pointer to const bpfcc-0.31.0/libbpf-tools/gethostlatency.c:103:13: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/gethostlatency.c:131:8: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/hardirqs.c:183:13: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/klockstat.bpf.c:742:16: error: There is an unknown macro here somewhere. Configuration is required. If SEC is a macro then please configure it. [unknownMacro] bpfcc-0.31.0/libbpf-tools/ksnoop.bpf.c:460:17: error: There is an unknown macro here somewhere. Configuration is required. If SEC is a macro then please configure it. [unknownMacro] bpfcc-0.31.0/libbpf-tools/llcstat.bpf.c:58:16: error: There is an unknown macro here somewhere. Configuration is required. If SEC is a macro then please configure it. [unknownMacro] bpfcc-0.31.0/libbpf-tools/mdflush.bpf.c:46:16: error: There is an unknown macro here somewhere. Configuration is required. If SEC is a macro then please configure it. [unknownMacro] bpfcc-0.31.0/libbpf-tools/fsdist.c:456:9: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] bpfcc-0.31.0/libbpf-tools/fsdist.c:275:8: style: Condition 'err' is always false [knownConditionTrueFalse] bpfcc-0.31.0/libbpf-tools/fsdist.c:273:12: note: Assignment 'err=0', assigned value is 0 bpfcc-0.31.0/libbpf-tools/fsdist.c:275:8: note: Condition 'err' is always false bpfcc-0.31.0/libbpf-tools/fsdist.c:462:7: style: Condition 'err' is always false [knownConditionTrueFalse] bpfcc-0.31.0/libbpf-tools/fsdist.c:461:20: note: Calling function 'print_hists' returns 0 bpfcc-0.31.0/libbpf-tools/fsdist.c:461:20: note: Assignment 'err=print_hists(skel->bss)', assigned value is 0 bpfcc-0.31.0/libbpf-tools/fsdist.c:462:7: note: Condition 'err' is always false bpfcc-0.31.0/libbpf-tools/map_helpers.c:26:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/map_helpers.c:62:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/map_helpers.c:81:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/fsdist.c:135:41: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'parse_arg' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bpfcc-0.31.0/libbpf-tools/fsdist.c:375:13: note: You might need to cast the function pointer here bpfcc-0.31.0/libbpf-tools/fsdist.c:135:41: note: Parameter 'arg' can be declared as pointer to const bpfcc-0.31.0/libbpf-tools/fsdist.c:379:13: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/map_helpers.c:16:15: style: Parameter 'invalid_key' can be declared as pointer to const [constParameterPointer] bpfcc-0.31.0/libbpf-tools/map_helpers.c:32:3: portability: 'keys' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] bpfcc-0.31.0/libbpf-tools/map_helpers.c:38:42: portability: 'keys' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] bpfcc-0.31.0/libbpf-tools/map_helpers.c:39:15: portability: 'values' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] bpfcc-0.31.0/libbpf-tools/map_helpers.c:59:14: portability: 'keys' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] bpfcc-0.31.0/libbpf-tools/map_helpers.c:60:16: portability: 'values' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] bpfcc-0.31.0/libbpf-tools/llcstat.c:66:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/llcstat.c:99:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PERF_TYPE_HARDWARE [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/llcstat.c:128:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBBPF_DEBUG [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/llcstat.c:149:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/llcstat.c:203:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/mdflush.c:54:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARGP_ERR_UNKNOWN [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/mdflush.c:66:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBBPF_DEBUG [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/mdflush.c:87:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/mdflush.c:109:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/memleak.bpf.c:459:16: error: There is an unknown macro here somewhere. Configuration is required. If SEC is a macro then please configure it. [unknownMacro] bpfcc-0.31.0/libbpf-tools/mdflush.c:79:7: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] bpfcc-0.31.0/libbpf-tools/mdflush.c:73:16: style: Variable 'e' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/mdflush.c:75:13: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/mountsnoop.bpf.c:127:16: error: There is an unknown macro here somewhere. Configuration is required. If SEC is a macro then please configure it. [unknownMacro] bpfcc-0.31.0/libbpf-tools/memleak.c:1044:2: error: There is an unknown macro here somewhere. Configuration is required. If LIBBPF_OPTS is a macro then please configure it. [unknownMacro] bpfcc-0.31.0/libbpf-tools/numamove.bpf.c:94:16: error: There is an unknown macro here somewhere. Configuration is required. If SEC is a macro then please configure it. [unknownMacro] bpfcc-0.31.0/libbpf-tools/llcstat.c:217:3: error: Memory leak: rlinks [memleak] bpfcc-0.31.0/libbpf-tools/llcstat.c:217:3: error: Memory leak: mlinks [memleak] bpfcc-0.31.0/libbpf-tools/llcstat.c:51:41: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'parse_arg' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bpfcc-0.31.0/libbpf-tools/llcstat.c:189:13: note: You might need to cast the function pointer here bpfcc-0.31.0/libbpf-tools/llcstat.c:51:41: note: Parameter 'arg' can be declared as pointer to const bpfcc-0.31.0/libbpf-tools/offcputime.bpf.c:110:16: error: There is an unknown macro here somewhere. Configuration is required. If SEC is a macro then please configure it. [unknownMacro] bpfcc-0.31.0/libbpf-tools/numamove.c:52:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARGP_ERR_UNKNOWN [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/numamove.c:59:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBBPF_DEBUG [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/mountsnoop.c:107:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/numamove.c:91:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/mountsnoop.c:135:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBBPF_DEBUG [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/mountsnoop.c:245:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/mountsnoop.c:266:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable open_opts [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/klockstat.c:190:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/klockstat.c:327:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/klockstat.c:348:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/klockstat.c:512:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/klockstat.c:595:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBBPF_DEBUG [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/klockstat.c:720:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/oomkill.bpf.c:29:16: error: There is an unknown macro here somewhere. Configuration is required. If SEC is a macro then please configure it. [unknownMacro] bpfcc-0.31.0/libbpf-tools/ksnoop.c:49:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/ksnoop.c:68:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/ksnoop.c:178:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BTF_KIND_STRUCT [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/ksnoop.c:218:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BTF_KIND_FUNC [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/ksnoop.c:268:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/ksnoop.c:326:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/ksnoop.c:350:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/ksnoop.c:464:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/ksnoop.c:554:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/ksnoop.c:648:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/ksnoop.c:720:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable indent_level [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/ksnoop.c:792:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/ksnoop.c:824:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/ksnoop.c:860:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/ksnoop.c:949:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBBPF_DEBUG [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/ksnoop.c:985:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/numamove.c:146:8: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] bpfcc-0.31.0/libbpf-tools/numamove.c:77:13: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/opensnoop.bpf.c:136:16: error: There is an unknown macro here somewhere. Configuration is required. If SEC is a macro then please configure it. [unknownMacro] bpfcc-0.31.0/libbpf-tools/mountsnoop.c:212:8: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] bpfcc-0.31.0/libbpf-tools/mountsnoop.c:174:6: style: Condition '!errstr' is always true [knownConditionTrueFalse] bpfcc-0.31.0/libbpf-tools/mountsnoop.c:173:26: note: Calling function 'strerrorname_np' returns 0 bpfcc-0.31.0/libbpf-tools/mountsnoop.c:173:26: note: Assignment 'errstr=strerrorname_np(-errnum)', assigned value is 0 bpfcc-0.31.0/libbpf-tools/mountsnoop.c:174:6: note: Condition '!errstr' is always true bpfcc-0.31.0/libbpf-tools/oomkill.c:56:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARGP_ERR_UNKNOWN [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/oomkill.c:103:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBBPF_DEBUG [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/oomkill.c:126:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable open_opts [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/mountsnoop.c:101:41: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'parse_arg' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bpfcc-0.31.0/libbpf-tools/mountsnoop.c:253:13: note: You might need to cast the function pointer here bpfcc-0.31.0/libbpf-tools/mountsnoop.c:101:41: note: Parameter 'arg' can be declared as pointer to const bpfcc-0.31.0/libbpf-tools/mountsnoop.c:201:13: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/mountsnoop.c:155:12: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] bpfcc-0.31.0/libbpf-tools/mountsnoop.c:154:16: note: Assuming that condition 'inr_locks' is less than zero. [unsignedLessThanZero] bpfcc-0.31.0/libbpf-tools/klockstat.c:222:38: style: Checking if unsigned expression 'env->nr_stack_entries' is less than zero. [unsignedLessThanZero] bpfcc-0.31.0/libbpf-tools/runqslower.c:54:41: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'parse_arg' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bpfcc-0.31.0/libbpf-tools/runqslower.c:152:13: note: You might need to cast the function pointer here bpfcc-0.31.0/libbpf-tools/runqslower.c:54:41: note: Parameter 'arg' can be declared as pointer to const bpfcc-0.31.0/libbpf-tools/runqslower.c:120:45: style: Parameter 'data' can be declared as pointer to const. However it seems that 'handle_event' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bpfcc-0.31.0/libbpf-tools/runqslower.c:205:10: note: You might need to cast the function pointer here bpfcc-0.31.0/libbpf-tools/runqslower.c:120:45: note: Parameter 'data' can be declared as pointer to const bpfcc-0.31.0/libbpf-tools/runqslower.c:123:13: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/runqslower.c:143:31: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'handle_lost_events' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bpfcc-0.31.0/libbpf-tools/runqslower.c:205:24: note: You might need to cast the function pointer here bpfcc-0.31.0/libbpf-tools/runqslower.c:143:31: note: Parameter 'ctx' can be declared as pointer to const bpfcc-0.31.0/libbpf-tools/klockstat.c:185:19: style: Local variable 'env' shadows outer variable [shadowVariable] bpfcc-0.31.0/libbpf-tools/klockstat.c:60:3: note: Shadowed declaration bpfcc-0.31.0/libbpf-tools/klockstat.c:185:19: note: Shadow variable bpfcc-0.31.0/libbpf-tools/klockstat.c:125:42: style: Parameter 'ksyms' can be declared as pointer to const [constParameterPointer] bpfcc-0.31.0/libbpf-tools/klockstat.c:132:48: style: Parameter 'ksyms' can be declared as pointer to const [constParameterPointer] bpfcc-0.31.0/libbpf-tools/klockstat.c:170:53: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] bpfcc-0.31.0/libbpf-tools/klockstat.c:289:44: style: Parameter 'ksyms' can be declared as pointer to const [constParameterPointer] bpfcc-0.31.0/libbpf-tools/klockstat.c:312:21: style: Variable 'ss_x' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/klockstat.c:313:21: style: Variable 'ss_y' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/klockstat.c:333:21: style: Variable 'ss_x' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/klockstat.c:334:21: style: Variable 'ss_y' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/klockstat.c:352:36: style: Parameter 'ksyms' can be declared as pointer to const [constParameterPointer] bpfcc-0.31.0/libbpf-tools/klockstat.c:362:67: style: Parameter 'ss' can be declared as pointer to const [constParameterPointer] bpfcc-0.31.0/libbpf-tools/sigsnoop.bpf.c:154:16: error: There is an unknown macro here somewhere. Configuration is required. If SEC is a macro then please configure it. [unknownMacro] bpfcc-0.31.0/libbpf-tools/klockstat.c:373:4: style: Variable 'table' can be declared as const array [constVariable] bpfcc-0.31.0/libbpf-tools/klockstat.c:404:68: style: Parameter 'ss' can be declared as pointer to const [constParameterPointer] bpfcc-0.31.0/libbpf-tools/klockstat.c:457:68: style: Parameter 'ss' can be declared as pointer to const [constParameterPointer] bpfcc-0.31.0/libbpf-tools/klockstat.c:705:13: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/slabratetop.bpf.c:53:16: error: There is an unknown macro here somewhere. Configuration is required. If SEC is a macro then please configure it. [unknownMacro] bpfcc-0.31.0/libbpf-tools/runqlat.c:271:9: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] bpfcc-0.31.0/libbpf-tools/runqlat.c:190:13: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/sigsnoop.c:101:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/sigsnoop.c:145:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBBPF_DEBUG [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/sigsnoop.c:184:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/sigsnoop.c:207:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/softirqs.bpf.c:88:16: error: There is an unknown macro here somewhere. Configuration is required. If SEC is a macro then please configure it. [unknownMacro] bpfcc-0.31.0/libbpf-tools/slabratetop.c:76:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/slabratetop.c:144:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBBPF_DEBUG [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/slabratetop.c:198:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/slabratetop.c:260:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/runqlen.c:296:9: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] bpfcc-0.31.0/libbpf-tools/sigsnoop.c:111:25: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] bpfcc-0.31.0/libbpf-tools/sigsnoop.c:119:27: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] bpfcc-0.31.0/libbpf-tools/sigsnoop.c:172:7: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] bpfcc-0.31.0/libbpf-tools/runqlen.c:73:41: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'parse_arg' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bpfcc-0.31.0/libbpf-tools/runqlen.c:227:13: note: You might need to cast the function pointer here bpfcc-0.31.0/libbpf-tools/runqlen.c:73:41: note: Parameter 'arg' can be declared as pointer to const bpfcc-0.31.0/libbpf-tools/runqlen.c:232:13: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/sigsnoop.c:97:15: style: Variable 'token' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/sigsnoop.c:166:16: style: Variable 'e' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/sigsnoop.c:167:13: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/solisten.bpf.c:101:16: error: There is an unknown macro here somewhere. Configuration is required. If SEC is a macro then please configure it. [unknownMacro] bpfcc-0.31.0/libbpf-tools/profile.c:361:17: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] bpfcc-0.31.0/libbpf-tools/profile.c:138:8: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] bpfcc-0.31.0/libbpf-tools/profile.c:147:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] bpfcc-0.31.0/libbpf-tools/statsnoop.bpf.c:130:16: error: There is an unknown macro here somewhere. Configuration is required. If SEC is a macro then please configure it. [unknownMacro] bpfcc-0.31.0/libbpf-tools/profile.c:132:40: style: Parameter 'sep' can be declared as pointer to const [constParameterPointer] bpfcc-0.31.0/libbpf-tools/profile.c:134:8: style: Variable 'pid' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/profile.c:153:41: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'parse_arg' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bpfcc-0.31.0/libbpf-tools/profile.c:527:13: note: You might need to cast the function pointer here bpfcc-0.31.0/libbpf-tools/profile.c:153:41: note: Parameter 'arg' can be declared as pointer to const bpfcc-0.31.0/libbpf-tools/profile.c:356:85: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] bpfcc-0.31.0/libbpf-tools/softirqs.c:83:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/softirqs.c:111:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBBPF_DEBUG [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/softirqs.c:159:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __ATOMIC_RELAXED [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/softirqs.c:216:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/syncsnoop.bpf.c:61:16: error: There is an unknown macro here somewhere. Configuration is required. If SEC is a macro then please configure it. [unknownMacro] bpfcc-0.31.0/libbpf-tools/solisten.c:63:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/solisten.c:88:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBBPF_DEBUG [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/solisten.c:115:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/solisten.c:132:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/solisten.c:153:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable open_opts [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/statsnoop.c:59:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/statsnoop.c:87:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBBPF_DEBUG [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/statsnoop.c:129:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/syncsnoop.c:50:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARGP_ERR_UNKNOWN [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/statsnoop.c:150:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable open_opts [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/syncsnoop.c:57:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBBPF_DEBUG [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/syncsnoop.c:106:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/solisten.c:110:8: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] bpfcc-0.31.0/libbpf-tools/slabratetop.c:184:8: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] bpfcc-0.31.0/libbpf-tools/syncsnoop.c:62:45: style: Parameter 'data' can be declared as pointer to const. However it seems that 'handle_event' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bpfcc-0.31.0/libbpf-tools/syncsnoop.c:117:10: note: You might need to cast the function pointer here bpfcc-0.31.0/libbpf-tools/syncsnoop.c:62:45: note: Parameter 'data' can be declared as pointer to const bpfcc-0.31.0/libbpf-tools/syncsnoop.c:77:31: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'handle_lost_events' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bpfcc-0.31.0/libbpf-tools/syncsnoop.c:117:24: note: You might need to cast the function pointer here bpfcc-0.31.0/libbpf-tools/syncsnoop.c:77:31: note: Parameter 'ctx' can be declared as pointer to const bpfcc-0.31.0/libbpf-tools/solisten.c:57:41: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'parse_arg' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bpfcc-0.31.0/libbpf-tools/solisten.c:140:13: note: You might need to cast the function pointer here bpfcc-0.31.0/libbpf-tools/solisten.c:57:41: note: Parameter 'arg' can be declared as pointer to const bpfcc-0.31.0/libbpf-tools/slabratetop.c:163:9: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] bpfcc-0.31.0/libbpf-tools/slabratetop.c:165:4: note: Found duplicate branches for 'if' and 'else'. bpfcc-0.31.0/libbpf-tools/slabratetop.c:163:9: note: Found duplicate branches for 'if' and 'else'. bpfcc-0.31.0/libbpf-tools/solisten.c:102:13: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/slabratetop.c:69:41: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'parse_arg' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bpfcc-0.31.0/libbpf-tools/slabratetop.c:246:13: note: You might need to cast the function pointer here bpfcc-0.31.0/libbpf-tools/slabratetop.c:69:41: note: Parameter 'arg' can be declared as pointer to const bpfcc-0.31.0/libbpf-tools/slabratetop.c:156:24: style: Variable 's1' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/slabratetop.c:157:24: style: Variable 's2' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/slabratetop.c:174:13: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/syscount.bpf.c:115:16: error: There is an unknown macro here somewhere. Configuration is required. If SEC is a macro then please configure it. [unknownMacro] bpfcc-0.31.0/libbpf-tools/statsnoop.c:53:41: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'parse_arg' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bpfcc-0.31.0/libbpf-tools/statsnoop.c:137:13: note: You might need to cast the function pointer here bpfcc-0.31.0/libbpf-tools/statsnoop.c:53:41: note: Parameter 'arg' can be declared as pointer to const bpfcc-0.31.0/libbpf-tools/statsnoop.c:97:52: style: Parameter 'data' can be declared as pointer to const. However it seems that 'handle_event' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bpfcc-0.31.0/libbpf-tools/statsnoop.c:199:10: note: You might need to cast the function pointer here bpfcc-0.31.0/libbpf-tools/statsnoop.c:97:52: note: Parameter 'data' can be declared as pointer to const bpfcc-0.31.0/libbpf-tools/softirqs.c:260:9: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] bpfcc-0.31.0/libbpf-tools/statsnoop.c:102:12: style: Variable 'ts' is assigned a value that is never used. [unreadVariable] bpfcc-0.31.0/libbpf-tools/syscall_helpers.c:20:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/syscall_helpers.c:52:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/softirqs.c:59:41: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'parse_arg' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bpfcc-0.31.0/libbpf-tools/softirqs.c:199:13: note: You might need to cast the function pointer here bpfcc-0.31.0/libbpf-tools/softirqs.c:59:41: note: Parameter 'arg' can be declared as pointer to const bpfcc-0.31.0/libbpf-tools/softirqs.c:203:13: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/tcpconnect.bpf.c:226:16: error: There is an unknown macro here somewhere. Configuration is required. If SEC is a macro then please configure it. [unknownMacro] bpfcc-0.31.0/libbpf-tools/tcpconnlat.bpf.c:140:16: error: There is an unknown macro here somewhere. Configuration is required. If SEC is a macro then please configure it. [unknownMacro] bpfcc-0.31.0/libbpf-tools/tcplife.bpf.c:152:16: error: There is an unknown macro here somewhere. Configuration is required. If SEC is a macro then please configure it. [unknownMacro] bpfcc-0.31.0/libbpf-tools/ksnoop.c:470:9: warning:inconclusive: Width 128 given in format string (no. 3) is smaller than destination buffer 'sym_name[256]'. [invalidScanfFormatWidth_smaller] bpfcc-0.31.0/libbpf-tools/ksnoop.c:265:6: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] bpfcc-0.31.0/libbpf-tools/ksnoop.c:470:9: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] bpfcc-0.31.0/libbpf-tools/ksnoop.c:485:8: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] bpfcc-0.31.0/libbpf-tools/ksnoop.c:527:8: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] bpfcc-0.31.0/libbpf-tools/ksnoop.c:578:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] bpfcc-0.31.0/libbpf-tools/ksnoop.c:718:22: style: Local variable 'data' shadows outer argument [shadowArgument] bpfcc-0.31.0/libbpf-tools/ksnoop.c:700:53: note: Shadowed declaration bpfcc-0.31.0/libbpf-tools/ksnoop.c:718:22: note: Shadow variable bpfcc-0.31.0/libbpf-tools/ksnoop.c:42:45: style: Parameter 'level_str' can be declared as pointer to const [constParameterPointer] bpfcc-0.31.0/libbpf-tools/ksnoop.c:97:50: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] bpfcc-0.31.0/libbpf-tools/ksnoop.c:307:12: style: Parameter 'membername' can be declared as pointer to const [constParameterPointer] bpfcc-0.31.0/libbpf-tools/ksnoop.c:379:8: style: Variable 'prefix' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/ksnoop.c:380:8: style: Variable 'suffix' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/ksnoop.c:381:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/ksnoop.c:500:32: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'trace_printf' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bpfcc-0.31.0/libbpf-tools/ksnoop.c:560:42: note: You might need to cast the function pointer here bpfcc-0.31.0/libbpf-tools/ksnoop.c:500:32: note: Parameter 'ctx' can be declared as pointer to const bpfcc-0.31.0/libbpf-tools/syscall_helpers.c:846:4: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] bpfcc-0.31.0/libbpf-tools/syscall_helpers.c:77:4: error: Common realloc mistake: 'syscall_names' nulled but not freed upon failure [memleakOnRealloc] bpfcc-0.31.0/libbpf-tools/ksnoop.c:810:9: warning: Uninitialized variable: ret [uninitvar] bpfcc-0.31.0/libbpf-tools/ksnoop.c:794:16: note: Assuming condition is false bpfcc-0.31.0/libbpf-tools/ksnoop.c:810:9: note: Uninitialized variable: ret bpfcc-0.31.0/libbpf-tools/syscount.c:90:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/syscount.c:105:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBBPF_DEBUG [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/syscount.c:189:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/syscount.c:206:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/syscount.c:240:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/syscount.c:318:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/syscount.c:408:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable open_opts [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/tcpconnlat.c:68:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/tcpconnlat.c:102:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBBPF_DEBUG [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/tcpconnlat.c:115:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/tcpconnlat.c:154:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/tcpconnlat.c:176:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/tcppktlat.bpf.c:142:16: error: There is an unknown macro here somewhere. Configuration is required. If SEC is a macro then please configure it. [unknownMacro] bpfcc-0.31.0/libbpf-tools/tcpconnect.c:47:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/tcpconnect.c:69:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/tcpconnect.c:93:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/tcpconnect.c:163:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/tcpconnect.c:197:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBBPF_DEBUG [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/tcpconnect.c:210:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __u64 [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/tcpconnect.c:243:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __u64 [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/tcpconnect.c:309:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/tcpconnect.c:360:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/tcpconnect.c:371:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/tcpconnect.c:409:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable open_opts [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/tcplife.c:66:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/tcplife.c:106:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBBPF_DEBUG [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/tcplife.c:147:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/tcplife.c:170:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable open_opts [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/tcprtt.bpf.c:156:16: error: There is an unknown macro here somewhere. Configuration is required. If SEC is a macro then please configure it. [unknownMacro] bpfcc-0.31.0/libbpf-tools/tcpconnlat.c:56:41: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'parse_arg' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bpfcc-0.31.0/libbpf-tools/tcpconnlat.c:161:13: note: You might need to cast the function pointer here bpfcc-0.31.0/libbpf-tools/tcpconnlat.c:56:41: note: Parameter 'arg' can be declared as pointer to const bpfcc-0.31.0/libbpf-tools/tcppktlat.c:79:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/tcppktlat.c:139:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBBPF_DEBUG [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/tcppktlat.c:175:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/tcppktlat.c:197:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/tcpstates.bpf.c:102:16: error: There is an unknown macro here somewhere. Configuration is required. If SEC is a macro then please configure it. [unknownMacro] bpfcc-0.31.0/libbpf-tools/tcplife.c:132:8: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] bpfcc-0.31.0/libbpf-tools/tcplife.c:187:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] bpfcc-0.31.0/libbpf-tools/tcplife.c:191:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] bpfcc-0.31.0/libbpf-tools/tcplife.c:198:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] bpfcc-0.31.0/libbpf-tools/tcplife.c:202:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] bpfcc-0.31.0/libbpf-tools/tcppktlat.c:159:8: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] bpfcc-0.31.0/libbpf-tools/tcplife.c:60:41: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'parse_arg' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bpfcc-0.31.0/libbpf-tools/tcplife.c:155:13: note: You might need to cast the function pointer here bpfcc-0.31.0/libbpf-tools/tcplife.c:60:41: note: Parameter 'arg' can be declared as pointer to const bpfcc-0.31.0/libbpf-tools/tcplife.c:116:52: style: Parameter 'data' can be declared as pointer to const. However it seems that 'handle_event' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bpfcc-0.31.0/libbpf-tools/tcplife.c:220:10: note: You might need to cast the function pointer here bpfcc-0.31.0/libbpf-tools/tcplife.c:116:52: note: Parameter 'data' can be declared as pointer to const bpfcc-0.31.0/libbpf-tools/tcplife.c:120:13: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/tcplife.c:161:8: style: Variable 'port' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/tcppktlat.c:62:41: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'parse_arg' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bpfcc-0.31.0/libbpf-tools/tcppktlat.c:182:13: note: You might need to cast the function pointer here bpfcc-0.31.0/libbpf-tools/tcppktlat.c:62:41: note: Parameter 'arg' can be declared as pointer to const bpfcc-0.31.0/libbpf-tools/tcppktlat.c:153:13: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/tcpsynbl.bpf.c:66:16: error: There is an unknown macro here somewhere. Configuration is required. If SEC is a macro then please configure it. [unknownMacro] bpfcc-0.31.0/libbpf-tools/tcprtt.c:92:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/tcprtt.c:178:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBBPF_DEBUG [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/tcprtt.c:198:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/tcprtt.c:263:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/tcptop.bpf.c:127:16: error: There is an unknown macro here somewhere. Configuration is required. If SEC is a macro then please configure it. [unknownMacro] bpfcc-0.31.0/libbpf-tools/tcpstates.c:92:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/tcpstates.c:143:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBBPF_DEBUG [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/tcpstates.c:179:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/tcpstates.c:192:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/tcpstates.c:215:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable open_opts [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/tcpsynbl.c:79:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/tcpsynbl.c:107:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBBPF_DEBUG [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/tcpsynbl.c:151:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/tcpsynbl.c:193:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable open_opts [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/tcpconnect.c:136:41: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'parse_arg' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bpfcc-0.31.0/libbpf-tools/tcpconnect.c:396:13: note: You might need to cast the function pointer here bpfcc-0.31.0/libbpf-tools/tcpconnect.c:136:41: note: Parameter 'arg' can be declared as pointer to const bpfcc-0.31.0/libbpf-tools/tcpconnect.c:306:52: style: Parameter 'data' can be declared as pointer to const. However it seems that 'handle_event' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bpfcc-0.31.0/libbpf-tools/tcpconnect.c:369:10: note: You might need to cast the function pointer here bpfcc-0.31.0/libbpf-tools/tcpconnect.c:306:52: note: Parameter 'data' can be declared as pointer to const bpfcc-0.31.0/libbpf-tools/tcpconnect.c:263:30: error: Uninitialized variable: &src [uninitvar] bpfcc-0.31.0/libbpf-tools/tcpconnect.c:264:30: error: Uninitialized variable: &dst [uninitvar] bpfcc-0.31.0/libbpf-tools/tcpconnect.c:384:7: style: Variable 'err' is assigned a value that is never used. [unreadVariable] bpfcc-0.31.0/libbpf-tools/tcpsynbl.c:241:9: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] bpfcc-0.31.0/libbpf-tools/tcpsynbl.c:58:41: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'parse_arg' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bpfcc-0.31.0/libbpf-tools/tcpsynbl.c:177:13: note: You might need to cast the function pointer here bpfcc-0.31.0/libbpf-tools/tcpsynbl.c:58:41: note: Parameter 'arg' can be declared as pointer to const bpfcc-0.31.0/libbpf-tools/tcpsynbl.c:182:13: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/tcpstates.c:106:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] bpfcc-0.31.0/libbpf-tools/syscount.c:125:47: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] bpfcc-0.31.0/libbpf-tools/tcpstates.c:113:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] bpfcc-0.31.0/libbpf-tools/tcpstates.c:122:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] bpfcc-0.31.0/libbpf-tools/tcpstates.c:129:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] bpfcc-0.31.0/libbpf-tools/tcpstates.c:171:8: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] bpfcc-0.31.0/libbpf-tools/tcpstates.c:239:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] bpfcc-0.31.0/libbpf-tools/tcpstates.c:243:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] bpfcc-0.31.0/libbpf-tools/tcpstates.c:248:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] bpfcc-0.31.0/libbpf-tools/tcpstates.c:252:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] bpfcc-0.31.0/libbpf-tools/tcptracer.bpf.c:335:16: error: There is an unknown macro here somewhere. Configuration is required. If SEC is a macro then please configure it. [unknownMacro] bpfcc-0.31.0/libbpf-tools/syscount.c:219:19: error: Uninitialized variable: orig_vals [uninitvar] bpfcc-0.31.0/libbpf-tools/syscount.c:206:15: note: Assuming condition is false bpfcc-0.31.0/libbpf-tools/syscount.c:219:19: note: Uninitialized variable: orig_vals bpfcc-0.31.0/libbpf-tools/tcpstates.c:82:8: style: Variable 'port' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/tcpstates.c:154:52: style: Parameter 'data' can be declared as pointer to const. However it seems that 'handle_event' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bpfcc-0.31.0/libbpf-tools/tcpstates.c:263:10: note: You might need to cast the function pointer here bpfcc-0.31.0/libbpf-tools/tcpstates.c:154:52: note: Parameter 'data' can be declared as pointer to const bpfcc-0.31.0/libbpf-tools/tcpstates.c:158:13: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/tcpstates.c:207:8: style: Variable 'port' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/tcptop.c:96:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/tcptop.c:185:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBBPF_DEBUG [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/tcptop.c:227:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/tcptop.c:360:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/tcptracer.c:45:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/tcptracer.c:64:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/tcptracer.c:123:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/tcptracer.c:148:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBBPF_DEBUG [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/tcptracer.c:171:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/tcptracer.c:229:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/tcptracer.c:240:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/tcptracer.c:278:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable open_opts [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/trace_helpers.c:1050:29: error: syntax error [syntaxError] bpfcc-0.31.0/libbpf-tools/vfsstat.bpf.c:114:16: error: There is an unknown macro here somewhere. Configuration is required. If SEC is a macro then please configure it. [unknownMacro] bpfcc-0.31.0/libbpf-tools/tcprtt.c:322:9: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] bpfcc-0.31.0/libbpf-tools/uprobe_helpers.c:31:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/uprobe_helpers.c:63:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/uprobe_helpers.c:111:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/uprobe_helpers.c:145:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/uprobe_helpers.c:174:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_CURRENT [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/uprobe_helpers.c:203:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_CURRENT [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/uprobe_helpers.c:255:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHT_SYMTAB [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/tcprtt.c:79:41: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'parse_arg' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bpfcc-0.31.0/libbpf-tools/tcprtt.c:246:13: note: You might need to cast the function pointer here bpfcc-0.31.0/libbpf-tools/tcprtt.c:79:41: note: Parameter 'arg' can be declared as pointer to const bpfcc-0.31.0/libbpf-tools/tcprtt.c:249:7: style: Variable 'zero_addr_v6' can be declared as const array [constVariable] bpfcc-0.31.0/libbpf-tools/tcprtt.c:252:13: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/wakeuptime.bpf.c:97:16: error: There is an unknown macro here somewhere. Configuration is required. If SEC is a macro then please configure it. [unknownMacro] bpfcc-0.31.0/libbpf-tools/tcptracer.c:100:41: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'parse_arg' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bpfcc-0.31.0/libbpf-tools/tcptracer.c:265:13: note: You might need to cast the function pointer here bpfcc-0.31.0/libbpf-tools/tcptracer.c:100:41: note: Parameter 'arg' can be declared as pointer to const bpfcc-0.31.0/libbpf-tools/tcptracer.c:168:52: style: Parameter 'data' can be declared as pointer to const. However it seems that 'handle_event' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bpfcc-0.31.0/libbpf-tools/tcptracer.c:238:10: note: You might need to cast the function pointer here bpfcc-0.31.0/libbpf-tools/tcptracer.c:168:52: note: Parameter 'data' can be declared as pointer to const bpfcc-0.31.0/libbpf-tools/vfsstat.c:54:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/vfsstat.c:84:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBBPF_DEBUG [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/vfsstat.c:97:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/vfsstat.c:136:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __ATOMIC_RELAXED [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/vfsstat.c:161:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable open_opts [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/tcptracer.c:253:7: style: Variable 'err' is assigned a value that is never used. [unreadVariable] bpfcc-0.31.0/libbpf-tools/uprobe_helpers.c:72:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] bpfcc-0.31.0/libbpf-tools/vfsstat.c:95:7: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] bpfcc-0.31.0/libbpf-tools/uprobe_helpers.c:241:8: style: Variable 'n' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/vfsstat.c:39:41: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'parse_arg' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bpfcc-0.31.0/libbpf-tools/vfsstat.c:147:13: note: You might need to cast the function pointer here bpfcc-0.31.0/libbpf-tools/vfsstat.c:39:41: note: Parameter 'arg' can be declared as pointer to const bpfcc-0.31.0/libbpf-tools/vfsstat.c:91:13: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/wakeuptime.c:86:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/wakeuptime.c:147:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBBPF_DEBUG [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/wakeuptime.c:166:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/wakeuptime.c:219:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/libbpf-tools/wakeuptime.c:70:41: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'parse_arg' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bpfcc-0.31.0/libbpf-tools/wakeuptime.c:207:13: note: You might need to cast the function pointer here bpfcc-0.31.0/libbpf-tools/wakeuptime.c:70:41: note: Parameter 'arg' can be declared as pointer to const bpfcc-0.31.0/libbpf-tools/wakeuptime.c:156:37: style: Parameter 'ksyms' can be declared as pointer to const [constParameterPointer] bpfcc-0.31.0/libbpf-tools/tcptop.c:238:9: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] bpfcc-0.31.0/libbpf-tools/tcptop.c:309:3: portability: %ld in format string (no. 8) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] bpfcc-0.31.0/libbpf-tools/tcptop.c:309:3: portability: %ld in format string (no. 9) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] bpfcc-0.31.0/libbpf-tools/tcptop.c:276:20: style: Local variable 'key' shadows outer variable [shadowVariable] bpfcc-0.31.0/libbpf-tools/tcptop.c:221:18: note: Shadowed declaration bpfcc-0.31.0/libbpf-tools/tcptop.c:276:20: note: Shadow variable bpfcc-0.31.0/libbpf-tools/tcptop.c:219:13: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/tcptop.c:276:20: style: Variable 'key' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/libbpf-tools/tcptop.c:277:21: style: Variable 'value' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/src/cc/bcc_exception.h:104:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UNKNOWN [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/bcc_exception.h:105:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_ARGUMENT [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/bcc_exception.h:106:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PERMISSION_DENIED [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/bcc_exception.h:107:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYSTEM [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/bcc_debug.cc:97:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/bcc_debug.cc:228:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Success [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/bcc_exception.h:55:3: warning: Member variable 'StatusTuple::ret_' is not initialized in the constructor. [uninitMemberVar] bpfcc-0.31.0/src/cc/table_desc.h:73:3: warning: Member variable 'TableDesc::fake_fd' is not initialized in the constructor. [uninitMemberVar] bpfcc-0.31.0/src/cc/file_desc.h:60:3: style:inconclusive: Technically the member function 'ebpf::FileDesc::operatorint' can be const. [functionConst] bpfcc-0.31.0/src/cc/bcc_exception.h:42:3: style: Class 'StatusTuple' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/src/cc/table_storage.h:74:5: style: Class 'iterator' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/src/cc/bpf_module.h:97:3: style: Class 'BPFModule' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/src/cc/bpf_module.h:104:15: performance: Function 'id()' should return member 'id_' by const reference. [returnByReference] bpfcc-0.31.0/src/cc/bpf_module.h:105:15: performance: Function 'maps_ns()' should return member 'maps_ns_' by const reference. [returnByReference] bpfcc-0.31.0/src/cc/bcc_common.cc:51:8: style: Variable 'mod' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/src/cc/bcc_common.cc:57:8: style: Variable 'mod' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/src/cc/bcc_common.cc:63:8: style: Variable 'mod' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/src/cc/bcc_common.cc:69:8: style: Variable 'mod' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/src/cc/bcc_common.cc:75:8: style: Variable 'mod' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/src/cc/bcc_common.cc:81:8: style: Variable 'mod' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/src/cc/bcc_common.cc:87:8: style: Variable 'mod' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/src/cc/bcc_common.cc:93:8: style: Variable 'mod' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/src/cc/bcc_common.cc:99:8: style: Variable 'mod' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/src/cc/bcc_common.cc:105:8: style: Variable 'mod' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/src/cc/bcc_common.cc:111:8: style: Variable 'mod' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/src/cc/bcc_common.cc:117:8: style: Variable 'mod' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/src/cc/bcc_common.cc:123:8: style: Variable 'mod' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/src/cc/bcc_common.cc:129:8: style: Variable 'mod' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/src/cc/bcc_common.cc:135:8: style: Variable 'mod' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/src/cc/bcc_common.cc:141:8: style: Variable 'mod' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/src/cc/bcc_common.cc:147:8: style: Variable 'mod' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/src/cc/bcc_common.cc:153:8: style: Variable 'mod' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/src/cc/bcc_common.cc:159:8: style: Variable 'mod' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/src/cc/bcc_common.cc:165:8: style: Variable 'mod' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/src/cc/bcc_common.cc:171:8: style: Variable 'mod' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/src/cc/bcc_common.cc:177:8: style: Variable 'mod' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/src/cc/bcc_common.cc:183:8: style: Variable 'mod' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/src/cc/bcc_common.cc:189:8: style: Variable 'mod' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/src/cc/bcc_common.cc:195:8: style: Variable 'mod' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/src/cc/bcc_common.cc:201:8: style: Variable 'mod' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/src/cc/bcc_common.cc:207:8: style: Variable 'mod' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/src/cc/bcc_common.cc:249:8: style: Variable 'mod' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/src/cc/bcc_common.cc:256:8: style: Variable 'mod' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/src/cc/table_storage.h:45:11: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] bpfcc-0.31.0/src/cc/api/BPFTable.h:170:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_MAP_TYPE_STACK [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.h:177:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.h:183:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.h:189:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.h:199:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_MAP_TYPE_PERCPU_ARRAY [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.h:206:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.h:213:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.h:240:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_MAP_TYPE_PERCPU_ARRAY [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.h:273:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_MAP_TYPE_LRU_PERCPU_HASH [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.h:280:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.h:287:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.h:293:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.h:342:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_MAP_TYPE_LRU_PERCPU_HASH [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.h:490:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_MAP_TYPE_HASH_OF_MAPS [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.h:497:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.h:502:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.h:527:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_MAP_TYPE_SK_STORAGE [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.h:534:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.h:541:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.h:547:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.h:556:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_MAP_TYPE_INODE_STORAGE [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.h:563:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.h:570:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.h:576:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.h:585:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_MAP_TYPE_TASK_STORAGE [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.h:592:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.h:599:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.h:605:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.h:614:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_MAP_TYPE_CGROUP_STORAGE [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.h:623:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.h:630:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.h:640:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.h:653:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.h:662:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.cc:44:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key_size [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.cc:62:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key_size [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.cc:86:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key_size [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.cc:108:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key_size [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.cc:133:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key_size [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.cc:148:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.cc:188:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key_size [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.cc:254:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_MAP_TYPE_STACK_TRACE [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.cc:334:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_MAP_TYPE_STACK_TRACE [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.cc:357:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable status [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.cc:395:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_MAP_TYPE_PERF_EVENT_ARRAY [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.cc:415:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.cc:447:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPOLL_CLOEXEC [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.cc:485:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.cc:512:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ptr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.cc:527:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.cc:533:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_MAP_TYPE_PERF_EVENT_ARRAY [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.cc:582:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu32 [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.cc:607:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.cc:614:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_MAP_TYPE_PROG_ARRAY [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.cc:621:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.cc:627:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.cc:633:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_MAP_TYPE_CGROUP_ARRAY [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.cc:641:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.cc:647:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.cc:656:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.cc:662:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_MAP_TYPE_DEVMAP [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.cc:670:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.cc:677:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.cc:683:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.cc:689:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_MAP_TYPE_XSKMAP [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.cc:697:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.cc:704:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.cc:710:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.cc:716:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_MAP_TYPE_SOCKMAP [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.cc:724:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.cc:730:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.cc:736:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_MAP_TYPE_SOCKHASH [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.cc:744:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.cc:750:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/frontends/clang/loader.h:61:10: style:inconclusive: Technically the member function 'ebpf::ProgFuncInfo::num_funcs' can be const. [functionConst] bpfcc-0.31.0/src/cc/bcc_debug.h:51:8: performance:inconclusive: Technically the member function 'ebpf::SourceDebugger::dump' can be static (but you may consider moving to unnamed namespace). [functionStatic] bpfcc-0.31.0/src/cc/frontends/clang/loader.h:47:3: style: Struct 'FuncInfo' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/src/cc/bcc_debug.cc:199:49: performance: Function parameter 'func_name' should be passed by const reference. [passedByValue] bpfcc-0.31.0/src/cc/bcc_perf_map.c:97:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/bcc_elf.c:44:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_CURRENT [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/bcc_elf.c:55:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_CURRENT [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/bcc_elf.c:144:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/bcc_elf.c:198:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELFCLASS32 [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/bcc_elf.c:258:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/bcc_elf.c:290:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHF_EXECINSTR [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/bcc_elf.c:476:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHT_DYNSYM [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/bcc_elf.c:602:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/bcc_elf.c:658:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/bcc_elf.c:698:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/bcc_elf.c:723:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/bcc_elf.c:983:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PT_LOAD [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/bcc_elf.c:1021:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ET_DYN [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/bcc_elf.c:1046:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CLOEXEC [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/bcc_elf.c:1074:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STT_FUNC [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/bcc_elf.c:1117:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHT_DYNSYM [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/bcc_btf.cc:73:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/bcc_btf.cc:178:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bpf_core_relo [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/bcc_btf.cc:193:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/bcc_btf.cc:237:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/bcc_btf.cc:309:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/bcc_btf.cc:359:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BTF_MAX_NAME_OFFSET [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/bcc_btf.cc:388:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/bcc_btf.cc:421:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable btf_enum [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/bcc_btf.cc:656:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BTF_KIND_STRUCT [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/bcc_perf_map.c:26:9: style: Variable 'pos' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/src/cc/api/BPF.cc:59:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPF.cc:80:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hex [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPF.cc:139:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPF.cc:217:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPF.cc:238:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_PROG_TYPE_KPROBE [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPF.cc:281:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_PROG_TYPE_KPROBE [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPF.cc:314:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_PROBE_ENTRY [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPF.cc:367:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPF.cc:397:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_PROG_TYPE_RAW_TRACEPOINT [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPF.cc:424:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_PROG_TYPE_PERF_EVENT [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPF.cc:465:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_PROG_TYPE_PERF_EVENT [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPF.cc:537:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_PROBE_ENTRY [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPF.cc:688:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG_BPF_REGISTER_STATE [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPF.cc:926:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPF.cc:1043:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USDT_PROGRAM_HEADER [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/bcc_proc.c:47:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/bcc_proc.c:93:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/bcc_proc.c:133:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/bcc_proc.c:168:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/bcc_proc.c:404:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/bcc_proc.c:499:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/bcc_proc.c:534:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/bcc_proc.c:547:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/bcc_proc.c:562:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/bcc_proc.c:621:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPFTable.h:56:7: style:inconclusive: Technically the member function 'ebpf::BPFQueueStackTableBase::get_fd' can be const. [functionConst] bpfcc-0.31.0/src/cc/api/BPFTable.cc:44:12: debug: CheckClass::isMemberVar found used member variable 'desc' with varid 0 [varid0] bpfcc-0.31.0/src/cc/api/BPFTable.cc:45:14: debug: CheckClass::isMemberVar found used member variable 'desc' with varid 0 [varid0] bpfcc-0.31.0/src/cc/api/BPFTable.cc:62:12: debug: CheckClass::isMemberVar found used member variable 'desc' with varid 0 [varid0] bpfcc-0.31.0/src/cc/api/BPFTable.cc:63:14: debug: CheckClass::isMemberVar found used member variable 'desc' with varid 0 [varid0] bpfcc-0.31.0/src/cc/api/BPFTable.cc:86:12: debug: CheckClass::isMemberVar found used member variable 'desc' with varid 0 [varid0] bpfcc-0.31.0/src/cc/api/BPFTable.cc:87:14: debug: CheckClass::isMemberVar found used member variable 'desc' with varid 0 [varid0] bpfcc-0.31.0/src/cc/api/BPFTable.cc:108:12: debug: CheckClass::isMemberVar found used member variable 'desc' with varid 0 [varid0] bpfcc-0.31.0/src/cc/api/BPFTable.cc:109:14: debug: CheckClass::isMemberVar found used member variable 'desc' with varid 0 [varid0] bpfcc-0.31.0/src/cc/api/BPFTable.cc:133:12: debug: CheckClass::isMemberVar found used member variable 'desc' with varid 0 [varid0] bpfcc-0.31.0/src/cc/api/BPFTable.cc:148:7: debug: CheckClass::isMemberVar found used member variable 'desc' with varid 0 [varid0] bpfcc-0.31.0/src/cc/api/BPFTable.cc:149:7: debug: CheckClass::isMemberVar found used member variable 'desc' with varid 0 [varid0] bpfcc-0.31.0/src/cc/api/BPFTable.cc:150:7: debug: CheckClass::isMemberVar found used member variable 'desc' with varid 0 [varid0] bpfcc-0.31.0/src/cc/api/BPFTable.cc:151:7: debug: CheckClass::isMemberVar found used member variable 'desc' with varid 0 [varid0] bpfcc-0.31.0/src/cc/api/BPFTable.h:80:10: style:inconclusive: Technically the member function 'ebpf::BPFTableBase < void , void >::capacity' can be const. [functionConst] bpfcc-0.31.0/src/cc/api/BPFTable.h:106:7: style:inconclusive: Technically the member function 'ebpf::BPFTableBase < void , void >::get_fd' can be const. [functionConst] bpfcc-0.31.0/src/cc/api/BPFTable.h:80:10: style:inconclusive: Technically the member function 'ebpf::BPFTableBase < int , stacktrace_t >::capacity' can be const. [functionConst] bpfcc-0.31.0/src/cc/api/BPFTable.h:106:7: style:inconclusive: Technically the member function 'ebpf::BPFTableBase < int , stacktrace_t >::get_fd' can be const. [functionConst] bpfcc-0.31.0/src/cc/api/BPFTable.h:80:10: style:inconclusive: Technically the member function 'ebpf::BPFTableBase < int , stacktrace_buildid_t >::capacity' can be const. [functionConst] bpfcc-0.31.0/src/cc/api/BPFTable.h:106:7: style:inconclusive: Technically the member function 'ebpf::BPFTableBase < int , stacktrace_buildid_t >::get_fd' can be const. [functionConst] bpfcc-0.31.0/src/cc/api/BPFTable.h:80:10: style:inconclusive: Technically the member function 'ebpf::BPFTableBase < int , int >::capacity' can be const. [functionConst] bpfcc-0.31.0/src/cc/api/BPFTable.h:106:7: style:inconclusive: Technically the member function 'ebpf::BPFTableBase < int , int >::get_fd' can be const. [functionConst] bpfcc-0.31.0/src/cc/api/BPFTable.h:136:3: style: Class 'BPFTable' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/src/cc/api/BPFTable.h:197:3: style: Class 'BPFArrayTable' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/src/cc/api/BPFTable.h:237:3: style: Class 'BPFPercpuArrayTable' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/src/cc/api/BPFTable.h:413:3: style: Class 'BPFPerfBuffer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/src/cc/api/BPFTable.h:437:3: style: Class 'BPFPerfEventArray' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/src/cc/api/BPFTable.h:452:3: style: Class 'BPFProgTable' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/src/cc/api/BPFTable.h:460:3: style: Class 'BPFCgroupArray' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/src/cc/api/BPFTable.h:469:3: style: Class 'BPFDevmapTable' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/src/cc/api/BPFTable.h:478:3: style: Class 'BPFXskmapTable' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/src/cc/api/BPFTable.h:488:3: style: Class 'BPFMapInMapTable' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/src/cc/api/BPFTable.h:509:3: style: Class 'BPFSockmapTable' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/src/cc/api/BPFTable.h:517:3: style: Class 'BPFSockhashTable' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/src/cc/api/BPFTable.h:526:3: style: Class 'BPFSkStorageTable' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/src/cc/api/BPFTable.h:555:3: style: Class 'BPFInodeStorageTable' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/src/cc/api/BPFTable.h:584:3: style: Class 'BPFTaskStorageTable' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/src/cc/api/BPFTable.h:613:3: style: Class 'BPFCgStorageTable' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/src/cc/api/BPFTable.h:638:3: style: Class 'BPFPercpuCgStorageTable' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/src/cc/api/BPFTable.cc:186:7: style: The scope of the variable 'err' can be reduced. [variableScope] bpfcc-0.31.0/src/cc/api/BPFTable.cc:43:46: style:inconclusive: Function 'get_value' argument 2 names different: declaration 'value' definition 'value_str'. [funcArgNamesDifferent] bpfcc-0.31.0/src/cc/api/BPFTable.h:138:66: note: Function 'get_value' argument 2 names different: declaration 'value' definition 'value_str'. bpfcc-0.31.0/src/cc/api/BPFTable.cc:43:46: note: Function 'get_value' argument 2 names different: declaration 'value' definition 'value_str'. bpfcc-0.31.0/src/cc/api/BPFTable.cc:60:59: style:inconclusive: Function 'get_value' argument 2 names different: declaration 'value' definition 'value_str'. [funcArgNamesDifferent] bpfcc-0.31.0/src/cc/api/BPFTable.h:140:51: note: Function 'get_value' argument 2 names different: declaration 'value' definition 'value_str'. bpfcc-0.31.0/src/cc/api/BPFTable.cc:60:59: note: Function 'get_value' argument 2 names different: declaration 'value' definition 'value_str'. bpfcc-0.31.0/src/cc/api/BPFTable.cc:314:37: performance: Searching before insertion is not necessary. Instead of 'pid_sym_[pid]=bcc_symcache_new(pid,&symbol_option_)' consider using 'pid_sym_.try_emplace(pid, bcc_symcache_new(pid,&symbol_option_));'. [stlFindInsert] bpfcc-0.31.0/src/cc/api/BPFTable.cc:491:17: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] bpfcc-0.31.0/src/cc/api/BPFTable.cc:561:17: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] bpfcc-0.31.0/src/cc/bcc_zip.c:216:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/bcc_zip.c:395:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/api/BPF.cc:972:7: warning:inconclusive: Member variable 'USDT::probe_' is not assigned in the copy constructor. Should it be copied? [missingMemberCopy] bpfcc-0.31.0/src/cc/api/BPF.cc:972:7: warning:inconclusive: Member variable 'USDT::program_text_' is not assigned in the copy constructor. Should it be copied? [missingMemberCopy] bpfcc-0.31.0/src/cc/api/BPF.cc:937:10: performance:inconclusive: Technically the member function 'ebpf::BPF::free_bcc_memory' can be static (but you may consider moving to unnamed namespace). [functionStatic] bpfcc-0.31.0/src/cc/api/BPF.h:342:7: note: Technically the member function 'ebpf::BPF::free_bcc_memory' can be static (but you may consider moving to unnamed namespace). bpfcc-0.31.0/src/cc/api/BPF.cc:937:10: note: Technically the member function 'ebpf::BPF::free_bcc_memory' can be static (but you may consider moving to unnamed namespace). bpfcc-0.31.0/src/cc/api/BPF.h:361:15: performance:inconclusive: Technically the member function 'ebpf::BPF::attach_type_debug' can be static (but you may consider moving to unnamed namespace). [functionStatic] bpfcc-0.31.0/src/cc/api/BPF.h:371:15: performance:inconclusive: Technically the member function 'ebpf::BPF::attach_type_prefix' can be static (but you may consider moving to unnamed namespace). [functionStatic] bpfcc-0.31.0/src/cc/api/BPF.cc:761:18: performance:inconclusive: Technically the member function 'ebpf::BPF::check_binary_symbol' can be static (but you may consider moving to unnamed namespace). [functionStatic] bpfcc-0.31.0/src/cc/api/BPF.h:389:15: note: Technically the member function 'ebpf::BPF::check_binary_symbol' can be static (but you may consider moving to unnamed namespace). bpfcc-0.31.0/src/cc/api/BPF.cc:761:18: note: Technically the member function 'ebpf::BPF::check_binary_symbol' can be static (but you may consider moving to unnamed namespace). bpfcc-0.31.0/src/cc/bcc_elf.c:322:55: style: Condition 'do_note_segment(section,shdr_ptr,elf_class,callback,binpath,first_inst_offset,payload)<0' is always false [knownConditionTrueFalse] bpfcc-0.31.0/src/cc/bcc_elf.c:321:26: note: Calling function 'do_note_segment' returns 0 bpfcc-0.31.0/src/cc/bcc_elf.c:322:55: note: Condition 'do_note_segment(section,shdr_ptr,elf_class,callback,binpath,first_inst_offset,payload)<0' is always false bpfcc-0.31.0/src/cc/bcc_elf.c:523:5: warning: %hhx in format string (no. 1) requires 'unsigned char' but the argument type is 'char'. [invalidPrintfArgType_uint] bpfcc-0.31.0/src/cc/api/BPF.cc:304:61: style:inconclusive: Function 'attach_usdt_without_validation' argument 1 names different: declaration 'usdt' definition 'u'. [funcArgNamesDifferent] bpfcc-0.31.0/src/cc/api/BPF.h:350:58: note: Function 'attach_usdt_without_validation' argument 1 names different: declaration 'usdt' definition 'u'. bpfcc-0.31.0/src/cc/api/BPF.cc:304:61: note: Function 'attach_usdt_without_validation' argument 1 names different: declaration 'usdt' definition 'u'. bpfcc-0.31.0/src/cc/api/BPF.cc:531:61: style:inconclusive: Function 'detach_usdt_without_validation' argument 1 names different: declaration 'usdt' definition 'u'. [funcArgNamesDifferent] bpfcc-0.31.0/src/cc/api/BPF.h:351:58: note: Function 'detach_usdt_without_validation' argument 1 names different: declaration 'usdt' definition 'u'. bpfcc-0.31.0/src/cc/api/BPF.cc:531:61: note: Function 'detach_usdt_without_validation' argument 1 names different: declaration 'usdt' definition 'u'. bpfcc-0.31.0/src/cc/api/BPF.cc:851:34: performance: Function parameter 'module' should be passed by const reference. [passedByValue] bpfcc-0.31.0/src/cc/api/BPF.cc:213:14: style: Variable 'it' can be declared as reference to const [constVariableReference] bpfcc-0.31.0/src/cc/api/BPF.cc:910:60: style: Parameter 'attr' can be declared as reference to const [constParameterReference] bpfcc-0.31.0/src/cc/api/BPF.cc:917:58: style: Parameter 'attr' can be declared as reference to const [constParameterReference] bpfcc-0.31.0/src/cc/api/BPF.cc:609:8: style: Variable 'attr' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/src/cc/api/BPF.cc:123:11: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] bpfcc-0.31.0/src/cc/api/BPF.cc:340:20: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] bpfcc-0.31.0/src/cc/api/BPF.cc:559:20: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] bpfcc-0.31.0/src/cc/api/BPF.cc:1024:57: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] bpfcc-0.31.0/src/cc/bcc_elf.c:196:50: style: Parameter 'probes_shdr' can be declared as pointer to const [constParameterPointer] bpfcc-0.31.0/src/cc/bcc_elf.c:301:11: style: Variable 'name' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/src/cc/bcc_elf.c:310:11: style: Variable 'name' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/src/cc/bcc_elf.c:349:9: style: Variable 'name' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/src/cc/bcc_elf.c:374:50: style: Parameter 'option' can be declared as pointer to const [constParameterPointer] bpfcc-0.31.0/src/cc/bcc_elf.c:519:9: style: Variable 'buf' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/src/cc/bcc_elf.c:588:9: style: Variable 'end' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/src/cc/bcc_elf.c:660:9: style: Variable 'bindir' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/src/cc/bcc_elf.c:727:9: style: Variable 'symfs' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/src/cc/bcc_elf.c:938:9: style: Variable 'name' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/src/cc/bcc_elf.c:1000:9: style: Variable 'res' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/src/cc/bcc_elf.c:1033:39: style: Parameter 'info' can be declared as pointer to const. However it seems that 'find_vdso' is a callback function, if 'info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bpfcc-0.31.0/src/cc/bcc_elf.c:1079:42: note: You might need to cast the function pointer here bpfcc-0.31.0/src/cc/bcc_elf.c:1033:39: note: Parameter 'info' can be declared as pointer to const bpfcc-0.31.0/src/cc/bcc_elf.c:1219:11: style: Variable 'libbcc' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/src/cc/bcc_zip.c:321:44: style:inconclusive: Function 'bcc_zip_archive_find_entry' argument 2 names different: declaration 'name' definition 'file_name'. [funcArgNamesDifferent] bpfcc-0.31.0/src/cc/bcc_zip.h:62:44: note: Function 'bcc_zip_archive_find_entry' argument 2 names different: declaration 'name' definition 'file_name'. bpfcc-0.31.0/src/cc/bcc_zip.c:321:44: note: Function 'bcc_zip_archive_find_entry' argument 2 names different: declaration 'name' definition 'file_name'. bpfcc-0.31.0/src/cc/bcc_zip.c:358:51: style:inconclusive: Function 'bcc_zip_archive_find_entry_at_offset' argument 2 names different: declaration 'offset' definition 'target'. [funcArgNamesDifferent] bpfcc-0.31.0/src/cc/bcc_zip.h:65:51: note: Function 'bcc_zip_archive_find_entry_at_offset' argument 2 names different: declaration 'offset' definition 'target'. bpfcc-0.31.0/src/cc/bcc_zip.c:358:51: note: Function 'bcc_zip_archive_find_entry_at_offset' argument 2 names different: declaration 'offset' definition 'target'. bpfcc-0.31.0/src/cc/bcc_zip.c:151:51: style: Parameter 'archive' can be declared as pointer to const [constParameterPointer] bpfcc-0.31.0/src/cc/bcc_zip.c:163:43: style: Variable 'eocd' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/src/cc/bcc_zip.c:269:29: style: Variable 'lfh' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/src/cc/bcc_zip.c:327:43: style: Variable 'cdfh' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/src/cc/bcc_zip.c:362:43: style: Variable 'cdfh' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/src/cc/bcc_zip.c:156:24: portability: 'archive->data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] bpfcc-0.31.0/src/cc/bcc_zip.c:344:41: portability: 'archive->data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] bpfcc-0.31.0/src/cc/bcc_zip.c:377:38: portability: 'archive->data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] bpfcc-0.31.0/src/cc/bcc_zip.c:378:25: portability: 'archive->data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] bpfcc-0.31.0/src/cc/bcc_zip.c:378:46: portability: 'out->data' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] bpfcc-0.31.0/src/cc/bpf_module.cc:709:38: error: There is an unknown macro here somewhere. Configuration is required. If BCC_PROG_TAG_DIR is a macro then please configure it. [unknownMacro] bpfcc-0.31.0/src/cc/bpf_module_rw_engine_disabled.cc:25:17: performance:inconclusive: Technically the member function 'ebpf::BPFModule::initialize_rw_engine' can be static (but you may consider moving to unnamed namespace). [functionStatic] bpfcc-0.31.0/src/cc/bpf_module.h:70:8: note: Technically the member function 'ebpf::BPFModule::initialize_rw_engine' can be static (but you may consider moving to unnamed namespace). bpfcc-0.31.0/src/cc/bpf_module_rw_engine_disabled.cc:25:17: note: Technically the member function 'ebpf::BPFModule::initialize_rw_engine' can be static (but you may consider moving to unnamed namespace). bpfcc-0.31.0/src/cc/bpf_module_rw_engine_disabled.cc:28:17: performance:inconclusive: Technically the member function 'ebpf::BPFModule::cleanup_rw_engine' can be static (but you may consider moving to unnamed namespace). [functionStatic] bpfcc-0.31.0/src/cc/bpf_module.h:71:8: note: Technically the member function 'ebpf::BPFModule::cleanup_rw_engine' can be static (but you may consider moving to unnamed namespace). bpfcc-0.31.0/src/cc/bpf_module_rw_engine_disabled.cc:28:17: note: Technically the member function 'ebpf::BPFModule::cleanup_rw_engine' can be static (but you may consider moving to unnamed namespace). bpfcc-0.31.0/src/cc/bpf_module_rw_engine_disabled.cc:31:16: performance:inconclusive: Technically the member function 'ebpf::BPFModule::annotate' can be static (but you may consider moving to unnamed namespace). [functionStatic] bpfcc-0.31.0/src/cc/bpf_module.h:74:7: note: Technically the member function 'ebpf::BPFModule::annotate' can be static (but you may consider moving to unnamed namespace). bpfcc-0.31.0/src/cc/bpf_module_rw_engine_disabled.cc:31:16: note: Technically the member function 'ebpf::BPFModule::annotate' can be static (but you may consider moving to unnamed namespace). bpfcc-0.31.0/src/cc/bpf_module_rw_engine.cc:82:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/bpf_module_rw_engine.cc:281:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ExternalLinkage [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/bpf_module_rw_engine.cc:363:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ExternalLinkage [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/bpf_module_rw_engine.cc:426:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/bpf_module_rw_engine.cc:432:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoInline [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/bpf_module_rw_engine.cc:490:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/bpf_module_rw_engine.cc:504:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/bcc_btf.h:123:12: style:inconclusive: Technically the member function 'ebpf::BTFStringTable::getSize' can be const. [functionConst] bpfcc-0.31.0/src/cc/bcc_btf.cc:392:11: performance:inconclusive: Technically the member function 'ebpf::BTF::fixup_btf' can be static (but you may consider moving to unnamed namespace). [functionStatic] bpfcc-0.31.0/src/cc/bcc_btf.h:146:8: note: Technically the member function 'ebpf::BTF::fixup_btf' can be static (but you may consider moving to unnamed namespace). bpfcc-0.31.0/src/cc/bcc_btf.cc:392:11: note: Technically the member function 'ebpf::BTF::fixup_btf' can be static (but you may consider moving to unnamed namespace). bpfcc-0.31.0/src/cc/bcc_btf.cc:381:11: style:inconclusive: Technically the member function 'ebpf::BTF::warning' can be const. [functionConst] bpfcc-0.31.0/src/cc/bcc_btf.h:151:8: note: Technically the member function 'ebpf::BTF::warning' can be const. bpfcc-0.31.0/src/cc/bcc_btf.cc:381:11: note: Technically the member function 'ebpf::BTF::warning' can be const. bpfcc-0.31.0/src/cc/bcc_btf.h:122:3: style: Class 'BTFStringTable' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/src/cc/bcc_btf.cc:76:16: style: C-style pointer casting [cstyleCast] bpfcc-0.31.0/src/cc/bcc_btf.cc:79:13: style: C-style pointer casting [cstyleCast] bpfcc-0.31.0/src/cc/bcc_btf.cc:79:60: style: C-style pointer casting [cstyleCast] bpfcc-0.31.0/src/cc/bcc_btf.cc:92:24: style: C-style pointer casting [cstyleCast] bpfcc-0.31.0/src/cc/bcc_btf.cc:100:44: style: C-style pointer casting [cstyleCast] bpfcc-0.31.0/src/cc/bcc_btf.cc:142:26: style: C-style pointer casting [cstyleCast] bpfcc-0.31.0/src/cc/bcc_btf.cc:235:19: style: C-style pointer casting [cstyleCast] bpfcc-0.31.0/src/cc/bcc_btf.cc:247:33: style: C-style pointer casting [cstyleCast] bpfcc-0.31.0/src/cc/bcc_btf.cc:295:17: style: C-style pointer casting [cstyleCast] bpfcc-0.31.0/src/cc/bcc_btf.cc:311:24: style: C-style pointer casting [cstyleCast] bpfcc-0.31.0/src/cc/bcc_btf.cc:318:49: style: C-style pointer casting [cstyleCast] bpfcc-0.31.0/src/cc/bcc_btf.cc:512:13: style: C-style pointer casting [cstyleCast] bpfcc-0.31.0/src/cc/bcc_btf.cc:515:19: style: C-style pointer casting [cstyleCast] bpfcc-0.31.0/src/cc/bcc_btf.cc:569:14: style: C-style pointer casting [cstyleCast] bpfcc-0.31.0/src/cc/bcc_btf.cc:100:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] bpfcc-0.31.0/src/cc/bcc_btf.cc:136:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] bpfcc-0.31.0/src/cc/bcc_btf.cc:136:53: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] bpfcc-0.31.0/src/cc/bcc_btf.cc:188:44: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] bpfcc-0.31.0/src/cc/bcc_btf.cc:302:33: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] bpfcc-0.31.0/src/cc/bcc_btf.cc:302:60: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] bpfcc-0.31.0/src/cc/bcc_btf.cc:318:36: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] bpfcc-0.31.0/src/cc/bcc_btf.cc:399:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] bpfcc-0.31.0/src/cc/bcc_btf.cc:442:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] bpfcc-0.31.0/src/cc/bcc_btf.cc:459:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] bpfcc-0.31.0/src/cc/bcc_btf.cc:507:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] bpfcc-0.31.0/src/cc/bcc_btf.cc:508:51: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] bpfcc-0.31.0/src/cc/bcc_btf.cc:517:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] bpfcc-0.31.0/src/cc/bcc_btf.cc:531:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] bpfcc-0.31.0/src/cc/bcc_btf.cc:562:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] bpfcc-0.31.0/src/cc/bcc_btf.cc:288:48: style: The scope of the variable 'records_len' can be reduced. [variableScope] bpfcc-0.31.0/src/cc/bcc_btf.cc:290:21: style: The scope of the variable 'info_sec_name' can be reduced. [variableScope] bpfcc-0.31.0/src/cc/bcc_btf.cc:351:47: style:inconclusive: Function 'addString' argument 1 names different: declaration 'Str' definition 'S'. [funcArgNamesDifferent] bpfcc-0.31.0/src/cc/bcc_btf.h:125:33: note: Function 'addString' argument 1 names different: declaration 'Str' definition 'S'. bpfcc-0.31.0/src/cc/bcc_btf.cc:351:47: note: Function 'addString' argument 1 names different: declaration 'Str' definition 'S'. bpfcc-0.31.0/src/cc/bpffs_table.cc:36:12: style: The destructor '~BpfFsTableStorage' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/src/cc/table_storage_impl.h:40:12: note: Virtual destructor in base class bpfcc-0.31.0/src/cc/bpffs_table.cc:36:12: note: Destructor in derived class bpfcc-0.31.0/src/cc/bpffs_table.cc:36:12: style: The destructor '~BpfFsTableStorage' overrides a destructor in a base class but is identical to the overridden function [uselessOverride] bpfcc-0.31.0/src/cc/table_storage_impl.h:40:12: note: Virtual destructor in base class bpfcc-0.31.0/src/cc/bpffs_table.cc:36:12: note: Destructor in derived class bpfcc-0.31.0/src/cc/bcc_btf.cc:351:47: performance: Function parameter 'S' should be passed by const reference. [passedByValue] bpfcc-0.31.0/src/cc/bcc_btf.cc:652:35: performance: Function parameter 'map_name' should be passed by const reference. [passedByValue] bpfcc-0.31.0/src/cc/bcc_btf.cc:353:14: style: Variable 'OffsetM' can be declared as reference to const [constVariableReference] bpfcc-0.31.0/src/cc/bcc_btf.cc:567:31: style: Variable 'Table' can be declared as reference to const [constVariableReference] bpfcc-0.31.0/src/cc/bcc_btf.cc:395:12: style: Variable 'end_type' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/src/cc/bcc_btf.cc:508:44: style: Variable 'ehdr' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/src/cc/bcc_btf.cc:354:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] bpfcc-0.31.0/src/cc/vendor/tinyformat.hpp:596:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable adjustfield [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/vendor/tinyformat.hpp:804:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable showpos [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/vendor/tinyformat.hpp:882:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/vendor/tinyformat.hpp:993:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/vendor/tinyformat.hpp:998:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/vendor/tinyformat.hpp:1031:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/bcc_syms.cc:57:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/bcc_syms.cc:77:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/bcc_syms.cc:180:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STT_FUNC [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/bcc_syms.cc:213:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/bcc_syms.cc:302:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ET_EXEC [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/bcc_syms.cc:462:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/bcc_syms.cc:489:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STT_FUNC [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/bcc_syms.cc:540:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_BUILD_ID_SIZE [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/frontends/clang/kbuild_helper.h:44:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/frontends/clang/kbuild_helper.h:52:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/frontends/clang/kbuild_helper.h:78:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FTW_DEPTH [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/frontends/clang/kbuild_helper.cc:155:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/frontends/clang/kbuild_helper.cc:234:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/bcc_proc.c:293:18: style: Redundant condition: The condition '*modname' is redundant since '*modname == '['' is sufficient. [redundantCondition] bpfcc-0.31.0/src/cc/bcc_proc.c:600:11: warning: %llx in format string (no. 1) requires 'unsigned long long *' but the argument type is 'signed long long *'. [invalidScanfArgType_int] bpfcc-0.31.0/src/cc/bcc_proc.c:600:11: warning: %llx in format string (no. 2) requires 'unsigned long long *' but the argument type is 'signed long long *'. [invalidScanfArgType_int] bpfcc-0.31.0/src/cc/bcc_proc.c:600:11: warning: %llx in format string (no. 4) requires 'unsigned long long *' but the argument type is 'signed long long *'. [invalidScanfArgType_int] bpfcc-0.31.0/src/cc/bcc_proc.c:600:11: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] bpfcc-0.31.0/src/cc/bcc_proc.c:102:10: warning: If memory allocation fails, then there is a possible null pointer dereference: dirstr [nullPointerOutOfMemory] bpfcc-0.31.0/src/cc/bcc_proc.c:101:18: note: Assuming allocation function fails bpfcc-0.31.0/src/cc/bcc_proc.c:101:18: note: Assignment 'dirstr=malloc(strlen(path_buffer)+1)', assigned value is 0 bpfcc-0.31.0/src/cc/bcc_proc.c:102:10: note: Null pointer dereference bpfcc-0.31.0/src/cc/bcc_proc.c:103:23: warning: If memory allocation fails, then there is a possible null pointer dereference: dirstr [nullPointerOutOfMemory] bpfcc-0.31.0/src/cc/bcc_proc.c:101:18: note: Assuming allocation function fails bpfcc-0.31.0/src/cc/bcc_proc.c:101:18: note: Assignment 'dirstr=malloc(strlen(path_buffer)+1)', assigned value is 0 bpfcc-0.31.0/src/cc/bcc_proc.c:103:23: note: Null pointer dereference bpfcc-0.31.0/src/cc/bcc_proc.c:117:14: warning: If memory allocation fails, then there is a possible null pointer dereference: pid_fd_path [nullPointerOutOfMemory] bpfcc-0.31.0/src/cc/bcc_proc.c:116:33: note: Assuming allocation function fails bpfcc-0.31.0/src/cc/bcc_proc.c:116:33: note: Assignment 'pid_fd_path=malloc(strlen(path_buffer)+1)', assigned value is 0 bpfcc-0.31.0/src/cc/bcc_proc.c:117:14: note: Null pointer dereference bpfcc-0.31.0/src/cc/bcc_proc.c:370:5: warning: If memory allocation fails, then there is a possible null pointer dereference: lib_cache [nullPointerOutOfMemory] bpfcc-0.31.0/src/cc/bcc_proc.c:362:30: note: Assuming allocation function fails bpfcc-0.31.0/src/cc/bcc_proc.c:362:7: note: Assignment 'lib_cache=(struct ld_lib*)malloc(ldcache->entry_count*sizeof(struct ld_lib))', assigned value is 0 bpfcc-0.31.0/src/cc/bcc_proc.c:370:5: note: Null pointer dereference bpfcc-0.31.0/src/cc/bcc_proc.c:371:5: warning: If memory allocation fails, then there is a possible null pointer dereference: lib_cache [nullPointerOutOfMemory] bpfcc-0.31.0/src/cc/bcc_proc.c:362:30: note: Assuming allocation function fails bpfcc-0.31.0/src/cc/bcc_proc.c:362:7: note: Assignment 'lib_cache=(struct ld_lib*)malloc(ldcache->entry_count*sizeof(struct ld_lib))', assigned value is 0 bpfcc-0.31.0/src/cc/bcc_proc.c:371:5: note: Null pointer dereference bpfcc-0.31.0/src/cc/bcc_proc.c:372:5: warning: If memory allocation fails, then there is a possible null pointer dereference: lib_cache [nullPointerOutOfMemory] bpfcc-0.31.0/src/cc/bcc_proc.c:362:30: note: Assuming allocation function fails bpfcc-0.31.0/src/cc/bcc_proc.c:362:7: note: Assignment 'lib_cache=(struct ld_lib*)malloc(ldcache->entry_count*sizeof(struct ld_lib))', assigned value is 0 bpfcc-0.31.0/src/cc/bcc_proc.c:372:5: note: Null pointer dereference bpfcc-0.31.0/src/cc/bcc_proc.c:393:5: warning: If memory allocation fails, then there is a possible null pointer dereference: lib_cache [nullPointerOutOfMemory] bpfcc-0.31.0/src/cc/bcc_proc.c:385:30: note: Assuming allocation function fails bpfcc-0.31.0/src/cc/bcc_proc.c:385:7: note: Assignment 'lib_cache=(struct ld_lib*)malloc(ldcache->entry_count*sizeof(struct ld_lib))', assigned value is 0 bpfcc-0.31.0/src/cc/bcc_proc.c:393:5: note: Null pointer dereference bpfcc-0.31.0/src/cc/bcc_proc.c:394:5: warning: If memory allocation fails, then there is a possible null pointer dereference: lib_cache [nullPointerOutOfMemory] bpfcc-0.31.0/src/cc/bcc_proc.c:385:30: note: Assuming allocation function fails bpfcc-0.31.0/src/cc/bcc_proc.c:385:7: note: Assignment 'lib_cache=(struct ld_lib*)malloc(ldcache->entry_count*sizeof(struct ld_lib))', assigned value is 0 bpfcc-0.31.0/src/cc/bcc_proc.c:394:5: note: Null pointer dereference bpfcc-0.31.0/src/cc/bcc_proc.c:395:5: warning: If memory allocation fails, then there is a possible null pointer dereference: lib_cache [nullPointerOutOfMemory] bpfcc-0.31.0/src/cc/bcc_proc.c:385:30: note: Assuming allocation function fails bpfcc-0.31.0/src/cc/bcc_proc.c:385:7: note: Assignment 'lib_cache=(struct ld_lib*)malloc(ldcache->entry_count*sizeof(struct ld_lib))', assigned value is 0 bpfcc-0.31.0/src/cc/bcc_proc.c:395:5: note: Null pointer dereference bpfcc-0.31.0/src/cc/bcc_proc.c:421:14: warning: If memory allocation fails, then there is a possible null pointer dereference: ld_map [nullPointerOutOfMemory] bpfcc-0.31.0/src/cc/bcc_proc.c:415:30: note: Assuming allocation function fails bpfcc-0.31.0/src/cc/bcc_proc.c:415:12: note: Assignment 'ld_map=(const char*)mmap(NULL,ld_size,PROT_READ,MAP_PRIVATE,fd,0)', assigned value is 0 bpfcc-0.31.0/src/cc/bcc_proc.c:421:14: note: Null pointer dereference bpfcc-0.31.0/src/cc/bcc_proc.c:276:14: style: Checking if unsigned expression 'addr' is less than zero. [unsignedLessThanZero] bpfcc-0.31.0/src/cc/bcc_proc.c:166:36: style:inconclusive: Function '_procfs_maps_each_module' argument 1 names different: declaration 'procmaps' definition 'procmap'. [funcArgNamesDifferent] bpfcc-0.31.0/src/cc/bcc_proc.h:64:36: note: Function '_procfs_maps_each_module' argument 1 names different: declaration 'procmaps' definition 'procmap'. bpfcc-0.31.0/src/cc/bcc_proc.c:166:36: note: Function '_procfs_maps_each_module' argument 1 names different: declaration 'procmaps' definition 'procmap'. bpfcc-0.31.0/src/cc/bcc_proc.c:98:18: style: Variable 'dent' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/src/cc/bcc_proc.c:578:53: style: Variable 'str' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/src/cc/bcc_proc.c:335:12: style: struct member 'ld_cache2_entry::pad1_' is never used. [unusedStructMember] bpfcc-0.31.0/src/cc/bcc_proc.c:336:12: style: struct member 'ld_cache2_entry::pad2_' is never used. [unusedStructMember] bpfcc-0.31.0/src/cc/bpf_module_rw_engine.cc:41:17: performance:inconclusive: Technically the member function 'ebpf::BPFModule::initialize_rw_engine' can be static (but you may consider moving to unnamed namespace). [functionStatic] bpfcc-0.31.0/src/cc/bpf_module.h:70:8: note: Technically the member function 'ebpf::BPFModule::initialize_rw_engine' can be static (but you may consider moving to unnamed namespace). bpfcc-0.31.0/src/cc/bpf_module_rw_engine.cc:41:17: note: Technically the member function 'ebpf::BPFModule::initialize_rw_engine' can be static (but you may consider moving to unnamed namespace). bpfcc-0.31.0/src/cc/bpf_module_rw_engine.cc:485:7: style: C-style pointer casting [cstyleCast] bpfcc-0.31.0/src/cc/bpf_module_rw_engine.cc:498:13: style: C-style pointer casting [cstyleCast] bpfcc-0.31.0/src/cc/bpf_module_rw_engine.cc:413:71: style:inconclusive: Function 'finalize_rw' argument 1 names different: declaration 'mod' definition 'm'. [funcArgNamesDifferent] bpfcc-0.31.0/src/cc/bpf_module.h:77:84: note: Function 'finalize_rw' argument 1 names different: declaration 'mod' definition 'm'. bpfcc-0.31.0/src/cc/bpf_module_rw_engine.cc:413:71: note: Function 'finalize_rw' argument 1 names different: declaration 'mod' definition 'm'. bpfcc-0.31.0/src/cc/bpf_module_rw_engine.cc:438:10: style: Local variable 'id' shadows outer function [shadowFunction] bpfcc-0.31.0/src/cc/bpf_module.h:104:15: note: Shadowed declaration bpfcc-0.31.0/src/cc/bpf_module_rw_engine.cc:438:10: note: Shadow variable bpfcc-0.31.0/src/cc/frontends/clang/loader.cc:73:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/frontends/clang/loader.cc:80:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/frontends/clang/loader.cc:87:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/frontends/clang/loader.cc:100:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/frontends/clang/loader.cc:123:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RetainRemappedFileBuffers [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/frontends/clang/loader.cc:213:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERNEL_MODULES_DIR [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/frontends/clang/loader.cc:437:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable err_fe_expected_compiler_job [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/frontends/clang/tp_frontend_action.cc:73:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/frontends/clang/tp_frontend_action.h:69:3: style: Class 'TracepointFrontendAction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/src/cc/vendor/optional.hpp:189:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/common.cc:43:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BTF_KIND_ENUM [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/common.cc:69:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/common.cc:117:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/vendor/optional.hpp:357:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable init_ [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/vendor/optional.hpp:358:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value_ [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/vendor/optional.hpp:359:99: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value_ [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/vendor/optional.hpp:371:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value_ [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/vendor/optional.hpp:372:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value_ [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/vendor/optional.hpp:377:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable init_ [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/vendor/optional.hpp:383:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable init_ [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/vendor/optional.hpp:391:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable init_ [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/vendor/optional.hpp:408:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable init_ [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/vendor/optional.hpp:417:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable init_ [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/frontends/clang/kbuild_helper.h:29:8: style:inconclusive: Technically the member function 'ebpf::FileDeleter::operator()' can be const. [functionConst] bpfcc-0.31.0/src/cc/frontends/clang/loader.cc:118:19: style:inconclusive: Technically the member function 'ebpf::ClangLoader::add_remapped_includes' can be const. [functionConst] bpfcc-0.31.0/src/cc/frontends/clang/loader.h:90:8: note: Technically the member function 'ebpf::ClangLoader::add_remapped_includes' can be const. bpfcc-0.31.0/src/cc/frontends/clang/loader.cc:118:19: note: Technically the member function 'ebpf::ClangLoader::add_remapped_includes' can be const. bpfcc-0.31.0/src/cc/frontends/clang/loader.cc:130:19: performance:inconclusive: Technically the member function 'ebpf::ClangLoader::add_main_input' can be static (but you may consider moving to unnamed namespace). [functionStatic] bpfcc-0.31.0/src/cc/frontends/clang/loader.h:91:8: note: Technically the member function 'ebpf::ClangLoader::add_main_input' can be static (but you may consider moving to unnamed namespace). bpfcc-0.31.0/src/cc/frontends/clang/loader.cc:130:19: note: Technically the member function 'ebpf::ClangLoader::add_main_input' can be static (but you may consider moving to unnamed namespace). bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.h:111:44: performance: Function 'get_ptregs()' should return member 'ptregs_' by const reference. [returnByReference] bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.h:172:15: performance: Function 'id()' should return member 'id_' by const reference. [returnByReference] bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.h:173:15: performance: Function 'maps_ns()' should return member 'maps_ns_' by const reference. [returnByReference] bpfcc-0.31.0/src/cc/frontends/clang/kbuild_helper.h:72:19: style: C-style pointer casting [cstyleCast] bpfcc-0.31.0/src/cc/frontends/clang/loader.cc:383:9: style: C-style pointer casting [cstyleCast] bpfcc-0.31.0/src/cc/frontends/clang/loader.cc:517:29: style: Redundant pointer operation on 'ctx_' - it's already a pointer. [redundantPointerOp] bpfcc-0.31.0/src/cc/frontends/clang/loader.cc:166:59: performance: Function parameter 'kdir' should be passed by const reference. [passedByValue] bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:255:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UO_Deref [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:319:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UO_Deref [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:391:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CallExprClass [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:553:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UO_AddrOf [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:612:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CallExprClass [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:711:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MemberExprClass [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:729:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ArraySubscriptExprClass [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:775:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Error [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:896:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_FN_PREFIX [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:1009:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_MAP_TYPE_HASH [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:1398:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CK_LValueToRValue [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:1435:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Error [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:1441:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Warning [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:1525:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:1864:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG_PREPROCESSOR [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/json_map_decl_visitor.cc:178:23: style:inconclusive: Either there is a missing 'override', or the member function 'ebpf::BMapDeclVisitor::VisitAttr' can be const. [functionConst] bpfcc-0.31.0/src/cc/json_map_decl_visitor.cc:47:8: note: Either there is a missing 'override', or the member function 'ebpf::BMapDeclVisitor::VisitAttr' can be const. bpfcc-0.31.0/src/cc/json_map_decl_visitor.cc:178:23: note: Either there is a missing 'override', or the member function 'ebpf::BMapDeclVisitor::VisitAttr' can be const. bpfcc-0.31.0/src/cc/json_map_decl_visitor.cc:182:16: style: The function 'Visit' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/src/cc/table_desc.h:116:16: note: Virtual function in base class bpfcc-0.31.0/src/cc/json_map_decl_visitor.cc:182:16: note: Function in derived class bpfcc-0.31.0/src/cc/json_map_decl_visitor.cc:94:49: style:inconclusive: Function 'VisitFieldDecl' argument 1 names different: declaration 'Decl' definition 'D'. [funcArgNamesDifferent] bpfcc-0.31.0/src/cc/json_map_decl_visitor.cc:41:41: note: Function 'VisitFieldDecl' argument 1 names different: declaration 'Decl' definition 'D'. bpfcc-0.31.0/src/cc/json_map_decl_visitor.cc:94:49: note: Function 'VisitFieldDecl' argument 1 names different: declaration 'Decl' definition 'D'. bpfcc-0.31.0/src/cc/json_map_decl_visitor.cc:106:54: style:inconclusive: Function 'TraverseRecordDecl' argument 1 names different: declaration 'Decl' definition 'D'. [funcArgNamesDifferent] bpfcc-0.31.0/src/cc/json_map_decl_visitor.cc:39:46: note: Function 'TraverseRecordDecl' argument 1 names different: declaration 'Decl' definition 'D'. bpfcc-0.31.0/src/cc/json_map_decl_visitor.cc:106:54: note: Function 'TraverseRecordDecl' argument 1 names different: declaration 'Decl' definition 'D'. bpfcc-0.31.0/src/cc/json_map_decl_visitor.cc:113:51: style:inconclusive: Function 'VisitRecordDecl' argument 1 names different: declaration 'Decl' definition 'D'. [funcArgNamesDifferent] bpfcc-0.31.0/src/cc/json_map_decl_visitor.cc:40:43: note: Function 'VisitRecordDecl' argument 1 names different: declaration 'Decl' definition 'D'. bpfcc-0.31.0/src/cc/json_map_decl_visitor.cc:113:51: note: Function 'VisitRecordDecl' argument 1 names different: declaration 'Decl' definition 'D'. bpfcc-0.31.0/src/cc/perf_reader.c:72:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_gettid [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/perf_reader.c:92:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/perf_reader.c:128:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/perf_reader.c:168:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_gettid [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/perf_reader.c:227:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/perf_reader.c:119:29: style: Variable 'header' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/src/cc/perf_reader.c:149:70: style: Parameter 'perf_header' can be declared as pointer to const [constParameterPointer] bpfcc-0.31.0/src/cc/perf_reader.c:165:12: style: Variable 'sentinel' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/src/cc/perf_reader.c:166:20: style: Variable 'end' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/src/cc/perf_reader.c:182:31: style: Variable 'e' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/src/cc/perf_reader.c:252:40: style: Parameter 'reader' can be declared as pointer to const [constParameterPointer] bpfcc-0.31.0/src/cc/perf_reader.c:106:12: style: struct member 'perf_sample_trace_common::id' is never used. [unusedStructMember] bpfcc-0.31.0/src/cc/perf_reader.c:107:11: style: struct member 'perf_sample_trace_common::flags' is never used. [unusedStructMember] bpfcc-0.31.0/src/cc/perf_reader.c:108:11: style: struct member 'perf_sample_trace_common::preempt_count' is never used. [unusedStructMember] bpfcc-0.31.0/src/cc/perf_reader.c:109:7: style: struct member 'perf_sample_trace_common::pid' is never used. [unusedStructMember] bpfcc-0.31.0/src/cc/perf_reader.c:113:35: style: struct member 'perf_sample_trace_kprobe::common' is never used. [unusedStructMember] bpfcc-0.31.0/src/cc/perf_reader.c:114:12: style: struct member 'perf_sample_trace_kprobe::ip' is never used. [unusedStructMember] bpfcc-0.31.0/src/cc/common.h:32:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable args [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/shared_table.cc:47:12: style: The destructor '~SharedTableStorage' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/src/cc/table_storage_impl.h:40:12: note: Virtual destructor in base class bpfcc-0.31.0/src/cc/shared_table.cc:47:12: note: Destructor in derived class bpfcc-0.31.0/src/cc/shared_table.cc:47:12: style: The destructor '~SharedTableStorage' overrides a destructor in a base class but is identical to the overridden function [uselessOverride] bpfcc-0.31.0/src/cc/table_storage_impl.h:40:12: note: Virtual destructor in base class bpfcc-0.31.0/src/cc/shared_table.cc:47:12: note: Destructor in derived class bpfcc-0.31.0/src/cc/vendor/tinyformat.hpp:490:9: warning:inconclusive: Member variable 'FormatArg::m_value' is not initialized in the constructor. [uninitMemberVar] bpfcc-0.31.0/src/cc/vendor/tinyformat.hpp:490:9: warning:inconclusive: Member variable 'FormatArg::m_formatImpl' is not initialized in the constructor. [uninitMemberVar] bpfcc-0.31.0/src/cc/vendor/tinyformat.hpp:490:9: warning:inconclusive: Member variable 'FormatArg::m_toIntImpl' is not initialized in the constructor. [uninitMemberVar] bpfcc-0.31.0/src/cc/vendor/tinyformat.hpp:867:14: performance:inconclusive: Technically the member function 'tinyformat::detail::FormatListN::init' can be static (but you may consider moving to unnamed namespace). [functionStatic] bpfcc-0.31.0/src/cc/vendor/optional.hpp:615:13: style: Class 'optional' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/src/cc/vendor/optional.hpp:617:13: style: Class 'optional' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/src/cc/vendor/tinyformat.hpp:493:9: style: Class 'FormatArg' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/src/cc/vendor/tinyformat.hpp:882:9: style: Class 'FormatListN' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/src/cc/vendor/optional.hpp:401:13: style: Class 'optional < int32_t >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/src/cc/vendor/optional.hpp:421:13: style: Class 'optional < int32_t >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/src/cc/vendor/optional.hpp:423:13: style: Class 'optional < int32_t >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/src/cc/syms.h:223:5: warning: Member variable 'Module::symbol_option_' is not initialized in the constructor. [uninitMemberVar] bpfcc-0.31.0/src/cc/syms.h:50:7: style:inconclusive: Technically the member function 'ProcStat::get_root_fd' can be const. [functionConst] bpfcc-0.31.0/src/cc/syms.h:139:17: style:inconclusive: Technically the member function 'ProcSyms::ModulePath::alt_path' can be const. [functionConst] bpfcc-0.31.0/src/cc/syms.h:44:3: style: Class 'ProcStat' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/src/cc/syms.h:202:3: style: Class 'ProcSyms' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/src/cc/syms.h:223:5: style: Struct 'Module' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/src/cc/vendor/tinyformat.hpp:323:8: style: Condition 'canConvertToChar' is always false [knownConditionTrueFalse] bpfcc-0.31.0/src/cc/vendor/tinyformat.hpp:321:59: note: Assignment 'canConvertToChar=detail::is_convertible::value', assigned value is 0 bpfcc-0.31.0/src/cc/vendor/tinyformat.hpp:323:8: note: Condition 'canConvertToChar' is always false bpfcc-0.31.0/src/cc/vendor/tinyformat.hpp:325:13: style: Condition 'canConvertToVoidPtr' is always false [knownConditionTrueFalse] bpfcc-0.31.0/src/cc/vendor/tinyformat.hpp:322:70: note: Assignment 'canConvertToVoidPtr=detail::is_convertible::value', assigned value is 0 bpfcc-0.31.0/src/cc/vendor/tinyformat.hpp:325:13: note: Condition 'canConvertToVoidPtr' is always false bpfcc-0.31.0/src/cc/vendor/optional.hpp:684:12: warning: Either the condition 'ref' is redundant or there is possible null pointer dereference: ref. [nullPointerRedundantCheck] bpfcc-0.31.0/src/cc/vendor/optional.hpp:684:12: note: Assuming that condition 'ref' is not redundant bpfcc-0.31.0/src/cc/vendor/optional.hpp:684:12: note: Null pointer dereference bpfcc-0.31.0/src/cc/vendor/optional.hpp:688:77: warning: Either the condition 'ref' is redundant or there is possible null pointer dereference: ref. [nullPointerRedundantCheck] bpfcc-0.31.0/src/cc/vendor/optional.hpp:688:12: note: Assuming that condition 'ref' is not redundant bpfcc-0.31.0/src/cc/vendor/optional.hpp:688:77: note: Null pointer dereference bpfcc-0.31.0/src/cc/table_storage.cc:55:88: performance:inconclusive: Function parameter 'key_type' should be passed by const reference. [passedByValue] bpfcc-0.31.0/src/cc/table_storage.cc:56:49: performance:inconclusive: Function parameter 'leaf_type' should be passed by const reference. [passedByValue] bpfcc-0.31.0/src/cc/bcc_syms.cc:663:28: style: C-style pointer casting [cstyleCast] bpfcc-0.31.0/src/cc/bcc_syms.cc:734:15: style: C-style pointer casting [cstyleCast] bpfcc-0.31.0/src/cc/bcc_syms.cc:750:49: style: C-style pointer casting [cstyleCast] bpfcc-0.31.0/src/cc/bcc_syms.cc:755:28: style: C-style pointer casting [cstyleCast] bpfcc-0.31.0/src/cc/bcc_syms.cc:806:18: style: C-style pointer casting [cstyleCast] bpfcc-0.31.0/src/cc/frontends/clang/kbuild_helper.cc:228:36: style:inconclusive: Function 'get_proc_kheaders' argument 1 names different: declaration 'dir' definition 'dirpath'. [funcArgNamesDifferent] bpfcc-0.31.0/src/cc/frontends/clang/kbuild_helper.h:106:36: note: Function 'get_proc_kheaders' argument 1 names different: declaration 'dir' definition 'dirpath'. bpfcc-0.31.0/src/cc/frontends/clang/kbuild_helper.cc:228:36: note: Function 'get_proc_kheaders' argument 1 names different: declaration 'dir' definition 'dirpath'. bpfcc-0.31.0/src/cc/vendor/tinyformat.hpp:284:1: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] bpfcc-0.31.0/src/cc/bcc_syms.cc:152:38: style:inconclusive: Function 'resolve_name' argument 1 names different: declaration 'unused' definition '_unused'. [funcArgNamesDifferent] bpfcc-0.31.0/src/cc/syms.h:81:41: note: Function 'resolve_name' argument 1 names different: declaration 'unused' definition '_unused'. bpfcc-0.31.0/src/cc/bcc_syms.cc:152:38: note: Function 'resolve_name' argument 1 names different: declaration 'unused' definition '_unused'. bpfcc-0.31.0/src/cc/bcc_syms.cc:588:32: style:inconclusive: Function 'bcc_symcache_resolve' argument 1 names different: declaration 'symcache' definition 'resolver'. [funcArgNamesDifferent] bpfcc-0.31.0/src/cc/bcc_syms.h:64:32: note: Function 'bcc_symcache_resolve' argument 1 names different: declaration 'symcache' definition 'resolver'. bpfcc-0.31.0/src/cc/bcc_syms.cc:588:32: note: Function 'bcc_symcache_resolve' argument 1 names different: declaration 'symcache' definition 'resolver'. bpfcc-0.31.0/src/cc/bcc_syms.cc:594:44: style:inconclusive: Function 'bcc_symcache_resolve_no_demangle' argument 1 names different: declaration 'symcache' definition 'resolver'. [funcArgNamesDifferent] bpfcc-0.31.0/src/cc/bcc_syms.h:65:44: note: Function 'bcc_symcache_resolve_no_demangle' argument 1 names different: declaration 'symcache' definition 'resolver'. bpfcc-0.31.0/src/cc/bcc_syms.cc:594:44: note: Function 'bcc_symcache_resolve_no_demangle' argument 1 names different: declaration 'symcache' definition 'resolver'. bpfcc-0.31.0/src/cc/bcc_syms.cc:826:24: style: Local variable 'addr' shadows outer argument [shadowArgument] bpfcc-0.31.0/src/cc/bcc_syms.cc:778:40: note: Shadowed declaration bpfcc-0.31.0/src/cc/bcc_syms.cc:826:24: note: Shadow variable bpfcc-0.31.0/src/cc/common.cc:165:7: performance: Inefficient usage of string::find() in condition; string::starts_with() could be faster. [stlIfStrFind] bpfcc-0.31.0/src/cc/bcc_syms.cc:537:46: performance: Function parameter 'module_name' should be passed by const reference. [passedByValue] bpfcc-0.31.0/src/cc/bcc_syms.cc:158:18: style: Variable 'sym' can be declared as reference to const [constVariableReference] bpfcc-0.31.0/src/cc/bcc_syms.cc:171:55: style: Parameter 'option' can be declared as pointer to const [constParameterPointer] bpfcc-0.31.0/src/cc/bcc_syms.cc:630:18: style: Variable 'c' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/src/cc/bcc_syms.cc:662:37: style: Parameter 'info' can be declared as pointer to const. However it seems that '_bcc_syms_find_module' is a callback function, if 'info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bpfcc-0.31.0/src/cc/bcc_syms.cc:720:38: note: You might need to cast the function pointer here bpfcc-0.31.0/src/cc/bcc_syms.cc:662:37: note: Parameter 'info' can be declared as pointer to const bpfcc-0.31.0/src/cc/bcc_syms.cc:286:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] bpfcc-0.31.0/src/cc/bcc_syms.cc:361:50: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] bpfcc-0.31.0/src/cc/usdt/usdt.cc:74:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable object_type_map_ [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/usdt/usdt.cc:82:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pid_ [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/usdt/usdt.cc:91:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pid_ [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/usdt/usdt.cc:128:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable attached_to_ [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/usdt/usdt.cc:144:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable attached_to_ [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/usdt/usdt.cc:158:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable locations_ [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/usdt/usdt.cc:170:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable attached_to_ [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/usdt/usdt.cc:177:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable locations_ [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/usdt/usdt.cc:272:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _each_probe [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/usdt/usdt.cc:278:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable probes_ [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/usdt/usdt.cc:303:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pid_ [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/usdt/usdt.cc:311:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable probes_ [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/usdt/usdt.cc:320:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable probes_ [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/usdt/usdt.cc:334:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pid_stat_ [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/usdt/usdt.cc:365:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable probes_ [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/usdt/usdt.cc:395:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable probes_ [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/usdt/usdt.cc:411:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cmd_bin_path_ [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/usdt/usdt.cc:423:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cmd_bin_path_ [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/usdt/usdt.cc:441:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cmd_bin_path_ [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/usdt/usdt.cc:452:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pid_stat_ [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/bcc_syms.cc:138:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] bpfcc-0.31.0/src/cc/bcc_syms.cc:523:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] bpfcc-0.31.0/src/lua/src/main.c:46:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/lua/src/main.c:52:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/lua/src/main.c:93:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_MULTRET [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/lua/src/main.c:127:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_GCSTOP [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/usdt/usdt_args.cc:55:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCC_SYM_ALL_TYPES [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/usdt/usdt_args.cc:78:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable constant_ [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/usdt/usdt_args.cc:136:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/usdt/usdt_args.cc:143:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable arg_ [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/usdt/usdt_args.cc:148:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable arg_ [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/usdt/usdt_args.cc:155:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable arg_ [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/usdt/usdt_args.cc:200:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable arg_ [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/usdt/usdt_args.cc:231:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cur_pos_ [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/usdt/usdt_args.cc:273:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable arg_ [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/usdt/usdt_args.cc:317:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable arg_ [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/usdt/usdt_args.cc:346:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cur_pos_ [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/usdt/usdt_args.cc:392:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable arg_ [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/usdt/usdt_args.cc:467:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable arg_ [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/usdt/usdt_args.cc:509:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable arg_ [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/usdt/usdt_args.cc:553:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable arg_ [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/usdt/usdt_args.cc:565:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable arg_ [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/usdt/usdt_args.cc:609:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable arg_ [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/usdt/usdt_args.cc:653:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable arg_ [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/usdt/usdt_args.cc:668:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cur_pos_ [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/usdt/usdt.cc:184:18: style: Variable 'location' can be declared as reference to const [constVariableReference] bpfcc-0.31.0/src/cc/usdt/usdt.cc:303:49: performance: Inefficient usage of string::find() in condition; string::starts_with() could be faster. [stlIfStrFind] bpfcc-0.31.0/src/cc/usdt/usdt.cc:279:69: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] bpfcc-0.31.0/src/cc/usdt/usdt.cc:312:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] bpfcc-0.31.0/src/cc/usdt/usdt.cc:321:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] bpfcc-0.31.0/src/cc/libbpf.c:332:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable map_flags [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/libbpf.c:350:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_OBJ_NAME_LEN [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/libbpf.c:466:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/libbpf.c:498:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/libbpf.c:572:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_SEQPACKET [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/libbpf.c:663:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/libbpf.c:714:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/libbpf.c:788:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_OBJ_NAME_LEN [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/libbpf.c:992:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_PROG_TYPE_EXT [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/libbpf.c:1003:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_NONBLOCK [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/libbpf.c:1032:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOL_SOCKET [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/libbpf.c:1040:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/libbpf.c:1063:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/libbpf.c:1137:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_perf_event_open [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/libbpf.c:1165:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/libbpf.c:1228:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/libbpf.c:1288:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/libbpf.c:1365:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/libbpf.c:1392:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/libbpf.c:1406:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/libbpf.c:1509:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/libbpf.c:1554:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BTF_KIND_STRUCT [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/libbpf.c:1574:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/libbpf.c:1584:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/libbpf.c:1614:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PERF_TYPE_SOFTWARE [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/libbpf.c:1646:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PERF_COUNT_HW_MAX [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/libbpf.c:1694:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_perf_event_open [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/libbpf.c:1715:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/libbpf.c:1731:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_perf_event_open [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/libbpf.c:1759:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/libbpf.c:1782:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PERF_EVENT_IOC_DISABLE [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/libbpf.c:1833:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iter_info [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/libbpf.c:1849:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/src/cc/libbpf.c:1868:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/catch.hpp:1838:16: debug: Failed to instantiate template "captureExpression". The checking continues anyway. [templateInstantiation] bpfcc-0.31.0/src/cc/usdt/usdt_args.cc:525:17: style: Unused variable: reg_name [unusedVariable] bpfcc-0.31.0/tests/cc/catch.hpp:1092:89: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/catch.hpp:1723:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/catch.hpp:2415:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/catch.hpp:2437:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/catch.hpp:2460:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/catch.hpp:2467:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/catch.hpp:2477:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/catch.hpp:2488:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/test_c_api.cc:183:16: error: There is an unknown macro here somewhere. Configuration is required. If CMAKE_CURRENT_BINARY_DIR is a macro then please configure it. [unknownMacro] bpfcc-0.31.0/tests/cc/catch.hpp:434:9: warning:inconclusive: Member variable 'NotImplementedException::m_what' is not assigned in the copy constructor. Should it be copied? [missingMemberCopy] bpfcc-0.31.0/tests/cc/catch.hpp:829:9: warning:inconclusive: Member variable 'AssertionInfo::resultDisposition' is not initialized in the constructor. [uninitMemberVar] bpfcc-0.31.0/tests/cc/catch.hpp:1209:9: warning:inconclusive: Member variable 'CopyableStream::oss' is not assigned in the copy constructor. Should it be copied? [missingMemberCopy] bpfcc-0.31.0/tests/cc/catch.hpp:2726:9: warning: Member variable 'Option < TagAlias >::storage' is not initialized in the constructor. [uninitMemberVar] bpfcc-0.31.0/tests/cc/catch.hpp:2727:9: warning: Member variable 'Option < TagAlias >::storage' is not initialized in the constructor. [uninitMemberVar] bpfcc-0.31.0/tests/cc/catch.hpp:2730:9: warning: Member variable 'Option < TagAlias >::storage' is not initialized in the copy constructor. [uninitMemberVar] bpfcc-0.31.0/tests/cc/catch.hpp:413:21: style:inconclusive: Technically the member function 'Catch::StreamEndStop::operator+' can be const. [functionConst] bpfcc-0.31.0/tests/cc/catch.hpp:433:9: style: Class 'NotImplementedException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:638:5: style: Class 'MethodTestCase' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:654:5: style: Struct 'NameAndDesc' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:1067:13: style: Struct 'Equals' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:1085:13: style: Struct 'Contains' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:1102:13: style: Struct 'StartsWith' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:1120:13: style: Struct 'EndsWith' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:1598:30: style: Struct 'BorgType' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:1940:9: style: Class 'ScopedMessage' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:2304:9: style: Class 'Section' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:2597:9: style: Class 'ExceptionTranslatorRegistrar' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:2575:13: style: Class 'ExceptionTranslator' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:2727:9: style: Class 'Option < TagAlias >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:494:9: style: Class 'Ptr < IConfig const >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:494:9: style: Class 'Ptr < IReporterFactory >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:494:9: style: Class 'Ptr < ITestCase >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:533:18: style: The destructor '~IShared' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:332:18: note: Virtual destructor in base class bpfcc-0.31.0/tests/cc/catch.hpp:533:18: note: Destructor in derived class bpfcc-0.31.0/tests/cc/catch.hpp:586:18: style: The destructor '~IMutableContext' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:575:18: note: Virtual destructor in base class bpfcc-0.31.0/tests/cc/catch.hpp:586:18: note: Destructor in derived class bpfcc-0.31.0/tests/cc/catch.hpp:614:18: style: The destructor '~ITestCase' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:533:18: note: Virtual destructor in base class bpfcc-0.31.0/tests/cc/catch.hpp:614:18: note: Destructor in derived class bpfcc-0.31.0/tests/cc/catch.hpp:1072:22: style: The destructor '~Equals' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:900:18: note: Virtual destructor in base class bpfcc-0.31.0/tests/cc/catch.hpp:1072:22: note: Destructor in derived class bpfcc-0.31.0/tests/cc/catch.hpp:1074:26: style: The function 'match' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:902:22: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:1074:26: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:1077:33: style: The function 'toString' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:903:29: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:1077:33: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:1089:22: style: The destructor '~Contains' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:900:18: note: Virtual destructor in base class bpfcc-0.31.0/tests/cc/catch.hpp:1089:22: note: Destructor in derived class bpfcc-0.31.0/tests/cc/catch.hpp:1091:26: style: The function 'match' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:902:22: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:1091:26: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:1094:33: style: The function 'toString' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:903:29: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:1094:33: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:1107:22: style: The destructor '~StartsWith' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:900:18: note: Virtual destructor in base class bpfcc-0.31.0/tests/cc/catch.hpp:1107:22: note: Destructor in derived class bpfcc-0.31.0/tests/cc/catch.hpp:1109:26: style: The function 'match' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:902:22: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:1109:26: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:1112:33: style: The function 'toString' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:903:29: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:1112:33: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:1124:22: style: The destructor '~EndsWith' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:900:18: note: Virtual destructor in base class bpfcc-0.31.0/tests/cc/catch.hpp:1124:22: note: Destructor in derived class bpfcc-0.31.0/tests/cc/catch.hpp:1126:26: style: The function 'match' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:902:22: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:1126:26: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:1129:33: style: The function 'toString' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:903:29: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:1129:33: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:2305:10: style: The destructor '~Section' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:332:18: note: Virtual destructor in base class bpfcc-0.31.0/tests/cc/catch.hpp:2305:10: note: Destructor in derived class bpfcc-0.31.0/tests/cc/catch.hpp:2351:15: style: The function 'getValue' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:2342:15: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:2351:15: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:2355:25: style: The function 'size' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:2343:25: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:2355:25: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:2374:15: style: The function 'getValue' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:2342:15: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:2374:15: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:2378:25: style: The function 'size' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:2343:25: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:2378:25: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:900:18: style: The destructor '~Matcher < std :: string >' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:533:18: note: Virtual destructor in base class bpfcc-0.31.0/tests/cc/catch.hpp:900:18: note: Destructor in derived class bpfcc-0.31.0/tests/cc/catch.hpp:543:22: style: The function 'addRef' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:534:22: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:543:22: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:546:22: style: The function 'release' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:535:22: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:546:22: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:1622:28: performance: Function 'convert()' should return member 'unprintableString' by const reference. [returnByReference] bpfcc-0.31.0/tests/cc/catch.hpp:2582:25: error: Rethrowing current exception with 'throw;', it seems there is no current exception to rethrow. If there is no current exception this calls std::terminate(). More: https://isocpp.org/wiki/faq/exceptions#throw-without-an-object [rethrowNoCurrentException] bpfcc-0.31.0/tests/cc/catch.hpp:2704:52: performance: Function parameter '_lineInfo' should be passed by const reference. [passedByValue] bpfcc-0.31.0/tests/cc/test_bpf_table.cc:65:14: style: Variable 'it' can be declared as reference to const [constVariableReference] bpfcc-0.31.0/tests/cc/catch.hpp:990:0: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] bpfcc-0.31.0/tests/cc/catch.hpp:950:0: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] bpfcc-0.31.0/src/cc/libbpf.c:353:3: error: Address of local auto-variable assigned to a function parameter. [autoVariables] bpfcc-0.31.0/src/cc/libbpf.c:1790:16: style: Condition 'res' is always true [knownConditionTrueFalse] bpfcc-0.31.0/src/cc/libbpf.c:565:46: style:inconclusive: Function 'bpf_prog_compute_tag' argument 3 names different: declaration 'tag' definition 'ptag'. [funcArgNamesDifferent] bpfcc-0.31.0/src/cc/libbpf.h:170:46: note: Function 'bpf_prog_compute_tag' argument 3 names different: declaration 'tag' definition 'ptag'. bpfcc-0.31.0/src/cc/libbpf.c:565:46: note: Function 'bpf_prog_compute_tag' argument 3 names different: declaration 'tag' definition 'ptag'. bpfcc-0.31.0/src/cc/libbpf.c:631:50: style:inconclusive: Function 'bpf_prog_get_tag' argument 2 names different: declaration 'tag' definition 'ptag'. [funcArgNamesDifferent] bpfcc-0.31.0/src/cc/libbpf.h:171:50: note: Function 'bpf_prog_get_tag' argument 2 names different: declaration 'tag' definition 'ptag'. bpfcc-0.31.0/src/cc/libbpf.c:631:50: note: Function 'bpf_prog_get_tag' argument 2 names different: declaration 'tag' definition 'ptag'. bpfcc-0.31.0/src/cc/libbpf.c:1031:27: style:inconclusive: Function 'bpf_attach_socket' argument 1 names different: declaration 'sockfd' definition 'sock'. [funcArgNamesDifferent] bpfcc-0.31.0/src/cc/libbpf.h:97:27: note: Function 'bpf_attach_socket' argument 1 names different: declaration 'sockfd' definition 'sock'. bpfcc-0.31.0/src/cc/libbpf.c:1031:27: note: Function 'bpf_attach_socket' argument 1 names different: declaration 'sockfd' definition 'sock'. bpfcc-0.31.0/src/cc/libbpf.c:1031:37: style:inconclusive: Function 'bpf_attach_socket' argument 2 names different: declaration 'progfd' definition 'prog'. [funcArgNamesDifferent] bpfcc-0.31.0/src/cc/libbpf.h:97:39: note: Function 'bpf_attach_socket' argument 2 names different: declaration 'progfd' definition 'prog'. bpfcc-0.31.0/src/cc/libbpf.c:1031:37: note: Function 'bpf_attach_socket' argument 2 names different: declaration 'progfd' definition 'prog'. bpfcc-0.31.0/src/cc/libbpf.c:656:60: style: Parameter 'opts' can be declared as pointer to const [constParameterPointer] bpfcc-0.31.0/src/cc/libbpf.c:790:9: style: Variable 'mod_end' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/src/cc/libbpf.c:1603:72: style: Parameter 'opts' can be declared as pointer to const [constParameterPointer] bpfcc-0.31.0/src/cc/libbpf.c:1845:17: style: Variable 'dir' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/tests/cc/test_prog_table.cc:45:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_PROG_TYPE_SCHED_CLS [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/test_static.c:4:9: style: Variable 'mod' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:115:9: style: C-style pointer casting [cstyleCast] bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:122:23: style: C-style pointer casting [cstyleCast] bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:368:48: style:inconclusive: Function 'assignsExtPtr' argument 2 names different: declaration 'nbAddrOf' definition 'nbDerefs'. [funcArgNamesDifferent] bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.h:113:43: note: Function 'assignsExtPtr' argument 2 names different: declaration 'nbAddrOf' definition 'nbDerefs'. bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:368:48: note: Function 'assignsExtPtr' argument 2 names different: declaration 'nbAddrOf' definition 'nbDerefs'. bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:423:42: style:inconclusive: Function 'VisitVarDecl' argument 1 names different: declaration 'Decl' definition 'D'. [funcArgNamesDifferent] bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.h:101:37: note: Function 'VisitVarDecl' argument 1 names different: declaration 'Decl' definition 'D'. bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:423:42: note: Function 'VisitVarDecl' argument 1 names different: declaration 'Decl' definition 'D'. bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:1072:18: style: Local variable 'args' shadows outer variable [shadowVariable] bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:955:16: note: Shadowed declaration bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:1072:18: note: Shadow variable bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:1100:18: style: Local variable 'args' shadows outer variable [shadowVariable] bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:955:16: note: Shadowed declaration bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:1100:18: note: Shadow variable bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:1110:18: style: Local variable 'args' shadows outer variable [shadowVariable] bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:955:16: note: Shadowed declaration bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:1110:18: note: Shadow variable bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:1279:16: style: Local variable 'overlap_addr' shadows outer variable [shadowVariable] bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:1223:10: note: Shadowed declaration bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:1279:16: note: Shadow variable bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:1647:12: style: Local variable 'local_path' shadows outer variable [shadowVariable] bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:1485:10: note: Shadowed declaration bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:1647:12: note: Shadow variable bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:1648:12: style: Local variable 'global_path' shadows outer variable [shadowVariable] bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:1487:10: note: Shadowed declaration bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:1648:12: note: Shadow variable bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:1658:12: style: Local variable 'local_path' shadows outer variable [shadowVariable] bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:1485:10: note: Shadowed declaration bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:1658:12: note: Shadow variable bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:1659:12: style: Local variable 'maps_ns_path' shadows outer variable [shadowVariable] bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:1486:10: note: Shadowed declaration bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:1659:12: note: Shadow variable bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:532:46: performance: Function parameter 'TypeStr' should be passed by const reference. [passedByValue] bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:150:15: style: Parameter 'overlap_addr' can be declared as reference to const [constParameterReference] bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:474:28: performance: Searching before insertion is not necessary. [stlFindInsert] bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:1527:22: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use resize() or pop_back() instead. [uselessCallsSubstr] bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:1558:22: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use resize() or pop_back() instead. [uselessCallsSubstr] bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:1245:16: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:628:20: style: Variable 'base_type' is assigned a value that is never used. [unreadVariable] bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:628:10: style: Variable 'base_type' is assigned a value that is never used. [unreadVariable] bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:1224:23: style: Variable 'probe' is assigned a value that is never used. [unreadVariable] bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:1224:17: style: Variable 'probe' is assigned a value that is never used. [unreadVariable] bpfcc-0.31.0/tests/cc/catch.hpp:3266:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/catch.hpp:3687:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/catch.hpp:4166:103: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/catch.hpp:4877:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/catch.hpp:5318:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/catch.hpp:5341:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/catch.hpp:5387:93: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/catch.hpp:5427:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/catch.hpp:5714:88: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NeedsAnotherRun [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/catch.hpp:5732:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Executing [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/catch.hpp:5737:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_rootTracker [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/catch.hpp:5815:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/catch.hpp:6079:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shouldRedirectStdOut [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/catch.hpp:6270:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/catch.hpp:6293:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/catch.hpp:6306:92: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/catch.hpp:6326:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable max [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/catch.hpp:6367:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/catch.hpp:6454:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lineInfo [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/catch.hpp:6538:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/catch.hpp:6861:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/catch.hpp:6864:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/catch.hpp:7330:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/catch.hpp:7744:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/catch.hpp:7759:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/catch.hpp:7765:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/catch.hpp:7997:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hex [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/catch.hpp:8052:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hexThreshold [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/catch.hpp:8060:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hexThreshold [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/catch.hpp:8073:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fixed [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/catch.hpp:8114:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hexThreshold [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/catch.hpp:8121:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hexThreshold [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/catch.hpp:8285:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/catch.hpp:8341:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/catch.hpp:8357:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/catch.hpp:8381:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/catch.hpp:8892:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uppercase [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/catch.hpp:9089:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shouldRedirectStdOut [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/catch.hpp:9276:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shouldRedirectStdOut [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/catch.hpp:9489:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/catch.hpp:9511:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/catch.hpp:9527:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/catch.hpp:9550:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/catch.hpp:9557:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/catch.hpp:9753:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/catch.hpp:9772:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/catch.hpp:9928:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/catch.hpp:9949:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/catch.hpp:9955:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/catch.hpp:6800:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/catch.hpp:4256:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable placeholder [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/catch.hpp:4352:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_arg [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/catch.hpp:4494:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/catch.hpp:3326:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/python/dummy.cc:13:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/python/test_brb2.c:14:24: style: Variable 'ethernet' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/tests/python/test_call1.c:16:10: style: Variable 'next' is assigned a value that is never used. [unreadVariable] bpfcc-0.31.0/tests/python/test_call1.c:32:15: style: Variable 'next' is assigned a value that is never used. [unreadVariable] bpfcc-0.31.0/tests/python/test_call1.c:32:10: style: Variable 'next' is assigned a value that is never used. [unreadVariable] bpfcc-0.31.0/tests/python/test_call1.c:44:15: style: Variable 'next' is assigned a value that is never used. [unreadVariable] bpfcc-0.31.0/tests/python/test_call1.c:44:10: style: Variable 'next' is assigned a value that is never used. [unreadVariable] bpfcc-0.31.0/tests/python/test_stat1.c:19:3: style: Label 'ethernet' is not used. [unusedLabel] bpfcc-0.31.0/tests/python/test_stat1.c:20:24: style: Variable 'ethernet' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/tests/python/test_stat1.c:29:21: style: Variable 'dot1q' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/tests/python/test_stat1.c:37:18: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/tests/python/test_clang_complex.c:100:3: style:inconclusive: Statements following 'goto' will never be executed. [unreachableCode] bpfcc-0.31.0/tests/python/test_clang_complex.c:40:37: style: Parameter 'skb' can be declared as pointer to const [constParameterPointer] bpfcc-0.31.0/tests/python/test_clang_complex.c:50:24: style: Variable 'cfg_leaf' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/tests/python/test_clang_complex.c:60:23: style: Variable 'slave_leaf' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/tests/python/test_clang_complex.c:80:21: style: Variable 'dot1q' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/tests/python/test_clang_complex.c:89:19: style: Variable 'arp' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/tests/python/test_clang_complex.c:110:19: style: Variable 'tcp' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/tests/python/test_clang_complex.c:136:29: style: Variable 'mac_leaf' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/tests/python/test_clang_complex.c:127:11: style: Unused variable: new_ip [unusedVariable] bpfcc-0.31.0/tests/python/test_clang_complex.c:128:11: style: Unused variable: old_ip [unusedVariable] bpfcc-0.31.0/tests/python/test_tools_memleak_leaker_app.c:37:40: style: Obsolete function 'valloc' called. It is recommended to use 'malloc' or 'mmap' instead. [prohibitedvallocCalled] bpfcc-0.31.0/tests/python/test_trace3.c:39:16: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/tests/python/test_tools_memleak_leaker_app.c:33:5: error: Memory leak: ptr [memleak] bpfcc-0.31.0/tests/python/test_tools_memleak_leaker_app.c:16:40: error: Allocation with malloc, printf doesn't release it. [leakNoVarFunctionCall] bpfcc-0.31.0/tests/python/test_tools_memleak_leaker_app.c:21:40: error: Allocation with calloc, printf doesn't release it. [leakNoVarFunctionCall] bpfcc-0.31.0/tests/python/test_tools_memleak_leaker_app.c:26:41: error: Allocation with realloc, printf doesn't release it. [leakNoVarFunctionCall] bpfcc-0.31.0/tests/python/test_tools_memleak_leaker_app.c:37:40: error: Allocation with valloc, printf doesn't release it. [leakNoVarFunctionCall] bpfcc-0.31.0/tests/python/test_tools_memleak_leaker_app.c:47:41: error: Allocation with pvalloc, printf doesn't release it. [leakNoVarFunctionCall] bpfcc-0.31.0/tests/python/test_tools_memleak_leaker_app.c:52:47: error: Allocation with aligned_alloc, printf doesn't release it. [leakNoVarFunctionCall] bpfcc-0.31.0/tests/python/test_tools_memleak_leaker_app.c:57:11: style: Local variable 'ptr' shadows outer variable [shadowVariable] bpfcc-0.31.0/tests/python/test_tools_memleak_leaker_app.c:13:9: note: Shadowed declaration bpfcc-0.31.0/tests/python/test_tools_memleak_leaker_app.c:57:11: note: Shadow variable bpfcc-0.31.0/tests/python/test_tools_memleak_leaker_app.c:66:26: style: Parameter 'argv' can be declared as const array [constParameter] bpfcc-0.31.0/tests/python/test_brb.c:60:10: style: Variable 'tx_port_id_p' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/tests/python/test_brb.c:115:10: style: Variable 'tx_port_id_p' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/tests/python/test_brb.c:120:24: style: Variable 'ethernet' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/tests/python/test_brb.c:161:25: style: Variable 'dot1q' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/tests/python/test_brb.c:170:23: style: Variable 'arp' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/tests/python/test_brb.c:194:22: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/tests/python/test_brb.c:110:9: style: Unused variable: proto [unusedVariable] bpfcc-0.31.0/tests/python/test_brb.c:113:9: style: Unused variable: mac_p [unusedVariable] bpfcc-0.31.0/tests/python/test_brb.c:114:9: style: Unused variable: dip [unusedVariable] bpfcc-0.31.0/tools/deadlock.c:98:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_F_USER_STACK [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tools/deadlock.c:193:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_F_USER_STACK [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tools/netqtop.c:5:0: error: #error "IFNAMSIZ != 16 is not supported" [preprocessorErrorDirective] bpfcc-0.31.0/tests/python/test_xlate1.c:23:3: style: Label 'ethernet' is not used. [unusedLabel] bpfcc-0.31.0/tools/netqtop.c:5:2: error: #error "IFNAMSIZ != 16 is not supported" [preprocessorErrorDirective] bpfcc-0.31.0/tests/python/test_xlate1.c:24:24: style: Variable 'ethernet' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/tests/python/test_xlate1.c:34:21: style: Variable 'dot1q' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/tools/deadlock.c:197:33: style: Variable 'insert_result' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/tests/cc/test_zip.cc:52:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMAKE_CURRENT_BINARY_DIR [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/test_zip.cc:57:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMAKE_CURRENT_BINARY_DIR [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/test_zip.cc:76:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMAKE_CURRENT_BINARY_DIR [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/test_zip.cc:95:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMAKE_CURRENT_BINARY_DIR [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/test_zip.cc:52:20: style: Variable 'archive' can be declared as pointer to const [constVariablePointer] bpfcc-0.31.0/tests/cc/test_usdt_probes.cc:67:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/test_usdt_probes.cc:263:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/test_usdt_probes.cc:406:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] bpfcc-0.31.0/tests/cc/catch.hpp:3261:9: warning: Member variable 'TestSpecParser::m_mode' is not initialized in the constructor. [uninitMemberVar] bpfcc-0.31.0/tests/cc/catch.hpp:3261:9: warning: Member variable 'TestSpecParser::m_exclusion' is not initialized in the constructor. [uninitMemberVar] bpfcc-0.31.0/tests/cc/catch.hpp:3261:9: warning: Member variable 'TestSpecParser::m_start' is not initialized in the constructor. [uninitMemberVar] bpfcc-0.31.0/tests/cc/catch.hpp:3261:9: warning: Member variable 'TestSpecParser::m_pos' is not initialized in the constructor. [uninitMemberVar] bpfcc-0.31.0/tests/cc/catch.hpp:5484:5: style: The class 'TrackerContext' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:9272:9: warning: Member variable 'JunitReporter::unexpectedExceptions' is not initialized in the constructor. [uninitMemberVar] bpfcc-0.31.0/tests/cc/catch.hpp:2726:9: warning: Member variable 'Option < unsigned long >::storage' is not initialized in the constructor. [uninitMemberVar] bpfcc-0.31.0/tests/cc/catch.hpp:2727:9: warning: Member variable 'Option < unsigned long >::storage' is not initialized in the constructor. [uninitMemberVar] bpfcc-0.31.0/tests/cc/catch.hpp:2730:9: warning: Member variable 'Option < unsigned long >::storage' is not initialized in the copy constructor. [uninitMemberVar] bpfcc-0.31.0/tests/cc/catch.hpp:2726:9: warning: Member variable 'Option < TestRunInfo >::storage' is not initialized in the constructor. [uninitMemberVar] bpfcc-0.31.0/tests/cc/catch.hpp:2727:9: warning: Member variable 'Option < TestRunInfo >::storage' is not initialized in the constructor. [uninitMemberVar] bpfcc-0.31.0/tests/cc/catch.hpp:2730:9: warning: Member variable 'Option < TestRunInfo >::storage' is not initialized in the copy constructor. [uninitMemberVar] bpfcc-0.31.0/tests/cc/catch.hpp:2726:9: warning: Member variable 'Option < GroupInfo >::storage' is not initialized in the constructor. [uninitMemberVar] bpfcc-0.31.0/tests/cc/catch.hpp:2727:9: warning: Member variable 'Option < GroupInfo >::storage' is not initialized in the constructor. [uninitMemberVar] bpfcc-0.31.0/tests/cc/catch.hpp:2730:9: warning: Member variable 'Option < GroupInfo >::storage' is not initialized in the copy constructor. [uninitMemberVar] bpfcc-0.31.0/tests/cc/catch.hpp:2726:9: warning: Member variable 'Option < TestCaseInfo >::storage' is not initialized in the constructor. [uninitMemberVar] bpfcc-0.31.0/tests/cc/catch.hpp:2727:9: warning: Member variable 'Option < TestCaseInfo >::storage' is not initialized in the constructor. [uninitMemberVar] bpfcc-0.31.0/tests/cc/catch.hpp:2730:9: warning: Member variable 'Option < TestCaseInfo >::storage' is not initialized in the copy constructor. [uninitMemberVar] bpfcc-0.31.0/tests/cc/catch.hpp:8245:25: style:inconclusive: Technically the member function 'Catch::ResultBuilder::react' can be const. [functionConst] bpfcc-0.31.0/tests/cc/catch.hpp:1258:14: note: Technically the member function 'Catch::ResultBuilder::react' can be const. bpfcc-0.31.0/tests/cc/catch.hpp:8245:25: note: Technically the member function 'Catch::ResultBuilder::react' can be const. bpfcc-0.31.0/tests/cc/catch.hpp:8251:25: performance:inconclusive: Technically the member function 'Catch::ResultBuilder::allowThrows' can be static (but you may consider moving to unnamed namespace). [functionStatic] bpfcc-0.31.0/tests/cc/catch.hpp:1260:14: note: Technically the member function 'Catch::ResultBuilder::allowThrows' can be static (but you may consider moving to unnamed namespace). bpfcc-0.31.0/tests/cc/catch.hpp:8251:25: note: Technically the member function 'Catch::ResultBuilder::allowThrows' can be static (but you may consider moving to unnamed namespace). bpfcc-0.31.0/tests/cc/catch.hpp:5549:18: style:inconclusive: Technically the member function 'Catch::TestCaseTracking::TrackerBase::TrackerHasName::operator()' can be const. [functionConst] bpfcc-0.31.0/tests/cc/catch.hpp:6112:14: style:inconclusive: Technically the member function 'Catch::RunContext::invokeActiveTestCase' can be const. [functionConst] bpfcc-0.31.0/tests/cc/catch.hpp:6302:14: style:inconclusive: Technically the member function 'Catch::Session::showHelp' can be const. [functionConst] bpfcc-0.31.0/tests/cc/catch.hpp:6835:14: style:inconclusive: Technically the member function 'Catch::OutputDebugWriter::operator()' can be const. [functionConst] bpfcc-0.31.0/tests/cc/catch.hpp:7099:14: performance:inconclusive: Technically the member function 'Catch::::PosixColourImpl::setColour' can be static (but you may consider moving to unnamed namespace). [functionStatic] bpfcc-0.31.0/tests/cc/catch.hpp:10147:21: performance:inconclusive: Technically the member function 'Catch::CompactReporter::bothOrAll' can be static (but you may consider moving to unnamed namespace). [functionStatic] bpfcc-0.31.0/tests/cc/catch.hpp:4352:42: debug: CheckClass::isMemberVar found used member variable 'm_arg' with varid 0 [varid0] bpfcc-0.31.0/tests/cc/catch.hpp:5070:19: warning: The struct 'LazyStat < TestRunInfo >' defines member function with name 'operator=' also defined in its parent class 'Option < TestRunInfo >'. [duplInheritedMember] bpfcc-0.31.0/tests/cc/catch.hpp:2746:17: note: Parent function 'Option < TestRunInfo >::operator=' bpfcc-0.31.0/tests/cc/catch.hpp:5070:19: note: Derived function 'LazyStat < TestRunInfo >::operator=' bpfcc-0.31.0/tests/cc/catch.hpp:5075:14: warning: The struct 'LazyStat < TestRunInfo >' defines member function with name 'reset' also defined in its parent class 'Option < TestRunInfo >'. [duplInheritedMember] bpfcc-0.31.0/tests/cc/catch.hpp:2752:14: note: Parent function 'Option < TestRunInfo >::reset' bpfcc-0.31.0/tests/cc/catch.hpp:5075:14: note: Derived function 'LazyStat < TestRunInfo >::reset' bpfcc-0.31.0/tests/cc/catch.hpp:5070:19: warning: The struct 'LazyStat < GroupInfo >' defines member function with name 'operator=' also defined in its parent class 'Option < GroupInfo >'. [duplInheritedMember] bpfcc-0.31.0/tests/cc/catch.hpp:2746:17: note: Parent function 'Option < GroupInfo >::operator=' bpfcc-0.31.0/tests/cc/catch.hpp:5070:19: note: Derived function 'LazyStat < GroupInfo >::operator=' bpfcc-0.31.0/tests/cc/catch.hpp:5075:14: warning: The struct 'LazyStat < GroupInfo >' defines member function with name 'reset' also defined in its parent class 'Option < GroupInfo >'. [duplInheritedMember] bpfcc-0.31.0/tests/cc/catch.hpp:2752:14: note: Parent function 'Option < GroupInfo >::reset' bpfcc-0.31.0/tests/cc/catch.hpp:5075:14: note: Derived function 'LazyStat < GroupInfo >::reset' bpfcc-0.31.0/tests/cc/catch.hpp:5070:19: warning: The struct 'LazyStat < TestCaseInfo >' defines member function with name 'operator=' also defined in its parent class 'Option < TestCaseInfo >'. [duplInheritedMember] bpfcc-0.31.0/tests/cc/catch.hpp:2746:17: note: Parent function 'Option < TestCaseInfo >::operator=' bpfcc-0.31.0/tests/cc/catch.hpp:5070:19: note: Derived function 'LazyStat < TestCaseInfo >::operator=' bpfcc-0.31.0/tests/cc/catch.hpp:5075:14: warning: The struct 'LazyStat < TestCaseInfo >' defines member function with name 'reset' also defined in its parent class 'Option < TestCaseInfo >'. [duplInheritedMember] bpfcc-0.31.0/tests/cc/catch.hpp:2752:14: note: Parent function 'Option < TestCaseInfo >::reset' bpfcc-0.31.0/tests/cc/catch.hpp:5075:14: note: Derived function 'LazyStat < TestCaseInfo >::reset' bpfcc-0.31.0/tests/cc/catch.hpp:8366:41: warning: The class 'TagAliasRegistry' defines member function with name 'get' also defined in its parent struct 'ITagAliasRegistry'. [duplInheritedMember] bpfcc-0.31.0/tests/cc/catch.hpp:8373:49: note: Parent function 'ITagAliasRegistry::get' bpfcc-0.31.0/tests/cc/catch.hpp:8366:41: note: Derived function 'TagAliasRegistry::get' bpfcc-0.31.0/tests/cc/catch.hpp:3182:13: style: Class 'NamePattern' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:3195:13: style: Class 'TagPattern' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:3206:13: style: Class 'ExcludedPattern' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:3261:9: style: Class 'TestSpecParser' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:3436:9: style: Class 'FileStream' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:3537:9: style: Class 'Config' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:3683:9: style: Class 'Text' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:4059:13: style: Struct 'BoundDataMember' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:4072:13: style: Struct 'BoundUnaryMethod' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:4089:13: style: Struct 'BoundNullaryMethod' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:4106:13: style: Struct 'BoundUnaryFunction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:4123:13: style: Struct 'BoundBinaryFunction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:4873:9: style: Class 'Text' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:5019:9: style: Struct 'Colour' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:5083:9: style: Struct 'TestRunInfo' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:5192:9: style: Struct 'TestGroupStats' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:5548:13: style: Class 'TrackerHasName' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:6520:9: style: Class 'FreeFunctionTestCase' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:7155:9: style: Struct 'GeneratorInfo' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:7585:9: style: Class 'LegacyReporterAdapter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:8531:9: style: Struct 'StreamingReporterBase' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:8622:13: style: Struct 'BySectionInfo' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:8745:9: style: Struct 'TestEventListenerBase' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:8777:9: style: Class 'LegacyReporterRegistrar' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:8858:9: style: Class 'XmlEncode' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:8949:9: style: Class 'XmlWriter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:8914:13: style: Class 'ScopedElement' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:9085:9: style: Class 'XmlReporter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:9272:9: style: Class 'JunitReporter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:9478:9: style: Struct 'ConsoleReporter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:9911:9: style: Struct 'CompactReporter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:8809:9: style: Class 'ReporterRegistrar < XmlReporter >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:8809:9: style: Class 'ReporterRegistrar < JunitReporter >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:8809:9: style: Class 'ReporterRegistrar < ConsoleReporter >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:8809:9: style: Class 'ReporterRegistrar < CompactReporter >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:4228:13: style: Struct 'Arg' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:4287:13: style: Class 'ArgBuilder' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:4348:13: style: Class 'OptBuilder' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:2727:9: style: Class 'Option < unsigned long >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:2727:9: style: Class 'Option < TestRunInfo >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:2727:9: style: Class 'Option < GroupInfo >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:2727:9: style: Class 'Option < TestCaseInfo >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:494:9: style: Class 'Ptr < Pattern >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:494:9: style: Class 'Ptr < IStreamingReporter >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:494:9: style: Class 'Ptr < TestCaseTracking :: ITracker >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:494:9: style: Class 'Ptr < Config >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:494:9: style: Class 'Ptr < IReporter >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:494:9: style: Class 'Ptr < SectionNode >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:494:9: style: Class 'Ptr < Node < TestCaseStats , SectionNode > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:494:9: style: Class 'Ptr < Node < TestGroupStats , Node < TestCaseStats , SectionNode > > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:494:9: style: Class 'Ptr < Node < TestRunStats , Node < TestGroupStats , Node < TestCaseStats , SectionNode > > > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:4188:9: style: Struct 'CommonArgProperties < ConfigData >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:4024:13: style: Class 'BoundArgFunction < ConfigData >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpfcc-0.31.0/tests/cc/catch.hpp:640:18: style: The function 'invoke' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:612:22: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:640:18: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:646:14: style: The destructor '~MethodTestCase' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:614:18: note: Virtual destructor in base class bpfcc-0.31.0/tests/cc/catch.hpp:646:14: note: Destructor in derived class bpfcc-0.31.0/tests/cc/catch.hpp:3185:22: style: The destructor '~NamePattern' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:3177:22: note: Virtual destructor in base class bpfcc-0.31.0/tests/cc/catch.hpp:3185:22: note: Destructor in derived class bpfcc-0.31.0/tests/cc/catch.hpp:3186:26: style: The function 'matches' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:3178:26: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:3186:26: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:3196:22: style: The destructor '~TagPattern' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:3177:22: note: Virtual destructor in base class bpfcc-0.31.0/tests/cc/catch.hpp:3196:22: note: Destructor in derived class bpfcc-0.31.0/tests/cc/catch.hpp:3197:26: style: The function 'matches' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:3178:26: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:3197:26: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:3207:22: style: The destructor '~ExcludedPattern' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:3177:22: note: Virtual destructor in base class bpfcc-0.31.0/tests/cc/catch.hpp:3207:22: note: Destructor in derived class bpfcc-0.31.0/tests/cc/catch.hpp:3208:26: style: The function 'matches' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:3178:26: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:3208:26: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:3385:18: style: The destructor '~IConfig' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:533:18: note: Virtual destructor in base class bpfcc-0.31.0/tests/cc/catch.hpp:3385:18: note: Destructor in derived class bpfcc-0.31.0/tests/cc/catch.hpp:3437:18: style: The destructor '~FileStream' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:3429:18: note: Virtual destructor in base class bpfcc-0.31.0/tests/cc/catch.hpp:3437:18: note: Destructor in derived class bpfcc-0.31.0/tests/cc/catch.hpp:3446:18: style: The destructor '~CoutStream' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:3429:18: note: Virtual destructor in base class bpfcc-0.31.0/tests/cc/catch.hpp:3446:18: note: Destructor in derived class bpfcc-0.31.0/tests/cc/catch.hpp:3457:18: style: The destructor '~DebugOutStream' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:3429:18: note: Virtual destructor in base class bpfcc-0.31.0/tests/cc/catch.hpp:3457:18: note: Destructor in derived class bpfcc-0.31.0/tests/cc/catch.hpp:3549:18: style: The destructor '~Config' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:3385:18: note: Virtual destructor in base class bpfcc-0.31.0/tests/cc/catch.hpp:3549:18: note: Destructor in derived class bpfcc-0.31.0/tests/cc/catch.hpp:3563:14: style: The function 'shouldDebugBreak' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:3391:22: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:3563:14: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:3567:13: style: The function 'abortAfter' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:3393:21: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:3567:13: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:3569:25: style: The function 'testSpec' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:3396:33: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:3569:25: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:3572:14: style: The function 'showInvisibles' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:3394:22: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:3572:14: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:3575:22: style: The function 'allowThrows' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:3387:22: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:3575:22: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:3576:31: style: The function 'stream' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:3388:31: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:3576:31: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:3577:29: style: The function 'name' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:3389:29: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:3577:29: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:3578:22: style: The function 'includeSuccessfulResults' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:3390:22: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:3578:22: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:3579:22: style: The function 'warnAboutMissingAssertions' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:3392:22: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:3579:22: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:3580:38: style: The function 'showDurations' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:3395:38: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:3580:38: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:3581:39: style: The function 'runOrder' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:3397:39: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:3581:39: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:3582:30: style: The function 'rngSeed' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:3398:30: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:3582:30: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:3583:36: style: The function 'useColour' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:3399:36: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:3583:36: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:5239:18: style: The destructor '~IStreamingReporter' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:533:18: note: Virtual destructor in base class bpfcc-0.31.0/tests/cc/catch.hpp:5239:18: note: Destructor in derived class bpfcc-0.31.0/tests/cc/catch.hpp:5268:18: style: The destructor '~IReporterFactory' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:533:18: note: Virtual destructor in base class bpfcc-0.31.0/tests/cc/catch.hpp:5268:18: note: Destructor in derived class bpfcc-0.31.0/tests/cc/catch.hpp:5566:18: style: The destructor '~TrackerBase' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:533:18: note: Virtual destructor in base class bpfcc-0.31.0/tests/cc/catch.hpp:5566:18: note: Destructor in derived class bpfcc-0.31.0/tests/cc/catch.hpp:5877:18: style: The destructor '~RunContext' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:1967:18: note: Virtual destructor in base class bpfcc-0.31.0/tests/cc/catch.hpp:5877:18: note: Destructor in derived class bpfcc-0.31.0/tests/cc/catch.hpp:5937:22: style: The function 'assertionEnded' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:1969:22: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:5937:22: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:5953:22: style: The function 'sectionStarted' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:1970:22: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:5953:22: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:5986:22: style: The function 'sectionEnded' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:1972:22: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:5986:22: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:5999:22: style: The function 'sectionEndedEarly' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:1973:22: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:5999:22: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:6009:22: style: The function 'pushScopedMessage' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:1974:22: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:6009:22: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:6013:22: style: The function 'popScopedMessage' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:1975:22: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:6013:22: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:6017:29: style: The function 'getCurrentTestName' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:1977:29: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:6017:29: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:6023:40: style: The function 'getLastResult' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:1978:40: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:6023:40: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:6027:22: style: The function 'handleFatalErrorCondition' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:1980:22: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:6027:22: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:6060:14: style: The function 'aborting' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:2043:22: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:6060:14: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:6298:10: style: The destructor '~Session' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:332:18: note: Virtual destructor in base class bpfcc-0.31.0/tests/cc/catch.hpp:6298:10: note: Destructor in derived class bpfcc-0.31.0/tests/cc/catch.hpp:6481:18: style: The destructor '~TestRegistry' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:621:18: note: Virtual destructor in base class bpfcc-0.31.0/tests/cc/catch.hpp:6481:18: note: Destructor in derived class bpfcc-0.31.0/tests/cc/catch.hpp:6493:46: style: The function 'getAllTests' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:622:46: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:6493:46: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:6496:46: style: The function 'getAllTestsSorted' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:623:46: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:6496:46: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:6522:22: style: The function 'invoke' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:612:22: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:6522:22: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:6527:18: style: The destructor '~FreeFunctionTestCase' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:614:18: note: Virtual destructor in base class bpfcc-0.31.0/tests/cc/catch.hpp:6527:18: note: Destructor in derived class bpfcc-0.31.0/tests/cc/catch.hpp:6630:10: style: The destructor '~ExceptionTranslatorRegistry' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:2565:18: note: Virtual destructor in base class bpfcc-0.31.0/tests/cc/catch.hpp:6630:10: note: Destructor in derived class bpfcc-0.31.0/tests/cc/catch.hpp:6638:29: style: The function 'translateActiveException' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:2567:29: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:6638:29: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:6878:33: style: The function 'getResultCapture' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:577:33: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:6878:33: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:6881:26: style: The function 'getRunner' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:578:26: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:6881:26: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:6884:24: style: The function 'getGeneratorIndex' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:579:24: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:6884:24: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:6889:22: style: The function 'advanceGeneratorsForCurrentTest' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:580:22: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:6889:22: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:6894:36: style: The function 'getConfig' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:581:36: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:6894:36: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:6899:22: style: The function 'setResultCapture' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:587:22: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:6899:22: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:6902:22: style: The function 'setRunner' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:588:22: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:6902:22: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:6905:22: style: The function 'setConfig' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:589:22: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:6905:22: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:6969:18: style: The function 'use' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:6965:26: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:6969:18: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:7074:22: style: The function 'use' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:6965:26: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:7074:22: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:7160:14: style: The function 'moveNext' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:462:22: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:7160:14: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:7168:21: style: The function 'getCurrentIndex' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:463:29: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:7168:21: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:7181:10: style: The destructor '~GeneratorsForTest' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:467:18: note: Virtual destructor in base class bpfcc-0.31.0/tests/cc/catch.hpp:7181:10: note: Destructor in derived class bpfcc-0.31.0/tests/cc/catch.hpp:7185:25: style: The function 'getGeneratorInfo' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:469:33: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:7185:25: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:7196:14: style: The function 'moveNext' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:470:22: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:7196:14: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:7564:18: style: The destructor '~IReporter' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:533:18: note: Virtual destructor in base class bpfcc-0.31.0/tests/cc/catch.hpp:7564:18: note: Destructor in derived class bpfcc-0.31.0/tests/cc/catch.hpp:7586:18: style: The destructor '~LegacyReporterAdapter' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:5239:18: note: Virtual destructor in base class bpfcc-0.31.0/tests/cc/catch.hpp:7586:18: note: Destructor in derived class bpfcc-0.31.0/tests/cc/catch.hpp:7588:37: style: The function 'getPreferences' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:5244:37: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:7588:37: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:7589:22: style: The function 'noMatchingTestCases' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:5246:22: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:7589:22: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:7590:22: style: The function 'testRunStarting' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:5248:22: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:7590:22: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:7591:22: style: The function 'testGroupStarting' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:5249:22: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:7591:22: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:7592:22: style: The function 'testCaseStarting' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:5251:22: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:7592:22: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:7593:22: style: The function 'sectionStarting' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:5252:22: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:7593:22: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:7594:22: style: The function 'assertionStarting' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:5254:22: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:7594:22: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:7595:22: style: The function 'assertionEnded' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:5257:22: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:7595:22: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:7596:22: style: The function 'sectionEnded' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:5259:22: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:7596:22: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:7597:22: style: The function 'testCaseEnded' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:5260:22: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:7597:22: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:7598:22: style: The function 'testGroupEnded' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:5261:22: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:7598:22: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:7599:22: style: The function 'testRunEnded' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:5262:22: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:7599:22: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:7600:22: style: The function 'skipTest' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:5264:22: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:7600:22: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:8308:18: style: The destructor '~TagAliasRegistry' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:2785:18: note: Virtual destructor in base class bpfcc-0.31.0/tests/cc/catch.hpp:8308:18: note: Destructor in derived class bpfcc-0.31.0/tests/cc/catch.hpp:8309:34: style: The function 'find' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:2786:34: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:8309:34: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:8310:29: style: The function 'expandAliases' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:2787:29: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:8310:29: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:8642:10: style: The destructor '~CumulativeReporterBase' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:5239:18: note: Virtual destructor in base class bpfcc-0.31.0/tests/cc/catch.hpp:8642:10: note: Destructor in derived class bpfcc-0.31.0/tests/cc/catch.hpp:8680:22: style: The function 'assertionEnded' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:5257:22: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:8680:22: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:9915:18: style: The destructor '~CompactReporter' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:8542:18: note: Virtual destructor in base class bpfcc-0.31.0/tests/cc/catch.hpp:9915:18: note: Destructor in derived class bpfcc-0.31.0/tests/cc/catch.hpp:9921:37: style: The function 'getPreferences' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:8538:37: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:9921:37: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:9927:22: style: The function 'noMatchingTestCases' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:8544:22: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:9927:22: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:9931:22: style: The function 'assertionStarting' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:5254:22: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:9931:22: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:9934:22: style: The function 'assertionEnded' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:5257:22: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:9934:22: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:9953:22: style: The function 'testRunEnded' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:8569:22: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:9953:22: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:6792:10: style: The destructor '~StreamBufImpl < OutputDebugWriter , 256 >' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:3415:18: note: Virtual destructor in base class bpfcc-0.31.0/tests/cc/catch.hpp:6792:10: note: Destructor in derived class bpfcc-0.31.0/tests/cc/catch.hpp:4051:26: style: The function 'set' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:4014:26: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:4051:26: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:4052:26: style: The function 'setFlag' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:4015:26: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:4052:26: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:4053:26: style: The function 'takesArg' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:4016:26: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:4053:26: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:586:18: style: The destructor '~IMutableContext' overrides a destructor in a base class but is identical to the overridden function [uselessOverride] bpfcc-0.31.0/tests/cc/catch.hpp:575:18: note: Virtual destructor in base class bpfcc-0.31.0/tests/cc/catch.hpp:586:18: note: Destructor in derived class bpfcc-0.31.0/tests/cc/catch.hpp:3385:18: style: The destructor '~IConfig' overrides a destructor in a base class but is identical to the overridden function [uselessOverride] bpfcc-0.31.0/tests/cc/catch.hpp:533:18: note: Virtual destructor in base class bpfcc-0.31.0/tests/cc/catch.hpp:3385:18: note: Destructor in derived class bpfcc-0.31.0/tests/cc/catch.hpp:5239:18: style: The destructor '~IStreamingReporter' overrides a destructor in a base class but is identical to the overridden function [uselessOverride] bpfcc-0.31.0/tests/cc/catch.hpp:533:18: note: Virtual destructor in base class bpfcc-0.31.0/tests/cc/catch.hpp:5239:18: note: Destructor in derived class bpfcc-0.31.0/tests/cc/catch.hpp:5268:18: style: The destructor '~IReporterFactory' overrides a destructor in a base class but is identical to the overridden function [uselessOverride] bpfcc-0.31.0/tests/cc/catch.hpp:533:18: note: Virtual destructor in base class bpfcc-0.31.0/tests/cc/catch.hpp:5268:18: note: Destructor in derived class bpfcc-0.31.0/tests/cc/catch.hpp:6590:18: style: The destructor '~ReporterRegistry' overrides a destructor in a base class but is identical to the overridden function [uselessOverride] bpfcc-0.31.0/tests/cc/catch.hpp:5277:18: note: Virtual destructor in base class bpfcc-0.31.0/tests/cc/catch.hpp:6590:18: note: Destructor in derived class bpfcc-0.31.0/tests/cc/catch.hpp:7564:18: style: The destructor '~IReporter' overrides a destructor in a base class but is identical to the overridden function [uselessOverride] bpfcc-0.31.0/tests/cc/catch.hpp:533:18: note: Virtual destructor in base class bpfcc-0.31.0/tests/cc/catch.hpp:7564:18: note: Destructor in derived class bpfcc-0.31.0/tests/cc/catch.hpp:9100:22: style: The function 'noMatchingTestCases' overrides a function in a base class but just delegates back to the base class. [uselessOverride] bpfcc-0.31.0/tests/cc/catch.hpp:8544:22: note: Virtual function in base class bpfcc-0.31.0/tests/cc/catch.hpp:9100:22: note: Function in derived class bpfcc-0.31.0/tests/cc/catch.hpp:900:18: style: The destructor '~Matcher < std :: string >' overrides a destructor in a base class but is identical to the overridden function [uselessOverride] bpfcc-0.31.0/tests/cc/catch.hpp:533:18: note: Virtual destructor in base class bpfcc-0.31.0/tests/cc/catch.hpp:900:18: note: Destructor in derived class bpfcc-0.31.0/tests/cc/catch.hpp:870:21: performance: Function 'getExpandedExpression()' should return member 'reconstructedExpression' by const reference. [returnByReference] bpfcc-0.31.0/tests/cc/catch.hpp:871:21: performance: Function 'getMessage()' should return member 'message' by const reference. [returnByReference] bpfcc-0.31.0/tests/cc/catch.hpp:872:24: performance: Function 'getSourceInfo()' should return member 'lineInfo' by const reference. [returnByReference] bpfcc-0.31.0/tests/cc/catch.hpp:873:21: performance: Function 'getTestMacroName()' should return member 'macroName' by const reference. [returnByReference] bpfcc-0.31.0/tests/cc/catch.hpp:3561:21: performance: Function 'getProcessName()' should return member 'processName' by const reference. [returnByReference] bpfcc-0.31.0/tests/cc/catch.hpp:3565:34: performance: Function 'getReporterNames()' should return member 'reporterNames' by const reference. [returnByReference] bpfcc-0.31.0/tests/cc/catch.hpp:4003:23: style: Condition 'isTrue(true)' is always true [knownConditionTrueFalse] bpfcc-0.31.0/tests/cc/catch.hpp:4003:23: note: Calling function 'isTrue' returns 1 bpfcc-0.31.0/tests/cc/catch.hpp:4003:23: note: Condition 'isTrue(true)' is always true bpfcc-0.31.0/tests/cc/catch.hpp:7110:27: style: Condition '!isDebuggerActive()' is always true [knownConditionTrueFalse] bpfcc-0.31.0/tests/cc/catch.hpp:7110:44: note: Calling function 'isDebuggerActive' returns 0 bpfcc-0.31.0/tests/cc/catch.hpp:7110:27: note: Condition '!isDebuggerActive()' is always true bpfcc-0.31.0/tests/cc/catch.hpp:4542:48: style: Condition 'm_throwOnUnrecognisedTokens' is always true [knownConditionTrueFalse] bpfcc-0.31.0/tests/cc/catch.hpp:4540:68: note: Assuming that condition '!m_throwOnUnrecognisedTokens' is not redundant bpfcc-0.31.0/tests/cc/catch.hpp:4542:48: note: Condition 'm_throwOnUnrecognisedTokens' is always true bpfcc-0.31.0/tests/cc/catch.hpp:7549:9: error: Exception thrown in function declared not to throw exceptions. [throwInNoexceptFunction] bpfcc-0.31.0/tests/cc/catch.hpp:7857:17: error: Exception thrown in function declared not to throw exceptions. [throwInNoexceptFunction] bpfcc-0.31.0/tests/cc/catch.hpp:6671:17: error: Rethrowing current exception with 'throw;', it seems there is no current exception to rethrow. If there is no current exception this calls std::terminate(). More: https://isocpp.org/wiki/faq/exceptions#throw-without-an-object [rethrowNoCurrentException] bpfcc-0.31.0/tests/cc/catch.hpp:6547:25: style:inconclusive: Function 'registerTestCase' argument 2 names different: declaration 'className' definition 'classOrQualifiedMethodName'. [funcArgNamesDifferent] bpfcc-0.31.0/tests/cc/catch.hpp:664:21: note: Function 'registerTestCase' argument 2 names different: declaration 'className' definition 'classOrQualifiedMethodName'. bpfcc-0.31.0/tests/cc/catch.hpp:6547:25: note: Function 'registerTestCase' argument 2 names different: declaration 'className' definition 'classOrQualifiedMethodName'. bpfcc-0.31.0/tests/cc/catch.hpp:7134:35: style:inconclusive: Function 'Colour' argument 1 names different: declaration 'other' definition '_other'. [funcArgNamesDifferent] bpfcc-0.31.0/tests/cc/catch.hpp:5020:31: note: Function 'Colour' argument 1 names different: declaration 'other' definition '_other'. bpfcc-0.31.0/tests/cc/catch.hpp:7134:35: note: Function 'Colour' argument 1 names different: declaration 'other' definition '_other'. bpfcc-0.31.0/tests/cc/catch.hpp:7336:40: style:inconclusive: Function 'makeTestCase' argument 1 names different: declaration 'testCase' definition '_testCase'. [funcArgNamesDifferent] bpfcc-0.31.0/tests/cc/catch.hpp:2866:40: note: Function 'makeTestCase' argument 1 names different: declaration 'testCase' definition '_testCase'. bpfcc-0.31.0/tests/cc/catch.hpp:7336:40: note: Function 'makeTestCase' argument 1 names different: declaration 'testCase' definition '_testCase'. bpfcc-0.31.0/tests/cc/catch.hpp:7337:48: style:inconclusive: Function 'makeTestCase' argument 2 names different: declaration 'className' definition '_className'. [funcArgNamesDifferent] bpfcc-0.31.0/tests/cc/catch.hpp:2867:48: note: Function 'makeTestCase' argument 2 names different: declaration 'className' definition '_className'. bpfcc-0.31.0/tests/cc/catch.hpp:7337:48: note: Function 'makeTestCase' argument 2 names different: declaration 'className' definition '_className'. bpfcc-0.31.0/tests/cc/catch.hpp:7338:48: style:inconclusive: Function 'makeTestCase' argument 3 names different: declaration 'name' definition '_name'. [funcArgNamesDifferent] bpfcc-0.31.0/tests/cc/catch.hpp:2868:48: note: Function 'makeTestCase' argument 3 names different: declaration 'name' definition '_name'. bpfcc-0.31.0/tests/cc/catch.hpp:7338:48: note: Function 'makeTestCase' argument 3 names different: declaration 'name' definition '_name'. bpfcc-0.31.0/tests/cc/catch.hpp:7339:48: style:inconclusive: Function 'makeTestCase' argument 4 names different: declaration 'description' definition '_descOrTags'. [funcArgNamesDifferent] bpfcc-0.31.0/tests/cc/catch.hpp:2869:48: note: Function 'makeTestCase' argument 4 names different: declaration 'description' definition '_descOrTags'. bpfcc-0.31.0/tests/cc/catch.hpp:7339:48: note: Function 'makeTestCase' argument 4 names different: declaration 'description' definition '_descOrTags'. bpfcc-0.31.0/tests/cc/catch.hpp:7340:51: style:inconclusive: Function 'makeTestCase' argument 5 names different: declaration 'lineInfo' definition '_lineInfo'. [funcArgNamesDifferent] bpfcc-0.31.0/tests/cc/catch.hpp:2870:51: note: Function 'makeTestCase' argument 5 names different: declaration 'lineInfo' definition '_lineInfo'. bpfcc-0.31.0/tests/cc/catch.hpp:7340:51: note: Function 'makeTestCase' argument 5 names different: declaration 'lineInfo' definition '_lineInfo'. bpfcc-0.31.0/tests/cc/catch.hpp:6412:35: performance: Function parameter 'i' should be passed by const reference. [passedByValue] bpfcc-0.31.0/tests/cc/catch.hpp:6412:46: performance: Function parameter 'j' should be passed by const reference. [passedByValue] bpfcc-0.31.0/tests/cc/catch.hpp:10058:68: performance: Function parameter 'passOrFail' should be passed by const reference. [passedByValue] bpfcc-0.31.0/tests/cc/catch.hpp:10068:42: performance: Function parameter 'issue' should be passed by const reference. [passedByValue] bpfcc-0.31.0/tests/cc/catch.hpp:6658:33: style: Variable 'msg' can be declared as reference to const [constVariableReference] bpfcc-0.31.0/tests/cc/catch.hpp:3134:29: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use resize() or pop_back() instead. [uselessCallsSubstr] bpfcc-0.31.0/tests/cc/catch.hpp:3708:33: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use replace() instead. [uselessCallsSubstr] bpfcc-0.31.0/tests/cc/catch.hpp:4898:33: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use replace() instead. [uselessCallsSubstr] bpfcc-0.31.0/tests/cc/catch.hpp:6275:28: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use resize() or pop_back() instead. [uselessCallsSubstr] bpfcc-0.31.0/tests/cc/catch.hpp:7767:19: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use replace() instead. [uselessCallsSubstr] bpfcc-0.31.0/tests/cc/catch.hpp:8015:21: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use replace() instead. [uselessCallsSubstr] bpfcc-0.31.0/tests/cc/catch.hpp:8080:13: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use resize() or pop_back() instead. [uselessCallsSubstr] bpfcc-0.31.0/tests/cc/catch.hpp:8342:37: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use replace() instead. [uselessCallsSubstr] bpfcc-0.31.0/tests/cc/catch.hpp:8978:24: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use resize() or pop_back() instead. [uselessCallsSubstr] bpfcc-0.31.0/tests/cc/catch.hpp:5414:24: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] bpfcc-0.31.0/tests/cc/catch.hpp:4418:26: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] bpfcc-0.31.0/tests/cc/test_usdt_probes.cc:175:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] bpfcc-0.31.0/tests/cc/test_usdt_probes.cc:357:35: style: C-style pointer casting [cstyleCast] bpfcc-0.31.0/tests/cc/test_usdt_probes.cc:383:35: style: C-style pointer casting [cstyleCast] diff: 2.17.0 bpfcc-0.31.0/examples/cpp/SkLocalStorageIterator.cc:160:31: style: C-style pointer casting [cstyleCast] head bpfcc-0.31.0/examples/cpp/SkLocalStorageIterator.cc:160:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 bpfcc-0.31.0/examples/cpp/TaskIterator.cc:120:31: style: C-style pointer casting [cstyleCast] head bpfcc-0.31.0/examples/cpp/TaskIterator.cc:120:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] head bpfcc-0.31.0/examples/cpp/pyperf/PyPerfUtil.cc:229:18: style: Unused private function: 'PyPerfUtil::handleSample' [unusedPrivateFunction] bpfcc-0.31.0/examples/cpp/pyperf/PyPerfUtil.h:52:8: note: Unused private function: 'PyPerfUtil::handleSample' bpfcc-0.31.0/examples/cpp/pyperf/PyPerfUtil.cc:229:18: note: Unused private function: 'PyPerfUtil::handleSample' head bpfcc-0.31.0/examples/cpp/pyperf/PyPerfUtil.cc:235:18: style: Unused private function: 'PyPerfUtil::handleLostSamples' [unusedPrivateFunction] bpfcc-0.31.0/examples/cpp/pyperf/PyPerfUtil.h:53:8: note: Unused private function: 'PyPerfUtil::handleLostSamples' bpfcc-0.31.0/examples/cpp/pyperf/PyPerfUtil.cc:235:18: note: Unused private function: 'PyPerfUtil::handleLostSamples' head bpfcc-0.31.0/examples/cpp/pyperf/PyPerfUtil.cc:302:25: performance:inconclusive: Technically the member function 'ebpf::pyperf::PyPerfUtil::getSymbolName' can be static (but you may consider moving to unnamed namespace). [functionStatic] bpfcc-0.31.0/examples/cpp/pyperf/PyPerfUtil.h:57:15: note: Technically the member function 'ebpf::pyperf::PyPerfUtil::getSymbolName' can be static (but you may consider moving to unnamed namespace). bpfcc-0.31.0/examples/cpp/pyperf/PyPerfUtil.cc:302:25: note: Technically the member function 'ebpf::pyperf::PyPerfUtil::getSymbolName' can be static (but you may consider moving to unnamed namespace). head bpfcc-0.31.0/examples/cpp/pyperf/PyPerfUtil.cc:327:18: performance:inconclusive: Technically the member function 'ebpf::pyperf::PyPerfUtil::tryTargetPid' can be static (but you may consider moving to unnamed namespace). [functionStatic] bpfcc-0.31.0/examples/cpp/pyperf/PyPerfUtil.h:59:8: note: Technically the member function 'ebpf::pyperf::PyPerfUtil::tryTargetPid' can be static (but you may consider moving to unnamed namespace). bpfcc-0.31.0/examples/cpp/pyperf/PyPerfUtil.cc:327:18: note: Technically the member function 'ebpf::pyperf::PyPerfUtil::tryTargetPid' can be static (but you may consider moving to unnamed namespace). 2.17.0 bpfcc-0.31.0/examples/cpp/pyperf/PyPerfUtil.cc:58:19: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 bpfcc-0.31.0/examples/cpp/pyperf/PyPerfUtil.h:52:8: style: Unused private function: 'PyPerfUtil::handleSample' [unusedPrivateFunction] 2.17.0 bpfcc-0.31.0/examples/cpp/pyperf/PyPerfUtil.h:53:8: style: Unused private function: 'PyPerfUtil::handleLostSamples' [unusedPrivateFunction] 2.17.0 bpfcc-0.31.0/examples/cpp/pyperf/PyPerfUtil.h:57:15: performance:inconclusive: Technically the member function 'ebpf::pyperf::PyPerfUtil::getSymbolName' can be static (but you may consider moving to unnamed namespace). [functionStatic] bpfcc-0.31.0/examples/cpp/pyperf/PyPerfUtil.cc:302:25: note: Technically the member function 'ebpf::pyperf::PyPerfUtil::getSymbolName' can be static (but you may consider moving to unnamed namespace). bpfcc-0.31.0/examples/cpp/pyperf/PyPerfUtil.h:57:15: note: Technically the member function 'ebpf::pyperf::PyPerfUtil::getSymbolName' can be static (but you may consider moving to unnamed namespace). 2.17.0 bpfcc-0.31.0/examples/cpp/pyperf/PyPerfUtil.h:59:8: performance:inconclusive: Technically the member function 'ebpf::pyperf::PyPerfUtil::tryTargetPid' can be static (but you may consider moving to unnamed namespace). [functionStatic] bpfcc-0.31.0/examples/cpp/pyperf/PyPerfUtil.cc:327:18: note: Technically the member function 'ebpf::pyperf::PyPerfUtil::tryTargetPid' can be static (but you may consider moving to unnamed namespace). bpfcc-0.31.0/examples/cpp/pyperf/PyPerfUtil.h:59:8: note: Technically the member function 'ebpf::pyperf::PyPerfUtil::tryTargetPid' can be static (but you may consider moving to unnamed namespace). head bpfcc-0.31.0/examples/networking/distributed_bridge/tunnel.c:66:9: style: Variable 'zero' is assigned a value that is never used. [unreadVariable] head bpfcc-0.31.0/examples/networking/dns_matching/dns_matching.c:66:9: style: Variable 'hlen_bytes' is assigned a value that is never used. [unreadVariable] head bpfcc-0.31.0/examples/networking/tcp_mon_block/src/tcp_mon_block.c:164:22: style: Variable 'sk' is assigned a value that is never used. [unreadVariable] head bpfcc-0.31.0/src/cc/api/BPF.cc:761:18: performance:inconclusive: Technically the member function 'ebpf::BPF::check_binary_symbol' can be static (but you may consider moving to unnamed namespace). [functionStatic] bpfcc-0.31.0/src/cc/api/BPF.h:389:15: note: Technically the member function 'ebpf::BPF::check_binary_symbol' can be static (but you may consider moving to unnamed namespace). bpfcc-0.31.0/src/cc/api/BPF.cc:761:18: note: Technically the member function 'ebpf::BPF::check_binary_symbol' can be static (but you may consider moving to unnamed namespace). head bpfcc-0.31.0/src/cc/api/BPF.cc:937:10: performance:inconclusive: Technically the member function 'ebpf::BPF::free_bcc_memory' can be static (but you may consider moving to unnamed namespace). [functionStatic] bpfcc-0.31.0/src/cc/api/BPF.h:342:7: note: Technically the member function 'ebpf::BPF::free_bcc_memory' can be static (but you may consider moving to unnamed namespace). bpfcc-0.31.0/src/cc/api/BPF.cc:937:10: note: Technically the member function 'ebpf::BPF::free_bcc_memory' can be static (but you may consider moving to unnamed namespace). 2.17.0 bpfcc-0.31.0/src/cc/api/BPF.h:193:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ValueType [valueFlowBailoutIncompleteVar] 2.17.0 bpfcc-0.31.0/src/cc/api/BPF.h:202:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ValueType [valueFlowBailoutIncompleteVar] 2.17.0 bpfcc-0.31.0/src/cc/api/BPF.h:227:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ValueType [valueFlowBailoutIncompleteVar] 2.17.0 bpfcc-0.31.0/src/cc/api/BPF.h:235:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ValueType [valueFlowBailoutIncompleteVar] 2.17.0 bpfcc-0.31.0/src/cc/api/BPF.h:243:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ValueType [valueFlowBailoutIncompleteVar] 2.17.0 bpfcc-0.31.0/src/cc/api/BPF.h:251:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ValueType [valueFlowBailoutIncompleteVar] 2.17.0 bpfcc-0.31.0/src/cc/api/BPF.h:259:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ValueType [valueFlowBailoutIncompleteVar] 2.17.0 bpfcc-0.31.0/src/cc/api/BPF.h:267:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ValueType [valueFlowBailoutIncompleteVar] 2.17.0 bpfcc-0.31.0/src/cc/api/BPF.h:301:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KeyType [valueFlowBailoutIncompleteVar] 2.17.0 bpfcc-0.31.0/src/cc/api/BPF.h:342:7: performance:inconclusive: Technically the member function 'ebpf::BPF::free_bcc_memory' can be static (but you may consider moving to unnamed namespace). [functionStatic] bpfcc-0.31.0/src/cc/api/BPF.cc:937:10: note: Technically the member function 'ebpf::BPF::free_bcc_memory' can be static (but you may consider moving to unnamed namespace). bpfcc-0.31.0/src/cc/api/BPF.h:342:7: note: Technically the member function 'ebpf::BPF::free_bcc_memory' can be static (but you may consider moving to unnamed namespace). 2.17.0 bpfcc-0.31.0/src/cc/api/BPF.h:389:15: performance:inconclusive: Technically the member function 'ebpf::BPF::check_binary_symbol' can be static (but you may consider moving to unnamed namespace). [functionStatic] bpfcc-0.31.0/src/cc/api/BPF.cc:761:18: note: Technically the member function 'ebpf::BPF::check_binary_symbol' can be static (but you may consider moving to unnamed namespace). bpfcc-0.31.0/src/cc/api/BPF.h:389:15: note: Technically the member function 'ebpf::BPF::check_binary_symbol' can be static (but you may consider moving to unnamed namespace). 2.17.0 bpfcc-0.31.0/src/cc/api/BPFTable.h:106:7: style:inconclusive: Technically the member function 'BPFTableBase < int , int >::get_fd' can be const. [functionConst] 2.17.0 bpfcc-0.31.0/src/cc/api/BPFTable.h:106:7: style:inconclusive: Technically the member function 'BPFTableBase < int , stacktrace_buildid_t >::get_fd' can be const. [functionConst] 2.17.0 bpfcc-0.31.0/src/cc/api/BPFTable.h:106:7: style:inconclusive: Technically the member function 'BPFTableBase < int , stacktrace_t >::get_fd' can be const. [functionConst] 2.17.0 bpfcc-0.31.0/src/cc/api/BPFTable.h:106:7: style:inconclusive: Technically the member function 'BPFTableBase < void , void >::get_fd' can be const. [functionConst] head bpfcc-0.31.0/src/cc/api/BPFTable.h:106:7: style:inconclusive: Technically the member function 'ebpf::BPFTableBase < int , int >::get_fd' can be const. [functionConst] head bpfcc-0.31.0/src/cc/api/BPFTable.h:106:7: style:inconclusive: Technically the member function 'ebpf::BPFTableBase < int , stacktrace_buildid_t >::get_fd' can be const. [functionConst] head bpfcc-0.31.0/src/cc/api/BPFTable.h:106:7: style:inconclusive: Technically the member function 'ebpf::BPFTableBase < int , stacktrace_t >::get_fd' can be const. [functionConst] head bpfcc-0.31.0/src/cc/api/BPFTable.h:106:7: style:inconclusive: Technically the member function 'ebpf::BPFTableBase < void , void >::get_fd' can be const. [functionConst] 2.17.0 bpfcc-0.31.0/src/cc/api/BPFTable.h:80:10: style:inconclusive: Technically the member function 'BPFTableBase < int , int >::capacity' can be const. [functionConst] 2.17.0 bpfcc-0.31.0/src/cc/api/BPFTable.h:80:10: style:inconclusive: Technically the member function 'BPFTableBase < int , stacktrace_buildid_t >::capacity' can be const. [functionConst] 2.17.0 bpfcc-0.31.0/src/cc/api/BPFTable.h:80:10: style:inconclusive: Technically the member function 'BPFTableBase < int , stacktrace_t >::capacity' can be const. [functionConst] 2.17.0 bpfcc-0.31.0/src/cc/api/BPFTable.h:80:10: style:inconclusive: Technically the member function 'BPFTableBase < void , void >::capacity' can be const. [functionConst] head bpfcc-0.31.0/src/cc/api/BPFTable.h:80:10: style:inconclusive: Technically the member function 'ebpf::BPFTableBase < int , int >::capacity' can be const. [functionConst] head bpfcc-0.31.0/src/cc/api/BPFTable.h:80:10: style:inconclusive: Technically the member function 'ebpf::BPFTableBase < int , stacktrace_buildid_t >::capacity' can be const. [functionConst] head bpfcc-0.31.0/src/cc/api/BPFTable.h:80:10: style:inconclusive: Technically the member function 'ebpf::BPFTableBase < int , stacktrace_t >::capacity' can be const. [functionConst] head bpfcc-0.31.0/src/cc/api/BPFTable.h:80:10: style:inconclusive: Technically the member function 'ebpf::BPFTableBase < void , void >::capacity' can be const. [functionConst] head bpfcc-0.31.0/src/cc/bcc_btf.cc:100:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] head bpfcc-0.31.0/src/cc/bcc_btf.cc:136:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 bpfcc-0.31.0/src/cc/bcc_btf.cc:136:53: style: C-style pointer casting [cstyleCast] head bpfcc-0.31.0/src/cc/bcc_btf.cc:136:53: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] head bpfcc-0.31.0/src/cc/bcc_btf.cc:188:44: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 bpfcc-0.31.0/src/cc/bcc_btf.cc:188:45: style: C-style pointer casting [cstyleCast] 2.17.0 bpfcc-0.31.0/src/cc/bcc_btf.cc:190:25: style: C-style pointer casting [cstyleCast] head bpfcc-0.31.0/src/cc/bcc_btf.cc:235:19: style: C-style pointer casting [cstyleCast] 2.17.0 bpfcc-0.31.0/src/cc/bcc_btf.cc:235:20: style: C-style pointer casting [cstyleCast] 2.17.0 bpfcc-0.31.0/src/cc/bcc_btf.cc:251:37: style: C-style pointer casting [cstyleCast] 2.17.0 bpfcc-0.31.0/src/cc/bcc_btf.cc:264:37: style: C-style pointer casting [cstyleCast] head bpfcc-0.31.0/src/cc/bcc_btf.cc:295:17: style: C-style pointer casting [cstyleCast] 2.17.0 bpfcc-0.31.0/src/cc/bcc_btf.cc:295:18: style: C-style pointer casting [cstyleCast] head bpfcc-0.31.0/src/cc/bcc_btf.cc:302:33: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 bpfcc-0.31.0/src/cc/bcc_btf.cc:302:60: style: C-style pointer casting [cstyleCast] head bpfcc-0.31.0/src/cc/bcc_btf.cc:302:60: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] head bpfcc-0.31.0/src/cc/bcc_btf.cc:318:36: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] head bpfcc-0.31.0/src/cc/bcc_btf.cc:381:11: style:inconclusive: Technically the member function 'ebpf::BTF::warning' can be const. [functionConst] bpfcc-0.31.0/src/cc/bcc_btf.h:151:8: note: Technically the member function 'ebpf::BTF::warning' can be const. bpfcc-0.31.0/src/cc/bcc_btf.cc:381:11: note: Technically the member function 'ebpf::BTF::warning' can be const. head bpfcc-0.31.0/src/cc/bcc_btf.cc:392:11: performance:inconclusive: Technically the member function 'ebpf::BTF::fixup_btf' can be static (but you may consider moving to unnamed namespace). [functionStatic] bpfcc-0.31.0/src/cc/bcc_btf.h:146:8: note: Technically the member function 'ebpf::BTF::fixup_btf' can be static (but you may consider moving to unnamed namespace). bpfcc-0.31.0/src/cc/bcc_btf.cc:392:11: note: Technically the member function 'ebpf::BTF::fixup_btf' can be static (but you may consider moving to unnamed namespace). head bpfcc-0.31.0/src/cc/bcc_btf.cc:399:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 bpfcc-0.31.0/src/cc/bcc_btf.cc:399:27: style: C-style pointer casting [cstyleCast] 2.17.0 bpfcc-0.31.0/src/cc/bcc_btf.cc:442:26: style: C-style pointer casting [cstyleCast] head bpfcc-0.31.0/src/cc/bcc_btf.cc:442:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] head bpfcc-0.31.0/src/cc/bcc_btf.cc:459:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 bpfcc-0.31.0/src/cc/bcc_btf.cc:459:35: style: C-style pointer casting [cstyleCast] head bpfcc-0.31.0/src/cc/bcc_btf.cc:507:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 bpfcc-0.31.0/src/cc/bcc_btf.cc:507:29: style: C-style pointer casting [cstyleCast] head bpfcc-0.31.0/src/cc/bcc_btf.cc:508:51: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 bpfcc-0.31.0/src/cc/bcc_btf.cc:508:52: style: C-style pointer casting [cstyleCast] 2.17.0 bpfcc-0.31.0/src/cc/bcc_btf.cc:517:23: style: C-style pointer casting [cstyleCast] head bpfcc-0.31.0/src/cc/bcc_btf.cc:517:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] head bpfcc-0.31.0/src/cc/bcc_btf.cc:531:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 bpfcc-0.31.0/src/cc/bcc_btf.cc:531:38: style: C-style pointer casting [cstyleCast] head bpfcc-0.31.0/src/cc/bcc_btf.cc:562:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 bpfcc-0.31.0/src/cc/bcc_btf.cc:562:32: style: C-style pointer casting [cstyleCast] head bpfcc-0.31.0/src/cc/bcc_btf.cc:79:60: style: C-style pointer casting [cstyleCast] 2.17.0 bpfcc-0.31.0/src/cc/bcc_btf.h:146:8: performance:inconclusive: Technically the member function 'ebpf::BTF::fixup_btf' can be static (but you may consider moving to unnamed namespace). [functionStatic] bpfcc-0.31.0/src/cc/bcc_btf.cc:392:11: note: Technically the member function 'ebpf::BTF::fixup_btf' can be static (but you may consider moving to unnamed namespace). bpfcc-0.31.0/src/cc/bcc_btf.h:146:8: note: Technically the member function 'ebpf::BTF::fixup_btf' can be static (but you may consider moving to unnamed namespace). 2.17.0 bpfcc-0.31.0/src/cc/bcc_btf.h:151:8: style:inconclusive: Technically the member function 'ebpf::BTF::warning' can be const. [functionConst] bpfcc-0.31.0/src/cc/bcc_btf.cc:381:11: note: Technically the member function 'ebpf::BTF::warning' can be const. bpfcc-0.31.0/src/cc/bcc_btf.h:151:8: note: Technically the member function 'ebpf::BTF::warning' can be const. 2.17.0 bpfcc-0.31.0/src/cc/bcc_proc.c:110:34: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] head bpfcc-0.31.0/src/cc/bcc_syms.cc:663:28: style: C-style pointer casting [cstyleCast] 2.17.0 bpfcc-0.31.0/src/cc/bcc_syms.cc:663:29: style: C-style pointer casting [cstyleCast] head bpfcc-0.31.0/src/cc/bcc_syms.cc:755:28: style: C-style pointer casting [cstyleCast] 2.17.0 bpfcc-0.31.0/src/cc/bcc_syms.cc:755:29: style: C-style pointer casting [cstyleCast] 2.17.0 bpfcc-0.31.0/src/cc/bpf_module.h:70:8: performance:inconclusive: Technically the member function 'ebpf::BPFModule::initialize_rw_engine' can be static (but you may consider moving to unnamed namespace). [functionStatic] bpfcc-0.31.0/src/cc/bpf_module_rw_engine.cc:41:17: note: Technically the member function 'ebpf::BPFModule::initialize_rw_engine' can be static (but you may consider moving to unnamed namespace). bpfcc-0.31.0/src/cc/bpf_module.h:70:8: note: Technically the member function 'ebpf::BPFModule::initialize_rw_engine' can be static (but you may consider moving to unnamed namespace). 2.17.0 bpfcc-0.31.0/src/cc/bpf_module.h:70:8: performance:inconclusive: Technically the member function 'ebpf::BPFModule::initialize_rw_engine' can be static (but you may consider moving to unnamed namespace). [functionStatic] bpfcc-0.31.0/src/cc/bpf_module_rw_engine_disabled.cc:25:17: note: Technically the member function 'ebpf::BPFModule::initialize_rw_engine' can be static (but you may consider moving to unnamed namespace). bpfcc-0.31.0/src/cc/bpf_module.h:70:8: note: Technically the member function 'ebpf::BPFModule::initialize_rw_engine' can be static (but you may consider moving to unnamed namespace). 2.17.0 bpfcc-0.31.0/src/cc/bpf_module.h:71:8: performance:inconclusive: Technically the member function 'ebpf::BPFModule::cleanup_rw_engine' can be static (but you may consider moving to unnamed namespace). [functionStatic] bpfcc-0.31.0/src/cc/bpf_module_rw_engine_disabled.cc:28:17: note: Technically the member function 'ebpf::BPFModule::cleanup_rw_engine' can be static (but you may consider moving to unnamed namespace). bpfcc-0.31.0/src/cc/bpf_module.h:71:8: note: Technically the member function 'ebpf::BPFModule::cleanup_rw_engine' can be static (but you may consider moving to unnamed namespace). 2.17.0 bpfcc-0.31.0/src/cc/bpf_module.h:74:7: performance:inconclusive: Technically the member function 'ebpf::BPFModule::annotate' can be static (but you may consider moving to unnamed namespace). [functionStatic] bpfcc-0.31.0/src/cc/bpf_module_rw_engine_disabled.cc:31:16: note: Technically the member function 'ebpf::BPFModule::annotate' can be static (but you may consider moving to unnamed namespace). bpfcc-0.31.0/src/cc/bpf_module.h:74:7: note: Technically the member function 'ebpf::BPFModule::annotate' can be static (but you may consider moving to unnamed namespace). head bpfcc-0.31.0/src/cc/bpf_module_rw_engine.cc:413:71: style:inconclusive: Function 'finalize_rw' argument 1 names different: declaration 'mod' definition 'm'. [funcArgNamesDifferent] bpfcc-0.31.0/src/cc/bpf_module.h:77:84: note: Function 'finalize_rw' argument 1 names different: declaration 'mod' definition 'm'. bpfcc-0.31.0/src/cc/bpf_module_rw_engine.cc:413:71: note: Function 'finalize_rw' argument 1 names different: declaration 'mod' definition 'm'. head bpfcc-0.31.0/src/cc/bpf_module_rw_engine.cc:41:17: performance:inconclusive: Technically the member function 'ebpf::BPFModule::initialize_rw_engine' can be static (but you may consider moving to unnamed namespace). [functionStatic] bpfcc-0.31.0/src/cc/bpf_module.h:70:8: note: Technically the member function 'ebpf::BPFModule::initialize_rw_engine' can be static (but you may consider moving to unnamed namespace). bpfcc-0.31.0/src/cc/bpf_module_rw_engine.cc:41:17: note: Technically the member function 'ebpf::BPFModule::initialize_rw_engine' can be static (but you may consider moving to unnamed namespace). head bpfcc-0.31.0/src/cc/bpf_module_rw_engine_disabled.cc:25:17: performance:inconclusive: Technically the member function 'ebpf::BPFModule::initialize_rw_engine' can be static (but you may consider moving to unnamed namespace). [functionStatic] bpfcc-0.31.0/src/cc/bpf_module.h:70:8: note: Technically the member function 'ebpf::BPFModule::initialize_rw_engine' can be static (but you may consider moving to unnamed namespace). bpfcc-0.31.0/src/cc/bpf_module_rw_engine_disabled.cc:25:17: note: Technically the member function 'ebpf::BPFModule::initialize_rw_engine' can be static (but you may consider moving to unnamed namespace). head bpfcc-0.31.0/src/cc/bpf_module_rw_engine_disabled.cc:28:17: performance:inconclusive: Technically the member function 'ebpf::BPFModule::cleanup_rw_engine' can be static (but you may consider moving to unnamed namespace). [functionStatic] bpfcc-0.31.0/src/cc/bpf_module.h:71:8: note: Technically the member function 'ebpf::BPFModule::cleanup_rw_engine' can be static (but you may consider moving to unnamed namespace). bpfcc-0.31.0/src/cc/bpf_module_rw_engine_disabled.cc:28:17: note: Technically the member function 'ebpf::BPFModule::cleanup_rw_engine' can be static (but you may consider moving to unnamed namespace). head bpfcc-0.31.0/src/cc/bpf_module_rw_engine_disabled.cc:31:16: performance:inconclusive: Technically the member function 'ebpf::BPFModule::annotate' can be static (but you may consider moving to unnamed namespace). [functionStatic] bpfcc-0.31.0/src/cc/bpf_module.h:74:7: note: Technically the member function 'ebpf::BPFModule::annotate' can be static (but you may consider moving to unnamed namespace). bpfcc-0.31.0/src/cc/bpf_module_rw_engine_disabled.cc:31:16: note: Technically the member function 'ebpf::BPFModule::annotate' can be static (but you may consider moving to unnamed namespace). 2.17.0 bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:1094:23: style: Variable 'name' is assigned a value that is never used. [unreadVariable] 2.17.0 bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:1099:23: style: Variable 'name' is assigned a value that is never used. [unreadVariable] 2.17.0 bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:1104:23: style: Variable 'name' is assigned a value that is never used. [unreadVariable] 2.17.0 bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:115:10: style: C-style pointer casting [cstyleCast] head bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:115:9: style: C-style pointer casting [cstyleCast] 2.17.0 bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:1219:12: style: The scope of the variable 'text' can be reduced. [variableScope] head bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:1224:17: style: Variable 'probe' is assigned a value that is never used. [unreadVariable] head bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:122:23: style: C-style pointer casting [cstyleCast] 2.17.0 bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:122:24: style: C-style pointer casting [cstyleCast] head bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:628:10: style: Variable 'base_type' is assigned a value that is never used. [unreadVariable] 2.17.0 bpfcc-0.31.0/src/cc/frontends/clang/b_frontend_action.cc:999:18: style: The scope of the variable 'update' can be reduced. [variableScope] head bpfcc-0.31.0/src/cc/frontends/clang/loader.cc:100:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] head bpfcc-0.31.0/src/cc/frontends/clang/loader.cc:118:19: style:inconclusive: Technically the member function 'ebpf::ClangLoader::add_remapped_includes' can be const. [functionConst] bpfcc-0.31.0/src/cc/frontends/clang/loader.h:90:8: note: Technically the member function 'ebpf::ClangLoader::add_remapped_includes' can be const. bpfcc-0.31.0/src/cc/frontends/clang/loader.cc:118:19: note: Technically the member function 'ebpf::ClangLoader::add_remapped_includes' can be const. head bpfcc-0.31.0/src/cc/frontends/clang/loader.cc:130:19: performance:inconclusive: Technically the member function 'ebpf::ClangLoader::add_main_input' can be static (but you may consider moving to unnamed namespace). [functionStatic] bpfcc-0.31.0/src/cc/frontends/clang/loader.h:91:8: note: Technically the member function 'ebpf::ClangLoader::add_main_input' can be static (but you may consider moving to unnamed namespace). bpfcc-0.31.0/src/cc/frontends/clang/loader.cc:130:19: note: Technically the member function 'ebpf::ClangLoader::add_main_input' can be static (but you may consider moving to unnamed namespace). 2.17.0 bpfcc-0.31.0/src/cc/frontends/clang/loader.cc:383:10: style: C-style pointer casting [cstyleCast] head bpfcc-0.31.0/src/cc/frontends/clang/loader.cc:383:9: style: C-style pointer casting [cstyleCast] head bpfcc-0.31.0/src/cc/frontends/clang/loader.cc:73:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] head bpfcc-0.31.0/src/cc/frontends/clang/loader.cc:80:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] head bpfcc-0.31.0/src/cc/frontends/clang/loader.cc:87:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] 2.17.0 bpfcc-0.31.0/src/cc/frontends/clang/loader.h:90:8: style:inconclusive: Technically the member function 'ebpf::ClangLoader::add_remapped_includes' can be const. [functionConst] bpfcc-0.31.0/src/cc/frontends/clang/loader.cc:118:19: note: Technically the member function 'ebpf::ClangLoader::add_remapped_includes' can be const. bpfcc-0.31.0/src/cc/frontends/clang/loader.h:90:8: note: Technically the member function 'ebpf::ClangLoader::add_remapped_includes' can be const. 2.17.0 bpfcc-0.31.0/src/cc/frontends/clang/loader.h:91:8: performance:inconclusive: Technically the member function 'ebpf::ClangLoader::add_main_input' can be static (but you may consider moving to unnamed namespace). [functionStatic] bpfcc-0.31.0/src/cc/frontends/clang/loader.cc:130:19: note: Technically the member function 'ebpf::ClangLoader::add_main_input' can be static (but you may consider moving to unnamed namespace). bpfcc-0.31.0/src/cc/frontends/clang/loader.h:91:8: note: Technically the member function 'ebpf::ClangLoader::add_main_input' can be static (but you may consider moving to unnamed namespace). head bpfcc-0.31.0/src/cc/json_map_decl_visitor.cc:178:23: style:inconclusive: Either there is a missing 'override', or the member function 'ebpf::BMapDeclVisitor::VisitAttr' can be const. [functionConst] bpfcc-0.31.0/src/cc/json_map_decl_visitor.cc:47:8: note: Either there is a missing 'override', or the member function 'ebpf::BMapDeclVisitor::VisitAttr' can be const. bpfcc-0.31.0/src/cc/json_map_decl_visitor.cc:178:23: note: Either there is a missing 'override', or the member function 'ebpf::BMapDeclVisitor::VisitAttr' can be const. 2.17.0 bpfcc-0.31.0/src/cc/json_map_decl_visitor.cc:47:8: style:inconclusive: Either there is a missing 'override', or the member function 'ebpf::BMapDeclVisitor::VisitAttr' can be const. [functionConst] bpfcc-0.31.0/src/cc/json_map_decl_visitor.cc:178:23: note: Either there is a missing 'override', or the member function 'ebpf::BMapDeclVisitor::VisitAttr' can be const. bpfcc-0.31.0/src/cc/json_map_decl_visitor.cc:47:8: note: Either there is a missing 'override', or the member function 'ebpf::BMapDeclVisitor::VisitAttr' can be const. 2.17.0 bpfcc-0.31.0/src/cc/vendor/optional.hpp:1001:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] 2.17.0 bpfcc-0.31.0/src/cc/vendor/optional.hpp:1007:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X [valueFlowBailoutIncompleteVar] head bpfcc-0.31.0/src/cc/vendor/optional.hpp:401:13: style: Class 'optional < int32_t >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.17.0 bpfcc-0.31.0/src/cc/vendor/optional.hpp:401:13: style: Class 'optional' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] head bpfcc-0.31.0/src/cc/vendor/optional.hpp:421:13: style: Class 'optional < int32_t >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.17.0 bpfcc-0.31.0/src/cc/vendor/optional.hpp:421:13: style: Class 'optional' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] head bpfcc-0.31.0/src/cc/vendor/optional.hpp:423:13: style: Class 'optional < int32_t >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.17.0 bpfcc-0.31.0/src/cc/vendor/optional.hpp:423:13: style: Class 'optional' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.17.0 bpfcc-0.31.0/src/cc/vendor/tinyformat.hpp:521:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] 2.17.0 bpfcc-0.31.0/tests/cc/catch.hpp:1258:14: style:inconclusive: Technically the member function 'Catch::ResultBuilder::react' can be const. [functionConst] bpfcc-0.31.0/tests/cc/catch.hpp:8245:25: note: Technically the member function 'Catch::ResultBuilder::react' can be const. bpfcc-0.31.0/tests/cc/catch.hpp:1258:14: note: Technically the member function 'Catch::ResultBuilder::react' can be const. 2.17.0 bpfcc-0.31.0/tests/cc/catch.hpp:1260:14: performance:inconclusive: Technically the member function 'Catch::ResultBuilder::allowThrows' can be static (but you may consider moving to unnamed namespace). [functionStatic] bpfcc-0.31.0/tests/cc/catch.hpp:8251:25: note: Technically the member function 'Catch::ResultBuilder::allowThrows' can be static (but you may consider moving to unnamed namespace). bpfcc-0.31.0/tests/cc/catch.hpp:1260:14: note: Technically the member function 'Catch::ResultBuilder::allowThrows' can be static (but you may consider moving to unnamed namespace). 2.17.0 bpfcc-0.31.0/tests/cc/catch.hpp:1422:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Op [valueFlowBailoutIncompleteVar] 2.17.0 bpfcc-0.31.0/tests/cc/catch.hpp:1425:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Op [valueFlowBailoutIncompleteVar] 2.17.0 bpfcc-0.31.0/tests/cc/catch.hpp:1430:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Op [valueFlowBailoutIncompleteVar] 2.17.0 bpfcc-0.31.0/tests/cc/catch.hpp:1433:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Op [valueFlowBailoutIncompleteVar] 2.17.0 bpfcc-0.31.0/tests/cc/catch.hpp:1467:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Op [valueFlowBailoutIncompleteVar] 2.17.0 bpfcc-0.31.0/tests/cc/catch.hpp:1470:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Op [valueFlowBailoutIncompleteVar] 2.17.0 bpfcc-0.31.0/tests/cc/catch.hpp:1477:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Op [valueFlowBailoutIncompleteVar] 2.17.0 bpfcc-0.31.0/tests/cc/catch.hpp:1480:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Op [valueFlowBailoutIncompleteVar] 2.17.0 bpfcc-0.31.0/tests/cc/catch.hpp:1642:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] 2.17.0 bpfcc-0.31.0/tests/cc/catch.hpp:1756:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] 2.17.0 bpfcc-0.31.0/tests/cc/catch.hpp:1769:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] 2.17.0 bpfcc-0.31.0/tests/cc/catch.hpp:2599:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] 2.17.0 bpfcc-0.31.0/tests/cc/catch.hpp:4066:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable M [valueFlowBailoutIncompleteVar] 2.17.0 bpfcc-0.31.0/tests/cc/catch.hpp:4074:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable M [valueFlowBailoutIncompleteVar] 2.17.0 bpfcc-0.31.0/tests/cc/catch.hpp:4079:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable M [valueFlowBailoutIncompleteVar] 2.17.0 bpfcc-0.31.0/tests/cc/catch.hpp:4083:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable M [valueFlowBailoutIncompleteVar] 2.17.0 bpfcc-0.31.0/tests/cc/catch.hpp:4125:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] 2.17.0 bpfcc-0.31.0/tests/cc/catch.hpp:4130:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] 2.17.0 bpfcc-0.31.0/tests/cc/catch.hpp:4134:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] 2.17.0 bpfcc-0.31.0/tests/cc/catch.hpp:4524:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] 2.17.0 bpfcc-0.31.0/tests/cc/catch.hpp:4569:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Positional [valueFlowBailoutIncompleteVar] 2.17.0 bpfcc-0.31.0/tests/cc/catch.hpp:4580:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Positional [valueFlowBailoutIncompleteVar] 2.17.0 bpfcc-0.31.0/tests/cc/catch.hpp:494:9: style: Class 'Ptr < ITracker >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] head bpfcc-0.31.0/tests/cc/catch.hpp:494:9: style: Class 'Ptr < TestCaseTracking :: ITracker >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.17.0 bpfcc-0.31.0/tests/cc/catch.hpp:5461:18: style: The destructor '~ITracker' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:533:18: note: Virtual destructor in base class bpfcc-0.31.0/tests/cc/catch.hpp:5461:18: note: Destructor in derived class head bpfcc-0.31.0/tests/cc/catch.hpp:5484:5: style: The class 'TrackerContext' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] head bpfcc-0.31.0/tests/cc/catch.hpp:5566:18: style: The destructor '~TrackerBase' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:533:18: note: Virtual destructor in base class bpfcc-0.31.0/tests/cc/catch.hpp:5566:18: note: Destructor in derived class 2.17.0 bpfcc-0.31.0/tests/cc/catch.hpp:5566:18: style: The destructor '~TrackerBase' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:5461:18: note: Virtual destructor in base class bpfcc-0.31.0/tests/cc/catch.hpp:5566:18: note: Destructor in derived class 2.17.0 bpfcc-0.31.0/tests/cc/catch.hpp:5667:18: style: The destructor '~SectionTracker' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:5566:18: note: Virtual destructor in base class bpfcc-0.31.0/tests/cc/catch.hpp:5667:18: note: Destructor in derived class 2.17.0 bpfcc-0.31.0/tests/cc/catch.hpp:5698:18: style: The destructor '~IndexTracker' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] bpfcc-0.31.0/tests/cc/catch.hpp:5566:18: note: Virtual destructor in base class bpfcc-0.31.0/tests/cc/catch.hpp:5698:18: note: Destructor in derived class head bpfcc-0.31.0/tests/cc/catch.hpp:5737:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_rootTracker [valueFlowBailoutIncompleteVar] 2.17.0 bpfcc-0.31.0/tests/cc/catch.hpp:5739:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Executing [valueFlowBailoutIncompleteVar] 2.17.0 bpfcc-0.31.0/tests/cc/catch.hpp:683:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable C [valueFlowBailoutIncompleteVar] head bpfcc-0.31.0/tests/cc/catch.hpp:8245:25: style:inconclusive: Technically the member function 'Catch::ResultBuilder::react' can be const. [functionConst] bpfcc-0.31.0/tests/cc/catch.hpp:1258:14: note: Technically the member function 'Catch::ResultBuilder::react' can be const. bpfcc-0.31.0/tests/cc/catch.hpp:8245:25: note: Technically the member function 'Catch::ResultBuilder::react' can be const. head bpfcc-0.31.0/tests/cc/catch.hpp:8251:25: performance:inconclusive: Technically the member function 'Catch::ResultBuilder::allowThrows' can be static (but you may consider moving to unnamed namespace). [functionStatic] bpfcc-0.31.0/tests/cc/catch.hpp:1260:14: note: Technically the member function 'Catch::ResultBuilder::allowThrows' can be static (but you may consider moving to unnamed namespace). bpfcc-0.31.0/tests/cc/catch.hpp:8251:25: note: Technically the member function 'Catch::ResultBuilder::allowThrows' can be static (but you may consider moving to unnamed namespace). head bpfcc-0.31.0/tests/cc/catch.hpp:950:0: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] head bpfcc-0.31.0/tests/cc/catch.hpp:990:0: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] head bpfcc-0.31.0/tests/python/test_call1.c:32:10: style: Variable 'next' is assigned a value that is never used. [unreadVariable] head bpfcc-0.31.0/tests/python/test_call1.c:44:10: style: Variable 'next' is assigned a value that is never used. [unreadVariable] head bpfcc-0.31.0/tools/netqtop.c:5:2: error: #error "IFNAMSIZ != 16 is not supported" [preprocessorErrorDirective] DONE