https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88022

            Bug ID: 88022
           Summary: Support dynamic shadow offset in ASan
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: sanitizer
          Assignee: unassigned at gcc dot gnu.org
          Reporter: chefmax at gcc dot gnu.org
                CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org,
                    jakub at gcc dot gnu.org, kcc at gcc dot gnu.org, marxin at 
gcc dot gnu.org
  Target Milestone: ---

This is a possible feature for GCC 10.

The possibility of setting ASan shadow offset dynamically is discussed many
times and recent libsanitizer already supports it for Android and Windows.
Although Linux is not supported yet, it seems that code for Android can be
reused quite easily.
Mainly, we'll need to tweak ifdefs in libsanitizer and add support on compiler
side (which won't be hard).
Preliminary performance numbers can be obtained from here:
https://github.com/google/sanitizers/issues/837

Reply via email to