x86emu

Constant MAX_REP_LOOPS

Source
pub const MAX_REP_LOOPS: u64 = 1024;
Expand description

Maximum number of repetitions that will be completed in a single run for rep prefixed instructions. After this many iterations we’ll return control to the processor to process any outstanding interrupts or other events. However we won’t increment RIP, so we’ll be re-entered where we left off.