Hacker News new | ask | show | jobs
by HeckFeck 1352 days ago
> library that handles rebooting

I know that one from somewhere, I think it is used heavily throughout Windows update.

1 comments

Actually, Windows (Update) is quite capable of hotpatching in-memory code. That why you can find two "mov eax, eax" instructions at the start of some functions. They allow hotpatching a long jmp there.