kAFL icon indicating copy to clipboard operation
kAFL copied to clipboard

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

Open yyl321 opened this issue 4 years ago • 1 comments

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?

yyl321 avatar Mar 30 '21 03:03 yyl321

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.

schumilo avatar Mar 30 '21 14:03 schumilo