Skip to content

eBPf Code generated by this tool can't pass the verifier  #32

@wenlxie

Description

@wenlxie

I am checking for how to make xdpcap can works by fentry/fexit instead of tail call, so that it can hook to xdp prog dynamically without change xdp prog's code.

I met issues that cbpf->ebpf instructions can't pass the verify of bpf.
Any suggestions for this?

More details:
cloudflare/xdpcap#51 (comment)

Does this tools can be enhanced the cBPF codes to pass the bpf verifier?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions