macOS
brew install flip-linklocal Homebrew formula metadata
brew
Adds zero-cost stack overflow protection to your embedded programs. Version 0.1.12 via Homebrew; verified from local package data.
install
brew install flip-linklocal Homebrew formula metadata
nix profile install nixpkgs#flip-linknixpkgs package indexes · pkgs/by-name/fl/flip-link/package.nix · source: api.github.com
sudo pacman -S flip-linkArch Linux sync databases · flip-link · source: geo.mirror.pkgbuild.com
overview
Adds zero-cost stack overflow protection to your embedded programs
history
flip-link is a Rust linker wrapper from the Knurling embedded tooling project. It adds zero-cost stack overflow protection to bare-metal embedded Rust programs by flipping the memory layout used for ARM Cortex-M targets.
The README explains the motivating bug class: stack overflows in bare-metal Cortex-M Rust programs can collide with .bss and .data static variables, causing undefined behavior even in code without unsafe blocks.
flip-link changes the link layout so the stack grows toward the physical RAM boundary instead of into static data. A stack overflow then becomes a hardware exception handled through the Cortex-M runtime rather than silent memory corruption.
The README documents installation from crates.io with cargo install flip-link and configuration through .cargo/config.toml, making it a drop-in build-tool package for embedded Rust projects.
The input package metadata records packaging in Homebrew, Nix, and Arch, showing adoption outside Cargo for users who install embedded toolchain helpers through system package managers.
Users set the target linker to flip-link for bare-metal ARM targets, replacing rust-lld in Cargo configuration. flip-link invokes the Rust toolchain linker after adjusting the memory layout.
The official docs note support for ARM Cortex-M programs using cortex-m-rt 0.6.x and 0.7.x with LLD, with other architectures and runtime crates outside the tested scope.
flip-link is significant because it packages a linker-level safety trick as a small CLI rather than requiring every embedded project to maintain custom linker scripts.
For Rust package maintainers, it is also a clear example of tooling that belongs in the build environment: the binary is tiny, target-specific, and wired through Cargo configuration rather than imported as a normal runtime library.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
flip-link | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/knurling-rs/flip-link
install metadata
| Package key | brew:flip-link |
|---|---|
| Version | 0.1.12 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/flip-link |
| Homepage | https://github.com/knurling-rs/flip-link |
| Repository | https://github.com/knurling-rs/flip-link |
| Upstream docs | https://github.com/knurling-rs/flip-link#readme |
| License | Apache-2.0 OR MIT |
| Source archive | https://github.com/knurling-rs/flip-link/archive/refs/tags/v0.1.12.tar.gz |
| Build dependencies | rust |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | flip-link |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
flip-link
nix profile install nixpkgs#flip-linkflip-link 0.1.12-2
Flips the memory layout of embedded programs to protect against stack overflows
https://github.com/knurling-rs/flip-link
sudo pacman -S flip-linksource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.