Fix recursive binops, move failing binops to passing

This commit is contained in:
Pragyansh Chaturvedi
2025-10-03 17:08:41 +05:30
parent d593969408
commit a8b3f4f86c
4 changed files with 15 additions and 10 deletions

View File

@ -0,0 +1,19 @@
from pythonbpf import compile, bpf, section, bpfglobal
from ctypes import c_void_p, c_int64
@bpf
@section("tracepoint/syscalls/sys_enter_sync")
def sometag(ctx: c_void_p) -> c_int64:
a = 1 + 2 + 1
print(f"{a}")
return c_int64(0)
@bpf
@bpfglobal
def LICENSE() -> str:
return "GPL"
compile()