• Milad Farazmand's avatar
    AIX: Fix DeclareSymbolGlobal on AIX · 0589a2a2
    Milad Farazmand authored
    Port 929dd374
    
    Original Commit Message:
    
        When CFI is enabled this adds a check against this list whenever a new
        return address must be set in a deoptimized frame, as a mitigation for
        ROP attacks.
        The list is known at linking time so that its content and the pointer
        to it can be stored in a read-only memory section.
        The check is performed in the signing function, which is no longer
        generic, as well as when setting the current pc of the frame.
        Since the pc is now only signed when setting the caller's pc, there
        is no need for ReplaceContext anymore.
    
    R=salome.thirot@arm.com, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com
    BUG=
    LOG=N
    
    Change-Id: I5005096811c289707e2d080477c60ae2ed4bf38b
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2365372Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
    Reviewed-by: 's avatarRoss McIlroy <rmcilroy@chromium.org>
    Commit-Queue: Milad Farazmand <miladfar@ca.ibm.com>
    Cr-Commit-Position: refs/heads/master@{#69502}
    0589a2a2
platform-embedded-file-writer-aix.cc 3.73 KB