Using Pin to trace memory addresses which trigger page faults
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.