fishhook

by facebook · Developer Tools

A library that enables dynamically rebinding symbols in Mach-O binaries running on iOS.

New0 ratings5,430 starsActive
Developer ToolsDeveloper ToolCRuby
GitHub⚑ Report
fishhook — image 1

About this project

fishhook fishhook is a very simple library that enables dynamically rebinding symbols in Mach-O binaries running on iOS in the simulator and on device. This provides functionality that is similar to using DYLDINTERPOSE on OS X. At Facebook, we've found it useful as a way to hook calls in libSystem for debugging/tracing purposes (for example, auditing for double-close issues with file descriptors). Usage Once you add fishhook.h/fishhook.c to your project, you can rebind symbols as follows: Sample output How it works dyld binds lazy and non-lazy symbols by updating pointers in particular sections of the DATA segment of a Mach-O binary. fishhook re-binds these symbols by…

Technologies

CRuby

Project health

Inactive for over a year
Last update2 years ago
Contributors16
Latest release
Open issues & PRs39
LicenseBSD-3-Clause
On GitHubsince 2013

GitHub

5,430
stars
991
forks
16
contributors
39
open issues & PRs
C
language
2 years ago
last commit
View on GitHub ↗

Reviews

out of 5 · 0 ratings
★★★★★
0%
★★★★
0%
★★★
0%
★★
0%
0%
Sign in to write a review
No reviews yet
Be the first to review fishhook.

Built by

facebook
Imported from GitHub · not yet claimed on GitPalace
View developer pageSign in with GitHub to claim

Maintain facebook/fishhook? Claiming verifies admin access through your GitHub account and gives you control of this listing.

You might also like