format chore

This commit is contained in:
2025-10-11 21:33:39 +05:30
parent 7c559840f0
commit abbf17748d
11 changed files with 27 additions and 10 deletions

View File

@ -3,6 +3,7 @@ import logging
from pythonbpf import compile, bpf, section, bpfglobal, compile_to_ir
from ctypes import c_void_p, c_int64
# This should not pass as somevalue is not declared at all.
@bpf
@section("tracepoint/syscalls/sys_enter_execve")
@ -11,6 +12,7 @@ def sometag(ctx: c_void_p) -> c_int64:
print(f"{somevalue}") # noqa: F821
return c_int64(1)
@bpf
@bpfglobal
def LICENSE() -> str: