Fix call to get_or_create_ptr_from_arg for probe_read_str

This commit is contained in:
Pragyansh Chaturvedi
2025-11-07 19:16:48 +05:30
parent 6c85b248ce
commit cf99b3bb9a

View File

@ -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)