[Webkit-unassigned] [Bug 122691] New: Potential register trampling in JIT since r157313.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Oct 12 04:45:24 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=122691

           Summary: Potential register trampling in JIT since r157313.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jbriance at cisco.com


In the following function of jit/CCallHelpers.h, arg2 will be crushed if (arg2 == GPRInfo::argumentGPR1):

    ALWAYS_INLINE void setupArgumentsWithExecState(TrustedImmPtr arg1, GPRReg arg2, TrustedImm32 arg3) 
    { 
        move(arg1, GPRInfo::argumentGPR1); 
        move(arg2, GPRInfo::argumentGPR2); 
        move(arg3, GPRInfo::argumentGPR3); 
        move(GPRInfo::callFrameRegister, GPRInfo::argumentGPR0); 
    }

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list