[Privoxy-commits] [privoxy] 09/10: add a note that DEP is also called NX or nxcompat
User Git
git at git.privoxy.org
Sun Mar 21 22:57:59 UTC 2021
This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository privoxy.
commit 26591eea4ede16a627a8c972cef754e24c91ed8b
Author: Lee <ler762 at users.sourceforge.net>
AuthorDate: Sun Mar 21 16:41:34 2021 -0400
add a note that DEP is also called NX or nxcompat
and show how to check for the flag being set
---
windows/MYconfigure | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/windows/MYconfigure b/windows/MYconfigure
index ad845b0a..e0b993cb 100755
--- a/windows/MYconfigure
+++ b/windows/MYconfigure
@@ -76,6 +76,10 @@ LDFLAGS="${LDFLAGS} -fstack-protector-strong"
LDFLAGS="${LDFLAGS} -Wl,--nxcompat"
# https://en.wikipedia.org/wiki/Data_Execution_Prevention
# Enable DEP with -Wl,--nxcompat
+# also called NX or nxcompat for "no execute" see: https://en.wikipedia.org/wiki/NX_bit
+# $ peflags -v privoxy.exe
+# privoxy.exe: coff(0x0106[+executable_image,+line_nums_stripped,+32bit_machine]) pe(0x0140[+dynamicbase,+nxcompat])
+
LDFLAGS="${LDFLAGS} -Wl,--dynamicbase,--export-all-symbols"
# https://en.wikipedia.org/wiki/Address_space_layout_randomization
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Privoxy-commits
mailing list