Skip to content

Commit 5be6a5e

Browse files
committed
Mask TSC-deadline timer
This is not yet implemented
1 parent 77a6e44 commit 5be6a5e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

mythril/src/emulate/cpuid.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ pub fn emulate_cpuid(
2020

2121
// Hide hypervisor feature
2222
res.ecx &= !(1 << 31);
23+
24+
// Hide TSC deadline timer
25+
res.ecx &= !(1 << 24);
2326
}
2427

2528
guest_cpu.rax = res.eax as u64 | (guest_cpu.rax & 0xffffffff00000000);

0 commit comments

Comments
 (0)