[PATCH] [PATCH V2]ARM64: SCS: Add gcc plugin to support Shadow Call Stack

Miguel Ojeda miguel.ojeda.sandonis at gmail.com
Sun Oct 10 08:43:01 PDT 2021


On Sun, Oct 10, 2021 at 5:16 PM Dan Li <ashimida at linux.alibaba.com> wrote:
>
> -         This option enables Clang's Shadow Call Stack, which uses a
> -         shadow stack to protect function return addresses from being
> -         overwritten by an attacker. More information can be found in
> -         Clang's documentation:
> +         This option enables Clang/GCC plugin's Shadow Call Stack, which
> +         uses a shadow stack to protect function return addresses from
> +         being overwritten by an attacker. More information can be found
> +         in Clang's documentation:

Perhaps it could be worded in a better way? It sounds like it is a
custom plugin for Clang as well, e.g.:

    This option enables Shadow Call Stack (in the case of GCC, as a plugin),

Cheers,
Miguel



More information about the linux-arm-kernel mailing list