manticore icon indicating copy to clipboard operation
manticore copied to clipboard

Implement FXRSTOR and FXLOAD

Open MrSynAckSter-zz opened this issue 5 years ago • 4 comments

FXRSTOR and FXLOAD are currently not implemented. We should implement them.

m.n.c.abstractcpu:WARNING: Unimplemented instruction: 0x00007fffffdcedc1:	0f ae 44 24 40	fxsave	[rsp + 0x40]

2019-07-19 12:06:07,684: [18842] m.n.c.abstractcpu:WARNING: Unimplemented instruction: 0x00007fffffdcedd6:	0f ae 4c 24 40	fxrstor	[rsp + 0x40]

This will be need separate implementations on x86 versus amd64 due to differing memory layouts.

MrSynAckSter-zz avatar Jul 19 '19 19:07 MrSynAckSter-zz

FXSAVE: https://www.felixcloutier.com/x86/fxsave FXRSTOR: https://www.felixcloutier.com/x86/fxrstor

woodruffw avatar Jul 19 '19 20:07 woodruffw

@woodruffw Are you trying to say that we don't need to implement them since they are only related to context switching?

tpetersonkth avatar Aug 14 '19 11:08 tpetersonkth

@pythonpsycho1337 Sorry, I'm not sure what you're referring to. We do indeed want to implement these.

woodruffw avatar Aug 14 '19 14:08 woodruffw

cc @Boyan-MILANOV

woodruffw avatar Dec 09 '21 16:12 woodruffw