distinguish load and store from segmentation fault
Hi there,
I'm programming segmentation fault signal handling.
I can catch the memory address and also the instruction which causes the fault. Is there an easy
way to tell whether that instruction is a load or store instruction? Of course, a solution would be to derive that by decoding the instruction. Even for that solution, I'm not clear on how to do it quickly given the big instruction set of IA32...
Gaven
|