Potential memory leak when test uses uninitialized register (%r1). Ideally, Linux verifier should have caught this, but instead it appears to be leaking memory.
-- asm
ldxw %r0, [%r1]
exit
-- mem
00 00 00 00
-- result
0x0
Test execution outcome across three different plugins:
bpf2c
PASS: Test succeeded
libbpf
FAIL: Plugin returned incorrect return value ffff8b09dc604100 expected 0
Potential memory leak when test uses uninitialized register (%r1). Ideally, Linux verifier should have caught this, but instead it appears to be leaking memory.
Test execution outcome across three different plugins:
bpf2c
libbpf
uBPF