Snaipe / Mimick

A KISS, cross-platform C mocking library
MIT License
152 stars 43 forks source link

Mark asm code with no-executable-stack. #38

Open clalancette opened 1 year ago

clalancette commented 1 year ago

Newer versions of binutils (2.39 and above) complain if you have assembly without explicitly marking that it is not using an executable stack (see https://www.redhat.com/en/blog/linkers-warnings-about-executable-stacks-and-segments for more details). Mark it here to quiet that warning.