HookAfterStubHeaderBegin:\r
db 6ah ; push\r
@VectorNum:\r
- db 0 ; 0 will be fixed \r
+ db 0 ; 0 will be fixed\r
push rax\r
mov rax, HookAfterStubHeaderEnd\r
jmp rax\r
; + RBP +\r
; +---------------------+ <-- RBP, 16-byte aligned\r
; The follow algorithm is used for the common interrupt routine.\r
-CommonInterruptEntry PROC PUBLIC \r
+CommonInterruptEntry PROC PUBLIC\r
cli\r
pop rax\r
;\r
;\r
push [rsp]\r
mov qword ptr [rsp + 8], 0\r
-@@: \r
+@@:\r
push rbp\r
mov rbp, rsp\r
push 0 ; clear EXCEPTION_HANDLER_CONTEXT.OldIdtHandler\r
jz DoIret\r
push rax\r
mov rax, rsp ; save old RSP to rax\r
- mov rsp, [rsp + 20h] \r
+ mov rsp, [rsp + 20h]\r
push [rax + 10h] ; save CS in new location\r
push [rax + 8h] ; save EIP in new location\r
push [rax + 18h] ; save EFLAGS in new location\r