Open 0xB10C opened 1 week ago
https://github.com/0xB10C/peer-observer/blob/df2e85d8cbcc1229d62a2d6712f13f0abf26e992/extractor/src/bpf/tracing.bpf.c#L77-L79
In multiple places, we use bpf_probe_read_str. https://man7.org/linux/man-pages/man7/bpf-helpers.7.html recommends to use bpf_probe_read_user_str instead.
bpf_probe_read_str
bpf_probe_read_user_str
Generally, use bpf_probe_read_user_str() or bpf_probe_read_kernel_str() instead.
https://github.com/0xB10C/peer-observer/blob/df2e85d8cbcc1229d62a2d6712f13f0abf26e992/extractor/src/bpf/tracing.bpf.c#L77-L79
In multiple places, we use
bpf_probe_read_str
. https://man7.org/linux/man-pages/man7/bpf-helpers.7.html recommends to usebpf_probe_read_user_str
instead.