From e3ef0cf4e754f922d2725eac827fceda2c551e2a Mon Sep 17 00:00:00 2001 From: Julian Seward Date: Mon, 30 Mar 2009 02:34:29 +0000 Subject: [PATCH] Handle accesses to new pseudo-register IP_AT_SYSCALL. Related to, but not actually the cause or fix for, #188161. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9498 --- exp-ptrcheck/h_main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/exp-ptrcheck/h_main.c b/exp-ptrcheck/h_main.c index 4863640e19..c452e7e95b 100644 --- a/exp-ptrcheck/h_main.c +++ b/exp-ptrcheck/h_main.c @@ -1322,6 +1322,7 @@ static void get_IntRegInfo ( /*OUT*/IntRegInfo* iii, Int offset, Int szB ) if (o == GOF(ESI) && is4) goto exactly1; if (o == GOF(EDI) && is4) goto exactly1; if (o == GOF(EIP) && is4) goto none; + if (o == GOF(IP_AT_SYSCALL) && is4) goto none; if (o == GOF(CC_OP) && is4) goto none; if (o == GOF(CC_DEP1) && is4) goto none; if (o == GOF(CC_DEP2) && is4) goto none; @@ -1412,6 +1413,7 @@ static void get_IntRegInfo ( /*OUT*/IntRegInfo* iii, Int offset, Int szB ) if (o == GOF(R14) && is8) goto exactly1; if (o == GOF(R15) && is8) goto exactly1; if (o == GOF(RIP) && is8) goto exactly1; + if (o == GOF(IP_AT_SYSCALL) && is8) goto none; if (o == GOF(CC_OP) && is8) goto none; if (o == GOF(CC_DEP1) && is8) goto none; if (o == GOF(CC_DEP2) && is8) goto none; -- 2.47.3