Commit Graph

14 Commits

Author SHA1 Message Date
d992493288 Core: Let probe_read_kernel read into a scalar, from a register address
A non-char-array destination is sized from its pointee, and a 64-bit
integer source (a pt_regs field) is the address to read from, as with
(void *)ctx->si in C. Also export probe_read_kernel from pythonbpf.helper;
it had an emitter but no importable name.
2026-09-25 18:25:30 +05:30
ad6adb14c9 x 2026-09-25 10:26:22 +05:30
536ea4855e add cgroup helper 2025-11-28 14:47:01 +05:30
a10da4a277 Implement bpf_get_stack handler 2025-11-13 00:59:50 +05:30
5e371787eb Fix the number of args for skb_store_bytes by making the first arg implicit 2025-11-03 21:11:16 +05:30
67c9d9b932 Fix imports for bpf_skb_store_bytes 2025-11-02 04:33:45 +05:30
4884ed7577 Fix imports for bpf_get_current_uid_gid 2025-11-02 03:35:41 +05:30
dabb8bf0df Fix imports for BPF_GET_SMP_PROCESSOR_ID 2025-11-01 14:07:47 +05:30
ec2ea835e5 Fix imports and type issues for bpf_probe_read 2025-11-01 13:50:23 +05:30
5cbd9a531e Add bpf_get_prandom_u32 helper 2025-10-27 01:08:56 +05:30
009b11aca6 Implement bpf_probe_read_kernel_str helper, Allow i8* to i8 ArrayType conversion 2025-10-15 23:52:15 +05:30
a0d954b20b Register bpf_get_current_comm_emitter for comm 2025-10-15 12:47:30 +05:30
d84ce0c6fa update helpers and change examples. 2025-10-08 13:57:09 +05:30
1a66887f48 move helper annotations to helpers module 2025-10-02 01:55:32 +05:30