# 使用 Homebrew 安装 swift-section

查看 swift-section 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:swift-section
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install swift-section
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:swift-section
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/swift-section>
- **版本:** 0.11.0
- **来源摘要:** CLI tool for parsing mach-o files to obtain Swift information
- **主页:** <https://github.com/MxIris-Reverse-Engineering/MachOSwiftSection>
- **仓库:** <https://github.com/MxIris-Reverse-Engineering/MachOSwiftSection>
- **上游文档:** <https://github.com/MxIris-Reverse-Engineering/MachOSwiftSection#readme>
- **许可证:** MIT
- **源码归档:** <https://github.com/MxIris-Reverse-Engineering/MachOSwiftSection/archive/refs/tags/0.11.0.tar.gz>
- **最后更新:** 2026-04-22T17:14:21Z
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- swift-section (cli)
- swift-section (别名)

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_sequoia, arm64_tahoe

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 0.11.0
- 管理器更新时间: 2026-04-22
- 本地数据: OK
- 上游仓库: https://github.com/MxIris-Reverse-Engineering/MachOSwiftSection
- 检测到的最新版本: 0.11.0 (当前)
## 项目历史与用法

MachOSwiftSection is a Swift library and `swift-section` CLI for inspecting Swift metadata in Mach-O files, including dumping Swift sections and generating Swift interface-like output from binaries.

### 项目历史

The public repository was created in 2025. Its README states that the library was developed as an extension of MachOKit and focuses on parsing Swift information from Mach-O files, including types, protocols, conformances, runtime metadata inspection, and interface generation.

### 采用历史

The README documents installation through GitHub Releases, Homebrew, and source builds, placing the command-line tool in both release-artifact and package-manager workflows. Homebrew lists the formula as `swift-section` for macOS bottles.

### 使用方式

Users run `swift-section dump` to inspect Swift information in Mach-O files or dyld shared caches, and `swift-section interface` to generate Swift interface output. The README also documents SwiftPM library products such as MachOSwiftSection, SwiftInspection, SwiftDump, SwiftInterface, and TypeIndexing.

### 为什么软件包爱好者会关心

The package is relevant to Swift and macOS tooling specialists because it packages low-level Mach-O and Swift ABI inspection as both a SwiftPM library and a Homebrew-installable CLI. That combination makes binary reverse-engineering workflows scriptable and reproducible from the package manager.

### 时间线

- 2025: Public GitHub repository created.
- Current docs: README describes the project as an extension of MachOKit.
- Current docs: CLI installation documented through GitHub Releases, Homebrew, and source builds.

### Related projects

- The README names MachOKit as the base project and documents related products including SwiftInspection, SwiftDump, SwiftInterface, and TypeIndexing.

### 来源

- <https://api.github.com/repos/MxIris-Reverse-Engineering/MachOSwiftSection>
- <https://formulae.brew.sh/api/formula/swift-section.json>
- <https://github.com/MxIris-Reverse-Engineering/MachOSwiftSection#readme>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** swift-section
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Requirements:** macos, xcode
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [dwarf](https://www.automicvault.com/zh-hans/pkg/brew/dwarf/) - Shares av.db curated category or tags: binary-analysis, cli, developer-tools, mach-o.
- [readpe](https://www.automicvault.com/zh-hans/pkg/brew/readpe/) - Shares av.db curated category or tags: binary-analysis, cli, developer-tools, reverse-engineering.
- [abi-dumper](https://www.automicvault.com/zh-hans/pkg/brew/abi-dumper/) - Shares av.db curated category or tags: binary-analysis, cli, developer-tools.
- [go-size-analyzer](https://www.automicvault.com/zh-hans/pkg/brew/go-size-analyzer/) - Shares av.db curated category or tags: binary-analysis, cli, developer-tools.
- [libabigail](https://www.automicvault.com/zh-hans/pkg/brew/libabigail/) - Shares av.db curated category or tags: binary-analysis, cli, developer-tools.
- [vtable-dumper](https://www.automicvault.com/zh-hans/pkg/brew/vtable-dumper/) - Shares av.db curated category or tags: binary-analysis, cli, developer-tools.
- [capstone](https://www.automicvault.com/zh-hans/pkg/brew/capstone/) - Shares av.db curated category or tags: binary-analysis, cli, developer-tools, reverse-engineering.
- [elfx86exts](https://www.automicvault.com/zh-hans/pkg/brew/elfx86exts/) - Shares av.db curated category or tags: binary-analysis, cli, developer-tools, mach-o.

## Combined YAML source

View the package source record on GitHub. [combined/swift-section.yml](https://github.com/automic-vault/db/blob/main/combined/swift-section.yml)


## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
