2026-08-07 02:25 ftp://ftp.de.debian.org/debian/pool/main/b/bpftrace/bpftrace_0.26.1.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=googletest --library=zlib --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j96 platform: Linux-6.8.0-111-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.4.0 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0 cppcheck: head 2.21.0 head-info: baf5eaa (2026-08-06 14:17:46 +0200) count: 1277 1280 elapsed-time: 9.1 3.2 head-timing-info: old-timing-info: head results: bpftrace-0.26.1/src/arch/arch.h:105:2: error: #error "Unknown architecture." [preprocessorErrorDirective] bpftrace-0.26.1/scripts/seccomp.c:125:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bpf [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/aot/aot_main.cpp:17:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/scripts/seccomp.c:149:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable opterr [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/aot/aot_main.cpp:43:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/helpers.cpp:36:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRUCT_PREFIX [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/integer_types.cpp:43:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/arch/riscv64.cpp:46:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/aot/aot.cpp:72:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/arch/riscv64.cpp:66:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/context.cpp:11:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable contents [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/aot/aot.cpp:87:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable binary [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/context.cpp:28:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lines_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/aot/aot.cpp:140:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable binary [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/context.cpp:49:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable map_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/aot/aot.cpp:202:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/context.cpp:64:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable source_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/pass_manager.cpp:34:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUG [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/aot/aot.cpp:221:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/context.cpp:96:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable root [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/pass_manager.cpp:44:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type_names_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/args_resolver.cpp:22:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable probe_name_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/pass_manager.cpp:78:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable passes_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/diagnostic.h:94:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Error [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/location.cpp:11:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable source_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/diagnostic.h:99:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Warning [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/location.cpp:20:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable source_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/diagnostic.cpp:12:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msg [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/location.cpp:78:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable source_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/portability_analyser.cpp:92:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/diagnostic.cpp:24:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WARNING [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/probe_prune.cpp:14:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable error [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/diagnostic.cpp:58:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WARNING [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/link.cpp:16:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable origin_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/pid_filter_pass.cpp:71:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RETURN [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/link.cpp:71:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/clang_build.cpp:31:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msg_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/clang_build.cpp:48:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable c_files [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/recursion_check.cpp:68:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fentry [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/dibuilderbpf.cpp:35:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPFlagZero [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/ast.cpp:15:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable loc [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/dibuilderbpf.cpp:78:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DW_ATE_signed [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/ast.cpp:20:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable loc [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/dibuilderbpf.cpp:86:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DW_ATE_signed [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/field_analyser.cpp:82:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iter [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/loop_return.cpp:79:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BREAK [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/types/parsed_type_bridge.cpp:59:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Enum [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/ast.cpp:171:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable provider [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/dibuilderbpf.cpp:94:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DW_ATE_signed [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/field_analyser.cpp:243:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Identifier [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/ast.cpp:246:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable provider [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/dibuilderbpf.cpp:102:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DW_ATE_signed [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/ast.cpp:315:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable provider [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/dibuilderbpf.cpp:110:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DW_ATE_signed [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/ast.cpp:343:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/dibuilderbpf.cpp:358:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUG [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/builtins.cpp:109:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/unstable_feature.cpp:67:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable error [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/ast.cpp:352:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/dibuilderbpf.cpp:369:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_MAP_TYPE_RINGBUF [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/builtins.cpp:142:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUG [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/unstable_feature.cpp:94:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable error [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/ast.cpp:359:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable index_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/dibuilderbpf.cpp:399:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FlagZero [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/builtins.cpp:169:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/unstable_feature.cpp:105:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable error [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/ast.cpp:364:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable index_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/builtins.cpp:265:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/ast.cpp:369:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable attach_points [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/builtins.cpp:281:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/scripts/seccomp.c:136:5: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] bpftrace-0.26.1/src/ast/ast.cpp:377:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable invalid [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/builtins.cpp:313:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fexit [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/printer.cpp:519:39: error: syntax error [syntaxError] bpftrace-0.26.1/src/ast/passes/types/type_system.cpp:37:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENODATA [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/usdt_arguments.cpp:50:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable usdt [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/types/type_system.cpp:89:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kDefaultWidth [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/usdt_arguments.cpp:98:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable usdt [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/deprecated.cpp:26:8: warning: Member variable 'DeprecatedName::deleted' has no initializer. [uninitMemberVarNoCtor] bpftrace-0.26.1/src/bfd-disasm.cpp:20:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/tracepoint_format_parser.cpp:28:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bt_verbose [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/bfd-disasm.cpp:73:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bfd_object [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/tracepoint_format_parser.cpp:77:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/build_info.cpp:14:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/tracepoint_format_parser.cpp:104:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/tracepoint_format_parser.cpp:192:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/ap_probe_expansion.cpp:48:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NONE [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/named_param.cpp:148:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/ap_probe_expansion.cpp:124:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FULL [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/ap_probe_expansion.cpp:157:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kretprobe [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/ap_probe_expansion.cpp:183:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kretprobe [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/ap_probe_expansion.cpp:205:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kprobe [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/ap_probe_expansion.cpp:342:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uprobe [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/deprecated.cpp:76:26: style:inconclusive: Either there is a missing 'override', or the member function 'bpftrace::ast::::DeprecatedAnalyser::visit' can be const. [functionConst] bpftrace-0.26.1/src/ast/passes/deprecated.cpp:14:8: note: Either there is a missing 'override', or the member function 'bpftrace::ast::::DeprecatedAnalyser::visit' can be const. bpftrace-0.26.1/src/ast/passes/deprecated.cpp:76:26: note: Either there is a missing 'override', or the member function 'bpftrace::ast::::DeprecatedAnalyser::visit' can be const. bpftrace-0.26.1/src/ast/passes/map_sugar.cpp:316:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/deprecated.cpp:83:26: style:inconclusive: Either there is a missing 'override', or the member function 'bpftrace::ast::::DeprecatedAnalyser::visit' can be const. [functionConst] bpftrace-0.26.1/src/ast/passes/deprecated.cpp:15:8: note: Either there is a missing 'override', or the member function 'bpftrace::ast::::DeprecatedAnalyser::visit' can be const. bpftrace-0.26.1/src/ast/passes/deprecated.cpp:83:26: note: Either there is a missing 'override', or the member function 'bpftrace::ast::::DeprecatedAnalyser::visit' can be const. bpftrace-0.26.1/src/ast/passes/types/ast_transformer.cpp:75:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/deprecated.cpp:88:26: style: Either there is a missing 'override', or the member function 'bpftrace::ast::::DeprecatedAnalyser::visit' can be static. [functionStatic] bpftrace-0.26.1/src/ast/passes/deprecated.cpp:16:8: note: Either there is a missing 'override', or the member function 'bpftrace::ast::::DeprecatedAnalyser::visit' can be static. bpftrace-0.26.1/src/ast/passes/deprecated.cpp:88:26: note: Either there is a missing 'override', or the member function 'bpftrace::ast::::DeprecatedAnalyser::visit' can be static. bpftrace-0.26.1/src/ast/passes/types/ast_transformer.cpp:86:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NE [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/types/ast_transformer.cpp:159:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/control_flow_analyser.cpp:120:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable loc [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/types/ast_transformer.cpp:171:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/control_flow_analyser.cpp:199:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RETURN [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/types/ast_transformer.cpp:184:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable loc [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/control_flow_analyser.cpp:38:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ts [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/types/ast_transformer.cpp:205:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/lockdown.cpp:46:98: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/control_flow_analyser.cpp:59:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ts [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/types/ast_transformer.cpp:227:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/control_flow_analyser.cpp:247:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable loc [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/types/ast_transformer.cpp:245:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/dwarf/dwunwind_loader.cpp:25:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Mappings [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/types/type_resolver.cpp:1979:39: error: syntax error [syntaxError] bpftrace-0.26.1/src/dwarf/dwunwind_loader.cpp:90:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UnwindTable [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/log.cpp:71:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/log.cpp:145:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/output/output.cpp:8:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable values [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/btf/irbuilder.cpp:19:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/output/output.cpp:13:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable values [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/stdlib/base.bpf.c:13:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bpf_session_is_return [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/ast.h:762:11: error: syntax error [syntaxError] bpftrace-0.26.1/src/btf/helpers.cpp:9:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msg_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/output/output.cpp:18:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable values [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/field_analyser.cpp:19:12: warning: Member variable 'FieldAnalyser::has_builtin_args_' is not initialized in the constructor. [uninitMemberVar] bpftrace-0.26.1/src/btf/helpers.cpp:106:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/output/output.cpp:23:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable values [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/stdlib/map/map.bpf.c:26:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bpf_map_sum_elem_count [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/diagnostic.cpp:30:19: style: The member function 'bpftrace::ast::Diagnostics::emit' can be static. [functionStatic] bpftrace-0.26.1/src/ast/diagnostic.h:132:8: note: The member function 'bpftrace::ast::Diagnostics::emit' can be static. bpftrace-0.26.1/src/ast/diagnostic.cpp:30:19: note: The member function 'bpftrace::ast::Diagnostics::emit' can be static. bpftrace-0.26.1/src/output/output.cpp:28:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fields [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/dwarf/dwunwind_table.cpp:137:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUG [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/output/output.cpp:33:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fields [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/clang_parser.cpp:134:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable c_files [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/dwarf/dwunwind_table.cpp:192:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/clang_parser.cpp:190:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/stdlib/task/task.bpf.c:11:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bpf_task_from_pid [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/clang_parser.cpp:215:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CXToken_Comment [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/stdlib/task/vma.bpf.c:25:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bpf_iter_task_vma_new [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/diagnostic.h:24:3: style: Class 'Diagnostic' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpftrace-0.26.1/src/ast/passes/clang_parser.cpp:271:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENUM_PREFIX [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/clang_parser.cpp:343:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CXDiagnostic_Error [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/loop_return.cpp:11:3: style: Class 'LoopReturn' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpftrace-0.26.1/src/ast/passes/clang_parser.cpp:369:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CXTranslationUnit_DetailedPreprocessingRecord [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/btf/compat.cpp:13:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msg_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/clang_parser.cpp:389:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/btf/compat.cpp:86:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/clang_parser.cpp:418:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CXCursor_MacroDefinition [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/macro_expansion.cpp:18:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/btf/compat.cpp:146:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable user [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/clang_parser.cpp:523:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CXCursor_EnumDecl [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/macro_expansion.cpp:330:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/disasm.cpp:19:3: performance: Variable 'dasm_' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] bpftrace-0.26.1/src/ast/dibuilderbpf.h:16:3: style: Class 'DIBuilderBPF' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpftrace-0.26.1/src/ast/passes/clang_parser.cpp:609:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Filename [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/macro_expansion.cpp:450:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/types.h:157:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bpf_stack_build_id [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/clang_parser.cpp:768:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Filename [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/macro_expansion.cpp:486:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/clang_parser.cpp:778:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Filename [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/resolve_imports.cpp:74:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable others_write [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/clang_parser.cpp:794:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LLVM_VERSION_MAJOR [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/resolve_imports.cpp:145:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/bfd-disasm.cpp:20:3: warning: Class 'BfdDisasm' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] bpftrace-0.26.1/src/stdlib/strings/strings.bpf.c:17:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bpf_strnlen [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/clang_parser.cpp:818:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYSTEM_INCLUDE_PATHS [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/resolve_imports.cpp:166:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/bfd-disasm.cpp:20:3: warning: Class 'BfdDisasm' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] bpftrace-0.26.1/src/stdlib/strings/strings.bpf.c:39:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bpf_strnstr [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/resolve_imports.cpp:183:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/resolve_imports.cpp:201:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/util/bpf_names.cpp:29:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hex [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/resolve_imports.cpp:260:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scripts [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/disasm.h:19:3: style: Class 'Disasm' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpftrace-0.26.1/src/pcap_writer.h:16:3: warning: Member variable 'PCAPwriter::pd_' is not initialized in the constructor. [uninitMemberVar] bpftrace-0.26.1/src/ast/passes/resolve_imports.cpp:286:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable c_sources [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/pcap_writer.h:16:3: warning: Member variable 'PCAPwriter::pdumper_' is not initialized in the constructor. [uninitMemberVar] bpftrace-0.26.1/src/ast/passes/resolve_imports.cpp:391:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable c_files [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/util/cpus.cpp:19:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/resolve_imports.cpp:501:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUG [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/resolve_imports.cpp:537:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/types/pre_type_check.cpp:120:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable origin [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/types/pre_type_check.cpp:145:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable origin [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/util/gfp_flags.cpp:80:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hex [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/types/pre_type_check.cpp:180:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable origin [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/scripts/seccomp.c:83:22: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] bpftrace-0.26.1/src/ast/passes/types/pre_type_check.cpp:230:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable origin [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/output/json.cpp:53:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hex [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/scripts/seccomp.c:99:9: style: Variable 'substr' can be declared as pointer to const [constVariablePointer] bpftrace-0.26.1/src/ast/passes/resource_analyser.cpp:99:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FMT_STRINGS_BUFFER [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/types/pre_type_check.cpp:544:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUG [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/output/json.cpp:250:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/resource_analyser.cpp:168:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_CPUS [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/output/json.cpp:359:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/probe_types.h:42:13: warning: Member variable 'ProbeItem::type' has no initializer. [uninitMemberVarNoCtor] bpftrace-0.26.1/src/util/memfd.cpp:11:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MFD_CLOEXEC [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/util/opaque.cpp:51:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hex [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/util/result.cpp:11:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msg_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/resource_analyser.cpp:222:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iter [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/output/json.cpp:402:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/probe_types.h:106:13: warning: Member variable 'Probe::type' has no initializer. [uninitMemberVarNoCtor] bpftrace-0.26.1/src/util/memfd.cpp:20:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/resource_analyser.cpp:443:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUG [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/output/json.cpp:407:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/pcap_writer.cpp:56:18: style: The member function 'bpftrace::PCAPwriter::open' can be static. [functionStatic] bpftrace-0.26.1/src/pcap_writer.h:19:8: note: The member function 'bpftrace::PCAPwriter::open' can be static. bpftrace-0.26.1/src/pcap_writer.cpp:56:18: note: The member function 'bpftrace::PCAPwriter::open' can be static. bpftrace-0.26.1/src/probe_types.h:110:8: warning: Member variable 'Probe::need_expansion' has no initializer. [uninitMemberVarNoCtor] bpftrace-0.26.1/src/util/int_parser.cpp:15:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable max_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/util/memfd.cpp:31:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/output/json.cpp:416:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/pcap_writer.cpp:61:18: style: The member function 'bpftrace::PCAPwriter::close' can be static. [functionStatic] bpftrace-0.26.1/src/pcap_writer.h:20:8: note: The member function 'bpftrace::PCAPwriter::close' can be static. bpftrace-0.26.1/src/pcap_writer.cpp:61:18: note: The member function 'bpftrace::PCAPwriter::close' can be static. bpftrace-0.26.1/src/util/int_parser.cpp:21:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msg_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/util/memfd.cpp:54:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/output/json.cpp:442:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/pcap_writer.cpp:65:18: style: The member function 'bpftrace::PCAPwriter::write' can be static. [functionStatic] bpftrace-0.26.1/src/pcap_writer.h:22:8: note: The member function 'bpftrace::PCAPwriter::write' can be static. bpftrace-0.26.1/src/pcap_writer.cpp:65:18: note: The member function 'bpftrace::PCAPwriter::write' can be static. bpftrace-0.26.1/src/util/int_parser.cpp:30:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/util/strings.cpp:35:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/util/symbols.cpp:35:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/control_flow_analyser.cpp:73:8: style:inconclusive: Either there is a missing 'override', or the member function 'ControlFlowAnalyser < JumpType :: RETURN >::visit' can be const. [functionConst] bpftrace-0.26.1/src/output/json.cpp:447:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/util/int_parser.cpp:65:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/util/symbols.cpp:58:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/control_flow_analyser.cpp:168:8: style:inconclusive: Either there is a missing 'override', or the member function 'ControlFlowAnalyser < JumpType :: RETURN >::visit' can be const. [functionConst] bpftrace-0.26.1/src/output/json.cpp:452:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/symbols/elf_parser.cpp:27:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msg_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/util/symbols.cpp:78:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/util/time.cpp:12:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ns [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/ap_probe_expansion.cpp:15:3: style: Class 'ExpansionAnalyser' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpftrace-0.26.1/src/ast/passes/control_flow_analyser.cpp:73:8: style:inconclusive: Either there is a missing 'override', or the member function 'ControlFlowAnalyser < JumpType :: CONTINUE , JumpType :: BREAK >::visit' can be const. [functionConst] bpftrace-0.26.1/src/ast/passes/map_sugar.cpp:122:21: style: Either there is a missing 'override', or the member function 'bpftrace::ast::::MapDefaultKey::visit' can be static. [functionStatic] bpftrace-0.26.1/src/ast/passes/map_sugar.cpp:46:8: note: Either there is a missing 'override', or the member function 'bpftrace::ast::::MapDefaultKey::visit' can be static. bpftrace-0.26.1/src/ast/passes/map_sugar.cpp:122:21: note: Either there is a missing 'override', or the member function 'bpftrace::ast::::MapDefaultKey::visit' can be static. bpftrace-0.26.1/src/log.cpp:39:11: style:inconclusive: Technically the member function 'bpftrace::Log::take_input' can be const. [functionConst] bpftrace-0.26.1/src/log.h:41:8: note: Technically the member function 'bpftrace::Log::take_input' can be const. bpftrace-0.26.1/src/log.cpp:39:11: note: Technically the member function 'bpftrace::Log::take_input' can be const. bpftrace-0.26.1/src/output/json.cpp:457:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/symbols/elf_parser.cpp:53:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable elf_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/control_flow_analyser.cpp:168:8: style:inconclusive: Either there is a missing 'override', or the member function 'ControlFlowAnalyser < JumpType :: CONTINUE , JumpType :: BREAK >::visit' can be const. [functionConst] bpftrace-0.26.1/src/log.cpp:133:24: style:inconclusive: Technically the member function 'bpftrace::LogStream::internal_location' can be const. [functionConst] bpftrace-0.26.1/src/log.h:104:15: note: Technically the member function 'bpftrace::LogStream::internal_location' can be const. bpftrace-0.26.1/src/log.cpp:133:24: note: Technically the member function 'bpftrace::LogStream::internal_location' can be const. bpftrace-0.26.1/src/output/json.cpp:463:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/symbols/elf_parser.cpp:93:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable elf_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/symbols/user.cpp:44:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pid_to_paths_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/control_flow_analyser.cpp:73:8: style:inconclusive: Either there is a missing 'override', or the member function 'ControlFlowAnalyser < JumpType :: CONTINUE , JumpType :: BREAK , JumpType :: RETURN >::visit' can be const. [functionConst] bpftrace-0.26.1/src/output/json.cpp:471:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/symbols/elf_parser.cpp:130:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USDT_NOTE_NAME [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/symbols/user.cpp:57:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable path_to_symbols_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/util/wildcard.cpp:13:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/control_flow_analyser.cpp:168:8: style:inconclusive: Either there is a missing 'override', or the member function 'ControlFlowAnalyser < JumpType :: CONTINUE , JumpType :: BREAK , JumpType :: RETURN >::visit' can be const. [functionConst] bpftrace-0.26.1/src/output/json.cpp:479:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/symbols/elf_parser.cpp:178:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/symbols/user.cpp:102:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pid_to_paths_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/util/cgroup.cpp:195:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYS_name_to_handle_at [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/util/wildcard.cpp:49:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/output/json.cpp:520:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/symbols/elf_parser.cpp:227:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USDT_NOTE_SEC [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/symbols/user.cpp:116:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable path_to_symbols_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/util/cgroup.cpp:239:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_FDCWD [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/dwarf/dwunwind.cpp:59:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUG [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/output/json.cpp:531:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/symbols/user.cpp:127:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pid_to_paths_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/util/tseries.cpp:55:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable min [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/dwarf/dwunwind.cpp:66:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUG [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/output/json.cpp:377:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/symbols/user.cpp:145:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable path_to_usdt_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/config.cpp:61:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/dwarf/dwunwind.cpp:76:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUG [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/symbols/user.cpp:156:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable path_to_usdt_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/arch.cpp:24:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Machine [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/control_flow_analyser.cpp:13:3: style: Class 'ExitReturn' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpftrace-0.26.1/src/config.cpp:295:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable integer [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/dwarf/dwunwind.cpp:92:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/control_flow_analyser.cpp:68:3: style: Class 'ControlFlowAnalyser < JumpType :: RETURN >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpftrace-0.26.1/src/ast/passes/types/cast_creator.cpp:99:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUG [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/dwarf/dwunwind.cpp:110:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/util/temp.cpp:45:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/control_flow_analyser.cpp:68:3: style: Class 'ControlFlowAnalyser < JumpType :: CONTINUE , JumpType :: BREAK >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpftrace-0.26.1/src/ast/passes/types/cast_creator.cpp:144:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUG [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/dwarf/dwunwind.cpp:135:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_EXPR_INSTRUCTIONS [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/util/temp.cpp:66:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/control_flow_analyser.cpp:68:3: style: Class 'ControlFlowAnalyser < JumpType :: CONTINUE , JumpType :: BREAK , JumpType :: RETURN >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpftrace-0.26.1/src/ast/passes/types/cast_creator.cpp:201:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/dwarf/dwunwind.cpp:295:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable expressions_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/util/temp.cpp:78:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/types/cast_creator.cpp:238:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/dwarf/dwunwind.cpp:322:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Success [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/util/paths.cpp:64:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable owner_exec [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/util/temp.cpp:109:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable path_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/types/cast_creator.cpp:271:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/dwarf/dwunwind.cpp:370:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ParseError [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/util/paths.cpp:76:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_CURRENT [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/util/temp.cpp:124:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable path_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/types/cast_creator.cpp:546:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUG [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/dwarf/dwunwind.cpp:393:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHF_ALLOC [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/util/paths.cpp:154:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/mocks.h:67:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable probes [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/types/cast_creator.cpp:559:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RETURN [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/dwarf/dwunwind.cpp:406:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next_oid_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/util/paths.cpp:219:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/mocks.h:71:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable begin_probes [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/util/opaque.h:92:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/dwarf/dwunwind.cpp:468:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Success [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/util/paths.cpp:237:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/util/proc.cpp:131:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PR_SET_PDEATHSIG [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/mocks.h:75:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable end_probes [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/util/opaque.h:118:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/dwarf/dwunwind.cpp:764:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UnsupportedFormat [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/util/paths.cpp:254:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WARNING [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/util/proc.cpp:196:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exit_code_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/util/system.cpp:64:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/mocks.h:79:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_probes [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/util/opaque.h:152:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/dwarf/dwunwind.cpp:797:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hex [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/util/paths.cpp:275:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/util/proc.cpp:213:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRACE_CONT [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/util/system.cpp:203:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/mocks.h:83:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable benchmark_probes [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/config.cpp:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bpftrace [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/util/stats.h:54:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/dwarf/dwunwind.cpp:827:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_MAPPINGS [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/scopeguard.h:18:5: performance: Variable 'fn_' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] bpftrace-0.26.1/src/util/paths.cpp:303:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ET_EXEC [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/util/proc.cpp:250:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/util/system.cpp:279:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/mocks.h:161:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable has_d_path_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/bpfmap.cpp:50:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_MAP_TYPE_PERCPU_HASH [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/util/paths.cpp:348:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/util/proc.cpp:270:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRACE_DETACH [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/attached_probe.cpp:15:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kprobe [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/aot/aot_main.cpp:41:10: style: Variable 'long_opts' can be declared as const array [constVariable] bpftrace-0.26.1/src/bpfmap.cpp:86:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_EXIST [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/util/proc.cpp:279:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable binary [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/bpfmap.cpp:99:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/util/proc.cpp:350:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/bpfmap.cpp:108:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_ANY [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/util/proc.cpp:406:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNOHANG [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/diagnostic.cpp:18:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/scripts/seccomp.c:146:7: style: Unused variable: index [unusedVariable] bpftrace-0.26.1/src/bpfmap.cpp:143:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/output/text.cpp:258:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable left [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/util/proc.cpp:473:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/diagnostic.cpp:44:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WARNING [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/attachpoint_passes.cpp:45:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ignore [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/bpfmap.cpp:167:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/output/text.cpp:282:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/util/proc.cpp:509:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_pidfd_open [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/attachpoint_passes.cpp:340:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errs_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/bpfmap.cpp:202:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/output/text.cpp:362:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/util/proc.cpp:521:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CLOEXEC [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/attachpoint_passes.cpp:358:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable root [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/bpfmap.cpp:242:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_MAP_TYPE_PERCPU_HASH [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/util/result.h:79:3: style: Class 'SystemError' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpftrace-0.26.1/src/output/text.cpp:482:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/bpfbytecode.cpp:44:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kprobe [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/attachpoint_passes.cpp:406:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ap_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/fold_literals.cpp:130:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUG [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/bpfmap.cpp:252:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/config.h:45:3: style: Class 'Config' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpftrace-0.26.1/src/output/text.cpp:497:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/attachpoint_passes.cpp:562:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errs_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/fold_literals.cpp:143:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/bpfmap.cpp:286:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_MAP_TYPE_HASH [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/pass_manager.h:230:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Inputs [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/config.h:98:3: style: Class 'RenameError' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpftrace-0.26.1/src/output/text.cpp:524:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/imports.cpp:110:68: debug: Function::addArguments found argument 'imports' with varid 0. [varid0] bpftrace-0.26.1/src/ast/passes/attachpoint_passes.cpp:600:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable provider [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/fold_literals.cpp:204:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/bpfprogram.cpp:34:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_TRACE_FENTRY [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/config.h:114:3: style: Class 'LicenseError' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpftrace-0.26.1/src/output/text.cpp:530:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/imports.cpp:130:71: debug: Function::addArguments found argument 'imports' with varid 0. [varid0] bpftrace-0.26.1/tests/main.cpp:6:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kFatalFailure [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/attachpoint_passes.cpp:623:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable provider [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/fold_literals.cpp:231:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/bpfprogram.cpp:76:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BTF_KIND_FUNC [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ksyms.h:18:3: style: Class 'Ksyms' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpftrace-0.26.1/src/output/text.cpp:539:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/usyms.cpp:270:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/imports.cpp:141:20: debug: Function::addArguments found argument 'imports' with varid 0. [varid0] bpftrace-0.26.1/src/ast/passes/attachpoint_passes.cpp:635:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable provider [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/fold_literals.cpp:274:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/bpftrace.cpp:1436:5: error: syntax error: keyword 'if' is not allowed in class/struct/union/enum scope [syntaxError] bpftrace-0.26.1/src/output/text.cpp:579:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/usyms.cpp:433:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BCC_SYM_ALL_TYPES [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/imports.cpp:150:52: debug: Function::addArguments found argument 'imports' with varid 0. [varid0] bpftrace-0.26.1/tests/log.cpp:14:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WARNING [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/attachpoint_passes.cpp:648:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ignore_invalid [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/fold_literals.cpp:390:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BNOT [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/output/text.cpp:584:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/util/cgroup.cpp:219:7: warning: Member variable 'cgid_file_handle::handle_type' has no initializer. [uninitMemberVarNoCtor] bpftrace-0.26.1/tests/btf_common.h:19:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable btf_data [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/imports.cpp:156:67: debug: Function::addArguments found argument 'imports' with varid 0. [varid0] bpftrace-0.26.1/tests/location.cpp:21:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable line [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/log.cpp:40:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YELLOW [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/attachpoint_passes.cpp:721:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable parts_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/clang_parser.cpp:297:3: performance: Variable 'index' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] bpftrace-0.26.1/src/ast/passes/fold_literals.cpp:465:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LAND [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/output/text.cpp:589:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/util/cgroup.cpp:220:17: warning: Member variable 'cgid_file_handle::cgid' has no initializer. [uninitMemberVarNoCtor] bpftrace-0.26.1/tests/config_analyser.cpp:157:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable perf [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/imports.cpp:171:20: debug: Function::addArguments found argument 'imports' with varid 0. [varid0] bpftrace-0.26.1/tests/location.cpp:40:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable line [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/log.cpp:91:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RED [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/attachpoint_passes.cpp:874:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable parts_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/fold_literals.cpp:656:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/output/text.cpp:594:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/imports.cpp:180:20: debug: Function::addArguments found argument 'imports' with varid 0. [varid0] bpftrace-0.26.1/tests/location.cpp:62:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable line [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/log.cpp:107:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WARNING [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/attachpoint_passes.cpp:906:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ignore_invalid [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/fold_literals.cpp:662:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/output/text.cpp:599:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable err_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/stdlib/stack/dwunwind.bpf.c:353:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dwunwind_offsetmaps [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/imports.cpp:190:20: debug: Function::addArguments found argument 'imports' with varid 0. [varid0] bpftrace-0.26.1/tests/log.cpp:132:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUG [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/attachpoint_passes.cpp:922:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable parts_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/fold_literals.cpp:671:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/output/text.cpp:605:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable err_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/stdlib/stack/dwunwind.bpf.c:458:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dwunwind_state_scratch [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/symbols/kernel.cpp:50:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHT_NOTE [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/imports.cpp:201:20: debug: Function::addArguments found argument 'imports' with varid 0. [varid0] bpftrace-0.26.1/tests/log.cpp:148:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUG [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/attachpoint_passes.cpp:976:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ignore_invalid [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/clang_parser.cpp:784:26: style: The member function 'bpftrace::ast::ClangParser::get_arch_include_path' can be static. [functionStatic] bpftrace-0.26.1/src/ast/passes/clang_parser.cpp:76:15: note: The member function 'bpftrace::ast::ClangParser::get_arch_include_path' can be static. bpftrace-0.26.1/src/ast/passes/clang_parser.cpp:784:26: note: The member function 'bpftrace::ast::ClangParser::get_arch_include_path' can be static. bpftrace-0.26.1/src/ast/passes/fold_literals.cpp:710:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/output/text.cpp:615:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable E2BIG [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/stdlib/stack/dwunwind.bpf.c:613:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable utask [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/symbols/kernel.cpp:80:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_SYSINFO_EHDR [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/imports.cpp:213:20: debug: Function::addArguments found argument 'imports' with varid 0. [varid0] bpftrace-0.26.1/src/ast/passes/attachpoint_passes.cpp:1000:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ignore_invalid [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/clang_parser.cpp:815:39: style: The member function 'bpftrace::ast::ClangParser::system_include_paths' can be static. [functionStatic] bpftrace-0.26.1/src/ast/passes/clang_parser.cpp:77:28: note: The member function 'bpftrace::ast::ClangParser::system_include_paths' can be static. bpftrace-0.26.1/src/ast/passes/clang_parser.cpp:815:39: note: The member function 'bpftrace::ast::ClangParser::system_include_paths' can be static. bpftrace-0.26.1/src/ast/passes/fold_literals.cpp:768:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/output/text.cpp:668:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/stdlib/stack/dwunwind.bpf.c:638:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dwunwind_state_scratch [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/symbols/kernel.cpp:187:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sym_address_cb [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/collect_nodes.cpp:37:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRE_INCREMENT [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/imports.cpp:243:37: debug: Function::addArguments found argument 'import' with varid 0. [varid0] bpftrace-0.26.1/src/ast/passes/attachpoint_passes.cpp:1027:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable parts_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/clang_parser.cpp:306:52: style:inconclusive: Technically the member function 'bpftrace::ast::ClangParser::ClangParserHandler::get_translation_unit' can be const. [functionConst] bpftrace-0.26.1/src/ast/passes/clang_parser.cpp:95:23: note: Technically the member function 'bpftrace::ast::ClangParser::ClangParserHandler::get_translation_unit' can be const. bpftrace-0.26.1/src/ast/passes/clang_parser.cpp:306:52: note: Technically the member function 'bpftrace::ast::ClangParser::ClangParserHandler::get_translation_unit' can be const. bpftrace-0.26.1/src/ast/passes/fold_literals.cpp:784:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/output/text.cpp:728:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/stdlib/stack/dwunwind.bpf.c:860:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dwunwind_mappings [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/symbols/kernel.cpp:217:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable path [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/attachpoint_passes.cpp:351:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Machine [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/collect_nodes.cpp:49:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRE_INCREMENT [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/function_registry.cpp:21:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Builtin [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/imports.cpp:256:20: debug: Function::addArguments found argument 'imports' with varid 0. [varid0] bpftrace-0.26.1/src/ast/passes/attachpoint_passes.cpp:1055:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ignore_invalid [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/clang_parser.cpp:381:5: style:inconclusive: Technically the member function 'bpftrace::ast::ClangParser::ClangParserHandler::get_error_messages' can be const. [functionConst] bpftrace-0.26.1/src/ast/passes/clang_parser.cpp:111:37: note: Technically the member function 'bpftrace::ast::ClangParser::ClangParserHandler::get_error_messages' can be const. bpftrace-0.26.1/src/ast/passes/clang_parser.cpp:381:5: note: Technically the member function 'bpftrace::ast::ClangParser::ClangParserHandler::get_error_messages' can be const. bpftrace-0.26.1/src/ast/passes/fold_literals.cpp:800:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable special [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/output/text.cpp:748:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/symbols/kernel.cpp:259:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/attachpoint_passes.cpp:378:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Machine [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/child.cpp:64:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/collect_nodes.cpp:63:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRE_INCREMENT [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/function_registry.cpp:197:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable unique_no_args_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/imports.cpp:264:20: debug: Function::addArguments found argument 'imports' with varid 0. [varid0] bpftrace-0.26.1/src/ast/passes/attachpoint_passes.cpp:1117:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ignore_invalid [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/fold_literals.cpp:836:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/symbols/kernel.cpp:291:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/child.cpp:77:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/collect_nodes.cpp:82:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PLUS [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/function_registry.cpp:229:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable unique_int8_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/attachpoint_passes.cpp:1149:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ignore_invalid [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/fold_literals.cpp:848:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/symbols/kernel.cpp:326:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/async_action.cpp:47:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/child.cpp:105:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNOHANG [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/collect_nodes.cpp:95:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PLUS [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/function_registry.cpp:266:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable unique_string_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/fold_literals.cpp:867:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/symbols/kernel.cpp:384:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/async_action.cpp:62:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ts [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/child.cpp:115:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/collect_nodes.cpp:110:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PLUS [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/function_registry.cpp:280:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable unique_tuple_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/fold_literals.cpp:888:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/symbols/kernel.cpp:417:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KERNEL_HEADERS_DIR [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/async_action.cpp:113:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable action_id [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/child.cpp:142:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WUNTRACED [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/function_registry.cpp:312:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable unique_struct_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/fold_literals.cpp:903:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/symbols/kernel.cpp:553:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RT_BTF_PREFIXES [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/async_action.cpp:134:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable time [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/child.cpp:173:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/function_registry.cpp:334:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable takes_c_string_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/fold_literals.cpp:920:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUG [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/resolve_imports.cpp:23:3: style: Class 'ResolveRootImports' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpftrace-0.26.1/src/symbols/kernel.cpp:601:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable last_checked_line_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/async_action.cpp:166:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_TIME_STR_LEN [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/child.cpp:186:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/function_registry.cpp:339:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable overloaded_origin_b_s_script_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/mocks.cpp:122:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable btf_data [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/resolve_imports.cpp:57:3: style: Class 'ResolveStatementImports' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpftrace-0.26.1/src/symbols/kernel.cpp:663:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable modules_loaded_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/async_action.cpp:193:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rte_id [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/child.cpp:198:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/function_registry.cpp:347:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Script [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/import_scripts.cpp:48:52: style: Parameter 'imports' can be declared as reference to const [constParameterReference] bpftrace-0.26.1/src/symbols/kernel.cpp:693:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable modules_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/async_action.cpp:280:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cmd [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/child.cpp:211:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/function_registry.cpp:359:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Builtin [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/import_scripts.cpp:60:52: style: Parameter 'imports' can be declared as reference to const [constParameterReference] bpftrace-0.26.1/src/symbols/kernel.cpp:700:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable raw_tracepoints_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/async_action.cpp:329:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable max_cat_bytes [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/child.cpp:240:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/function_registry.cpp:368:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Script [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/required_resources.cpp:19:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable binary [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/recursion_check.cpp:60:37: style: Parameter 'program' can be declared as reference to const [constParameterReference] bpftrace-0.26.1/src/symbols/kernel.cpp:706:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tracepoints_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/async_action.cpp:377:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/required_resources.cpp:37:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable binary [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/stdlib/map/map.bpf.c:18:39: style: Parameter 'map' can be declared as pointer to const. However it seems that '__empty_map_elem_cb' is a callback function, if 'map' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bpftrace-0.26.1/src/stdlib/map/map.bpf.c:29:40: note: You might need to cast the function pointer here bpftrace-0.26.1/src/stdlib/map/map.bpf.c:18:39: note: Parameter 'map' can be declared as pointer to const bpftrace-0.26.1/src/symbols/kernel.cpp:717:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable btf_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/async_action.cpp:79:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable syscall [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/output.cpp:20:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key_type [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/required_resources.cpp:77:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable binary [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/stdlib/map/map.bpf.c:18:67: style: Parameter 'value' can be declared as pointer to const. However it seems that '__empty_map_elem_cb' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bpftrace-0.26.1/src/stdlib/map/map.bpf.c:29:40: note: You might need to cast the function pointer here bpftrace-0.26.1/src/stdlib/map/map.bpf.c:18:67: note: Parameter 'value' can be declared as pointer to const bpftrace-0.26.1/src/symbols/kernel.cpp:767:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WARNING [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/output.cpp:63:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key_type [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/required_resources.cpp:118:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable binary [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/args_resolver.cpp:49:35: style: Parameter 'builtin' can be declared as reference to const [constParameterReference] bpftrace-0.26.1/src/ast/passes/types/pre_type_check.cpp:30:8: warning: Member variable 'VarInfo::was_assigned' has no initializer. [uninitMemberVarNoCtor] bpftrace-0.26.1/src/stdlib/map/map.bpf.c:18:80: style: Parameter 'ctx' can be declared as pointer to const. However it seems that '__empty_map_elem_cb' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bpftrace-0.26.1/src/stdlib/map/map.bpf.c:29:40: note: You might need to cast the function pointer here bpftrace-0.26.1/src/stdlib/map/map.bpf.c:18:80: note: Parameter 'ctx' can be declared as pointer to const bpftrace-0.26.1/tests/output.cpp:98:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key_type [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/required_resources.cpp:146:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable binary [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/link.cpp:88:15: style: Local variable 'rc' shadows outer variable [shadowVariable] bpftrace-0.26.1/src/ast/passes/link.cpp:79:13: note: Shadowed variable bpftrace-0.26.1/src/ast/passes/link.cpp:88:15: note: Shadow local variable bpftrace-0.26.1/src/ast/passes/macro_expansion.cpp:429:21: style:inconclusive: Either there is a missing 'override', or the member function 'bpftrace::ast::MacroExpander::rename_ok' can be const. [functionConst] bpftrace-0.26.1/src/ast/passes/macro_expansion.cpp:189:8: note: Either there is a missing 'override', or the member function 'bpftrace::ast::MacroExpander::rename_ok' can be const. bpftrace-0.26.1/src/ast/passes/macro_expansion.cpp:429:21: note: Either there is a missing 'override', or the member function 'bpftrace::ast::MacroExpander::rename_ok' can be const. bpftrace-0.26.1/src/ast/passes/types/type_checker.cpp:309:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable integer [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/output.cpp:132:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key_type [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/testprogs/disable_aslr.c:6:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADDR_NO_RANDOMIZE [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/types/type_checker.cpp:769:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NE [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/imports.cpp:29:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable replace [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/types/type_checker.cpp:806:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable boolean [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/mocks.h:65:34: style:inconclusive: Either there is a missing 'override', or the member function 'bpftrace::test::MockBPFtrace::get_probes' can be const. [functionConst] bpftrace-0.26.1/tests/data/data_source_cxx.cpp:19:7: warning: The class 'Child' defines member variable with name 'd' also defined in its parent class 'Parent'. [duplInheritedMember] bpftrace-0.26.1/tests/data/data_source_cxx.cpp:10:7: note: Parent variable 'Parent::d' bpftrace-0.26.1/tests/data/data_source_cxx.cpp:19:7: note: Derived variable 'Child::d' bpftrace-0.26.1/tests/imports.cpp:130:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable imports [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/testprogs/fentry_args.c:17:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_bpf [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/types/type_checker.cpp:814:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RETURN [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/mocks.h:69:34: style:inconclusive: Either there is a missing 'override', or the member function 'bpftrace::test::MockBPFtrace::get_begin_probes' can be const. [functionConst] bpftrace-0.26.1/tests/imports.cpp:256:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable imports [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/aot/aot.cpp:234:5: error: Resource leak: infd [resourceLeak] bpftrace-0.26.1/src/ast/passes/types/type_checker.cpp:1063:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRE_INCREMENT [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/stdlib/task/vma.bpf.c:30:26: style: Variable 'vma' can be declared as pointer to const [constVariablePointer] bpftrace-0.26.1/tests/mocks.h:73:34: style:inconclusive: Either there is a missing 'override', or the member function 'bpftrace::test::MockBPFtrace::get_end_probes' can be const. [functionConst] bpftrace-0.26.1/tests/pre_type_check.cpp:51:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Error [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/resource_analyser.cpp:128:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/types/type_checker.cpp:1193:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/config.cpp:404:14: style: The member function 'bpftrace::Config::is_unstable' can be static. [functionStatic] bpftrace-0.26.1/src/config.h:54:8: note: The member function 'bpftrace::Config::is_unstable' can be static. bpftrace-0.26.1/src/config.cpp:404:14: note: The member function 'bpftrace::Config::is_unstable' can be static. bpftrace-0.26.1/src/stdlib/task/vma.bpf.c:40:18: style: Variable 'file' can be declared as pointer to const [constVariablePointer] bpftrace-0.26.1/tests/mocks.h:77:34: style:inconclusive: Either there is a missing 'override', or the member function 'bpftrace::test::MockBPFtrace::get_test_probes' can be const. [functionConst] bpftrace-0.26.1/tests/testprogs/mmap_exec.c:17:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/config.cpp:93:14: style: The member function 'bpftrace::ConfigParser < uint64_t >::parse' can be static. [functionStatic] bpftrace-0.26.1/src/stdlib/task/vma.bpf.c:42:21: style: Variable 'inode' can be declared as pointer to const [constVariablePointer] bpftrace-0.26.1/tests/mocks.h:81:34: style:inconclusive: Either there is a missing 'override', or the member function 'bpftrace::test::MockBPFtrace::get_benchmark_probes' can be const. [functionConst] bpftrace-0.26.1/tests/testprogs/mountns_pivot_wrapper.c:32:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/config.cpp:119:14: style: The member function 'bpftrace::ConfigParser < bool >::parse' can be static. [functionStatic] bpftrace-0.26.1/tests/temp.cpp:68:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EEXIST [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/testprogs/mountns_pivot_wrapper.c:58:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/testprogs/mountns_wrapper.c:45:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/resource_analyser.cpp:610:24: style: Either there is a missing 'override', or the member function 'bpftrace::ast::::ResourceAnalyser::uses_usym_table' can be static. [functionStatic] bpftrace-0.26.1/src/ast/passes/resource_analyser.cpp:60:8: note: Either there is a missing 'override', or the member function 'bpftrace::ast::::ResourceAnalyser::uses_usym_table' can be static. bpftrace-0.26.1/src/ast/passes/resource_analyser.cpp:610:24: note: Either there is a missing 'override', or the member function 'bpftrace::ast::::ResourceAnalyser::uses_usym_table' can be static. bpftrace-0.26.1/src/config.cpp:135:14: style: The member function 'bpftrace::ConfigParser < std :: string >::parse' can be static. [functionStatic] bpftrace-0.26.1/tests/testprogs/multi_procs.c:15:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PR_SET_NAME [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/link.cpp:21:45: style: Parameter 'imports' can be declared as reference to const [constParameterReference] bpftrace-0.26.1/src/ast/passes/resource_analyser.cpp:605:24: style:inconclusive: Either there is a missing 'override', or the member function 'bpftrace::ast::::ResourceAnalyser::exceeds_stack_limit' can be const. [functionConst] bpftrace-0.26.1/src/ast/passes/resource_analyser.cpp:62:8: note: Either there is a missing 'override', or the member function 'bpftrace::ast::::ResourceAnalyser::exceeds_stack_limit' can be const. bpftrace-0.26.1/src/ast/passes/resource_analyser.cpp:605:24: note: Either there is a missing 'override', or the member function 'bpftrace::ast::::ResourceAnalyser::exceeds_stack_limit' can be const. bpftrace-0.26.1/src/ast/passes/types/pre_type_check.cpp:364:16: style: Either there is a missing 'override', or the member function 'bpftrace::ast::::MapCheck::visit' can be static. [functionStatic] bpftrace-0.26.1/src/ast/passes/types/pre_type_check.cpp:359:8: note: Either there is a missing 'override', or the member function 'bpftrace::ast::::MapCheck::visit' can be static. bpftrace-0.26.1/src/ast/passes/types/pre_type_check.cpp:364:16: note: Either there is a missing 'override', or the member function 'bpftrace::ast::::MapCheck::visit' can be static. bpftrace-0.26.1/src/config.cpp:142:14: style: The member function 'bpftrace::ConfigParser < std :: string >::parse' can be static. [functionStatic] bpftrace-0.26.1/src/ast/passes/types/pre_type_check.cpp:369:16: style: Either there is a missing 'override', or the member function 'bpftrace::ast::::MapCheck::visit' can be static. [functionStatic] bpftrace-0.26.1/src/ast/passes/types/pre_type_check.cpp:360:8: note: Either there is a missing 'override', or the member function 'bpftrace::ast::::MapCheck::visit' can be static. bpftrace-0.26.1/src/ast/passes/types/pre_type_check.cpp:369:16: note: Either there is a missing 'override', or the member function 'bpftrace::ast::::MapCheck::visit' can be static. bpftrace-0.26.1/src/config.cpp:178:14: style: The member function 'bpftrace::ConfigParser < UserSymbolCacheType >::parse' can be static. [functionStatic] bpftrace-0.26.1/src/dwarf/dwunwind.cpp:769:12: warning: Member variable 'ProcessMapEntry::vm_start' has no initializer. [uninitMemberVarNoCtor] bpftrace-0.26.1/tests/testprogs/nanosleep_loop.c:20:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYS_nanosleep [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/types/pre_type_check.cpp:374:16: style: Either there is a missing 'override', or the member function 'bpftrace::ast::::MapCheck::visit' can be static. [functionStatic] bpftrace-0.26.1/src/ast/passes/types/pre_type_check.cpp:361:8: note: Either there is a missing 'override', or the member function 'bpftrace::ast::::MapCheck::visit' can be static. bpftrace-0.26.1/src/ast/passes/types/pre_type_check.cpp:374:16: note: Either there is a missing 'override', or the member function 'bpftrace::ast::::MapCheck::visit' can be static. bpftrace-0.26.1/src/config.cpp:226:14: style: The member function 'bpftrace::ConfigParser < CompatibleBPFLicense >::parse' can be static. [functionStatic] bpftrace-0.26.1/src/dwarf/dwunwind.cpp:770:12: warning: Member variable 'ProcessMapEntry::vm_end' has no initializer. [uninitMemberVarNoCtor] bpftrace-0.26.1/tests/mocks.h:41:3: style: Class 'MockBpfMap' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpftrace-0.26.1/src/config.cpp:238:14: style: The member function 'bpftrace::ConfigParser < CompatibleBPFLicense >::parse' can be static. [functionStatic] bpftrace-0.26.1/src/dwarf/dwunwind.cpp:771:12: warning: Member variable 'ProcessMapEntry::offset' has no initializer. [uninitMemberVarNoCtor] bpftrace-0.26.1/tests/mocks.h:158:3: style: Class 'MockBPFfeature' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpftrace-0.26.1/src/config.cpp:268:14: style: The member function 'bpftrace::ConfigParser < ConfigUnstable >::parse' can be static. [functionStatic] bpftrace-0.26.1/tests/mocks.h:181:3: style: Class 'MockChildProc' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpftrace-0.26.1/tests/testprogs/stack_args.c:4:20: debug: Function::addArguments found argument 'a' with varid 0. [varid0] bpftrace-0.26.1/src/disasm.cpp:14:29: style: Parameter 'path' can be declared as reference to const [constParameterReference] bpftrace-0.26.1/tests/mocks.h:219:3: style: Class 'MockProcMon' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:4957:38: debug: Function::addArguments found argument 'ast' with varid 0. [varid0] bpftrace-0.26.1/tests/testprogs/struct_walk.c:22:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable a [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:4958:63: debug: Function::addArguments found argument 'control_flow' with varid 0. [varid0] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:4959:36: debug: Function::addArguments found argument 'bpftrace' with varid 0. [varid0] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:4960:40: debug: Function::addArguments found argument 'c_definitions' with varid 0. [varid0] bpftrace-0.26.1/src/util/proc.cpp:71:12: style: Virtual function 'terminate' is called from destructor '~ChildProcImpl()' at line 197. Dynamic binding is not used. [virtualCallInConstructor] bpftrace-0.26.1/src/util/proc.cpp:197:15: note: Calling terminate bpftrace-0.26.1/src/util/proc.cpp:71:12: note: terminate is a virtual function bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:4961:42: debug: Function::addArguments found argument 'named_param_info' with varid 0. [varid0] bpftrace-0.26.1/src/ast/passes/pid_filter_pass.cpp:95:37: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:4962:42: debug: Function::addArguments found argument 'ctx' with varid 0. [varid0] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:4963:43: debug: Function::addArguments found argument 'expansions' with varid 0. [varid0] bpftrace-0.26.1/src/ast/passes/types/type_system.cpp:14:32: style: Parameter 'bm' can be declared as reference to const [constParameterReference] bpftrace-0.26.1/src/util/proc.cpp:65:3: style: Class 'ChildProcImpl' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpftrace-0.26.1/src/ast/passes/clang_build.cpp:48:21: style: Local variable 'name' shadows outer argument [shadowArgument] bpftrace-0.26.1/src/ast/passes/clang_build.cpp:36:24: note: Shadowed argument bpftrace-0.26.1/src/ast/passes/clang_build.cpp:48:21: note: Shadow local variable bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:4964:35: debug: Function::addArguments found argument 'type_map' with varid 0. [varid0] bpftrace-0.26.1/src/ast/passes/types/type_system.cpp:70:51: style: Parameter 'tm' can be declared as reference to const [constParameterReference] bpftrace-0.26.1/src/ast/passes/clang_build.cpp:64:15: style: Local variable 'name' shadows outer argument [shadowArgument] bpftrace-0.26.1/src/ast/passes/clang_build.cpp:36:24: note: Shadowed argument bpftrace-0.26.1/src/ast/passes/clang_build.cpp:64:15: note: Shadow local variable bpftrace-0.26.1/src/btf.h:69:17: warning: Member variable 'BTFObj::btf' has no initializer. [uninitMemberVarNoCtor] bpftrace-0.26.1/tests/testprogs/syscall.c:58:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYS_nanosleep [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/btf.h:76:17: warning: Member variable 'BTFId::btf' has no initializer. [uninitMemberVarNoCtor] bpftrace-0.26.1/src/util/int_parser.h:32:15: performance: Function 'msg()' should return member 'msg_' by const reference. [returnByReference] bpftrace-0.26.1/tests/testprogs/syscall.c:93:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/diagnostic.cpp:9:52: style: Argument 'loc' shadows outer function [shadowFunction] bpftrace-0.26.1/src/ast/diagnostic.h:37:19: note: Shadowed function bpftrace-0.26.1/src/ast/diagnostic.cpp:9:52: note: Shadow argument bpftrace-0.26.1/tests/pass_manager.cpp:141:3: style: Class 'B' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpftrace-0.26.1/tests/testprogs/syscall.c:111:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/diagnostic.cpp:60:30: style: Local variable 'loc' shadows outer variable [shadowVariable] bpftrace-0.26.1/src/ast/diagnostic.cpp:35:8: note: Shadowed variable bpftrace-0.26.1/src/ast/diagnostic.cpp:60:30: note: Shadow local variable bpftrace-0.26.1/src/ast/passes/recursion_check.cpp:71:41: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] bpftrace-0.26.1/tests/pass_manager.cpp:169:3: style: Class 'C' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpftrace-0.26.1/tests/testprogs/syscall.c:146:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYS_execve [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/diagnostic.cpp:66:30: style: Local variable 'loc' shadows outer variable [shadowVariable] bpftrace-0.26.1/src/ast/diagnostic.cpp:35:8: note: Shadowed variable bpftrace-0.26.1/src/ast/diagnostic.cpp:66:30: note: Shadow local variable bpftrace-0.26.1/tests/field_analyser.cpp:81:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable offset [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/testprogs/syscall.c:179:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/diagnostic.cpp:74:30: style: Local variable 'loc' shadows outer variable [shadowVariable] bpftrace-0.26.1/src/ast/diagnostic.cpp:35:8: note: Shadowed variable bpftrace-0.26.1/src/ast/diagnostic.cpp:74:30: note: Shadow local variable bpftrace-0.26.1/tests/field_analyser.cpp:151:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable offset [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/diagnostic.cpp:80:30: style: Local variable 'loc' shadows outer variable [shadowVariable] bpftrace-0.26.1/src/ast/diagnostic.cpp:35:8: note: Shadowed variable bpftrace-0.26.1/src/ast/diagnostic.cpp:80:30: note: Shadow local variable bpftrace-0.26.1/src/pcap_writer.cpp:56:35: performance: Function parameter 'file' should be passed by const reference. [passedByValue] bpftrace-0.26.1/tests/field_analyser.cpp:205:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable offset [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/testprogs/uprobe_test_cxx.cpp:26:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable a [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/map_info.h:59:18: warning: Member variable 'TSeriesArgs::agg' has no initializer. [uninitMemberVarNoCtor] bpftrace-0.26.1/tests/field_analyser.cpp:230:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/bpfmap.h:51:3: warning: Member variable 'BpfMap::bpf_map_' is not initialized in the constructor. [uninitMemberVar] bpftrace-0.26.1/tests/async_action.cpp:184:9: warning: Member variable 'TestCase::return_value' has no initializer. [uninitMemberVarNoCtor] bpftrace-0.26.1/tests/field_analyser.cpp:325:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/util/env.cpp:18:7: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] bpftrace-0.26.1/tests/async_action.cpp:187:9: warning: Member variable 'TestCase::line' has no initializer. [uninitMemberVarNoCtor] bpftrace-0.26.1/tests/field_analyser.cpp:367:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable offset [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/bfd-disasm.cpp:40:30: style: Parameter 'out' can be declared as pointer to const. However it seems that 'fprintf_nop' is a callback function, if 'out' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bpftrace-0.26.1/src/bfd-disasm.cpp:81:40: note: You might need to cast the function pointer here bpftrace-0.26.1/src/bfd-disasm.cpp:40:30: note: Parameter 'out' can be declared as pointer to const bpftrace-0.26.1/tests/async_action.cpp:188:9: warning: Member variable 'TestCase::column' has no initializer. [uninitMemberVarNoCtor] bpftrace-0.26.1/tests/field_analyser.cpp:426:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable offset [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/util/env.cpp:11:12: style: The scope of the variable 'dest' can be reduced. [variableScope] bpftrace-0.26.1/tests/bpftrace.cpp:90:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kprobe [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/testprogs/usdt_quoted_probe.c:10:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/bpftrace.cpp:105:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uprobe [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/testprogs/usdt_semaphore_test.c:14:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tracetest_testprobe_semaphore [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/bpftrace.cpp:119:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable usdt [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/bpftrace.cpp:128:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tracepoint [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/symbols/kernel.cpp:147:10: warning: Assert statement calls a function which may have desired side effects: 'uname'. [assertWithSideEffect] bpftrace-0.26.1/tests/bpftrace.cpp:135:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable profile [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/bpftrace.cpp:142:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable interval [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/map_info.h:12:8: style:inconclusive: Technically the member function 'bpftrace::HistogramArgs::operator==' can be const. [functionConst] bpftrace-0.26.1/tests/bpftrace.cpp:149:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable software [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/data/data_source.c:52:34: style: Argument 'foo3' shadows outer variable [shadowVariable] bpftrace-0.26.1/tests/data/data_source.c:33:13: note: Shadowed variable bpftrace-0.26.1/tests/data/data_source.c:52:34: note: Shadow argument bpftrace-0.26.1/tests/testprogs/watchpoint.c:11:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/map_info.h:36:8: style:inconclusive: Technically the member function 'bpftrace::LinearHistogramArgs::operator==' can be const. [functionConst] bpftrace-0.26.1/src/btf.h:82:3: style: Class 'BTF' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpftrace-0.26.1/tests/bpftrace.cpp:156:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hardware [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/testprogs/watchpoint_exec.c:18:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/map_info.h:61:8: style:inconclusive: Technically the member function 'bpftrace::TSeriesArgs::operator==' can be const. [functionConst] bpftrace-0.26.1/tests/bpftrace.cpp:163:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable special [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/bpftrace.cpp:168:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable special [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/opaque.cpp:72:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pi [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/bpftrace.cpp:173:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/opaque.cpp:114:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pi [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/attached_probe.h:21:3: style: Class 'AttachError' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpftrace-0.26.1/tests/bpftrace.cpp:179:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable benchmark [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/opaque.cpp:373:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pi [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/testprogs/watchpoint_threaded.c:14:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/attached_probe.h:60:3: style: Class 'AttachedProbe' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpftrace-0.26.1/tests/bpftrace.cpp:647:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fentry [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/bpftrace.cpp:663:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fentry [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/data/data_source.c:50:34: style: Parameter 'foo1' can be declared as pointer to const [constParameterPointer] bpftrace-0.26.1/src/util/opaque.h:24:5: style: Struct 'OwnedBuffer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpftrace-0.26.1/tests/bpftrace.cpp:679:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fentry [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/data/data_source.c:51:34: style: Parameter 'foo2' can be declared as pointer to const [constParameterPointer] bpftrace-0.26.1/src/bpfmap.h:41:3: style: Class 'BpfMap' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpftrace-0.26.1/tests/bpftrace.cpp:692:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kprobe [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/data/data_source.c:52:34: style: Parameter 'foo3' can be declared as pointer to const [constParameterPointer] bpftrace-0.26.1/src/aot/aot.cpp:81:17: style: Parameter 'elf' can be declared as pointer to const [constParameterPointer] bpftrace-0.26.1/tests/bpftrace.cpp:707:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iter [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/data/data_source.c:53:34: style: Parameter 'foo4' can be declared as pointer to const [constParameterPointer] bpftrace-0.26.1/src/ast/passes/usdt_arguments.cpp:50:53: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] bpftrace-0.26.1/tests/bpftrace.cpp:718:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iter [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/data/data_source.c:58:33: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] bpftrace-0.26.1/tests/testprogs/mmap_exec.c:29:3: error: Resource leak: fd [resourceLeak] bpftrace-0.26.1/tests/bpftrace.cpp:729:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iter [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/data/data_source.c:58:49: style: Parameter 'foo1' can be declared as pointer to const [constParameterPointer] bpftrace-0.26.1/tests/testprogs/mmap_exec.c:29:3: error: Memory leak: fn [memleak] bpftrace-0.26.1/tests/bpftrace.cpp:750:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rawtracepoint [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/clang_parser.cpp:59:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable offset [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/data/data_source.c:64:59: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] bpftrace-0.26.1/tests/bpftrace.cpp:757:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable boot [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/clang_parser.cpp:87:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable offset [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/data/data_source.c:64:75: style: Parameter 'foo1' can be declared as pointer to const [constParameterPointer] bpftrace-0.26.1/tests/bpftrace.cpp:896:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key_type [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/clang_parser.cpp:117:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable offset [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/data/data_source.c:90:43: style: Parameter 'arr' can be declared as pointer to const [constParameterPointer] bpftrace-0.26.1/tests/testprogs/uprobe_fork_loop.c:16:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] bpftrace-0.26.1/src/btf/btf.cpp:36:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/bpftrace.cpp:978:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key_type [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/clang_parser.cpp:221:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable offset [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/data/data_source.c:117:66: style: Parameter 'arr' can be declared as pointer to const [constParameterPointer] bpftrace-0.26.1/tests/types.cpp:30:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kernel [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/btf/btf.cpp:53:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/bpftrace.cpp:1054:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key_type [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/clang_parser.cpp:236:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/data/data_source.c:121:44: style: Parameter 'AnonStruct' can be declared as pointer to const [constParameterPointer] bpftrace-0.26.1/tests/testprogs/mmap_exec.c:27:3: warning: If memory allocation fails, then there is a possible null pointer dereference: fn [nullPointerOutOfMemory] bpftrace-0.26.1/tests/testprogs/mmap_exec.c:24:33: note: Assuming allocation function fails bpftrace-0.26.1/tests/testprogs/mmap_exec.c:24:18: note: Assignment 'fn=(funcptr_t*)mmap(NULL,st.st_size,PROT_EXEC,MAP_PRIVATE,fd,0)', assigned value is 0 bpftrace-0.26.1/tests/testprogs/mmap_exec.c:27:3: note: Null pointer dereference bpftrace-0.26.1/tests/testprogs/uprobe_loop.c:14:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] bpftrace-0.26.1/src/btf/btf.cpp:60:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable btf_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/util/symbols.h:11:12: warning: Member variable 'symbol::start' has no initializer. [uninitMemberVarNoCtor] bpftrace-0.26.1/tests/bpftrace.cpp:1125:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key_type [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/clang_parser.cpp:258:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable offset [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/data/data_source.c:122:42: style: Parameter 'AnonTypedef' can be declared as pointer to const [constParameterPointer] bpftrace-0.26.1/src/btf/btf.cpp:69:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable err_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/util/symbols.h:12:12: warning: Member variable 'symbol::size' has no initializer. [uninitMemberVarNoCtor] bpftrace-0.26.1/tests/bpftrace.cpp:1190:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key_type [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/clang_parser.cpp:331:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable offset [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/data/data_source.c:176:33: style: Parameter '__data' can be declared as pointer to const [constParameterPointer] bpftrace-0.26.1/src/btf/btf.cpp:76:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable err_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/util/symbols.h:13:12: warning: Member variable 'symbol::address' has no initializer. [uninitMemberVarNoCtor] bpftrace-0.26.1/tests/bpftrace.cpp:1283:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key_type [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/clang_parser.cpp:378:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable offset [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/data/data_source.c:185:32: style: Parameter 'sk' can be declared as pointer to const [constParameterPointer] bpftrace-0.26.1/tests/testprogs/uprobe_nofp.c:35:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] bpftrace-0.26.1/src/btf/btf.cpp:83:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/util/symbols.h:54:13: warning: Member variable 'elf_symbol::start' has no initializer. [uninitMemberVarNoCtor] bpftrace-0.26.1/tests/bpftrace.cpp:1405:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key_type [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/clang_parser.cpp:423:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable offset [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/btf/btf.cpp:90:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable got_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/symbols/kernel.cpp:153:8: warning: Member variable 'vmlinux_location::raw' has no initializer. [uninitMemberVarNoCtor] bpftrace-0.26.1/src/util/symbols.h:55:13: warning: Member variable 'elf_symbol::end' has no initializer. [uninitMemberVarNoCtor] bpftrace-0.26.1/tests/clang_parser.cpp:462:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable offset [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/btf/btf.cpp:95:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type_id_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/clang_parser.cpp:508:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable offset [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/btf/btf.cpp:105:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type_id_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/clang_parser.cpp:589:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable offset [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/btf/btf.cpp:114:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type_id_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/clang_parser.cpp:630:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable offset [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/testprogs/uprobe_test.c:113:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] bpftrace-0.26.1/src/btf/btf.cpp:194:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name_off [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/ast.cpp:142:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Identifier [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/clang_parser.cpp:690:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable offset [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/diagnostic.h:33:12: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] bpftrace-0.26.1/src/btf/btf.cpp:429:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name_off [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/ast.cpp:164:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Identifier [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/clang_parser.cpp:762:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable offset [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/diagnostic.cpp:41:12: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] bpftrace-0.26.1/src/btf/btf.cpp:461:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name_off [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/ast.cpp:183:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Identifier [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/clang_parser.cpp:797:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable offset [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/testprogs/struct_walk.c:13:5: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] bpftrace-0.26.1/tests/testprogs/struct_walk.c:29:34: note: Assuming allocation function fails bpftrace-0.26.1/tests/testprogs/struct_walk.c:29:17: note: Assignment 'c=(struct C*)malloc(sizeof(struct C)*size)', assigned value is 0 bpftrace-0.26.1/tests/testprogs/struct_walk.c:36:9: note: Calling function 'clear', 1st argument 'c' value is 0 bpftrace-0.26.1/tests/testprogs/struct_walk.c:13:5: note: Null pointer dereference bpftrace-0.26.1/src/btf/btf.cpp:490:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Union [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/ast.cpp:254:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LNOT [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/clang_parser.cpp:852:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable offset [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/testprogs/struct_walk.c:14:5: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] bpftrace-0.26.1/tests/testprogs/struct_walk.c:29:34: note: Assuming allocation function fails bpftrace-0.26.1/tests/testprogs/struct_walk.c:29:17: note: Assignment 'c=(struct C*)malloc(sizeof(struct C)*size)', assigned value is 0 bpftrace-0.26.1/tests/testprogs/struct_walk.c:36:9: note: Calling function 'clear', 1st argument 'c' value is 0 bpftrace-0.26.1/tests/testprogs/struct_walk.c:14:5: note: Null pointer dereference bpftrace-0.26.1/src/btf/btf.cpp:586:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/ast.cpp:338:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Identifier [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/clang_parser.cpp:912:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable offset [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/testprogs/struct_walk.c:32:5: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] bpftrace-0.26.1/tests/testprogs/struct_walk.c:29:34: note: Assuming allocation function fails bpftrace-0.26.1/tests/testprogs/struct_walk.c:29:17: note: Assignment 'c=(struct C*)malloc(sizeof(struct C)*size)', assigned value is 0 bpftrace-0.26.1/tests/testprogs/struct_walk.c:32:5: note: Null pointer dereference bpftrace-0.26.1/tests/testprogs/uprobe_library.c:7:31: warning: If resource allocation fails, then there is a possible null pointer dereference: fd [nullPointerOutOfResources] bpftrace-0.26.1/tests/testprogs/uprobe_library.c:6:19: note: Assuming allocation function fails bpftrace-0.26.1/tests/testprogs/uprobe_library.c:6:19: note: Assignment 'fd=fopen("/dev/zero","r")', assigned value is 0 bpftrace-0.26.1/tests/testprogs/uprobe_library.c:7:31: note: Null pointer dereference bpftrace-0.26.1/src/btf/btf.cpp:754:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable handle_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/symbols/elf_parser.cpp:184:5: error: Resource leak: fd [resourceLeak] bpftrace-0.26.1/tests/ast.cpp:441:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Identifier [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/btf.cpp:30:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable btf_data [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/testprogs/struct_walk.c:33:5: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] bpftrace-0.26.1/tests/testprogs/struct_walk.c:29:34: note: Assuming allocation function fails bpftrace-0.26.1/tests/testprogs/struct_walk.c:29:17: note: Assignment 'c=(struct C*)malloc(sizeof(struct C)*size)', assigned value is 0 bpftrace-0.26.1/tests/testprogs/struct_walk.c:33:5: note: Null pointer dereference bpftrace-0.26.1/src/btf/btf.cpp:792:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/ast.cpp:490:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Identifier [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/btf.cpp:67:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable map_type [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/testprogs/nanosleep_loop.c:18:15: style: Variable 'req.tv_nsec' is reassigned a value before the old one has been used. [redundantAssignment] bpftrace-0.26.1/tests/testprogs/nanosleep_loop.c:15:15: note: req.tv_nsec is assigned bpftrace-0.26.1/tests/testprogs/nanosleep_loop.c:18:15: note: req.tv_nsec is overwritten bpftrace-0.26.1/tests/ast.cpp:630:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RETURN [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/btf.cpp:175:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/ast.cpp:764:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Identifier [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/btf.cpp:204:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/util/system.cpp:227:21: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] bpftrace-0.26.1/tests/ast.cpp:867:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable loc [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/btf.cpp:315:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Global [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/ast.cpp:888:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable loc [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/btf.cpp:338:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Global [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/testprogs/usdt_semaphore_test.c:30:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] bpftrace-0.26.1/tests/btf.cpp:535:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_MAP_TYPE_HASH [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/testprogs/bitfield_test.c:10:57: style: Parameter 'foo' can be declared as pointer to const [constParameterPointer] bpftrace-0.26.1/tests/testprogs/usdt_test.c:25:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] bpftrace-0.26.1/src/ast/passes/builtins.cpp:42:52: performance: Function parameter 'name' should be passed by const reference. [passedByValue] bpftrace-0.26.1/tests/testprogs/array_access.c:22:22: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] bpftrace-0.26.1/tests/testprogs/bitfield_test.c:14:51: style: Parameter 'bar' can be declared as pointer to const [constParameterPointer] bpftrace-0.26.1/tests/testprogs/watchpoint.c:34:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] bpftrace-0.26.1/tests/testprogs/array_access.c:26:28: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] bpftrace-0.26.1/tests/testprogs/watchpoint_func.c:16:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] bpftrace-0.26.1/src/ast/passes/builtins.cpp:304:28: style: Parameter 'ast' can be declared as reference to const [constParameterReference] bpftrace-0.26.1/src/ast/passes/fold_literals.cpp:18:3: style: Class 'LiteralFolder' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpftrace-0.26.1/tests/testprogs/array_access.c:27:28: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] bpftrace-0.26.1/src/usyms.h:23:3: style: Class 'Usyms' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpftrace-0.26.1/tests/testprogs/array_access.c:31:28: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] bpftrace-0.26.1/src/ast/passes/field_analyser.cpp:63:36: style: Parameter 'builtin' can be declared as reference to const [constParameterReference] bpftrace-0.26.1/tests/testprogs/array_access.c:32:28: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] bpftrace-0.26.1/tests/testprogs/array_access.c:36:31: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] bpftrace-0.26.1/tests/testprogs/fentry_args.c:6:26: style: Parameter 'argv' can be declared as const array [constParameter] bpftrace-0.26.1/tests/testprogs/intptrcast.c:3:17: style: Parameter 'nums' can be declared as const array [constParameter] bpftrace-0.26.1/tests/testprogs/watchpoint_threaded.c:28:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] bpftrace-0.26.1/tests/testprogs/array_access.c:40:36: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] bpftrace-0.26.1/tests/testprogs/work_loop.c:14:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] bpftrace-0.26.1/src/dwarf/dwunwind_table.cpp:298:5: style: Variable 'n' is reassigned a value before the old one has been used. [redundantAssignment] bpftrace-0.26.1/src/dwarf/dwunwind_table.cpp:295:5: note: n is assigned bpftrace-0.26.1/src/dwarf/dwunwind_table.cpp:298:5: note: n is overwritten bpftrace-0.26.1/src/ast/passes/tracepoint_format_parser.cpp:130:18: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use resize() or pop_back() instead. [uselessCallsSubstr] bpftrace-0.26.1/tests/testprogs/syscall.c:172:5: error: Resource leak: socket_desc [resourceLeak] bpftrace-0.26.1/tests/testprogs/syscall.c:176:5: error: Resource leak: socket_desc [resourceLeak] bpftrace-0.26.1/tests/testprogs/mmap_exec.c:11:26: style: Parameter 'argv' can be declared as const array [constParameter] bpftrace-0.26.1/src/btf/helpers.cpp:16:12: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] bpftrace-0.26.1/tests/data/data_source.c:13:7: style: struct member 'Foo1::a' is never used. [unusedStructMember] bpftrace-0.26.1/tests/data/data_source_cxx.cpp:65:19: style: Parameter 'c' can be declared as reference to const [constParameterReference] bpftrace-0.26.1/tests/testprogs/simple_struct.c:6:22: style: Parameter 'foo' can be declared as pointer to const [constParameterPointer] bpftrace-0.26.1/src/ast/passes/types/type_checker.cpp:92:8: style:inconclusive: Either there is a missing 'override', or the member function 'bpftrace::ast::::TypeChecker::in_loop' can be const. [functionConst] bpftrace-0.26.1/tests/data/data_source.c:14:8: style: struct member 'Foo1::b' is never used. [unusedStructMember] bpftrace-0.26.1/tests/data/data_source_cxx.cpp:65:30: style: Parameter 'p' can be declared as reference to const [constParameterReference] bpftrace-0.26.1/tests/testprogs/syscall.c:76:10: warning: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] bpftrace-0.26.1/tests/testprogs/syscall.c:75:30: note: Assuming allocation function fails bpftrace-0.26.1/tests/testprogs/syscall.c:75:16: note: Assignment 'path=(char*)malloc((path_len+1)*sizeof(char))', assigned value is 0 bpftrace-0.26.1/tests/testprogs/syscall.c:76:10: note: Null pointer dereference bpftrace-0.26.1/tests/data/data_source.c:15:8: style: struct member 'Foo1::c' is never used. [unusedStructMember] bpftrace-0.26.1/tests/data/data_source_cxx.cpp:70:24: style: Parameter 'lc' can be declared as reference to const [constParameterReference] bpftrace-0.26.1/tests/testprogs/mountns_wrapper.c:42:26: style: Parameter 'argv' can be declared as const array [constParameter] bpftrace-0.26.1/tests/testprogs/syscall.c:77:11: warning: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] bpftrace-0.26.1/tests/testprogs/syscall.c:75:30: note: Assuming allocation function fails bpftrace-0.26.1/tests/testprogs/syscall.c:75:16: note: Assignment 'path=(char*)malloc((path_len+1)*sizeof(char))', assigned value is 0 bpftrace-0.26.1/tests/testprogs/syscall.c:77:11: note: Null pointer dereference bpftrace-0.26.1/tests/testprogs/watchpoint.c:27:11: warning: If resource allocation fails, then there is a possible null pointer dereference: addr_fp [nullPointerOutOfResources] bpftrace-0.26.1/tests/testprogs/watchpoint.c:22:24: note: Assuming allocation function fails bpftrace-0.26.1/tests/testprogs/watchpoint.c:22:24: note: Assignment 'addr_fp=fopen("/tmp/watchpoint_mem","w")', assigned value is 0 bpftrace-0.26.1/tests/testprogs/watchpoint.c:27:11: note: Null pointer dereference bpftrace-0.26.1/src/ast/irbuilderbpf.cpp:36:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUG [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/map_sugar.cpp:68:63: style: Parameter 'macro_registry' can be declared as reference to const [constParameterReference] bpftrace-0.26.1/tests/data/data_source.c:19:7: style: struct member 'Foo2::a' is never used. [unusedStructMember] bpftrace-0.26.1/tests/data/data_source_cxx.cpp:75:19: style: Parameter 'm' can be declared as reference to const [constParameterReference] bpftrace-0.26.1/tests/testprogs/watchpoint.c:28:10: warning: If resource allocation fails, then there is a possible null pointer dereference: addr_fp [nullPointerOutOfResources] bpftrace-0.26.1/tests/testprogs/watchpoint.c:22:24: note: Assuming allocation function fails bpftrace-0.26.1/tests/testprogs/watchpoint.c:22:24: note: Assignment 'addr_fp=fopen("/tmp/watchpoint_mem","w")', assigned value is 0 bpftrace-0.26.1/tests/testprogs/watchpoint.c:28:10: note: Null pointer dereference bpftrace-0.26.1/tests/testprogs/watchpoint_exec.c:27:10: warning: If memory allocation fails, then there is a possible null pointer dereference: addr [nullPointerOutOfMemory] bpftrace-0.26.1/tests/testprogs/watchpoint_exec.c:16:20: note: Assuming allocation function fails bpftrace-0.26.1/tests/testprogs/watchpoint_exec.c:16:20: note: Assignment 'addr=mmap((void*)0x10000000,len,PROT_READ|PROT_WRITE|PROT_EXEC,MAP_PRIVATE|MAP_ANONYMOUS,-1,0)', assigned value is 0 bpftrace-0.26.1/tests/testprogs/watchpoint_exec.c:27:10: note: Null pointer dereference bpftrace-0.26.1/tests/testprogs/watchpoint_func.c:7:5: warning: If memory allocation fails, then there is a possible null pointer dereference: i [nullPointerOutOfMemory] bpftrace-0.26.1/tests/testprogs/watchpoint_func.c:12:18: note: Assuming allocation function fails bpftrace-0.26.1/tests/testprogs/watchpoint_func.c:12:18: note: Assignment 'i=malloc(sizeof(int))', assigned value is 0 bpftrace-0.26.1/tests/testprogs/watchpoint_func.c:14:18: note: Calling function 'increment', 2nd argument 'i' value is 0 bpftrace-0.26.1/tests/testprogs/watchpoint_func.c:7:5: note: Null pointer dereference bpftrace-0.26.1/tests/testprogs/watchpoint_func_many_probes.c:7:5: warning: If memory allocation fails, then there is a possible null pointer dereference: i [nullPointerOutOfMemory] bpftrace-0.26.1/tests/testprogs/watchpoint_func_many_probes.c:13:21: note: Assuming allocation function fails bpftrace-0.26.1/tests/testprogs/watchpoint_func_many_probes.c:13:21: note: Calling function 'increment', 1st argument 'malloc(sizeof(int))' value is 0 bpftrace-0.26.1/tests/testprogs/watchpoint_func_many_probes.c:7:5: note: Null pointer dereference bpftrace-0.26.1/src/ast/irbuilderbpf.cpp:45:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kernel [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/map_sugar.cpp:188:36: style: Parameter 'program' can be declared as reference to const [constParameterReference] bpftrace-0.26.1/src/util/int_parser.cpp:78:13: style: Checking if unsigned expression 'ret' is less than zero. [unsignedLessThanZero] bpftrace-0.26.1/tests/data/data_source.c:21:17: style: struct member 'Foo2::f' is never used. [unusedStructMember] bpftrace-0.26.1/tests/data/data_source_cxx.cpp:75:30: style: Parameter 'b' can be declared as reference to const [constParameterReference] bpftrace-0.26.1/tests/testprogs/watchpoint.c:32:7: warning: If memory allocation fails, then there is a possible null pointer dereference: (volatile uint8_t*)addr [nullPointerOutOfMemory] bpftrace-0.26.1/tests/testprogs/watchpoint.c:9:29: note: Assuming allocation function fails bpftrace-0.26.1/tests/testprogs/watchpoint.c:9:29: note: Assignment 'addr=mmap((void*)0x10000000,2<<20,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0)', assigned value is 0 bpftrace-0.26.1/tests/testprogs/watchpoint.c:32:7: note: Null pointer dereference bpftrace-0.26.1/tests/testprogs/watchpoint_exec.c:31:5: warning: If memory allocation fails, then there is a possible null pointer dereference: func [nullPointerOutOfMemory] bpftrace-0.26.1/tests/testprogs/watchpoint_exec.c:16:20: note: Assuming allocation function fails bpftrace-0.26.1/tests/testprogs/watchpoint_exec.c:16:20: note: Assignment 'addr=mmap((void*)0x10000000,len,PROT_READ|PROT_WRITE|PROT_EXEC,MAP_PRIVATE|MAP_ANONYMOUS,-1,0)', assigned value is 0 bpftrace-0.26.1/tests/testprogs/watchpoint_exec.c:29:8: note: func is assigned 'addr' here. bpftrace-0.26.1/tests/testprogs/watchpoint_exec.c:31:5: note: Null pointer dereference bpftrace-0.26.1/tests/testprogs/watchpoint_func.c:15:7: warning: If memory allocation fails, then there is a possible null pointer dereference: i [nullPointerOutOfMemory] bpftrace-0.26.1/tests/testprogs/watchpoint_func.c:12:18: note: Assuming allocation function fails bpftrace-0.26.1/tests/testprogs/watchpoint_func.c:12:18: note: Assignment 'i=malloc(sizeof(int))', assigned value is 0 bpftrace-0.26.1/tests/testprogs/watchpoint_func.c:15:7: note: Null pointer dereference bpftrace-0.26.1/src/ast/irbuilderbpf.cpp:153:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable build_id [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/data/data_source.c:23:12: style: struct member 'Foo2::g' is never used. [unusedStructMember] bpftrace-0.26.1/tests/testprogs/struct_with_union.c:11:22: style: Parameter 'foo' can be declared as pointer to const [constParameterPointer] bpftrace-0.26.1/tests/testprogs/watchpoint_exec.c:33:14: warning: If memory allocation fails, then there is a possible null pointer dereference: addr [nullPointerOutOfMemory] bpftrace-0.26.1/tests/testprogs/watchpoint_exec.c:16:20: note: Assuming allocation function fails bpftrace-0.26.1/tests/testprogs/watchpoint_exec.c:16:20: note: Assignment 'addr=mmap((void*)0x10000000,len,PROT_READ|PROT_WRITE|PROT_EXEC,MAP_PRIVATE|MAP_ANONYMOUS,-1,0)', assigned value is 0 bpftrace-0.26.1/tests/testprogs/watchpoint_exec.c:33:14: note: Null pointer dereference bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:13:1: warning: If memory allocation fails, then there is a possible null pointer dereference: i [nullPointerOutOfMemory] bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:37:3: note: Assuming allocation function fails bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:37:3: note: Calling function 'increment_0', 1st argument 'malloc(sizeof(int))' value is 0 bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:13:1: note: Null pointer dereference bpftrace-0.26.1/src/ast/irbuilderbpf.cpp:218:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ExternalLinkage [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/data/data_source.c:36:7: style: struct member 'Foo4::pid' is never used. [unusedStructMember] bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:14:1: warning: If memory allocation fails, then there is a possible null pointer dereference: i [nullPointerOutOfMemory] bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:38:3: note: Assuming allocation function fails bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:38:3: note: Calling function 'increment_1', 1st argument 'malloc(sizeof(int))' value is 0 bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:14:1: note: Null pointer dereference bpftrace-0.26.1/tests/testprogs/watchpoint_unwatch.c:7:5: warning: If memory allocation fails, then there is a possible null pointer dereference: i [nullPointerOutOfMemory] bpftrace-0.26.1/tests/testprogs/watchpoint_unwatch.c:12:18: note: Assuming allocation function fails bpftrace-0.26.1/tests/testprogs/watchpoint_unwatch.c:12:18: note: Assignment 'i=malloc(sizeof(int))', assigned value is 0 bpftrace-0.26.1/tests/testprogs/watchpoint_unwatch.c:13:13: note: Calling function 'increment', 1st argument 'i' value is 0 bpftrace-0.26.1/tests/testprogs/watchpoint_unwatch.c:7:5: note: Null pointer dereference bpftrace-0.26.1/src/ast/irbuilderbpf.cpp:310:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_FUNC_probe_read_kernel [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/data/data_source.c:37:7: style: struct member 'Foo4::pgid' is never used. [unusedStructMember] bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:15:1: warning: If memory allocation fails, then there is a possible null pointer dereference: i [nullPointerOutOfMemory] bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:39:3: note: Assuming allocation function fails bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:39:3: note: Calling function 'increment_2', 1st argument 'malloc(sizeof(int))' value is 0 bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:15:1: note: Null pointer dereference bpftrace-0.26.1/tests/testprogs/watchpoint_threaded.c:26:7: warning: If memory allocation fails, then there is a possible null pointer dereference: (volatile uint8_t*)addr [nullPointerOutOfMemory] bpftrace-0.26.1/tests/testprogs/watchpoint_threaded.c:12:29: note: Assuming allocation function fails bpftrace-0.26.1/tests/testprogs/watchpoint_threaded.c:12:29: note: Assignment 'addr=mmap((void*)0x10000000,2<<20,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0)', assigned value is 0 bpftrace-0.26.1/tests/testprogs/watchpoint_threaded.c:26:7: note: Null pointer dereference bpftrace-0.26.1/tests/testprogs/watchpoint_unwatch.c:19:5: warning: If memory allocation fails, then there is a possible null pointer dereference: i [nullPointerOutOfMemory] bpftrace-0.26.1/tests/testprogs/watchpoint_unwatch.c:12:18: note: Assuming allocation function fails bpftrace-0.26.1/tests/testprogs/watchpoint_unwatch.c:12:18: note: Assignment 'i=malloc(sizeof(int))', assigned value is 0 bpftrace-0.26.1/tests/testprogs/watchpoint_unwatch.c:19:5: note: Null pointer dereference bpftrace-0.26.1/tests/utils.cpp:156:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/irbuilderbpf.cpp:347:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_FUNC_probe_read_kernel [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/data/data_source.c:39:16: style: struct member 'Foo4::a' is never used. [unusedStructMember] bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:16:1: warning: If memory allocation fails, then there is a possible null pointer dereference: i [nullPointerOutOfMemory] bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:40:3: note: Assuming allocation function fails bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:40:3: note: Calling function 'increment_3', 1st argument 'malloc(sizeof(int))' value is 0 bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:16:1: note: Null pointer dereference bpftrace-0.26.1/tests/testprogs/watchpoint_unwatch.c:20:5: warning: If memory allocation fails, then there is a possible null pointer dereference: i [nullPointerOutOfMemory] bpftrace-0.26.1/tests/testprogs/watchpoint_unwatch.c:12:18: note: Assuming allocation function fails bpftrace-0.26.1/tests/testprogs/watchpoint_unwatch.c:12:18: note: Assignment 'i=malloc(sizeof(int))', assigned value is 0 bpftrace-0.26.1/tests/testprogs/watchpoint_unwatch.c:20:5: note: Null pointer dereference bpftrace-0.26.1/tests/utils.cpp:162:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/irbuilderbpf.cpp:427:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUG [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/data/data_source.c:40:16: style: struct member 'Foo4::b' is never used. [unusedStructMember] bpftrace-0.26.1/tests/testprogs/mountns_pivot_wrapper.c:26:9: style: Variable 'subpath' can be declared as pointer to const [constVariablePointer] bpftrace-0.26.1/tests/testprogs/uprobe_fork_loop.c:5:26: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:17:1: warning: If memory allocation fails, then there is a possible null pointer dereference: i [nullPointerOutOfMemory] bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:41:3: note: Assuming allocation function fails bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:41:3: note: Calling function 'increment_4', 1st argument 'malloc(sizeof(int))' value is 0 bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:17:1: note: Null pointer dereference bpftrace-0.26.1/tests/testprogs/watchpoint_unwatch.c:21:5: warning: If memory allocation fails, then there is a possible null pointer dereference: i [nullPointerOutOfMemory] bpftrace-0.26.1/tests/testprogs/watchpoint_unwatch.c:12:18: note: Assuming allocation function fails bpftrace-0.26.1/tests/testprogs/watchpoint_unwatch.c:12:18: note: Assignment 'i=malloc(sizeof(int))', assigned value is 0 bpftrace-0.26.1/tests/testprogs/watchpoint_unwatch.c:21:5: note: Null pointer dereference bpftrace-0.26.1/tests/utils.cpp:452:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/irbuilderbpf.cpp:481:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable helper_use_loc_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/data/data_source.c:41:16: style: struct member 'Foo4::c' is never used. [unusedStructMember] bpftrace-0.26.1/tests/testprogs/mountns_pivot_wrapper.c:55:26: style: Parameter 'argv' can be declared as const array [constParameter] bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:18:1: warning: If memory allocation fails, then there is a possible null pointer dereference: i [nullPointerOutOfMemory] bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:42:3: note: Assuming allocation function fails bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:42:3: note: Calling function 'increment_5', 1st argument 'malloc(sizeof(int))' value is 0 bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:18:1: note: Null pointer dereference bpftrace-0.26.1/tests/testprogs/watchpoint_unwatch.c:22:5: warning: If memory allocation fails, then there is a possible null pointer dereference: i [nullPointerOutOfMemory] bpftrace-0.26.1/tests/testprogs/watchpoint_unwatch.c:12:18: note: Assuming allocation function fails bpftrace-0.26.1/tests/testprogs/watchpoint_unwatch.c:12:18: note: Assignment 'i=malloc(sizeof(int))', assigned value is 0 bpftrace-0.26.1/tests/testprogs/watchpoint_unwatch.c:22:5: note: Null pointer dereference bpftrace-0.26.1/src/ast/irbuilderbpf.cpp:537:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_FUNC_map_lookup_elem [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/util/tseries.cpp:34:33: performance: Searching before insertion is not necessary. Instead of 'epoch_to_value[v.epoch]=v' consider using 'epoch_to_value.try_emplace(v.epoch, v);'. [stlFindInsert] bpftrace-0.26.1/tests/data/data_source.c:42:16: style: struct member 'Foo4::d' is never used. [unusedStructMember] bpftrace-0.26.1/tests/testprogs/struct_walk.c:18:22: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] bpftrace-0.26.1/tests/testprogs/uprobe_loop.c:3:26: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:19:1: warning: If memory allocation fails, then there is a possible null pointer dereference: i [nullPointerOutOfMemory] bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:43:3: note: Assuming allocation function fails bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:43:3: note: Calling function 'increment_6', 1st argument 'malloc(sizeof(int))' value is 0 bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:19:1: note: Null pointer dereference bpftrace-0.26.1/src/ast/irbuilderbpf.cpp:557:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_FUNC_map_lookup_percpu_elem [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/data/data_source.c:96:16: style: struct member 'ArrayWithCompoundData::data' is never used. [unusedStructMember] bpftrace-0.26.1/tests/testprogs/uprobe_nofp.c:16:3: warning: Unused variable value 'sink' [constStatement] bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:20:1: warning: If memory allocation fails, then there is a possible null pointer dereference: i [nullPointerOutOfMemory] bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:44:3: note: Assuming allocation function fails bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:44:3: note: Calling function 'increment_7', 1st argument 'malloc(sizeof(int))' value is 0 bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:20:1: note: Null pointer dereference bpftrace-0.26.1/src/ast/irbuilderbpf.cpp:566:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable max_strlen [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/data/data_source.c:106:21: style: struct member 'anon_structs::AnonTypedefArray' is never used. [unusedStructMember] bpftrace-0.26.1/tests/testprogs/uprobe_nofp.c:22:3: warning: Unused variable value 'sink' [constStatement] bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:21:1: warning: If memory allocation fails, then there is a possible null pointer dereference: i [nullPointerOutOfMemory] bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:45:3: note: Assuming allocation function fails bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:45:3: note: Calling function 'increment_8', 1st argument 'malloc(sizeof(int))' value is 0 bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:21:1: note: Null pointer dereference bpftrace-0.26.1/src/ast/irbuilderbpf.cpp:580:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FMT_STRINGS_BUFFER [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/data/data_source.c:114:5: style: struct member 'anon_structs::AnonArray' is never used. [unusedStructMember] bpftrace-0.26.1/tests/testprogs/uprobe_nofp.c:28:3: warning: Unused variable value 'sink' [constStatement] bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:22:1: warning: If memory allocation fails, then there is a possible null pointer dereference: i [nullPointerOutOfMemory] bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:46:3: note: Assuming allocation function fails bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:46:3: note: Calling function 'increment_9', 1st argument 'malloc(sizeof(int))' value is 0 bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:22:1: note: Null pointer dereference bpftrace-0.26.1/src/ast/irbuilderbpf.cpp:611:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JOIN_BUFFER [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/data/data_source.c:108:9: style: struct member 'Anonymous0::a' is never used. [unusedStructMember] bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:23:1: warning: If memory allocation fails, then there is a possible null pointer dereference: i [nullPointerOutOfMemory] bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:47:3: note: Assuming allocation function fails bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:47:3: note: Calling function 'increment_10', 1st argument 'malloc(sizeof(int))' value is 0 bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:23:1: note: Null pointer dereference bpftrace-0.26.1/src/ast/irbuilderbpf.cpp:680:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable on_stack_limit [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/data/data_source.c:109:9: style: struct member 'Anonymous0::b' is never used. [unusedStructMember] bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:24:1: warning: If memory allocation fails, then there is a possible null pointer dereference: i [nullPointerOutOfMemory] bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:48:3: note: Assuming allocation function fails bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:48:3: note: Calling function 'increment_11', 1st argument 'malloc(sizeof(int))' value is 0 bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:24:1: note: Null pointer dereference bpftrace-0.26.1/src/ast/irbuilderbpf.cpp:709:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable resources [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/ap_probe_expansion.cpp:117:40: style: Parameter 'builtin' can be declared as reference to const [constParameterReference] bpftrace-0.26.1/tests/data/data_source.c:113:7: style: struct member 'Anonymous0::AnonSubArray' is never used. [unusedStructMember] bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:25:1: warning: If memory allocation fails, then there is a possible null pointer dereference: i [nullPointerOutOfMemory] bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:49:3: note: Assuming allocation function fails bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:49:3: note: Calling function 'increment_12', 1st argument 'malloc(sizeof(int))' value is 0 bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:25:1: note: Null pointer dereference bpftrace-0.26.1/src/ast/irbuilderbpf.cpp:776:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_FUNC_map_lookup_elem [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/ap_probe_expansion.cpp:169:55: style: Parameter 'probe' can be declared as reference to const [constParameterReference] bpftrace-0.26.1/tests/data/data_source.c:111:11: style: struct member 'Anonymous1::c' is never used. [unusedStructMember] bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:26:1: warning: If memory allocation fails, then there is a possible null pointer dereference: i [nullPointerOutOfMemory] bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:50:3: note: Assuming allocation function fails bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:50:3: note: Calling function 'increment_13', 1st argument 'malloc(sizeof(int))' value is 0 bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:26:1: note: Null pointer dereference bpftrace-0.26.1/src/ast/irbuilderbpf.cpp:839:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_CPUS [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/data/data_source.c:112:11: style: struct member 'Anonymous1::d' is never used. [unusedStructMember] bpftrace-0.26.1/tests/testprogs/uprobe_test.c:21:26: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:27:1: warning: If memory allocation fails, then there is a possible null pointer dereference: i [nullPointerOutOfMemory] bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:51:3: note: Assuming allocation function fails bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:51:3: note: Calling function 'increment_14', 1st argument 'malloc(sizeof(int))' value is 0 bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:27:1: note: Null pointer dereference bpftrace-0.26.1/src/ast/irbuilderbpf.cpp:1102:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_FUNC_map_update_elem [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/data/data_source.c:127:7: style: struct member 'task_struct::pid' is never used. [unusedStructMember] bpftrace-0.26.1/tests/testprogs/uprobe_test.c:27:41: style: Parameter 'foo2' can be declared as pointer to const [constParameterPointer] bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:28:1: warning: If memory allocation fails, then there is a possible null pointer dereference: i [nullPointerOutOfMemory] bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:52:3: note: Assuming allocation function fails bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:52:3: note: Calling function 'increment_15', 1st argument 'malloc(sizeof(int))' value is 0 bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:28:1: note: Null pointer dereference bpftrace-0.26.1/src/ast/irbuilderbpf.cpp:1141:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_FUNC_loop [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/data/data_source.c:128:7: style: struct member 'task_struct::pgid' is never used. [unusedStructMember] bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:29:1: warning: If memory allocation fails, then there is a possible null pointer dereference: i [nullPointerOutOfMemory] bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:53:3: note: Assuming allocation function fails bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:53:3: note: Calling function 'increment_16', 1st argument 'malloc(sizeof(int))' value is 0 bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:29:1: note: Null pointer dereference bpftrace-0.26.1/src/ast/irbuilderbpf.cpp:1181:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_FUNC_for_each_map_elem [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/data/data_source.c:132:7: style: struct member 'file::ino' is never used. [unusedStructMember] bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:30:1: warning: If memory allocation fails, then there is a possible null pointer dereference: i [nullPointerOutOfMemory] bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:54:3: note: Assuming allocation function fails bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:54:3: note: Calling function 'increment_17', 1st argument 'malloc(sizeof(int))' value is 0 bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:30:1: note: Null pointer dereference bpftrace-0.26.1/src/ast/irbuilderbpf.cpp:1198:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RecursionPrevention [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/data/data_source.c:136:17: style: struct member 'vm_area_struct::vm_start' is never used. [unusedStructMember] bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:31:1: warning: If memory allocation fails, then there is a possible null pointer dereference: i [nullPointerOutOfMemory] bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:55:3: note: Assuming allocation function fails bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:55:3: note: Calling function 'increment_18', 1st argument 'malloc(sizeof(int))' value is 0 bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:31:1: note: Null pointer dereference bpftrace-0.26.1/src/ast/irbuilderbpf.cpp:1264:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RecursionPrevention [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/util/int_parser.cpp:82:11: style: Variable 'exp' can be declared as pointer to const [constVariablePointer] bpftrace-0.26.1/tests/data/data_source.c:137:17: style: struct member 'vm_area_struct::vm_end' is never used. [unusedStructMember] bpftrace-0.26.1/tests/testprogs/array_access.c:17:7: style: struct member 'D::x' is never used. [unusedStructMember] bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:32:1: warning: If memory allocation fails, then there is a possible null pointer dereference: i [nullPointerOutOfMemory] bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:56:3: note: Assuming allocation function fails bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:56:3: note: Calling function 'increment_19', 1st argument 'malloc(sizeof(int))' value is 0 bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:32:1: note: Null pointer dereference bpftrace-0.26.1/tests/tracepoint_format_parser.cpp:359:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable user [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/irbuilderbpf.cpp:1482:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUG [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/bpftrace.cpp:883:14: warning: Member variable 'TestCase::top' has no initializer. [uninitMemberVarNoCtor] bpftrace-0.26.1/tests/data/data_source.c:141:23: style: struct member 'bpf_iter__task::task' is never used. [unusedStructMember] bpftrace-0.26.1/tests/testprogs/array_access.c:18:7: style: struct member 'D::y' is never used. [unusedStructMember] bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:33:1: warning: If memory allocation fails, then there is a possible null pointer dereference: i [nullPointerOutOfMemory] bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:57:3: note: Assuming allocation function fails bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:57:3: note: Calling function 'increment_20', 1st argument 'malloc(sizeof(int))' value is 0 bpftrace-0.26.1/tests/testprogs/watchpoint_func_wildcard.c:33:1: note: Null pointer dereference bpftrace-0.26.1/src/ast/irbuilderbpf.cpp:1534:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_FUNC_jiffies64 [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/bpftrace.cpp:884:14: warning: Member variable 'TestCase::div' has no initializer. [uninitMemberVarNoCtor] bpftrace-0.26.1/tests/data/data_source.c:145:23: style: struct member 'bpf_iter__task_file::task' is never used. [unusedStructMember] bpftrace-0.26.1/src/ast/irbuilderbpf.cpp:1596:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MD_loop [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/bpftrace.cpp:958:14: warning: Member variable 'TestCase::top' has no initializer. [uninitMemberVarNoCtor] bpftrace-0.26.1/tests/data/data_source.c:146:16: style: struct member 'bpf_iter__task_file::file' is never used. [unusedStructMember] bpftrace-0.26.1/src/ast/irbuilderbpf.cpp:1657:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_FUNC_get_current_pid_tgid [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/bpftrace.cpp:959:14: warning: Member variable 'TestCase::div' has no initializer. [uninitMemberVarNoCtor] bpftrace-0.26.1/tests/data/data_source.c:150:23: style: struct member 'bpf_iter__task_vma::task' is never used. [unusedStructMember] bpftrace-0.26.1/src/ast/irbuilderbpf.cpp:1685:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_FUNC_get_ns_current_pid_tgid [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/util/system.cpp:90:21: style: Local variable 'ec' shadows outer variable [shadowVariable] bpftrace-0.26.1/src/util/system.cpp:71:19: note: Shadowed variable bpftrace-0.26.1/src/util/system.cpp:90:21: note: Shadow local variable bpftrace-0.26.1/tests/bpftrace.cpp:1035:14: warning: Member variable 'TestCase::top' has no initializer. [uninitMemberVarNoCtor] bpftrace-0.26.1/tests/data/data_source.c:151:26: style: struct member 'bpf_iter__task_vma::vma' is never used. [unusedStructMember] bpftrace-0.26.1/src/ast/irbuilderbpf.cpp:1709:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_FUNC_get_current_cgroup_id [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/dwarf/dwunwind_loader.cpp:88:17: style: Unused variable: name [unusedVariable] bpftrace-0.26.1/tests/bpftrace.cpp:1036:14: warning: Member variable 'TestCase::div' has no initializer. [uninitMemberVarNoCtor] bpftrace-0.26.1/tests/data/data_source.c:182:7: style: struct member 'sock::cookie' is never used. [unusedStructMember] bpftrace-0.26.1/src/ast/irbuilderbpf.cpp:1722:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_FUNC_get_current_uid_gid [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/bpftrace.cpp:1111:14: warning: Member variable 'TestCase::top' has no initializer. [uninitMemberVarNoCtor] bpftrace-0.26.1/src/ast/irbuilderbpf.cpp:1735:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_FUNC_get_smp_processor_id [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/bpftrace.cpp:1112:14: warning: Member variable 'TestCase::div' has no initializer. [uninitMemberVarNoCtor] bpftrace-0.26.1/tests/data/data_source.c:196:25: style: Unused variable: iter_task [unusedVariable] bpftrace-0.26.1/src/ast/irbuilderbpf.cpp:1748:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_FUNC_get_current_task [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/mocks.h:42:26: performance: Function parameter 'name' should be passed by const reference. [passedByValue] bpftrace-0.26.1/tests/bpftrace.cpp:1180:14: warning: Member variable 'TestCase::top' has no initializer. [uninitMemberVarNoCtor] bpftrace-0.26.1/tests/data/data_source.c:197:30: style: Unused variable: iter_task_file [unusedVariable] bpftrace-0.26.1/tests/testprogs/syscall.c:31:35: style: Parameter 'argv' can be declared as const array [constParameter] bpftrace-0.26.1/src/ast/irbuilderbpf.cpp:1761:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_FUNC_get_prandom_u32 [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/symbols/elf_parser.cpp:118:74: style: Parameter 'nhdr' can be declared as pointer to const [constParameterPointer] bpftrace-0.26.1/tests/mocks.h:181:46: performance: Function parameter 'cmd' should be passed by const reference. [passedByValue] bpftrace-0.26.1/tests/bpftrace.cpp:1181:14: warning: Member variable 'TestCase::div' has no initializer. [uninitMemberVarNoCtor] bpftrace-0.26.1/tests/data/data_source.c:198:29: style: Unused variable: iter_task_vma [unusedVariable] bpftrace-0.26.1/tests/testprogs/syscall.c:152:33: style: Parameter 'argv' can be declared as const array [constParameter] bpftrace-0.26.1/src/ast/irbuilderbpf.cpp:1777:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable build_id [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/bpftrace.cpp:1274:14: warning: Member variable 'TestCase::top' has no initializer. [uninitMemberVarNoCtor] bpftrace-0.26.1/tests/data/data_source.c:201:16: style: Unused variable: e [unusedVariable] bpftrace-0.26.1/src/ast/irbuilderbpf.cpp:1811:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_FUNC_get_func_ip [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/bpftrace.cpp:1275:14: warning: Member variable 'TestCase::div' has no initializer. [uninitMemberVarNoCtor] bpftrace-0.26.1/tests/testprogs/struct_with_union.c:3:9: style: union member 'N::f' is never used. [unusedStructMember] bpftrace-0.26.1/src/ast/irbuilderbpf.cpp:1829:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_FUNC_per_cpu_ptr [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/irbuilderbpf.cpp:1846:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_FUNC_this_cpu_ptr [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/testprogs/watchpoint_threaded.c:34:26: style: Parameter 'argv' can be declared as const array [constParameter] bpftrace-0.26.1/src/ast/irbuilderbpf.cpp:1866:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_FUNC_get_current_comm [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/irbuilderbpf.cpp:1882:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_FUNC_get_socket_cookie [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/irbuilderbpf.cpp:1900:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ringbuf [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/irbuilderbpf.cpp:1934:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EVENT_LOSS_COUNTER [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/irbuilderbpf.cpp:1947:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_ANY [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/irbuilderbpf.cpp:2008:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_FUNC_trace_printk [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/irbuilderbpf.cpp:2028:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_FUNC_send_signal [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/irbuilderbpf.cpp:2049:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PerfEvent [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/irbuilderbpf.cpp:2152:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUG [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/irbuilderbpf.cpp:2208:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __BPF_FUNC_MAX_ID [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/required_resources.cpp:137:11: style: Variable 'probe' can be declared as reference to const [constVariableReference] bpftrace-0.26.1/src/ast/irbuilderbpf.cpp:2216:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HELPER_ERROR [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/irbuilderbpf.cpp:2254:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable warning_level_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/irbuilderbpf.cpp:2286:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_FUNC_d_path [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/irbuilderbpf.cpp:2312:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_FUNC_seq_printf [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/irbuilderbpf.cpp:2408:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable preserve_static_offset_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/irbuilderbpf.cpp:2485:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DIV [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/control_flow_analyser.cpp:73:20: style: Parameter 'jump' can be declared as reference to const [constParameterReference] bpftrace-0.26.1/tests/async_action.cpp:324:3: error: Resource leak: fd [resourceLeak] bpftrace-0.26.1/tests/async_action.cpp:325:3: error: Resource leak: fd [resourceLeak] bpftrace-0.26.1/tests/testprogs/uprobe_test_cxx.cpp:13:26: style: Parameter 'x' can be declared as reference to const [constParameterReference] bpftrace-0.26.1/tests/testprogs/uprobe_test_cxx.cpp:13:34: style: Parameter 'foo' can be declared as reference to const [constParameterReference] bpftrace-0.26.1/tests/data/data_source_cxx.cpp:52:7: style: struct member 'Bottom::w' is never used. [unusedStructMember] bpftrace-0.26.1/tests/testprogs/uprobe_test_cxx.cpp:13:44: style: Parameter 'bar' can be declared as reference to const [constParameterReference] bpftrace-0.26.1/src/ast/passes/macro_expansion.cpp:434:58: performance: Function parameter 'original_ident' should be passed by const reference. [passedByValue] bpftrace-0.26.1/tests/testprogs/uprobe_test_cxx.cpp:18:23: style: Parameter 'array' can be declared as const array [constParameterReference] bpftrace-0.26.1/src/ast/passes/macro_expansion.cpp:21:29: style: Parameter 'macro' can be declared as pointer to const [constParameterPointer] bpftrace-0.26.1/src/util/system.cpp:283:22: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use resize() or pop_back() instead. [uselessCallsSubstr] bpftrace-0.26.1/src/util/system.cpp:117:15: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] bpftrace-0.26.1/src/util/system.cpp:256:20: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] bpftrace-0.26.1/src/util/system.cpp:261:11: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] bpftrace-0.26.1/tests/child.cpp:250:9: style: Variable 'old_path' can be declared as pointer to const [constVariablePointer] bpftrace-0.26.1/tests/pass_manager.cpp:155:16: style: Variable 'callback' can be declared as reference to const [constVariableReference] bpftrace-0.26.1/src/dwarf/dwunwind.cpp:795:17: style: The scope of the variable 'path' can be reduced. [variableScope] bpftrace-0.26.1/src/util/paths.cpp:156:23: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] bpftrace-0.26.1/src/ast/passes/resource_analyser.cpp:279:11: style: Variable 'min' can be declared as reference to const [constVariableReference] bpftrace-0.26.1/src/ast/passes/resource_analyser.cpp:280:11: style: Variable 'max' can be declared as reference to const [constVariableReference] bpftrace-0.26.1/src/ast/passes/resource_analyser.cpp:281:11: style: Variable 'step' can be declared as reference to const [constVariableReference] bpftrace-0.26.1/src/ast/passes/resource_analyser.cpp:303:11: style: Variable 'interval_ns' can be declared as reference to const [constVariableReference] bpftrace-0.26.1/src/ast/passes/resource_analyser.cpp:304:11: style: Variable 'num_intervals' can be declared as reference to const [constVariableReference] bpftrace-0.26.1/src/dwarf/dwunwind.cpp:89:49: style: Parameter 'ix' can be declared as reference to const [constParameterReference] bpftrace-0.26.1/src/ast/passes/resource_analyser.cpp:314:13: style: Variable 'agg_func' can be declared as reference to const [constVariableReference] bpftrace-0.26.1/src/ast/passes/resource_analyser.cpp:386:13: style: Variable 'name' can be declared as reference to const [constVariableReference] bpftrace-0.26.1/src/ast/passes/resource_analyser.cpp:662:25: style: Parameter 'type_map' can be declared as reference to const [constParameterReference] bpftrace-0.26.1/src/ast/passes/resource_analyser.cpp:259:10: style: Variable 'map' can be declared as pointer to const [constVariablePointer] bpftrace-0.26.1/src/util/proc.cpp:536:10: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] bpftrace-0.26.1/src/ast/passes/clang_parser.cpp:281:12: style: Local variable 'size' shadows outer variable [shadowVariable] bpftrace-0.26.1/src/ast/passes/clang_parser.cpp:243:8: note: Shadowed variable bpftrace-0.26.1/src/ast/passes/clang_parser.cpp:281:12: note: Shadow local variable bpftrace-0.26.1/src/ast/passes/resource_analyser.cpp:275:10: style: Variable 'map' can be declared as pointer to const [constVariablePointer] bpftrace-0.26.1/src/ast/passes/clang_parser.cpp:359:38: style: Argument 'args' shadows outer member [shadowMember] bpftrace-0.26.1/src/ast/passes/clang_parser.cpp:80:29: note: Shadowed member bpftrace-0.26.1/src/ast/passes/clang_parser.cpp:359:38: note: Shadow argument bpftrace-0.26.1/src/ast/passes/resource_analyser.cpp:298:10: style: Variable 'map' can be declared as pointer to const [constVariablePointer] bpftrace-0.26.1/src/ast/passes/resolve_imports.cpp:295:44: style: Parameter 'ast' can be declared as reference to const [constParameterReference] bpftrace-0.26.1/src/ast/passes/clang_parser.cpp:340:11: style: Variable 'msg' can be declared as reference to const [constVariableReference] bpftrace-0.26.1/src/ast/passes/clang_parser.cpp:415:44: style: Parameter 'cursor' can be declared as reference to const [constParameterReference] bpftrace-0.26.1/src/ast/passes/clang_parser.cpp:616:14: style: Variable 'path' can be declared as reference to const [constVariableReference] bpftrace-0.26.1/tests/utils.cpp:382:5: style: Throwing a copy of the caught exception instead of rethrowing the original exception. [exceptRethrowCopy] bpftrace-0.26.1/src/ast/passes/clang_parser.cpp:624:14: style: Variable 'flag' can be declared as reference to const [constVariableReference] bpftrace-0.26.1/src/ast/passes/clang_parser.cpp:837:49: style: Parameter 'ast' can be declared as reference to const [constParameterReference] bpftrace-0.26.1/src/ast/passes/types/pre_type_check.cpp:237:13: style: Variable 'info' can be declared as pointer to const [constVariablePointer] bpftrace-0.26.1/src/btf/compat.cpp:77:33: style: Unused variable: idents [unusedVariable] bpftrace-0.26.1/src/ast/passes/clang_parser.cpp:597:39: style: Parameter 'program' can be declared as pointer to const [constParameterPointer] bpftrace-0.26.1/src/ast/passes/types/pre_type_check.cpp:495:13: style: Variable 'probe' can be declared as pointer to const [constVariablePointer] bpftrace-0.26.1/src/btf/compat.cpp:78:26: style: Unused variable: infos [unusedVariable] bpftrace-0.26.1/src/btf/compat.cpp:79:26: style: Unused variable: types [unusedVariable] bpftrace-0.26.1/src/ast/passes/fold_literals.cpp:812:59: style:inconclusive: Function 'visit' argument 1 names different: declaration 'block_expr' definition 'expr'. [funcArgNamesDifferent] bpftrace-0.26.1/src/ast/passes/fold_literals.cpp:34:46: note: Function 'visit' argument 1 names different: declaration 'block_expr' definition 'expr'. bpftrace-0.26.1/src/ast/passes/fold_literals.cpp:812:59: note: Function 'visit' argument 1 names different: declaration 'block_expr' definition 'expr'. bpftrace-0.26.1/src/ast/passes/resolve_imports.cpp:528:41: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] bpftrace-0.26.1/src/config.cpp:56:15: style: The scope of the variable 'randomize_va_space_file' can be reduced. [variableScope] bpftrace-0.26.1/src/ast/passes/fold_literals.cpp:222:20: style: Variable 'right_elem' can be declared as pointer to const [constVariablePointer] bpftrace-0.26.1/src/ast/passes/fold_literals.cpp:796:15: style: Variable 'probe' can be declared as pointer to const [constVariablePointer] bpftrace-0.26.1/src/config.cpp:386:43: style:inconclusive: Function 'set' argument 1 names different: declaration 'key' definition 'original_key'. [funcArgNamesDifferent] bpftrace-0.26.1/src/config.h:51:37: note: Function 'set' argument 1 names different: declaration 'key' definition 'original_key'. bpftrace-0.26.1/src/config.cpp:386:43: note: Function 'set' argument 1 names different: declaration 'key' definition 'original_key'. bpftrace-0.26.1/src/config.cpp:395:43: style:inconclusive: Function 'set' argument 1 names different: declaration 'key' definition 'original_key'. [funcArgNamesDifferent] bpftrace-0.26.1/src/config.h:50:37: note: Function 'set' argument 1 names different: declaration 'key' definition 'original_key'. bpftrace-0.26.1/src/config.cpp:395:43: note: Function 'set' argument 1 names different: declaration 'key' definition 'original_key'. bpftrace-0.26.1/src/ast/passes/clang_parser.cpp:625:10: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] bpftrace-0.26.1/src/config.cpp:404:45: style:inconclusive: Function 'is_unstable' argument 1 names different: declaration 'key' definition 'original_key'. [funcArgNamesDifferent] bpftrace-0.26.1/src/config.h:54:39: note: Function 'is_unstable' argument 1 names different: declaration 'key' definition 'original_key'. bpftrace-0.26.1/src/config.cpp:404:45: note: Function 'is_unstable' argument 1 names different: declaration 'key' definition 'original_key'. bpftrace-0.26.1/src/config.cpp:388:8: style: Local variable 'parser' shadows outer function [shadowFunction] bpftrace-0.26.1/src/config.cpp:289:11: note: Shadowed function bpftrace-0.26.1/src/config.cpp:388:8: note: Shadow local variable bpftrace-0.26.1/src/config.cpp:397:8: style: Local variable 'parser' shadows outer function [shadowFunction] bpftrace-0.26.1/src/config.cpp:289:11: note: Shadowed function bpftrace-0.26.1/src/config.cpp:397:8: note: Shadow local variable bpftrace-0.26.1/tests/resource_analyser.cpp:19:21: style: Unused variable: out [unusedVariable] bpftrace-0.26.1/src/output/text.cpp:214:17: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] bpftrace-0.26.1/src/output/text.cpp:724:18: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] bpftrace-0.26.1/src/symbols/kernel.cpp:369:14: style: Variable 'path' can be declared as reference to const [constVariableReference] bpftrace-0.26.1/src/symbols/kernel.cpp:216:29: style: Variable 'locs_env' can be declared as const array [constVariable] bpftrace-0.26.1/src/ast/passes/fold_literals.cpp:748:15: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use resize() or pop_back() instead. [uselessCallsSubstr] bpftrace-0.26.1/src/ast/passes/fold_literals.cpp:224:41: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] bpftrace-0.26.1/src/ast/passes/fold_literals.cpp:882:36: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] bpftrace-0.26.1/src/output/text.cpp:361:30: style: Unused variable: times [unusedVariable] bpftrace-0.26.1/src/usyms.cpp:246:56: style: Variable 'symbol_table' can be declared as reference to const [constVariableReference] bpftrace-0.26.1/src/bpfmap.h:119:55: style: Argument 'bpf_map_name' shadows outer function [shadowFunction] bpftrace-0.26.1/src/bpfmap.h:111:20: note: Shadowed function bpftrace-0.26.1/src/bpfmap.h:119:55: note: Shadow argument bpftrace-0.26.1/src/symbols/kernel.cpp:381:20: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use resize() or pop_back() instead. [uselessCallsSubstr] bpftrace-0.26.1/src/ast/passes/types/cast_creator.cpp:106:11: style: Variable 'expr_field_ty' can be declared as reference to const [constVariableReference] bpftrace-0.26.1/src/ast/passes/types/cast_creator.cpp:107:11: style: Variable 'target_field_ty' can be declared as reference to const [constVariableReference] bpftrace-0.26.1/src/util/opaque.h:80:11: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] bpftrace-0.26.1/src/bpfmap.cpp:260:34: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] bpftrace-0.26.1/tests/type_resolver.cpp:91:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Error [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/btf.cpp:440:28: style: Unused variable: integer_names [unusedVariable] bpftrace-0.26.1/src/ast/passes/attachpoint_passes.cpp:580:13: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use replace() instead. [uselessCallsSubstr] bpftrace-0.26.1/src/ast/passes/attachpoint_passes.cpp:204:51: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] bpftrace-0.26.1/src/ast/passes/attachpoint_passes.cpp:262:51: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] bpftrace-0.26.1/src/ast/passes/attachpoint_passes.cpp:527:28: style: Unused variable: ret [unusedVariable] bpftrace-0.26.1/src/btf/btf.cpp:443:33: style: Local variable 'v' shadows outer variable [shadowVariable] bpftrace-0.26.1/src/btf/btf.cpp:439:8: note: Shadowed variable bpftrace-0.26.1/src/btf/btf.cpp:443:33: note: Shadow local variable bpftrace-0.26.1/src/btf/btf.cpp:478:33: style: Local variable 'v' shadows outer variable [shadowVariable] bpftrace-0.26.1/src/btf/btf.cpp:473:8: note: Shadowed variable bpftrace-0.26.1/src/btf/btf.cpp:478:33: note: Shadow local variable bpftrace-0.26.1/src/btf/btf.cpp:951:23: style: Local variable 'name' shadows outer argument [shadowArgument] bpftrace-0.26.1/src/btf/btf.cpp:935:47: note: Shadowed argument bpftrace-0.26.1/src/btf/btf.cpp:951:23: note: Shadow local variable bpftrace-0.26.1/src/ast/passes/types/type_checker.cpp:1043:33: style: Parameter 'record' can be declared as reference to const [constParameterReference] bpftrace-0.26.1/tests/bpftrace.cpp:85:26: style: Parameter 'p' can be declared as reference to const [constParameterReference] bpftrace-0.26.1/tests/bpftrace.cpp:114:24: style: Parameter 'p' can be declared as reference to const [constParameterReference] bpftrace-0.26.1/tests/bpftrace.cpp:124:30: style: Parameter 'p' can be declared as reference to const [constParameterReference] bpftrace-0.26.1/tests/bpftrace.cpp:133:27: style: Parameter 'p' can be declared as reference to const [constParameterReference] bpftrace-0.26.1/tests/bpftrace.cpp:140:28: style: Parameter 'p' can be declared as reference to const [constParameterReference] bpftrace-0.26.1/tests/bpftrace.cpp:147:28: style: Parameter 'p' can be declared as reference to const [constParameterReference] bpftrace-0.26.1/tests/bpftrace.cpp:154:28: style: Parameter 'p' can be declared as reference to const [constParameterReference] bpftrace-0.26.1/tests/bpftrace.cpp:161:31: style: Parameter 'p' can be declared as reference to const [constParameterReference] bpftrace-0.26.1/tests/bpftrace.cpp:166:29: style: Parameter 'p' can be declared as reference to const [constParameterReference] bpftrace-0.26.1/tests/bpftrace.cpp:171:30: style: Parameter 'p' can be declared as reference to const [constParameterReference] bpftrace-0.26.1/tests/bpftrace.cpp:177:35: style: Parameter 'p' can be declared as reference to const [constParameterReference] bpftrace-0.26.1/tests/bpftrace.cpp:632:25: style: Parameter 'p' can be declared as reference to const [constParameterReference] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:96:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Aggressive [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:487:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DW_LANG_C [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:529:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUG [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:567:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUG [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:606:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KSTACK [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:658:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USTACK [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:742:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DW_USTACK_NO_DWARF [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:788:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable boot [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:1254:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUG [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:2178:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NE [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:2198:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EQ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:2225:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NE [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:2258:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable l [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:2344:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUG [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:2409:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LAND [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:2468:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUG [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:2489:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable none [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:2518:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LNOT [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:2665:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fentry [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:2795:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARRAY_ACCESS_OOB [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:2836:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:2882:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUG [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:2983:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUG [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:3135:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:3154:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUG [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:3221:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUG [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:3288:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUG [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:3323:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MD_loop [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:3360:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ExternalLinkage [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:3410:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable InternalLinkage [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:3467:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUG [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:3608:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable k [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:3824:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable InternalLinkage [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:3931:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable InternalLinkage [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:4102:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable print [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:4159:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable join [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:4223:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable print_non_map [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:4323:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Elapsed [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:4378:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RO_SECTION_NAME [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:4471:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iter [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:4506:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRE_INCREMENT [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:4624:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable InternalLinkage [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:4731:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Sub [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:4813:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:4849:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_MAP_TYPE_PERCPU_HASH [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:4866:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable InternalLinkage [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:4883:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ExternalLinkage [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:4926:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ExternalLinkage [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:4957:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ASTContext [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:4999:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoInline [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:5062:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O3 [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:5086:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ObjectFile [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:5103:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/src/stdlib/stack/dwunwind.bpf.c:390:9: style: Condition '!is_leaf' is always true [knownConditionTrueFalse] bpftrace-0.26.1/src/stdlib/stack/dwunwind.bpf.c:385:9: note: Assuming that condition 'is_leaf' is not redundant bpftrace-0.26.1/src/stdlib/stack/dwunwind.bpf.c:390:9: note: Condition '!is_leaf' is always true bpftrace-0.26.1/src/stdlib/stack/dwunwind.bpf.c:254:23: style: Variable 'me' can be declared as pointer to const [constVariablePointer] bpftrace-0.26.1/src/stdlib/stack/dwunwind.bpf.c:331:19: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] bpftrace-0.26.1/src/stdlib/stack/dwunwind.bpf.c:464:8: style: Variable 'o_regs' can be declared as pointer to const [constVariablePointer] bpftrace-0.26.1/src/stdlib/stack/dwunwind.bpf.c:860:9: style: Variable 'm' can be declared as pointer to const [constVariablePointer] bpftrace-0.26.1/src/stdlib/stack/dwunwind.bpf.c:248:13: style: Variable 'mid' is assigned a value that is never used. [unreadVariable] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:461:14: warning: Member variable 'CodegenLLVM::ctx_' is not initialized in the constructor. [uninitMemberVar] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:2147:25: style: Either there is a missing 'override', or the member function 'bpftrace::ast::::CodegenLLVM::visit' can be static. [functionStatic] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:218:14: note: Either there is a missing 'override', or the member function 'bpftrace::ast::::CodegenLLVM::visit' can be static. bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:2147:25: note: Either there is a missing 'override', or the member function 'bpftrace::ast::::CodegenLLVM::visit' can be static. bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:4846:19: style:inconclusive: Either there is a missing 'override', or the member function 'bpftrace::ast::::CodegenLLVM::canAggPerCpuMapElems' can be const. [functionConst] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:392:8: note: Either there is a missing 'override', or the member function 'bpftrace::ast::::CodegenLLVM::canAggPerCpuMapElems' can be const. bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:4846:19: note: Either there is a missing 'override', or the member function 'bpftrace::ast::::CodegenLLVM::canAggPerCpuMapElems' can be const. bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:111:3: style: Class 'InternalError' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:3157:11: warning:inconclusive: Either the condition '!variable' is redundant or there is possible null pointer dereference: variable. [nullPointerRedundantCheck] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:3153:7: note: Assuming that condition '!variable' is not redundant bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:3157:11: note: Null pointer dereference bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:1685:12: style: The scope of the variable 'octet' can be reduced. [variableScope] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:3342:42: style:inconclusive: Function 'visit' argument 1 names different: declaration 'block' definition 'block_expr'. [funcArgNamesDifferent] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:245:31: note: Function 'visit' argument 1 names different: declaration 'block' definition 'block_expr'. bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:3342:42: note: Function 'visit' argument 1 names different: declaration 'block' definition 'block_expr'. bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:4914:66: style:inconclusive: Function 'DeclareKernelVar' argument 1 names different: declaration 'name' definition 'var_name'. [funcArgNamesDifferent] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:400:55: note: Function 'DeclareKernelVar' argument 1 names different: declaration 'name' definition 'var_name'. bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:4914:66: note: Function 'DeclareKernelVar' argument 1 names different: declaration 'name' definition 'var_name'. bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:3662:12: style: Local variable 'offset_val' shadows outer variable [shadowVariable] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:3636:10: note: Shadowed variable bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:3662:12: note: Shadow local variable bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:2171:45: style: Parameter 'var_addr' can be declared as reference to const [constParameterReference] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:3517:40: style: Parameter 'program' can be declared as reference to const [constParameterReference] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:3624:10: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:4919:15: style: Unused variable: err [unusedVariable] bpftrace-0.26.1/tests/ast_matchers.h:373:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable predicates_ [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/ast_matchers.h:638:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable func [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/ast_matchers.h:684:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable n [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/ast_matchers.h:706:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable field [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/ast_matchers.h:884:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ident [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/ast_matchers.h:919:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RETURN [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/ast_matchers.h:1137:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/ast_matchers.h:1191:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/ast_matchers.h:1204:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/ast_matchers.h:1219:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bpf_type [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/ast_matchers.h:1224:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable max_entries [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/ast_matchers.h:1244:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/ast_matchers.h:1302:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/ast_matchers.h:1456:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable field [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/ast_matchers.h:1510:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/ast_matchers.h:90:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/ast_matchers.h:96:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ident [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/parsed_type_bridge.cpp:26:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Identifier [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/parsed_type_bridge.cpp:41:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Identifier [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/parsed_type_bridge.cpp:54:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Identifier [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/parsed_type_bridge.cpp:74:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Struct [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/parsed_type_bridge.cpp:87:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Struct [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/parsed_type_bridge.cpp:104:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Identifier [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/parsed_type_bridge.cpp:120:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Identifier [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/parsed_type_bridge.cpp:134:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Identifier [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/parsed_type_bridge.cpp:149:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Struct [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/parsed_type_bridge.cpp:172:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Identifier [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/parsed_type_bridge.cpp:197:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Identifier [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/parsed_type_bridge.cpp:210:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Pointer [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/parsed_type_bridge.cpp:226:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Pointer [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/parsed_type_bridge.cpp:243:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Array [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/parsed_type_bridge.cpp:261:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Array [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/fold_literals.cpp:83:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RETURN [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/fold_literals.cpp:529:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RETURN [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/ast_matchers.h:373:32: debug: CheckClass::isMemberVar found used member variable 'predicates_' with varid 0 [varid0] bpftrace-0.26.1/tests/ast_matchers.h:210:3: style: Class 'NodeMatchResultListener' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bpftrace-0.26.1/tests/ast_matchers.h:270:78: style: Return value 'node.addError()<(type.kind)<<" instead of "<(kind),false' is always false [knownConditionTrueFalse] bpftrace-0.26.1/tests/ast_matchers.h:341:44: style: Return value '*listener<<"has name \""<(node.op)<<" instead of "<(op),false' is always false [knownConditionTrueFalse] bpftrace-0.26.1/tests/type_checker.cpp:96:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ts [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/type_checker.cpp:105:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/type_checker.cpp:188:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Warning [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/type_checker.cpp:484:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Identifier [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/type_checker.cpp:812:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Global [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/type_checker.cpp:1052:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Global [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/type_checker.cpp:1135:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Global [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/type_checker.cpp:1811:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Global [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/type_checker.cpp:2162:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Identifier [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/type_checker.cpp:2487:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stmts [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/type_checker.cpp:3106:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Identifier [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/type_checker.cpp:3192:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Identifier [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/type_checker.cpp:3251:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Global [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/type_checker.cpp:3402:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Global [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/type_checker.cpp:3500:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stmts [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/type_checker.cpp:3577:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stmts [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/type_checker.cpp:3612:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stmts [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/type_checker.cpp:3780:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stmts [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/type_checker.cpp:3795:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stmts [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/type_checker.cpp:3820:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stmts [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/type_checker.cpp:3855:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Identifier [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/type_checker.cpp:4454:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONTINUE [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/type_checker.cpp:4469:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONTINUE [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/type_checker.cpp:4566:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONTINUE [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/type_checker.cpp:4600:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Identifier [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/type_checker.cpp:4645:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONTINUE [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/type_checker.cpp:4683:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONTINUE [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/type_checker.cpp:4921:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stmts [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/type_checker.cpp:5118:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RETURN [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/type_checker.cpp:5244:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Global [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/type_checker.cpp:5527:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RETURN [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/type_checker.cpp:5630:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stmts [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/type_checker.cpp:5681:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Identifier [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/type_checker.cpp:5823:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RETURN [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/pid_filter_pass.cpp:78:14: style: Variable 'probe' can be declared as reference to const [constVariableReference] bpftrace-0.26.1/tests/pid_filter_pass.cpp:102:14: style: Variable 'probe' can be declared as reference to const [constVariableReference] bpftrace-0.26.1/tests/parser.cpp:1646:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Identifier [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/parser.cpp:1656:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Pointer [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/parser.cpp:1668:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Identifier [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/parser.cpp:1678:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Pointer [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/parser.cpp:1690:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Pointer [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/parser.cpp:1705:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Struct [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/parser.cpp:1721:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Pointer [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/parser.cpp:1741:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Identifier [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/parser.cpp:1751:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Pointer [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/parser.cpp:1764:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Pointer [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/parser.cpp:1785:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Struct [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/parser.cpp:1808:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Struct [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/parser.cpp:1838:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Enum [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/parser.cpp:1849:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Array [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/parser.cpp:1865:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Pointer [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/parser.cpp:1881:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Pointer [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/parser.cpp:1897:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Array [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/parser.cpp:1913:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Array [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/parser.cpp:1927:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Pointer [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/parser.cpp:1943:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Pointer [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/parser.cpp:1968:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Identifier [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/parser.cpp:1979:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Struct [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/parser.cpp:2014:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Pointer [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/parser.cpp:2031:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Struct [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/parser.cpp:2873:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Pointer [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/parser.cpp:2907:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Identifier [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/parser.cpp:2925:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Identifier [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/parser.cpp:2935:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Identifier [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/parser.cpp:2945:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Identifier [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/parser.cpp:2957:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Identifier [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/parser.cpp:2972:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Identifier [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/parser.cpp:2984:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Identifier [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/parser.cpp:2997:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Identifier [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/parser.cpp:3008:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Identifier [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/parser.cpp:3019:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Identifier [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/parser.cpp:3031:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Identifier [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/parser.cpp:3095:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Identifier [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/parser.cpp:3105:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Struct [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/parser.cpp:3115:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Union [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/parser.cpp:3122:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Enum [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/parser.cpp:3212:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Identifier [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/parser.cpp:3311:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Struct [valueFlowBailoutIncompleteVar] bpftrace-0.26.1/tests/type_checker.cpp:2866:20: performance: Range variable 'op' should be declared as const reference. [iterateByValue] bpftrace-0.26.1/tests/type_checker.cpp:2871:20: performance: Range variable 'op' should be declared as const reference. [iterateByValue] bpftrace-0.26.1/tests/type_checker.cpp:2883:20: performance: Range variable 'op' should be declared as const reference. [iterateByValue] bpftrace-0.26.1/tests/type_checker.cpp:2935:20: performance: Range variable 'op' should be declared as const reference. [iterateByValue] bpftrace-0.26.1/tests/type_checker.cpp:3450:13: performance: Range variable 'kw' should be declared as const reference. [iterateByValue] bpftrace-0.26.1/tests/type_checker.cpp:2858:15: style: Variable 'operators' can be declared as const array [constVariable] bpftrace-0.26.1/tests/type_checker.cpp:2882:15: style: Variable 'arithmetic_operators' can be declared as const array [constVariable] bpftrace-0.26.1/tests/type_checker.cpp:2933:15: style: Variable 'compare_operators' can be declared as const array [constVariable] bpftrace-0.26.1/tests/type_checker.cpp:3444:15: style: Variable 'keywords' can be declared as const array [constVariable] bpftrace-0.26.1/tests/parser.cpp:1580:13: performance: Range variable 'kw' should be declared as const reference. [iterateByValue] bpftrace-0.26.1/tests/parser.cpp:1556:15: style: Variable 'keywords' can be declared as const array [constVariable] bpftrace-0.26.1/tests/parser.cpp:3705:21: style: Unused variable: out [unusedVariable] diff: 2.21.0 bpftrace-0.26.1/src/ast/dibuilderbpf.cpp:132:12: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] 2.21.0 bpftrace-0.26.1/src/ast/dibuilderbpf.cpp:163:12: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] 2.21.0 bpftrace-0.26.1/src/ast/dibuilderbpf.cpp:28:11: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] 2.21.0 bpftrace-0.26.1/src/ast/passes/ap_probe_expansion.cpp:331:19: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] 2.21.0 bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:2109:19: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] head bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:3157:11: warning:inconclusive: Either the condition '!variable' is redundant or there is possible null pointer dereference: variable. [nullPointerRedundantCheck] bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:3153:7: note: Assuming that condition '!variable' is not redundant bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:3157:11: note: Null pointer dereference 2.21.0 bpftrace-0.26.1/src/ast/passes/codegen_llvm.cpp:455:41: style: class member 'CodegenLLVM::probe_names_' is never used. [unusedStructMember] 2.21.0 bpftrace-0.26.1/src/ast/passes/usdt_arguments.cpp:68:15: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] head bpftrace-0.26.1/src/bfd-disasm.cpp:20:3: warning: Class 'BfdDisasm' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] head bpftrace-0.26.1/src/bfd-disasm.cpp:20:3: warning: Class 'BfdDisasm' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] head bpftrace-0.26.1/src/util/system.cpp:256:20: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] DONE