]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Handle accesses to new pseudo-register IP_AT_SYSCALL. Related to, but
authorJulian Seward <jseward@acm.org>
Mon, 30 Mar 2009 02:34:29 +0000 (02:34 +0000)
committerJulian Seward <jseward@acm.org>
Mon, 30 Mar 2009 02:34:29 +0000 (02:34 +0000)
not actually the cause or fix for, #188161.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9498

exp-ptrcheck/h_main.c

index 4863640e191c129ce9db2a4272aec2a156ef61bf..c452e7e95b401580adfa976b9ad454b62fb9ab5d 100644 (file)
@@ -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;