Fix 20fb64cd and skip probe rewriter for bpf_probe_read (#1812)
20fb64cd stops the whole AST traversal if it meets a bpf_probe_read call. I think the original intent was to simply not rewrite the third argument, so this commit fixes it by remembering the third argument on bpf_probe_read call traversals and overriding TraverseStmt to skip the traversal of that argument when we meet it later.
Showing
Please register or sign in to comment