百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
B

boflink

> 编程语言
开源

灯塔对象文件的链接器

191 stars0 点赞2 次浏览
访问官网GitHub

工具介绍

灯塔对象文件的链接器

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 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rust

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

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