BCC - Tools for BPF-based Linux IO analysis, networking, monitoring, and more
893 matches across 14 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/kvmexit.py | 1 | #!/usr/bin/env python |
| LOW | tools/kvmexit.py | 21 | # |
| LOW | tools/wakeuptime.py | 1 | #!/usr/bin/env python |
| LOW | tools/tcptop.py | 1 | #!/usr/bin/env python |
| LOW | tools/tcpretrans.py | 1 | #!/usr/bin/env python |
| LOW | tools/solisten.py | 1 | #!/usr/bin/env python |
| LOW | tools/runqlen.py | 1 | #!/usr/bin/env python |
| LOW | tools/runqlen.py | 61 | # struct load_weight load; |
| LOW | tools/cachestat.py | 1 | #!/usr/bin/env python |
| LOW | tools/trace.py | 1 | #!/usr/bin/env python |
| LOW | tools/funcslower.py | 1 | #!/usr/bin/env python |
| LOW | tools/funcslower.py | 161 | u64 ip = PT_REGS_IP(ctx); |
| LOW | tools/vfscount.py | 1 | #!/usr/bin/env python |
| LOW | tools/reset-trace.sh | 1 | #!/bin/bash |
| LOW | tools/drsnoop.py | 1 | #!/usr/bin/env python |
| LOW | tools/bitesize.py | 1 | #!/usr/bin/env python |
| LOW | tools/pidpersec.py | 1 | #!/usr/bin/env python |
| LOW | tools/funclatency.py | 1 | #!/usr/bin/env python |
| LOW | tools/tcpaccept.py | 1 | #!/usr/bin/env python |
| LOW | tools/numasched.py | 1 | #!/usr/bin/env python |
| LOW | tools/sofdsnoop.py | 1 | #!/usr/bin/env python |
| LOW | tools/bpflist.py | 1 | #!/usr/bin/env python |
| LOW | tools/deadlock.py | 1 | #!/usr/bin/env python |
| LOW | tools/deadlock.py | 21 | # |
| LOW | tools/swapin.py | 1 | #!/usr/bin/env python |
| LOW | tools/mptcpify.py | 1 | #!/usr/bin/env python |
| LOW | tools/cpudist.py | 1 | #!/usr/bin/env python |
| LOW | tools/biotop.py | 1 | #!/usr/bin/env python |
| LOW | tools/dcstat.py | 1 | #!/usr/bin/env python |
| LOW | tools/tcptracer.py | 1 | #!/usr/bin/env python |
| LOW | tools/tcptracer.py | 41 | help="trace IPv6 family only") |
| LOW | tools/biosnoop.py | 1 | #!/usr/bin/env python |
| LOW | tools/threadsnoop.py | 1 | #!/usr/bin/env python |
| LOW | tools/virtiostat.py | 1 | #!/usr/bin/env python |
| LOW | tools/rdmaucma.py | 1 | #!/usr/bin/python |
| LOW | tools/mysqld_qslower.py | 1 | #!/usr/bin/env python |
| LOW | tools/vfsstat.py | 1 | #!/usr/bin/env python |
| LOW | tools/ext4slower.py | 1 | #!/usr/bin/env python |
| LOW | tools/profile.py | 1 | #!/usr/bin/env python |
| LOW | tools/profile.py | 201 | u64 ip = PT_REGS_IP(&ctx->regs); |
| LOW | tools/offwaketime.py | 1 | #!/usr/bin/env python |
| LOW | tools/ttysnoop.py | 1 | #!/usr/bin/env python |
| LOW | tools/biolatency.py | 1 | #!/usr/bin/env python |
| LOW | tools/criticalstat.py | 1 | #!/usr/bin/env python |
| LOW | tools/softirqslower.py | 1 | #!/usr/bin/env python |
| LOW | tools/mdflush.py | 1 | #!/usr/bin/env python |
| LOW | tools/wqlat.py | 1 | #!/usr/bin/env python |
| LOW | tools/f2fsslower.py | 1 | #!/usr/bin/python |
| LOW | tools/tcpconnect.py | 1 | #!/usr/bin/env python |
| LOW | tools/zfsdist.py | 1 | #!/usr/bin/env python |
| LOW | tools/tcpstates.py | 1 | #!/usr/bin/env python |
| LOW | tools/capable.py | 1 | #!/usr/bin/env python |
| LOW | tools/tcpcong.py | 1 | #!/usr/bin/env python |
| LOW | tools/oomkill.py | 1 | #!/usr/bin/env python |
| LOW | tools/statsnoop.py | 1 | #!/usr/bin/env python |
| LOW | tools/runqslower.py | 1 | #!/usr/bin/env python |
| LOW | tools/runqslower.py | 21 | # finish_task_switch() with either raw tracepoints (if supported) or kprobes |
| LOW | tools/shmsnoop.py | 1 | #!/usr/bin/env python |
| LOW | tools/softirqs.py | 1 | #!/usr/bin/env python |
| LOW | tools/filetop.py | 1 | #!/usr/bin/env python |
| 291 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/kvmexit.py | 31 | |
| LOW | tools/kvmexit.py | 37 | |
| LOW | tools/wakeuptime.py | 15 | |
| LOW | tools/tcptop.py | 28 | |
| LOW | tools/tcpretrans.py | 18 | |
| LOW | tools/solisten.py | 20 | |
| LOW | tools/runqlen.py | 22 | |
| LOW | tools/cachestat.py | 22 | |
| LOW | tools/cachestat.py | 27 | |
| LOW | tools/cachestat.py | 28 | |
| LOW | tools/trace.py | 14 | |
| LOW | tools/trace.py | 21 | |
| LOW | tools/funcslower.py | 24 | |
| LOW | tools/klockstat.py | 8 | |
| LOW | tools/klockstat.py | 9 | |
| LOW | tools/klockstat.py | 11 | |
| LOW | tools/klockstat.py | 13 | |
| LOW | tools/klockstat.py | 14 | |
| LOW | tools/klockstat.py | 14 | |
| LOW | tools/vfscount.py | 14 | |
| LOW | tools/drsnoop.py | 17 | |
| LOW | tools/funclatency.py | 26 | |
| LOW | tools/tcpaccept.py | 18 | |
| LOW | tools/numasched.py | 17 | |
| LOW | tools/numasched.py | 21 | |
| LOW | tools/numasched.py | 21 | |
| LOW | tools/numasched.py | 21 | |
| LOW | tools/numasched.py | 22 | |
| LOW | tools/numasched.py | 23 | |
| LOW | tools/sofdsnoop.py | 15 | |
| LOW | tools/bpflist.py | 15 | |
| LOW | tools/bpflist.py | 15 | |
| LOW | tools/bpflist.py | 19 | |
| LOW | tools/deadlock.py | 47 | |
| LOW | tools/deadlock.py | 47 | |
| LOW | tools/deadlock.py | 47 | |
| LOW | tools/deadlock.py | 47 | |
| LOW | tools/swapin.py | 18 | |
| LOW | tools/mptcpify.py | 17 | |
| LOW | tools/biopattern.py | 12 | |
| LOW | tools/cpudist.py | 19 | |
| LOW | tools/biotop.py | 19 | |
| LOW | tools/dcstat.py | 18 | |
| LOW | tools/nfsdist.py | 11 | |
| LOW | tools/tcptracer.py | 17 | |
| LOW | tools/biosnoop.py | 19 | |
| LOW | tools/threadsnoop.py | 15 | |
| LOW | tools/virtiostat.py | 14 | |
| LOW | tools/rdmaucma.py | 14 | |
| LOW | tools/rdmaucma.py | 19 | |
| LOW | tools/mysqld_qslower.py | 18 | |
| LOW | tools/vfsstat.py | 18 | |
| LOW | tools/vfsstat.py | 22 | |
| LOW | tools/ext4slower.py | 28 | |
| LOW | tools/profile.py | 31 | |
| LOW | tools/offwaketime.py | 15 | |
| LOW | tools/ttysnoop.py | 19 | |
| LOW | tools/biolatency.py | 16 | |
| LOW | tools/biolatency.py | 20 | |
| LOW | tools/criticalstat.py | 15 | |
| 269 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | tools/mptcpify.py | 65 | if ((family == AF_INET || family == AF_INET6) && |
| HIGH | tools/mptcpify.py | 67 | (!protocol || protocol == IPPROTO_TCP) && |
| HIGH | tools/mptcpify.py | 68 | (mode && *mode == 0 || support_apps.lookup(&target))) |
| HIGH | tools/cpudist.py | 199 | if (ns_pid_val && ns_tgid_val) { |
| HIGH | tools/tcptracer.py | 140 | if (saddr == 0 || daddr == 0 || sport == 0 || dport == 0) { |
| HIGH | tools/tcptracer.py | 171 | if (saddr == 0 || daddr == 0 || sport == 0 || dport == 0) { |
| HIGH | tools/tcptracer.py | 293 | if (state != TCP_ESTABLISHED && state != TCP_CLOSE) { |
| HIGH | tools/tcptracer.py | 499 | if (evt4.saddr != 0 && evt4.daddr != 0 && |
| HIGH | tools/tcptracer.py | 500 | evt4.sport != 0 && evt4.dport != 0) { |
| HIGH | tools/tcptracer.py | 524 | if (evt6.saddr != 0 && evt6.daddr != 0 && |
| HIGH | tools/tcptracer.py | 525 | evt6.sport != 0 && evt6.dport != 0) { |
| HIGH | tools/criticalstat.py | 147 | if (stdp && stdp->active) { |
| HIGH | tools/tcpcong.py | 441 | 'if (lport < %d || lport > %d) { return 0; }' |
| HIGH | tools/tcpcong.py | 448 | 'if (dport < %d || dport > %d) { return 0; }' |
| HIGH | tools/runqslower.py | 92 | if (FILTER_PID || FILTER_TGID || pid == 0) |
| HIGH | tools/filetop.py | 119 | if (d_name.len == 0 || TYPE_FILTER) |
| HIGH | tools/tcplife.py | 165 | if (state == TCP_SYN_SENT || state == TCP_LAST_ACK) { |
| HIGH | tools/tcplife.py | 294 | if (args->newstate == TCP_SYN_SENT || args->newstate == TCP_LAST_ACK) { |
| HIGH | tools/inject.py | 175 | if (p->conds_met < 1 || p->conds_met >= %s) |
| HIGH | tools/inject.py | 227 | if (%s == 1 && %s && overridden < %s) { |
| HIGH | tools/inject.py | 242 | if (p->conds_met == %s && %s && overridden < %s) { |
| HIGH | tools/exitsnoop.py | 102 | if (FILTER_PID || FILTER_EXIT_CODE) { return 0; } |
| HIGH | tools/exitsnoop.py | 124 | filter_pid = "!(task->tgid == %s && task->pid == task->tgid)" % Global.args.pid |
| HIGH | tools/filegone.py | 89 | if (s_name.len == 0 || d_name.len == 0) |
| HIGH | tools/fileslower.py | 105 | if (de->d_name.len == 0 || TYPE_FILTER) |
| HIGH | tools/hardirqs.py | 180 | if (tsp == 0 || namep == 0) { |
| HIGH | tools/runqlat.py | 92 | if (FILTER || pid == 0) |
| HIGH | tools/runqlat.py | 160 | if (!(FILTER || pid == 0)) { |
| HIGH | tools/runqlat.py | 168 | if (FILTER || pid == 0) |
| HIGH | tools/runqlat.py | 214 | if (!(FILTER || pid == 0)) { |
| HIGH | tools/runqlat.py | 222 | if (FILTER || pid == 0) |
| HIGH | tools/memleak.py | 459 | size_filter = "if (size < %d || size > %d) return 0;" % \ |
| HIGH | tools/bindsnoop.py | 205 | if (ret != 0 && ignore_errors) { |
| HIGH | tools/opensnoop.py | 478 | if (filepart_length < 0 || filepart_length > NAME_MAX) |
| HIGH | tools/opensnoop.py | 484 | if (dentry == parent_dentry || dentry == mnt_root) { |
| HIGH | tools/old/filegone.py | 95 | if (s_name.len == 0 || d_name.len == 0) |
| HIGH | tools/old/hardirqs.py | 111 | if (tsp == 0 || descp == 0) { |
| HIGH | tools/old/memleak.py | 220 | size_filter = "if (size < %d || size > %d) return 0;" % \ |
| HIGH | tools/old/killsnoop.py | 63 | if (tpidp == 0 || sigp == 0) { |
| HIGH | tests/python/test_clang.py | 1320 | if (!disk || disk->major != 5 || disk->first_minor != 6) |
| HIGH | tests/python/test_queuestack.py | 24 | stack.push(ct.c_uint64(i)) |
| HIGH | tests/python/test_queuestack.py | 27 | stack.push(ct.c_uint(10)) |
| HIGH | tests/python/test_queuestack.py | 41 | stack.push(ct.c_uint64(i)) |
| HIGH | tests/python/test_queuestack.py | 57 | queue.push(ct.c_uint64(i)) |
| HIGH | tests/python/test_queuestack.py | 60 | queue.push(ct.c_uint(10)) |
| HIGH | tests/python/test_queuestack.py | 74 | queue.push(ct.c_uint64(i)) |
| HIGH | examples/tracing/nflatency.py | 108 | if (!s || s->ts == 0) { |
| HIGH | examples/tracing/dddos.py | 60 | if(rcv_packets_nb_ptr != 0 && rcv_packets_ts_ptr != 0){ |
| HIGH | examples/networking/vlan_learning/vlan_learning.py | 69 | "for i in {1..8}; do curl 172.16.1.5 -o /dev/null; sleep 1; done"] |
| HIGH | examples/networking/tunnel_monitor/main.py | 43 | self.processes.append(NSPopen(host[0].nl.netns, cmd, stdout=null)) |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | tests/python/simulation.py | 0 | helper class for controlling multiple namespaces. inherit from this class and setup your namespaces. |
| HIGH | examples/networking/simulation.py | 0 | helper class for controlling multiple namespaces. inherit from this class and setup your namespaces. |
| HIGH | examples/networking/vlan_learning/simulation.py | 0 | helper class for controlling multiple namespaces. inherit from this class and setup your namespaces. |
| HIGH | examples/networking/distributed_bridge/simulation.py | 0 | helper class for controlling multiple namespaces. inherit from this class and setup your namespaces. |
| HIGH | examples/networking/neighbor_sharing/simulation.py | 0 | helper class for controlling multiple namespaces. inherit from this class and setup your namespaces. |
| HIGH | examples/networking/tunnel_monitor/simulation.py | 0 | helper class for controlling multiple namespaces. inherit from this class and setup your namespaces. |
| HIGH | docs/reference_guide.md | 0 | int hello(void *ctx) { bpf_trace_printk("hello, world!\\n"); return 0; } |
| HIGH | docs/tutorial_bcc_python_developer.md | 0 | int hello(void *ctx) { bpf_trace_printk("hello, world!\\n"); return 0; } |
| HIGH | examples/tracing/trace_fields.py | 0 | int hello(void *ctx) { bpf_trace_printk("hello, world!\\n"); return 0; } |
| HIGH | examples/tracing/hello_fields.py | 0 | int hello(void *ctx) { bpf_trace_printk("hello, world!\\n"); return 0; } |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/kvmexit.py | 364 | except Exception as e: |
| MEDIUM | tools/funclatency.py | 80 | print("Error: " + error) |
| LOW | tools/deadlock.py | 507 | except Exception as e: |
| LOW | tools/deadlock.py | 518 | except Exception as e: |
| MEDIUM | tools/ppchcalls.py | 288 | print("Error: hcall '%s' not found. Exiting." % args.hcall) |
| LOW | tools/ppchcalls.py | 446 | except Exception: |
| MEDIUM | tools/ppchcalls.py | 234 | def handle_errno(errstr): |
| LOW | tools/threadsnoop.py | 59 | except Exception: |
| LOW | tools/profile.py | 333 | except Exception: |
| LOW | tools/criticalstat.py | 325 | except Exception: |
| MEDIUM | tools/criticalstat.py | 299 | def print_event(cpu, data, size): |
| MEDIUM | tools/tcpconnect.py | 353 | print("Error: you may not specify -d/--dns with -c/--count.") |
| MEDIUM | tools/tcpconnect.py | 486 | print("Error: The python packages dnslib and cachetools are required " |
| MEDIUM | tools/filetop.py | 186 | print(f'Error accessing directory {args.directory}: {e}') |
| LOW | tools/funccount.py | 309 | except Exception: |
| LOW | tools/llcstat.py | 98 | except Exception: |
| LOW | tools/exitsnoop.py | 215 | except Exception as e: |
| LOW | tools/execsnoop.py | 353 | except Exception: |
| LOW | tools/fileslower.py | 205 | except Exception: |
| LOW | tools/fileslower.py | 212 | except Exception: |
| MEDIUM | tools/syscount.py | 104 | print("Error: syscall '%s' not found. Exiting." % args.syscall) |
| LOW | tools/syscount.py | 265 | except Exception: |
| MEDIUM | tools/syscount.py | 37 | def handle_errno(errstr): |
| LOW | tools/biolatpcts.py | 125 | except Exception: |
| MEDIUM | tools/funcinterval.py | 70 | print("Error: " + error) |
| LOW | tools/memleak.py | 494 | except Exception: |
| LOW | tools/stackcount.py | 386 | except Exception: |
| LOW | tools/lib/ustat.py | 75 | except Exception: |
| LOW | tests/python/test_attach_perf_event.py | 60 | except Exception: |
| LOW | tests/python/test_attach_perf_event.py | 106 | except Exception: |
| LOW | tests/python/test_attach_perf_event.py | 151 | except Exception: |
| LOW | tests/python/test_clang.py | 869 | except Exception: |
| LOW | tests/python/test_bpf_log.py | 51 | except Exception: |
| LOW | tests/python/test_bpf_log.py | 61 | except Exception: |
| MEDIUM | examples/tracing/lbr.py | 132 | print('Error tracepoint or kretprobe is required') |
| MEDIUM | examples/tracing/lbr.py | 141 | print('Error binary path is invalid') |
| LOW | examples/networking/tcp_mon_block/src/web_server.py | 23 | except Exception as e: |
| MEDIUM | examples/networking/tcp_mon_block/src/web_server.py | 20 | def public_ip(): |
| LOW | .github/scripts/check_links.py | 30 | except Exception as e: |
| MEDIUM | src/python/bcc/__init__.py | 1831 | print("Error adding module to build sym cache"+str(e)) |
| LOW | src/python/bcc/__init__.py | 443 | except Exception as e: |
| LOW | src/python/bcc/__init__.py | 451 | except Exception as e: |
| LOW | src/python/bcc/__init__.py | 1598 | except Exception as e: |
| LOW | src/python/bcc/__init__.py | 1613 | except Exception as e: |
| LOW | src/python/bcc/__init__.py | 1830 | except Exception as e: |
| LOW | src/python/bcc/syscall.py | 467 | except Exception as e: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/kvmexit.py | 443 | def extract_pcpu_kvm_exit_reason_count(args): |
| LOW | tools/runqlen.py | 81 | def check_runnable_weight_field(): |
| LOW | tools/trace.py | 420 | def _generate_usdt_filter_read(self): |
| LOW | tools/deadlock.py | 139 | def strongly_connected_components(G): |
| LOW | tools/statsnoop.py | 171 | def try_attach_syscall_probes(syscall): |
| LOW | tools/cpuunclaimed.py | 123 | def check_runnable_weight_field(): |
| LOW | tools/argdist.py | 113 | def _generate_retprobe_prefix(self): |
| LOW | tools/argdist.py | 298 | def _generate_usdt_arg_assignment(self, i): |
| LOW | tools/argdist.py | 310 | def _generate_field_assignment(self, i): |
| LOW | tools/memleak.py | 562 | def print_outstanding_combined(): |
| LOW | tools/tplist.py | 66 | def print_usdt_argument_details(location): |
| LOW | tests/python/test_attach_perf_event.py | 17 | def test_attach_raw_event_powerpc(self): |
| LOW | tests/python/test_map_batch_ops.py | 64 | def test_lookup_and_delete_batch_all_keys(self): |
| LOW | tests/python/test_map_batch_ops.py | 76 | def test_lookup_batch_all_keys(self): |
| LOW | tests/python/test_map_batch_ops.py | 84 | def test_delete_batch_all_keys(self): |
| LOW | tests/python/test_map_batch_ops.py | 105 | def test_update_batch_all_keys(self): |
| LOW | tests/python/test_array.py | 76 | def test_perf_buffer_for_each_cpu(self): |
| LOW | tests/python/test_clang.py | 438 | def test_probe_simple_member_assign(self): |
| LOW | tests/python/test_clang.py | 451 | def test_probe_member_expr_deref(self): |
| LOW | tests/python/test_clang.py | 58 | def test_load_cgroup_sockopt_prog(self): |
| LOW | tests/python/test_clang.py | 272 | def test_consecutive_probe_read(self): |
| LOW | tests/python/test_clang.py | 307 | def test_nested_probe_read_deref(self): |
| LOW | tests/python/test_clang.py | 361 | def test_probe_unnamed_union_deref(self): |
| LOW | tests/python/test_clang.py | 492 | def test_probe_read_nested_deref(self): |
| LOW | tests/python/test_clang.py | 771 | def test_ext_ptr_maps_reverse(self): |
| LOW | tests/python/test_clang.py | 800 | def test_ext_ptr_maps_indirect(self): |
| LOW | tests/python/test_clang.py | 830 | def test_bpf_dins_pkt_rewrite(self): |
| LOW | tests/python/test_clang.py | 963 | def test_invalid_noninline_call(self): |
| LOW | tests/python/test_clang.py | 1041 | def test_probe_read_tracepoint_context(self): |
| LOW | tests/python/test_clang.py | 1051 | def test_probe_read_kprobe_ctx(self): |
| LOW | tests/python/test_clang.py | 1064 | def test_probe_read_ctx_array(self): |
| LOW | tests/python/test_clang.py | 1110 | def test_probe_read_multiple_return(self): |
| LOW | tests/python/test_clang.py | 1130 | def test_probe_read_return_expr(self): |
| LOW | tests/python/test_clang.py | 1145 | def test_probe_read_return_call(self): |
| LOW | tests/python/test_clang.py | 1159 | def test_no_probe_read_addrof(self): |
| LOW | tests/python/test_clang.py | 1264 | def test_arbitrary_increment_simple(self): |
| LOW | tests/python/test_map_in_map.py | 92 | def test_hash_table_custom_key(self): |
| LOW | tests/python/test_license.py | 75 | def test_gpl_compatible_macro(self): |
| LOW | tests/python/test_license.py | 79 | def test_proprietary_words_macro(self): |
| LOW | tests/python/test_license.py | 99 | def test_proprietary_fail_macro(self): |
| LOW | tests/python/test_license.py | 104 | def test_proprietary_cflags_fail(self): |
| LOW | tests/python/test_disassembler.py | 154 | def _assert_equal_ignore_fd_id(s1, s2): |
| LOW | examples/tracing/strlen_hist_ifunc.py | 46 | def get_indirect_function_sym(module, symname): |
| LOW | src/python/bcc/containers.py | 15 | def _cgroup_filter_func_writer(cgroupmap): |
| LOW | src/python/bcc/containers.py | 34 | def _mntns_filter_func_writer(mntnsmap): |
| LOW | src/python/bcc/__init__.py | 929 | def detach_kprobe_event_by_fn(self, ev_name, fn_name): |
| LOW | src/python/bcc/__init__.py | 1271 | def support_raw_tracepoint_in_module(): |
| LOW | src/python/bcc/__init__.py | 1390 | def get_user_functions_and_addresses(name, sym_re): |
| LOW | src/python/bcc/table.py | 453 | def _sanity_check_keys_values(self, keys=None, values=None): |
| LOW | src/python/bcc/table.py | 548 | def items_lookup_and_delete_batch(self): |
| LOW | src/python/bcc/table.py | 563 | def _items_lookup_and_optionally_delete_batch(self, delete=True): |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/trace.py | 386 | |
| LOW | tools/deadlock.py | 139 | |
| LOW | tools/deadlock.py | 194 | |
| LOW | tools/deadlock.py | 389 | |
| LOW | tools/inject.py | 379 | |
| LOW | tools/inject.py | 464 | |
| LOW | tools/nfsslower.py | 384 | |
| LOW | tools/funccount.py | 37 | |
| LOW | tools/funccount.py | 89 | |
| LOW | tools/funccount.py | 118 | |
| LOW | tools/execsnoop.py | 303 | |
| LOW | tools/execsnoop.py | 314 | |
| LOW | tools/cachetop.py | 143 | |
| LOW | tools/dirtop.py | 144 | |
| LOW | tools/argdist.py | 514 | |
| LOW | tools/biolatpcts.py | 215 | |
| LOW | tools/mountsnoop.py | 683 | |
| LOW | tools/stackcount.py | 30 | |
| LOW | tools/stackcount.py | 315 | |
| LOW | tools/opensnoop.py | 562 | |
| LOW | tests/python/test_debuginfo.py | 12 | |
| LOW | examples/networking/http_filter/http-parse-complete.py | 38 | |
| LOW | examples/networking/distributed_bridge/tunnel_mesh.py | 41 | |
| LOW | examples/networking/tunnel_monitor/main.py | 29 | |
| LOW | src/python/bcc/disassembler.py | 234 | |
| LOW | src/python/bcc/disassembler.py | 355 | |
| LOW | src/python/bcc/__init__.py | 345 | |
| LOW | src/python/bcc/__init__.py | 603 | |
| LOW | src/python/bcc/__init__.py | 719 | |
| LOW | src/python/bcc/__init__.py | 1038 | |
| LOW | src/python/bcc/__init__.py | 1540 | |
| LOW | src/python/bcc/table.py | 273 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | src/python/bcc/table.py | 419 | Allocate keys and/or values arrays. Useful for in items_*_batch. Args: alloc_k (bool): True to allo |
| HIGH | src/python/bcc/table.py | 454 | Check if the given keys or values have the right type and size. Args: keys (ct.Array): keys array t |
| HIGH | src/python/bcc/table.py | 484 | Look up all the key-value pairs in the map. Args: None Yields: tuple: The tuple |
| HIGH | src/python/bcc/table.py | 498 | Delete the key-value pairs related to the keys given as parameters. Note that if no key are given, it is faster |
| HIGH | src/python/bcc/table.py | 549 | Look up and delete all the key-value pairs in the map. Args: None Yields: tuple |
| HIGH | src/python/bcc/table.py | 564 | Look up and optionally delete all the key-value pairs in the map. Args: delete (bool) : look up and |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | tools/runqlen.py | 82 | # Define the bpf program for checking purpose |
| MEDIUM | tools/tcpaccept.py | 97 | # The following code uses kprobes to instrument inet_csk_accept(). |
| MEDIUM | tools/tcptracer.py | 11 | # The following code should be replaced, and simplified, when static TCP probes |
| MEDIUM | tools/cpuunclaimed.py | 124 | # Define the bpf program for checking purpose |
| MEDIUM | tools/execsnoop.py | 108 | # Define the bpf program for checking purpose |
| MEDIUM | …les/networking/neighbor_sharing/tc_neighbor_sharing.py | 29 | # Create the wan namespace, and attach an ingress filter for throttling |
| MEDIUM | src/python/bcc/table.py | 667 | # The above code assumes that self.Key._fields_[1][0] holds the |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | tools/exitsnoop.py | 182 | # ============================= |
| MEDIUM | tools/exitsnoop.py | 184 | # ============================= |
| MEDIUM | tools/exitsnoop.py | 245 | # ============================= |
| MEDIUM | tools/exitsnoop.py | 247 | # ============================= |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/killsnoop.py | 155 | pass # not fatal error, just use the default value |
| MEDIUM | examples/tracing/stack_buildid_example.py | 77 | # libc.so and ping are added here so that any symbols pertaining to |
| LOW | examples/networking/vlan_filter/data-plane-tracing.py | 94 | #get interface ip address. In case ip is not set then just add 127.0.0.1. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | .github/workflows/bcc-test.yml | 241 | # To debug weird issues, you can add this step to be able to SSH to the test environment |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/kvmexit.py | 359 | # Check if kvm module is loaded |
| LOW | scripts/docker/auth.sh | 15 | # Set this to match the name of the bot user on quay.io |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | examples/networking/tcp_mon_block/src/tcp_mon_block.py | 9 | # Usage: |