TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Hooking C Functions at Runtime

18 pointsby tomf64almost 10 years ago

2 comments

glandiumalmost 10 years ago
That&#x27;s a lot of work for something that the dynamic linker on OS X supports out of the box. See, for example, <a href="http:&#x2F;&#x2F;toves.freeshell.org&#x2F;interpose&#x2F;" rel="nofollow">http:&#x2F;&#x2F;toves.freeshell.org&#x2F;interpose&#x2F;</a> or search for &quot;OS X interpose&quot; on your favorite search engine.
erobbinsalmost 10 years ago
Interesting.. in the linux&#x2F;unix world I&#x27;ve always intercepted functions with LD_PRELOAD. I&#x27;m guessing that&#x27;s not an option on OS X?
评论 #9945955 未加载