public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* load-store emulation with SIGSEGV
@ 2003-10-16 22:49 R. Lake
  2003-10-16 22:49 ` R. Lake
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: R. Lake @ 2003-10-16 22:49 UTC (permalink / raw)
  To: linux-ia64

I'm investigating a means of emulating causes of SEGV where they can be
isolated from genuine failure. For example, a rule stating a load from
address 0x100 "loads" the value 42 into the target register.

A simple test to decode the instruction, locate and modify the operand
register in the sigcontext or backing store, then increment sc_ip shows the
expected behaviour. But, for practical usage I'm not entirely confident I've
taken all the necessary steps to return to the kernel in a robust manner.
I've thus far taken insight from the unaligned handler albeit without
altering the psr.ri field. So, my question is... am I missing a vital stage
to this process, some piece of information the kernel expects to receive
when avoiding the faulting instruction?

Regards,
Richard.



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2003-10-17 18:54 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-16 22:49 load-store emulation with SIGSEGV R. Lake
2003-10-16 22:49 ` R. Lake
2003-10-16 22:49 ` R. Lake
2003-10-16 22:51 ` R. Lake
2003-10-16 22:51 ` R. Lake
2003-10-16 23:57 ` David Mosberger
2003-10-17  8:13 ` R. Lake
2003-10-17 15:11 ` Matt Chapman
2003-10-17 18:16 ` Jim Hull
2003-10-17 18:54 ` David Mosberger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox