steven-michaud / HookCase

Tool for reverse engineering macOS/OS X

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Loading hook library in 'open' no longer loads it in its children

steven-michaud opened this issue · comments

It used to be that you could use the following syntax to load a hook library into an application (and all its children):

HC_INSERT_LIBRARY=/full/path/to/hook.dylib open /Applications/[Application].app

This no longer works. Now your hook library only gets loaded into open itself.

I expect this has been true for a while. But I don't often use this syntax, so I didn't notice it. I'll try to restore the original behavior. In the meantime you can use the following syntax as a workaround:

HC_INSERT_LIBRARY=/full/path/to/hook.dylib open /Applications/[Application].app/Contents/MacOS/[Application]