You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Writing a Guard CF Function<br />
title “CFG Hook"<br />
include ksamd64.inc<br />
subttl<br />
"Function to receive CFG Callbacks"<br />
EXTERN CfgCHook:PROC<br />
NESTED_ENTRY CfgHook, TEXT<br />
GENERATE_EXCEPTION_FRAME Rbp<br />
call CfgCHook<br />
RESTORE_EXCEPTION_STATE Rbp<br />
; More crashes<br />
; Oh no, what will you call here?<br />
; None of this works!<br />
ret<br />
NESTED_END CfgHook, TEXT<br />
end<br />
1/26/2016 COPYRIGHT 2015 ALEX IONESCU. ALL RIGHTS RESERVED. 37