Quantcast
Channel: Форумы
Viewing all articles
Browse latest Browse all 142

handl I/O instruction caused VM-Exit

$
0
0

Hi, I'm writting code to handl I/O instruction caused VM-Exit, exit reason is 30.My guest is Windows XP.
After get information from Exit Qualification, I can handle insturctions when String instruction bit and REP prefixed bit is cleared.
But If these two bits are set, the trouble appears.
When I tried to read data from memory where guest ESI(or EDI) pointed, I want to translate the logical address into physical address contained in guest  ESI(or EDI). but during the tranlsation,  the Page Table is not presented.
At this time, I tried to inject a Page Fault to WindowsXP by set VM-entry interruption-information to 0x80000B0E,  VM-entry instruction length to 0x0, VM-entry exception error code to many kinds of possible number. But failed.

I'am not sure whether my solution is correct.

Can any one give me some tips?


Viewing all articles
Browse latest Browse all 142

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>