rdmsr
rdmsr [Msr (hex)] [core CoreNumber (hex)]
ECX
Register for 'rdmsr' instruction).c0000082
using rdmsr
command.c0000082
for core 2
.IOCTL = IOCTL_DEBUGGER_READ_OR_WRITE_MSR
, you have to send it in the following structure.Msr
is ecx
value for 'rdmsr' or 'wrmsr' instruction, CoreNumber
is the target core that you want to read or write on it and ActionType
shows whether it's an 'rdmsr' or 'wrmsr'.DEBUGGER_READ_AND_WRITE_ON_MSR_APPLY_ALL_CORES
.