From: Lee <ler762@users.sourceforge.net>
Date: Sun, 21 Mar 2021 20:41:34 +0000 (-0400)
Subject: add a note that DEP is also called NX or nxcompat
X-Git-Tag: v_3_0_33~101
X-Git-Url: http://www.privoxy.org/gitweb/%22https:/developer-manual/man-page/static/diff?a=commitdiff_plain;h=26591eea4ede16a627a8c972cef754e24c91ed8b;p=privoxy.git

add a note that DEP is also called NX or nxcompat

and show how to check for the flag being set
---

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