Skip to content

Commit

Permalink
Mark the stack as noexec in asm files
Browse files Browse the repository at this point in the history
  • Loading branch information
octurion authored Jul 2, 2024
1 parent af782fe commit 0610cd9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/xpedite/probes/DataProbeCtl.S
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@

#include <xpedite/probes/StackAlign.H>

.section .note.GNU-stack,"",@progbits

.section .text
.global xpediteDataProbeTrampoline
.type xpediteDataProbeTrampoline, @function
Expand Down
2 changes: 2 additions & 0 deletions lib/xpedite/probes/IdentityProbeCtl.S
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@

#include <xpedite/probes/StackAlign.H>

.section .note.GNU-stack,"",@progbits

.section .text
.global xpediteIdentityTrampoline
.type xpediteIdentityTrampoline, @function
Expand Down
2 changes: 2 additions & 0 deletions lib/xpedite/probes/ProbeCtl.S
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@

#include <xpedite/probes/StackAlign.H>

.section .note.GNU-stack,"",@progbits

.section .text

.global xpediteTrampoline
Expand Down

0 comments on commit 0610cd9

Please sign in to comment.