logoalt Hacker News

quotemstr • today at 4:08 AM • 0 replies • view on HN

Detours rewrites instructions at the start of the detoured function. Why should it know or care whether the instructions it's overwriting happen to be ones written by a previous detour? Why would you need to synchronize?