Created
October 9, 2014 05:49
-
-
Save bcho/bd65fcf083e7f4ce2110 to your computer and use it in GitHub Desktop.
trick
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Store current instruction. | |
| tf->esp -= 4; | |
| *((uint *) (tf->esp)) = tf->eip; | |
| // Run alarm handler. | |
| tf->eip = (uint) proc->alarmhandler; |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
redirect execute flow...