fix CO-RE read for cast structs

This commit is contained in:
2025-11-22 01:47:25 +05:30
parent 84507b8b98
commit 6f25c554a9
4 changed files with 50 additions and 16 deletions

View File

@ -1,6 +1,6 @@
from .helper_registry import HelperHandlerRegistry
from .helper_utils import reset_scratch_pool
from .bpf_helper_handler import handle_helper_call, emit_probe_read_kernel_str_call
from .bpf_helper_handler import handle_helper_call, emit_probe_read_kernel_str_call, emit_probe_read_kernel_call
from .helpers import (
ktime,
pid,
@ -74,6 +74,7 @@ __all__ = [
"reset_scratch_pool",
"handle_helper_call",
"emit_probe_read_kernel_str_call",
"emit_probe_read_kernel_call",
"ktime",
"pid",
"deref",