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

Locate vmx_exit_handler like this? #1

Open
dearfuture opened this issue Oct 20, 2021 · 0 comments
Open

Locate vmx_exit_handler like this? #1

dearfuture opened this issue Oct 20, 2021 · 0 comments

Comments

@dearfuture
Copy link

dearfuture commented Oct 20, 2021

vmx_exit_handler(
uint64_t vcpuid, void* vcpuctx,
const char* data, uint32_t length,
const void** out, uint32_t* out_length )
{
print_guest_state("Guest: %s%s", ...);
}

print_guest_state("Guest: %s%s", ...);
-->
...
lea rcx, [rip + rel32]
call print_guest_state

vmx_exit_handler
-->
...
int3
int3
----------Prolog-------------
mov [rsp + 8], rcx

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

1 participant