mirror of
https://github.com/varun-r-mallya/Python-BPF.git
synced 2025-12-31 21:06:25 +00:00
Fix call to get_or_create_ptr_from_arg for probe_read_str
This commit is contained in:
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user