---
title: "Proven safe before running"
---

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

# Proven safe before running

Before a single instruction executes, the [eBPF verifier](https://example.com/ebpf-field-guide/glossary/#ebpf-verifier) walks every branch of your bytecode. It simulates register types, pointer bounds, null checks, and stack initialization across all paths.

If a pointer could read past a packet end, or a loop could run forever, the kernel rejects the `bpf()` load immediately with a trace log—never at runtime.

> **Key idea:** The verifier shifts kernel safety from runtime hope to load-time mathematical proof. If the verifier accepts it, the program is proven to terminate and stay in bounds.

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