Files
python-bpf/pythonbpf
Pragyansh Chaturvedi dde720f46e Core: Pass helpers the pointer a local holds, not its slot's address
A local bound to a map lookup holds a pointer, and get_or_create_ptr_from_arg
handed a helper the address of that local's stack slot instead. So
count.update(k, prev) stored the kernel address of the map value, not the
value, and after prev = prev + 1 it stored the address of the temporary.
The verifier accepts both when loading as root, so nothing failed: the
failing_tests/vmlinux/named_arg.py example has been passing all along while
storing the wrong thing. The slot is now loaded when it holds a pointer.

named_arg.py moves to passing_tests, and both it and a new
map_update_from_lookup.py are pinned by IR assertions.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-09 03:13:47 +05:30
..
2026-09-26 01:00:45 +05:30
2025-10-14 04:22:17 +05:30
2026-09-26 01:00:45 +05:30
2026-09-26 01:05:13 +05:30
2026-09-26 01:00:45 +05:30