• Paul Chaignon's avatar
    Fix 20fb64cd and skip probe rewriter for bpf_probe_read (#1812) · eebd4856
    Paul Chaignon authored
    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.
    eebd4856
b_frontend_action.cc 43.4 KB