Closed fake-cheater closed 5 years ago
Time to create issue templates, I guess :).
handle_vm_fallback
, good point, will fixIn addition to these problems, this vmm can also be detected by the ring3 layer. You can download wegame and test your vmm.. Tencent WeGameDownload link: https://www.wegame.com/
There are also detection vectors for cr4/cr0 fixed bits, etc.
Thank you baby, your open source project code style I like very much. :)
void vmexit_passthrough_handler::handle_vm_fallback(vcpu_t& vp) noexcept {
//inject hardware exception must be write vmentryinslen vp.inject( interrupt_info_t(vmx::interrupt_type::hardware_exception, exception_vector::invalid_opcode)); //wtf this??? //inject ud exceptions does not require adding ins rip vp.suppress_rip_adjust();
}
void vcpu_t::entry_host() noexcept{ ........//// if (!suppress_ripadjust) { exitcontext.rip += exit_instruction_length(); } //if set Eflags.tf must be inject #DB exception if (exitcontext.rflags.trap_flag) {
...../////// }