ocmtoc
« Back to VersTracker
Description:
Mach-O to PE/COFF binary converter
Type: Formula  |  Latest Version: 1.0.4@0  |  Tracked Since: Nov 4, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: mach-o binary converter developer-tool macos
Install: brew install ocmtoc
About:
ocmtoc is a command-line utility designed to convert Mach-O binary headers and structures into a human-readable Table of Contents (TOC) format. It is specifically useful for analyzing macOS executables and libraries to understand their structure, dependencies, and symbols. This tool aids developers in reverse engineering and debugging tasks by providing a clear overview of the binary layout.
Key Features:
  • Parses Mach-O headers, load commands, and sections
  • Outputs structured, readable TOC data
  • Helps identify dependencies and exported symbols
  • Lightweight and focused on a single task
Use Cases:
  • Analyzing third-party macOS libraries without source code
  • Debugging binary loading and linking issues
  • Creating documentation for binary interfaces
Alternatives:
  • otool – Part of Apple's Xcode tools, offers more extensive inspection capabilities but with a more complex output.
  • objdump – A generic GNU tool that can be configured for Mach-O but is less specialized for this specific format.
Version History
Detected Version Rev Change Commit
Nov 4, 2025 9:54am 0 VERSION_BUMP 1540fb7a
Nov 4, 2025 9:12am 0 VERSION_BUMP 344d0d1f
Sep 16, 2025 8:31am 0 VERSION_BUMP db7d26c7
Oct 26, 2024 9:34pm 0 VERSION_BUMP b8493f82