iovisor / iovisor/bcc

Can I modify the parameters of the function with uprobe(eBPF)? It is applied only to the test environment.

Open
#3,376 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
22.7k
Forks
4.1k
Avg merge
10d 4h
Merged PRs (30d)
3

Description

**errors occur as follow:**
bpf: Failed to load program: Permission denied
0: (b7) r2 = 44
1: (7b) *(u64 *)(r1 +0) = r2
invalid bpf_context access off=0 size=8

It seems that I can not modify the registers when the arguments passing by registers, since the verifier would refuse.
I just do this in test environment. How can I do? thranks.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.