---
title: "What the verifier rejects"
---

> Documentation Index
> Fetch the complete documentation index at: https://example.com/llms.txt
> Use this file to discover all available pages before exploring further.

# What the verifier rejects

Safety has a real cost: the verifier caps analysis at 1 million verified instructions, forbids unbounded loops, and rejects variable-offset packet reads that lack explicit bounds checks.

Complex protocol decoders—like nested ASN.1 or fragmented SCTP—*fight* the verifier. Modern kernels add `bpf_loop()` and iterators, yet deep parsing still belongs in user space.

## Common verifier rejections

- Missing null check after map lookup → rejected
- Packet read without data + N <= data_end → rejected
- Unbounded while loop or >512B local struct → rejected

> **Watch out:** Do not try to build a full Wireshark dissector inside eBPF. Filter and summarize in the kernel; hand rich parsing to user space.

Source: https://example.com/ebpf-field-guide/core-architecture/kernel-and-vm/limits/index.mdx
