kAFL
kAFL copied to clipboard
Can I modify the QEMU-PT code to get the mtc and tsc information?
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?
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.