demo

command
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2026 License: Apache-2.0 Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Original local demonstration

The tiny C source and both text patches are original Apache-2.0 fixtures. They demonstrate changing an arithmetic operation and then its displayed label. They have no upstream security provenance or CVE claim; both declare local:demonstration.

From the repository root, run go run ./examples/demo --output /tmp/demo-inputs with an absent output under an existing parent. The generator embeds the tracked fixtures and writes source.tar.gz, patches/ and a complete stack.yaml with their exact SHA-256 hashes. It fixes archive member order, modes, uid/gid and timestamps, so repeated generation produces identical input bytes. Generated files are disposable and are not repository source artifacts.

Run the CLI with --manifest /tmp/demo-inputs/stack.yaml --input-root /tmp/demo-inputs --output /tmp/demo-result. The result contains patched source/main.c and both evidence reports. The audit does not compile or test the C program and does not establish a security repair.

Documentation

Overview

Command demo generates the original two-patch local demonstration inputs.

Directories

Path Synopsis
Package fixtures creates an original, deterministic local demonstration.
Package fixtures creates an original, deterministic local demonstration.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL