Skip to content

Commit cf99b3b

Browse files
committed
Fix call to get_or_create_ptr_from_arg for probe_read_str
1 parent 6c85b24 commit cf99b3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pythonbpf/helper/bpf_helper_handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ def bpf_probe_read_kernel_str_emitter(
464464

465465
# Get destination buffer (char array -> i8*)
466466
dst_ptr, dst_size = get_or_create_ptr_from_arg(
467-
call.args[0], builder, local_sym_tab, struct_sym_tab
467+
func, module, call.args[0], builder, local_sym_tab, map_sym_tab, struct_sym_tab
468468
)
469469

470470
# Get source pointer (evaluate expression)

0 commit comments

Comments
 (0)