MCPcopy Index your code
hub / github.com/dropbox/goebpf

github.com/dropbox/goebpf @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
414 symbols 1,231 edges 56 files 240 documented · 58%
What it actually does AI analysis from the code graph — generated when you open this
loading…

Extension points exported contracts — how you extend this code

System (Interface)
System defines interface for eBPF system - top level interface to interact with eBPF system [2 implementers]
ebpf.go
Map (Interface)
Map defines interface to interact with eBPF maps [2 implementers]
ebpf.go
Program (Interface)
Program defines eBPF program interface [1 implementers]
ebpf.go

Core symbols most depended-on inside this repo

GetFd
called by 35
ebpf.go
NullTerminatedStringToString
called by 30
utils.go
Attach
called by 20
ebpf.go
CreateLPMtrieKey
called by 20
map.go
GetPrograms
called by 18
ebpf.go
GetProgramByName
called by 18
ebpf.go
Close
called by 18
ebpf.go
GetType
called by 17
ebpf.go

Shape

Method 188
Function 131
Class 41
Struct 33
TypeAlias 11
Enum 6
Interface 3
FuncType 1

Languages

Go82%
C12%
C++6%

Modules by API surface

ebpf.go45 symbols
map.go30 symbols
program_kprobe.go23 symbols
goebpf_mock/mock_map.go22 symbols
bpf_helpers.h21 symbols
itest/map_test.go18 symbols
program_tc.go16 symbols
goebpf_mock/mock_prog.go14 symbols
utils.go13 symbols
program_base.go12 symbols
examples/kprobe/exec_dump/ebpf_prog/kprobe.c11 symbols
loader.go10 symbols

For agents

$ claude mcp add goebpf \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact