mythril icon indicating copy to clipboard operation
mythril copied to clipboard

More accurate CPUID emulation

Open ALSchwalm opened this issue 5 years ago • 3 comments

Currently we (mostly) just call CPUID in the host. This won't work for #13, so will need to actually emulate some of this. It will need to be done piecemeal, as cpuid has a ton of parts. This can be closed once we have a more clear idea of what the specific portions are we need to emulate.

Relevant mythril site: https://github.com/ALSchwalm/mythril/blob/master/mythril_core/src/vcpu.rs#L520 KVM: https://elixir.bootlin.com/linux/v4.19.83/source/arch/x86/kvm/cpuid.c

ALSchwalm avatar Jan 23 '20 20:01 ALSchwalm

I have no idea how hard this is but I'll try this. If I end up working on this partially from home you may see @pirocks in this issue. That's my personal account.

francis-starlab avatar Oct 23 '20 14:10 francis-starlab

:+1: sounds good. I'm going to assign @francis-starlab for now, just so it's clear someone is doing this

ALSchwalm avatar Oct 23 '20 14:10 ALSchwalm

Thanks @francis-starlab!

dlrobertson avatar Oct 23 '20 17:10 dlrobertson