3 ms·
Speculative execution executes code that might not actually run. The following example could access protected memory even if `has_privileges` is false (i.e. the
by conradev 9y ago
Speculative execution executes code that might not actually run. The following example could access protected memory even if `has_privileges` is false (i.e. the processor predicts it might be true):
if (has_privileges) {
// Access protected memory
} else {
// Do something else
}