# mtoc を Homebrew でインストール

mtoc のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:mtoc
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install mtoc
```

  証拠: local Homebrew formula metadata

## パッケージ情報

- **パッケージキー:** brew:mtoc
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/mtoc>
- **バージョン:** 1035.1.102
- **ソース概要:** Mach-O to PE/COFF binary converter
- **ホームページ:** <https://opensource.apple.com/>
- **リポジトリ:** <https://github.com/apple-oss-distributions/cctools>
- **上流ドキュメント:** <https://opensource.apple.com/>
- **ライセンス:** APSL-2.0
- **ソースアーカイブ:** <https://github.com/apple-oss-distributions/cctools/archive/refs/tags/cctools-1035.1.102.tar.gz>
- **最終更新:** 2026-06-25T13:37:55+02:00
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- mtoc (cli)
- mtoc (エイリアス)

## ビルド依存関係

- llvm

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 1035.1.102
- マネージャ更新日: 2026-06-25
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/apple-oss-distributions/cctools
- 情報: No cached GitHub release or tag data was available.
## プロジェクトの歴史と使われ方

mtoc is a narrow Apple/Darwin build tool: a Mach-O to PE/COFF binary converter built from Apple's open-source cctools distribution. Homebrew packages it from the apple-oss-distributions/cctools source archive, builds the mtoc Xcode scheme, installs the mtoc binary and man page, and marks it as conflicting with ocmtoc because both provide the same command name.

### プロジェクトの歴史

Its main visible adoption path is firmware development on macOS. The TianoCore EDK II Xcode guide says Xcode supplies many development tools but not all tools needed for TianoCore, and names mtoc as the utility required to convert macOS Mach-O images to the PE/COFF form required by the UEFI specification. In that workflow, developers build EDK II firmware on macOS with Xcode and use mtoc as the format bridge between Apple's native object/executable format and UEFI's PE/COFF image expectations.

### 使われ方

As a package, mtoc is not a general binary-conversion suite like objconv and not the whole cctools collection. It is the small extract a Homebrew user installs when the build chain specifically asks for mtoc, most often through EDK II or related UEFI build instructions.

### ソース

- <https://formulae.brew.sh/formula/mtoc>
- <https://github.com/apple-oss-distributions/cctools>
- <https://github.com/tianocore/tianocore.github.io/wiki/xcode>
- <https://raw.githubusercontent.com/Homebrew/homebrew-core/master/Formula/m/mtoc.rb>


## セキュリティノート

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:** mtoc
- **Version Scheme:** 0
- **Revision:** 0
- **Conflicts With:** ocmtoc
- **Requirements:** macos, xcode
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable


## 関連リンク

- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/ja/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://pkg.so/ja/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [llvm](https://pkg.so/ja/brew/llvm/) - Build dependency declared by Homebrew.
- [telnet](https://pkg.so/ja/brew/telnet/) - Shares the same upstream homepage.
- [telnetd](https://pkg.so/ja/brew/telnetd/) - Shares the same upstream homepage.
- [bsdmake](https://pkg.so/ja/brew/bsdmake/) - Shares the same upstream homepage.
- [elfutils](https://pkg.so/ja/brew/elfutils/) - Shares pkgdb curated category or tags: binary-tools, cli, developer-tools.
- [dwarfutils](https://pkg.so/ja/brew/dwarfutils/) - Shares pkgdb curated category or tags: binary-tools, cli, developer-tools.
- [patchelf](https://pkg.so/ja/brew/patchelf/) - Shares pkgdb curated category or tags: binary-tools, cli, developer-tools.
- [objconv](https://pkg.so/ja/brew/objconv/) - Shares pkgdb curated category or tags: binary-tools, cli, developer-tools.
- [m68k-elf-binutils](https://pkg.so/ja/brew/m68k-elf-binutils/) - Shares pkgdb curated category or tags: binary-tools, cli, developer-tools.
- [poke](https://pkg.so/ja/brew/poke/) - Shares pkgdb curated category or tags: binary-tools, cli, developer-tools.
- [libplist](https://pkg.so/ja/brew/libplist/) - Shares pkgdb curated category or tags: apple, cli, developer-tools.
- [asc](https://pkg.so/ja/brew/asc/) - Shares pkgdb curated category or tags: apple, cli, developer-tools.
- [dwarf](https://pkg.so/ja/brew/dwarf/) - Local package facts share a topical domain. Shared terms: binary, cli, developer, developer-tools, mach.

## Combined YAML source

View the package source record on GitHub. [combined/mtoc.yml](https://github.com/mxcl/pkgdb/blob/main/combined/mtoc.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
