Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

noir_vt_invept和noir_vt_invvpid的问题 #8

Closed
huoji120 opened this issue May 15, 2020 · 2 comments
Closed

noir_vt_invept和noir_vt_invvpid的问题 #8

huoji120 opened this issue May 15, 2020 · 2 comments

Comments

@huoji120
Copy link

在vt_hv.asm中,
第66行一个是 invept rcx,xmmword ptr [rdx],而不是 invept xmmword ptr [rdx],rcx
看起来是作者故意的?

@Zero-Tang
Copy link
Owner

这确实是我故意的,因为MASM汇编器定义的inveptinvvpid指令的操作数顺序与Intel VMX手册中所定义的相反,按正常顺序则无法编译。指令名后跟的先是内存操作数,然后才是寄存器操作数,也就是invept xmmword ptr[rdx],rcx。编译后用反汇编器查看,是正常的。
ida_invept

@huoji120
Copy link
Author

哈哈,不小心让一个anti paste代码暴露了。
作者的hypervisor源码质量特别高,是目前为止我认为的最好的hv源码了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants