Skip to content

feat(bpfcompat): add library-mode (ValidateBeforeLoad) section#10

Merged
ErenAri merged 1 commit into
mainfrom
feat/bpfcompat-library-section
Jun 26, 2026
Merged

feat(bpfcompat): add library-mode (ValidateBeforeLoad) section#10
ErenAri merged 1 commit into
mainfrom
feat/bpfcompat-library-section

Conversation

@ErenAri

@ErenAri ErenAri commented Jun 26, 2026

Copy link
Copy Markdown
Owner

Adds a Library mode section to the bpfcompat page covering the new embeddable pkg/bpfcompat API (merged in the bpfcompat repo).

What's new on the page

  • Go API snippetbpfcompat.ValidateBeforeLoad(ctx, "probe.bpf.o") with the gate pattern.
  • Three properties — in-process/no-VM, air-gap safe, machine-readable verdict.
  • Two real terminal screenshots — a clean pass (OK=true, 3 ms) and a classified rejection (OK=false, CORE_RELOCATION_FAILURE, verifier log). Rendered from actual examples/libmode output.
  • New section "5c — library mode" between Coverage and the evidence matrix.

i18n

Copy localized across all 8 languages (en, tr, de, es, fr, ja, zh-CN, ko). The strict shape-parity / no-empty-string vitest test passes (5/5).

Verification

  • tsc --noEmit clean, vitest i18n test green.
  • npm run build → 288/288 routes prerendered.
  • Rendered content confirmed via headless-chrome dump-dom (client-rendered route): all new strings + both screenshots present.
  • dist-ssr / sitemap build churn reverted; only src/ + public/images committed.

🤖 Generated with Claude Code

Adds a "Library mode" section to the bpfcompat page covering the new
embeddable pkg/bpfcompat API: ValidateBeforeLoad does a real load against
the node's own running kernel (no VM, no network) as a pre-load gate for
loaders like bpfman. Includes the Go API snippet, three properties
(in-process/no-VM, air-gap safe, machine-readable verdict), and two real
terminal screenshots (pass + classified rejection). Copy localized across
all 8 languages; i18n parity test passes.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jun 26, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
kernel-guard-frontend 3a45f59 Commit Preview URL

Branch Preview URL
Jun 26 2026, 02:50 PM

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying kernel-guard-frontend-git with  Cloudflare Pages  Cloudflare Pages

Latest commit: 3a45f59
Status: ✅  Deploy successful!
Preview URL: https://baf520e0.kernel-guard-frontend-git.pages.dev
Branch Preview URL: https://feat-bpfcompat-library-secti.kernel-guard-frontend-git.pages.dev

View logs

@ErenAri ErenAri merged commit 3ac5f08 into main Jun 26, 2026
4 checks passed
@ErenAri ErenAri deleted the feat/bpfcompat-library-section branch June 26, 2026 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant