top | item 9944255 Hooking C Functions at Runtime 18 points| tomf64 | 10 years ago |thomasfinch.me 4 comments order hn newest glandium|10 years ago That's a lot of work for something that the dynamic linker on OS X supports out of the box. See, for example, http://toves.freeshell.org/interpose/ or search for "OS X interpose" on your favorite search engine. erobbins|10 years ago Interesting.. in the linux/unix world I've always intercepted functions with LD_PRELOAD. I'm guessing that's not an option on OS X? jamessu|10 years ago DYLD_INSERT_LIBRARIES is more or less the OS X equivalent of LD_PRELOAD. load replies (1)
glandium|10 years ago That's a lot of work for something that the dynamic linker on OS X supports out of the box. See, for example, http://toves.freeshell.org/interpose/ or search for "OS X interpose" on your favorite search engine.
erobbins|10 years ago Interesting.. in the linux/unix world I've always intercepted functions with LD_PRELOAD. I'm guessing that's not an option on OS X? jamessu|10 years ago DYLD_INSERT_LIBRARIES is more or less the OS X equivalent of LD_PRELOAD. load replies (1)
jamessu|10 years ago DYLD_INSERT_LIBRARIES is more or less the OS X equivalent of LD_PRELOAD. load replies (1)
glandium|10 years ago
erobbins|10 years ago
jamessu|10 years ago