Description of the 'rdtsc' function in HyperDbg Scripts
rdtsc
rdtsc();
None
Reads and returns the current value of the processor's (current core's) time-stamp counter using the RDTSC instruction.
RDTSC
The time-stamp counter value (the value of EDX:EAX) returned as a 64-bit value.
EDX:EAX
The following code executes and returns the TSC value.
? current_core_tsc = rdtsc();
rdtscparrow-up-right
Last updated 8 months ago