add function pointer detection warning as well as identify ctypes non recursion error

This commit is contained in:
2025-10-18 23:02:00 +05:30
parent 5dafa5bd0d
commit 328b792e4e
2 changed files with 29 additions and 12 deletions

View File

@ -1,8 +1,9 @@
from pythonbpf import bpf, section, bpfglobal, compile_to_ir, compile
from vmlinux import TASK_COMM_LEN # noqa: F401
from vmlinux import struct_trace_event_raw_sys_enter # noqa: F401
from vmlinux import struct_uinput_device
from vmlinux import struct_blk_integrity_iter
# from vmlinux import struct_uinput_device
# from vmlinux import struct_blk_integrity_iter
from ctypes import c_int64
@ -26,3 +27,4 @@ def LICENSE() -> str:
compile_to_ir("simple_struct_test.py", "simple_struct_test.ll")
compile()