Software Archive
Read-only legacy content
17061 Discussions

Using Pin to trace memory addresses which trigger page faults

Bansal__Gaurav
Beginner
340 Views

Hi,

I am wondering if we can write a pintool (possibly modify pinatrace?) to trace memory references which lead to a page fault?

Page fault can be either a major fault or a minor fault. 

Please note that I am not interested in the software exception where the process does an illegal access, but rather a fault trace where the virtual address is legal but the backing physical page is not yet in process context. 

Thanks,

Gaurav.

 

0 Kudos
0 Replies
Reply