MCPcopy Create free account

hub / github.com/boratanrikulu/gobee / functions

Functions474 in github.com/boratanrikulu/gobee

FunctionTestRewrite_NoMatches
(t *testing.T)
diagnose/diagnose_test.go:127
FunctionTestRun_NoInputs
(t *testing.T)
internal/transpile/pipeline_test.go:55
FunctionTestRun_TranslateGolden
(t *testing.T)
internal/transpile/pipeline_test.go:11
FunctionTestValidate_Helloworld
(t *testing.T)
internal/transpile/validate_test.go:29
FunctionTestValidate_RejectsBadConstructs
(t *testing.T)
internal/transpile/validate_test.go:43
FunctionTestValidate_RejectsForeignImport
(t *testing.T)
internal/transpile/validate_test.go:80
FunctionTestValidate_RejectsMethodAndMultiReturn
(t *testing.T)
internal/transpile/validate_test.go:110
FunctionTestVerifierErrorAnnotation
TestVerifierErrorAnnotation builds a deliberately-broken kernel-side program (Lookup followed by an unchecked dereference), loads it, and asserts that
e2e/verifier_error_test.go:29
FunctionThisCpuPtr
ThisCpuPtr wraps the BPF helper `bpf_this_cpu_ptr`. Take a pointer to a percpu ksym, *percpu_ptr*, and return a pointer to the percpu kernel variab
bpf/helpers_generated.go:4343
FunctionTimerCancel
TimerCancel wraps the BPF helper `bpf_timer_cancel`. Cancel the timer and wait for callback_fn to finish if it was running. Returns 0 if the time
bpf/helpers_generated.go:4356
FunctionTimerInit
TimerInit wraps the BPF helper `bpf_timer_init`. Initialize the timer. First 4 bits of *flags* specify clockid. Only CLOCK_MONOTONIC, CLOCK_REALTI
bpf/helpers_generated.go:4376
FunctionTimerSetCallback
TimerSetCallback wraps the BPF helper `bpf_timer_set_callback`. Configure the timer to call *callback_fn* static function. Returns 0 on success.
bpf/helpers_generated.go:4390
FunctionTimerStart
TimerStart wraps the BPF helper `bpf_timer_start`. Set timer expiration N nanoseconds from the current time. The configured callback will be invoke
bpf/helpers_generated.go:4426
FunctionToCpu
bpf:section xdp
testdata/examples/30_cpumap.go:17
FunctionToUserspace
bpf:section xdp
testdata/examples/31_xskmap.go:17
FunctionTrackBytes
bpf:section sockops
testdata/examples/27_sk_storage.go:21
FunctionTrackOpen
bpf:section lsm/file_open
testdata/examples/28_inode_storage.go:20
FunctionUserRingbufDrain
TracePrintk wraps the BPF helper `bpf_trace_printk`. This helper is a "printk()-like" facility for debugging. It prints a message defined by forma
bpf/helpers_generated.go:4544
FunctionWriteSourceMap
WriteSourceMap writes the sourcemap text representation to w.
internal/transpile/sourcemap.go:43
FunctionXdpAdjustHead
XdpAdjustHead wraps the BPF helper `bpf_xdp_adjust_head`. Adjust (move) *xdp_md*\ **->data** by *delta* bytes. Note that it is possible to use a ne
bpf/helpers_generated.go:4564
FunctionXdpAdjustMeta
XdpAdjustMeta wraps the BPF helper `bpf_xdp_adjust_meta`. Adjust the address pointed by *xdp_md*\ **->data_meta** by *delta* (which can be positive
bpf/helpers_generated.go:4596
FunctionXdpAdjustTail
XdpAdjustTail wraps the BPF helper `bpf_xdp_adjust_tail`. Adjust (move) *xdp_md*\ **->data_end** by *delta* bytes. It is possible to both shrink an
bpf/helpers_generated.go:4613
FunctionXdpGetBuffLen
XdpGetBuffLen wraps the BPF helper `bpf_xdp_get_buff_len`. Get the total size of a given xdp buff (linear and paged area) Returns The total size
bpf/helpers_generated.go:4622
FunctionXdpLoadBytes
XdpLoadBytes wraps the BPF helper `bpf_xdp_load_bytes`. This helper is provided as an easy way to load data from a xdp buffer. It can be used to lo
bpf/helpers_generated.go:4634
FunctionXdpOutput
XdpOutput wraps the BPF helper `bpf_xdp_output`. Write raw *data* blob into a special BPF perf event held by *map* of type **BPF_MAP_TYPE_PERF_EVEN
bpf/helpers_generated.go:4663
FunctionXdpStoreBytes
XdpStoreBytes wraps the BPF helper `bpf_xdp_store_bytes`. Store *len* bytes from buffer *buf* into the frame associated to *xdp_md*, at *offset*.
bpf/helpers_generated.go:4675
Functioninit
()
cmd/gobee/app/diagnose.go:27
Functioninit
()
cmd/gobee/app/translate.go:25
Functioninit
()
cmd/gobee/app/root.go:22
Functionmain
()
example/helloworld/main.go:28
Functionmain
()
example/helloworld/bpf/src/counter.go:24
Functionmain
()
example/sysmon/main.go:31
Functionmain
()
example/sysmon/bpf/src/sysmon.go:136
Functionmain
()
tools/genhelpers/main.go:36
Functionmain
()
testdata/examples/23_lpm_trie.go:35
Functionmain
()
testdata/examples/09_sockops.go:28
Functionmain
()
testdata/examples/33_endian.go:22
Functionmain
()
testdata/examples/19_prog_array.go:26
Functionmain
()
testdata/examples/20_perf_event_array.go:32
Functionmain
()
testdata/examples/25_lru_percpu_hash.go:23
Functionmain
()
testdata/examples/13_xdp_per_iface.go:30
Functionmain
()
testdata/examples/10_tc_classifier.go:19
Functionmain
()
testdata/examples/18_stack.go:21
Functionmain
()
testdata/examples/22_bloom_filter.go:23
Functionmain
()
testdata/examples/27_sk_storage.go:28
Functionmain
()
testdata/examples/11_cgroup_skb_egress.go:26
Functionmain
()
testdata/examples/17_queue.go:21
Functionmain
()
testdata/examples/15_percpu_array.go:26
Functionmain
()
testdata/examples/12_lsm_file_open.go:18
Functionmain
()
testdata/examples/05_combo.go:36
Functionmain
()
testdata/examples/29_devmap.go:25
Functionmain
()
testdata/examples/06_tracepoint_openat.go:26
Functionmain
()
testdata/examples/02_pidcount.go:30
Functionmain
()
testdata/examples/07_kprobe_tcp_connect.go:26
Functionmain
()
testdata/examples/34_blank_lookup.go:30
Functionmain
()
testdata/examples/24_percpu_hash.go:28
Functionmain
()
testdata/examples/32_sockops_cb_flags.go:25
Functionmain
()
testdata/examples/08_uprobe_libc_malloc.go:27
Functionmain
()
testdata/examples/01_timestamps.go:23
Functionmain
()
testdata/examples/30_cpumap.go:22
Functionmain
()
testdata/examples/04_per_cpu_stats.go:28
Functionmain
()
testdata/examples/26_kretprobe.go:27
Functionmain
()
testdata/examples/28_inode_storage.go:24
Functionmain
()
testdata/examples/14_lru_hash.go:28
Functionmain
()
testdata/examples/21_task_storage.go:31
Functionmain
()
testdata/examples/03_sample_drop.go:22
Functionmain
()
testdata/examples/16_ringbuf_exec.go:31
Functionmain
()
testdata/examples/31_xskmap.go:22
Functionmain
()
testdata/golden/helloworld.go:22
Functionmain
()
cmd/gobee/main.go:9
Functionmain
()
e2e/broken/bpf/src/broken.go:27
FunctionrunDiagnose
(cmd *cobra.Command, args []string)
cmd/gobee/app/diagnose.go:36
FunctionrunTranslate
(cmd *cobra.Command, args []string)
cmd/gobee/app/translate.go:35
Methodvisit
(n ast.Node)
internal/transpile/validate.go:112
← previous401–474 of 474, ranked by callers