law validate_mem_after_jump

bend-osdev-bpf@0.1.0.0 · LAWS.bend:328

import bend-osdev-bpf@0.1.0.0/LAWS.bend as LAWS
import Base
import bend-osdev-bpf@0.1.0.0/insn.bend as I
import bend-osdev-bpf@0.1.0.0/validate.bend as V

328# code after a jump is reached only by jumps to it; code after a return
329# counts as reached from the return, as Linux counts it
330law validate_mem_after_jump:
331  {V.bpf_validate(V.bpf_maxinsns(), [I.BpfLdImm{0}, I.BpfSt{0}, I.BpfJa{1}, I.BpfLdMem{1}, I.BpfRet{I.BpfRetA{}}]) == Done{Unit{}} : Result<&2, &2, I.BpfError, Unit>}

Uses (8)

Used by (0)

No other definition uses this definition.