上一讲讲到的InlineHook,每次Hook的时候,都要读写两次内存(先Hook,再还原)这种Hook方式,性能比较低,今天我们讲的这种Hook方式,可以说是InlineHook的升级版本 我们先来讲讲原理: 我们继续来看看目标程序反汇编: 770A8E19 | CC | int3 | 770A8E1A | CC | int3 | 770A8E1B | CC | int3 | 770A8E1C | CC | int3 | 770A8E1D | CC | int3 | 770A8E1E | CC | int3 | 770A8E1F | CC | int3 | 770A8E20 | 8BFF | mov edi,edi | 770A8E22 | 55 | push ebp | 770A8E23 | 8BEC | mov ebp,esp | 770A8E25 | 833D 8C8C0D77 00 | cmp dword ptr ds:[770D8C8C],0 | 770A8E2C | 74 22 | je user32.770A8E50 | 770A8E2E | 64:A1...
Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile
Get in touch with Short
Contact Short, search articles and posts on X, monitor coverage, and track replies from one place.
Learn more about Muck Rack