diff options
author | Alexei Starovoitov <[email protected]> | 2014-09-26 00:17:05 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2014-09-26 15:05:15 -0400 |
commit | 475fb78fbf48592ce541627c60a7b331060e31f5 (patch) | |
tree | 0abd11c01180004027ec187475ab48db9ac054d5 /net/lapb/lapb_subr.c | |
parent | 0246e64d9a5fcd4805198de59b9b5cf1f974eb41 (diff) |
bpf: verifier (add branch/goto checks)
check that control flow graph of eBPF program is a directed acyclic graph
check_cfg() does:
- detect loops
- detect unreachable instructions
- check that program terminates with BPF_EXIT insn
- check that all branches are within program boundary
Signed-off-by: Alexei Starovoitov <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions