Click to See Complete Forum and Search --> : distinguish load and store given segmentation fault


gaven
08-23-2005, 02:55 PM
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


Closed due to crossposting. Duplicate in 'Programming/Scripts' still open.