macOS
brew install flip-linklocal Homebrew formula metadata
安装
brew install flip-linklocal Homebrew formula metadata
nix profile install nixpkgs#flip-linknixpkgs package indexes · pkgs/by-name/fl/flip-link/package.nix · 来源: api.github.com
sudo pacman -S flip-linkArch Linux sync databases · flip-link · 来源: geo.mirror.pkgbuild.com
概览
Adds zero-cost stack overflow protection to your embedded programs
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
flip-link | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/knurling-rs/flip-link
安装元数据
| 软件包键 | brew:flip-link |
|---|---|
| 版本 | 0.1.12 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/flip-link |
| 主页 | https://github.com/knurling-rs/flip-link |
| 仓库 | https://github.com/knurling-rs/flip-link |
| 上游文档 | https://github.com/knurling-rs/flip-link#readme |
| 许可证 | Apache-2.0 OR MIT |
| 源码归档 | https://github.com/knurling-rs/flip-link/archive/refs/tags/v0.1.12.tar.gz |
| 构建依赖 | rust |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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-link来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.