Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
B

boflink

> 编程语言
Open source

Linker for Beacon Object Files

191 stars0 likes2 views
WebsiteGitHub

About

Linker for Beacon Object Files

Boflink

Linker for Beacon Object Files.

  • Installation
  • Usage
  • Examples

Installation

Requires: Rust >=1.91.0

bash
rustc --version

From Source

bash
git clone https://github.com/MEhrn00/boflink.git
cd boflink
cargo xtask install

# For an LTO build
cargo xtask install -p release-lto

Usage

Standalone

bash
boflink [-o ] [options] ...
boflink -o mybof.bof -L/path/to/windows/libs -lkernel32 -ladvapi32 source.c object.o

Using MinGW GCC on Linux

MinGW GCC can be used to invoke boflink through a GCC spec file.

bash
boflink --print-gcc-specs > boflink.specs
x86_64-w64-mingw32-gcc -specs=boflink.specs ...
x86_64-w64-mingw32-gcc -specs=boflink.specs -o mybof.bof source.c object.o

Using Clang on Linux

Clang can be used to invoke boflink by passing --ld-path with the full path to the executable.

bash
clang --ld-path=/path/to/boflink --target=x86_64-windows-gnu -nostartfiles ...
clang --ld-path=/path/to/boflink --target=x86_64-windows-gnu -nostartfiles -o mybof.bof source.c object.o

Using MSVC on Windows

Windows requires running boflink inside a Visual Studio Developer Console.

powershell
boflink ...
boflink -o mybof.bof object1.o object2.o -lkernel32 -ladvapi32

Examples

Additional examples can be found in the examples/ directory.

Blog Post

https://blog.cybershenanigans.space/posts/boflink-a-linker-for-beacon-object-files/

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Rust

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言