Hi guys really not sure where to place this but i have a shadow-ssdt hook and i want to poke usermode so i have part coded a debug register hook to do this but im unsure how to set dr0 and dr7 registers in kernel.
[color=Blue]The CPU manual simply states that you can move any 32bit register into DR0-DR7: [code] mov eax, ... whatever ... mov dr0, eax [/code] Did you try the inline assembler for this? Also, if inline assembler does not serve these instructions - you can use __emit() statement to generate the byte codes.[/color]
Comments
[code]
mov eax, ... whatever ...
mov dr0, eax
[/code]
Did you try the inline assembler for this? Also, if inline assembler does not serve these instructions - you can use __emit() statement to generate the byte codes.[/color]