# tyilo/insert_dylib

Command line utility for inserting a dylib load command into a Mach-O binary

Repository: https://github.com/tyilo/insert_dylib
Canonical: https://ross.abutalabs.com/products/insert_dylib
Language: C
License Family: other
Last push: 2025-03-29T19:45:56+00:00

## Health v2 (maintenance only)
Score: 38/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 13, release rhythm 35, longevity 100
- inputs: {"age_days": 4418, "days_push": 522, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2092, forks 377 (observed 2026-08-28T04:06:12.589200+00:00)

## What it is
A command line utility written in C that inserts a dylib load command (LC_LOAD_DYLIB or LC_LOAD_WEAK_DYLIB) into Mach-O binaries, including fat binaries. It also handles updating the mach header and optionally stripping code signatures.

## Use cases
- inject a dylib into a Mach-O binary
- patch an executable to load an extra library
- remove code signature from a macOS binary
- add LC_LOAD_DYLIB load command to a fat binary
- make an app load a tweak dylib on macOS or iOS

## When to choose
- you need to modify an existing Mach-O binary to load an additional dylib without recompiling
- you are doing reverse engineering or tweak development on macOS/iOS binaries
- you want a simple, scriptable CLI for binary patching

## When to avoid
- you need to inject code into ELF or PE binaries (Linux/Windows formats)
- you want a GUI tool or a library API rather than a CLI
- you need to preserve valid code signatures, since patching typically requires stripping them

## Facets
- artifact type: cli-tool
- maturity: active
- function: cli, developer-tools, reverse-engineering
- domain: developer-tools, reverse-engineering, operating-systems
- platform: cli, cpp
- tags: mach-o, dylib, dyld, code-signing, binary-modification, apple, binary-patching, command-line, macos

## Member repositories
- tyilo/insert_dylib (main) score 38

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:12.589200+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:55:31.426141+00:00, confidence not recorded.
  - readme: https://github.com/tyilo/insert_dylib (fetched 2026-08-28T04:06:12.589200+00:00, sha 1c67ae1f2e24)
- Data as of 2026-08-30T08:39:29.467469+00:00.
