BPF (Debugging with GDB)
From Get docs
Revision as of 03:23, 6 December 2021 by Notes (Page commit)
target sim [simargs] …
- The GDB BPF simulator accepts the following optional arguments.
- Tell the simulator the offset, measured in bytes, of the
skb_datafield in the kernel
struct sk_buffstructure. This offset is used by some BPF specific-purpose load/store instructions. Defaults to 0.