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

Can I modify the QEMU-PT code to get the mtc and tsc information? #28

Open
yyl321 opened this issue Mar 30, 2021 · 1 comment
Open

Comments

@yyl321
Copy link

yyl321 commented Mar 30, 2021

After using this project, I can get the TNT and the TIP information, but I also need the time information,so can I ask for how to modify the code to get that message?

@schumilo
Copy link
Collaborator

TSC and MTC packet generation is disabled by default by KVM-PT (see https://github.com/RUB-SysSec/kAFL/blob/master/KVM-PT/arch/x86/kvm/vmx_pt.c#L637).
You can enable both of them by setting the proper bit for MTC_EN and TSC_EN.
Though, I'm not sure if the decoder supports decoding of those packet types.

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