mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-07 04:38:00 +00:00
Handle Vex-supplied guest address mapping failures in the scheduler.
This makes none/tests/x86/badseg work. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3283
This commit is contained in:
parent
5fee346604
commit
46bc07d683
@ -794,6 +794,13 @@ VgSchedReturnCode VG_(scheduler) ( ThreadId tid )
|
||||
about to start in a signal handler). */
|
||||
break;
|
||||
|
||||
case VEX_TRC_JMP_MAPFAIL:
|
||||
/* Failure of arch-specific address translation (x86/amd64
|
||||
segment override use) */
|
||||
/* jrs 2005 03 11: is this correct? */
|
||||
VG_(synth_fault)(tid);
|
||||
break;
|
||||
|
||||
case VEX_TRC_JMP_EMWARN: {
|
||||
static Int counts[EmWarn_NUMBER];
|
||||
static Bool counts_initted = False;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user