bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/20025] New: Warn by default about executable stacks


From: josh at joshtriplett dot org
Subject: [Bug ld/20025] New: Warn by default about executable stacks
Date: Sun, 01 May 2016 01:43:24 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=20025

            Bug ID: 20025
           Summary: Warn by default about executable stacks
           Product: binutils
           Version: unspecified
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: ld
          Assignee: unassigned at sourceware dot org
          Reporter: josh at joshtriplett dot org
  Target Milestone: ---

On targets that support marking the stack non-executable, ld should warn at
link time if the stack ends up executable due to linking in an object file that
doesn't explicitly indicate whether it needs an executable stack or not.  This
would help call attention to programs that would otherwise silently have
executable stacks simply because someone forgot the metadata in a .S file.

This should not warn if an object file includes explicit metadata stating that
it does need an executable stack, only if the object file doesn't include the
necessary metadata at all.  This also shouldn't warn if the linker command line
includes either -z execstack or -z noexecstack.  And finally, there should be a
-z option to disable this warning, such as -z nowarnexecstack.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]