From cf99b3bb9a859b4324d6dc583f0930380ab0f66d Mon Sep 17 00:00:00 2001 From: Pragyansh Chaturvedi Date: Fri, 7 Nov 2025 19:16:48 +0530 Subject: [PATCH] Fix call to get_or_create_ptr_from_arg for probe_read_str --- pythonbpf/helper/bpf_helper_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pythonbpf/helper/bpf_helper_handler.py b/pythonbpf/helper/bpf_helper_handler.py index b3bf663..acfedef 100644 --- a/pythonbpf/helper/bpf_helper_handler.py +++ b/pythonbpf/helper/bpf_helper_handler.py @@ -464,7 +464,7 @@ def bpf_probe_read_kernel_str_emitter( # Get destination buffer (char array -> i8*) dst_ptr, dst_size = get_or_create_ptr_from_arg( - call.args[0], builder, local_sym_tab, struct_sym_tab + func, module, call.args[0], builder, local_sym_tab, map_sym_tab, struct_sym_tab ) # Get source pointer (evaluate expression)