[glib] Visual Studio 2008 Projects: Improve binary security



commit 9814898df6a2ea3006d5cbb457bd8419d8e815d4
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Fri Oct 20 16:44:21 2017 +0800

    Visual Studio 2008 Projects: Improve binary security
    
    It turns out that the MSVC 2008 supports RandomizedBaseAddress, too, so
    we should also ensure that is enabled as well, which is the default
    setting.

 win32/vs9/gdbus.vcproj                       |    2 --
 win32/vs9/gio-querymodules.vcproj            |    2 --
 win32/vs9/gio-tool.vcprojin                  |    2 --
 win32/vs9/gio.vcprojin                       |    4 ----
 win32/vs9/glib-compile-resources.vcprojin    |    2 --
 win32/vs9/glib-compile-schemas.vcprojin      |    2 --
 win32/vs9/glib.vcprojin                      |    8 --------
 win32/vs9/gmodule.vcproj                     |    4 ----
 win32/vs9/gobject.vcprojin                   |    4 ----
 win32/vs9/gresource.vcproj                   |    2 --
 win32/vs9/gsettings.vcproj                   |    2 --
 win32/vs9/gspawn-win32-helper-console.vcproj |    4 ----
 win32/vs9/gspawn-win32-helper.vcproj         |    4 ----
 win32/vs9/gthread.vcproj                     |    4 ----
 14 files changed, 0 insertions(+), 46 deletions(-)
---
diff --git a/win32/vs9/gdbus.vcproj b/win32/vs9/gdbus.vcproj
index 6da34e3..b95252f 100644
--- a/win32/vs9/gdbus.vcproj
+++ b/win32/vs9/gdbus.vcproj
@@ -72,7 +72,6 @@
                                LinkIncremental="2"
                                GenerateDebugInformation="true"
                                SubSystem="1"
-                               RandomizedBaseAddress="1"
                                DataExecutionPrevention="0"
                                TargetMachine="17"
                        />
@@ -133,7 +132,6 @@
                                SubSystem="1"
                                OptimizeReferences="2"
                                EnableCOMDATFolding="2"
-                               RandomizedBaseAddress="1"
                                DataExecutionPrevention="0"
                                TargetMachine="17"
                        />
diff --git a/win32/vs9/gio-querymodules.vcproj b/win32/vs9/gio-querymodules.vcproj
index 4b00188..96b41bd 100644
--- a/win32/vs9/gio-querymodules.vcproj
+++ b/win32/vs9/gio-querymodules.vcproj
@@ -72,7 +72,6 @@
                                LinkIncremental="2"
                                GenerateDebugInformation="true"
                                SubSystem="1"
-                               RandomizedBaseAddress="1"
                                DataExecutionPrevention="0"
                                TargetMachine="17"
                        />
@@ -133,7 +132,6 @@
                                SubSystem="1"
                                OptimizeReferences="2"
                                EnableCOMDATFolding="2"
-                               RandomizedBaseAddress="1"
                                DataExecutionPrevention="0"
                                TargetMachine="17"
                        />
diff --git a/win32/vs9/gio-tool.vcprojin b/win32/vs9/gio-tool.vcprojin
index 267a445..05576ac 100644
--- a/win32/vs9/gio-tool.vcprojin
+++ b/win32/vs9/gio-tool.vcprojin
@@ -75,7 +75,6 @@
                                LinkIncremental="2"
                                GenerateDebugInformation="true"
                                SubSystem="1"
-                               RandomizedBaseAddress="1"
                                DataExecutionPrevention="0"
                                ProjectDebugDatabase="$(OutDir)\$(OutputFileName).pdb"
                                TargetMachine="17"
@@ -140,7 +139,6 @@
                                SubSystem="1"
                                OptimizeReferences="2"
                                EnableCOMDATFolding="2"
-                               RandomizedBaseAddress="1"
                                DataExecutionPrevention="0"
                                ProjectDebugDatabase="$(OutDir)\$(OutputFileName).pdb"
                                TargetMachine="17"
diff --git a/win32/vs9/gio.vcprojin b/win32/vs9/gio.vcprojin
index be13438..8abd220 100644
--- a/win32/vs9/gio.vcprojin
+++ b/win32/vs9/gio.vcprojin
@@ -44,7 +44,6 @@
                                LinkIncremental="2"
                                GenerateDebugInformation="true"
                                SubSystem="2"
-                               RandomizedBaseAddress="1"
                                DataExecutionPrevention="0"
                                ImportLibrary="$(TargetDir)$(ProjectName)-$(ApiVersion).lib"
                                TargetMachine="1"
@@ -76,7 +75,6 @@
                                SubSystem="2"
                                OptimizeReferences="2"
                                EnableCOMDATFolding="2"
-                               RandomizedBaseAddress="1"
                                DataExecutionPrevention="0"
                                ImportLibrary="$(TargetDir)$(ProjectName)-$(ApiVersion).lib"
                                TargetMachine="1"
@@ -108,7 +106,6 @@
                                LinkIncremental="2"
                                GenerateDebugInformation="true"
                                SubSystem="2"
-                               RandomizedBaseAddress="1"
                                DataExecutionPrevention="0"
                                ImportLibrary="$(TargetDir)$(ProjectName)-$(ApiVersion).lib"
                                TargetMachine="17"
@@ -140,7 +137,6 @@
                                SubSystem="2"
                                OptimizeReferences="2"
                                EnableCOMDATFolding="2"
-                               RandomizedBaseAddress="1"
                                DataExecutionPrevention="0"
                                ImportLibrary="$(TargetDir)$(ProjectName)-$(ApiVersion).lib"
                                TargetMachine="17"
diff --git a/win32/vs9/glib-compile-resources.vcprojin b/win32/vs9/glib-compile-resources.vcprojin
index e83b1d6..e76b485 100644
--- a/win32/vs9/glib-compile-resources.vcprojin
+++ b/win32/vs9/glib-compile-resources.vcprojin
@@ -72,7 +72,6 @@
                                LinkIncremental="2"
                                GenerateDebugInformation="true"
                                SubSystem="1"
-                               RandomizedBaseAddress="1"
                                DataExecutionPrevention="0"
                                TargetMachine="17"
                        />
@@ -133,7 +132,6 @@
                                SubSystem="1"
                                OptimizeReferences="2"
                                EnableCOMDATFolding="2"
-                               RandomizedBaseAddress="1"
                                DataExecutionPrevention="0"
                                TargetMachine="17"
                        />
diff --git a/win32/vs9/glib-compile-schemas.vcprojin b/win32/vs9/glib-compile-schemas.vcprojin
index 00dc27e..f3f54d1 100644
--- a/win32/vs9/glib-compile-schemas.vcprojin
+++ b/win32/vs9/glib-compile-schemas.vcprojin
@@ -72,7 +72,6 @@
                                LinkIncremental="2"
                                GenerateDebugInformation="true"
                                SubSystem="1"
-                               RandomizedBaseAddress="1"
                                DataExecutionPrevention="0"
                                TargetMachine="17"
                        />
@@ -133,7 +132,6 @@
                                SubSystem="1"
                                OptimizeReferences="2"
                                EnableCOMDATFolding="2"
-                               RandomizedBaseAddress="1"
                                DataExecutionPrevention="0"
                                TargetMachine="17"
                        />
diff --git a/win32/vs9/glib.vcprojin b/win32/vs9/glib.vcprojin
index 0f65f8c..e924153 100644
--- a/win32/vs9/glib.vcprojin
+++ b/win32/vs9/glib.vcprojin
@@ -45,7 +45,6 @@
                                LinkIncremental="2"
                                GenerateDebugInformation="true"
                                SubSystem="2"
-                               RandomizedBaseAddress="1"
                                DataExecutionPrevention="0"
                                ImportLibrary="$(TargetDir)$(ProjectName)-$(ApiVersion).lib"
                                TargetMachine="1"
@@ -76,7 +75,6 @@
                                LinkIncremental="2"
                                GenerateDebugInformation="true"
                                SubSystem="2"
-                               RandomizedBaseAddress="1"
                                DataExecutionPrevention="0"
                                ImportLibrary="$(TargetDir)$(ProjectName)-$(ApiVersion).lib"
                                TargetMachine="1"
@@ -108,7 +106,6 @@
                                LinkIncremental="2"
                                GenerateDebugInformation="true"
                                SubSystem="2"
-                               RandomizedBaseAddress="1"
                                DataExecutionPrevention="0"
                                ImportLibrary="$(TargetDir)$(ProjectName)-$(ApiVersion).lib"
                                TargetMachine="17"
@@ -139,7 +136,6 @@
                                LinkIncremental="2"
                                GenerateDebugInformation="true"
                                SubSystem="2"
-                               RandomizedBaseAddress="1"
                                DataExecutionPrevention="0"
                                ImportLibrary="$(TargetDir)$(ProjectName)-$(ApiVersion).lib"
                                TargetMachine="17"
@@ -171,7 +167,6 @@
                                SubSystem="2"
                                OptimizeReferences="2"
                                EnableCOMDATFolding="2"
-                               RandomizedBaseAddress="1"
                                DataExecutionPrevention="0"
                                ImportLibrary="$(TargetDir)$(ProjectName)-$(ApiVersion).lib"
                                TargetMachine="1"
@@ -202,7 +197,6 @@
                                SubSystem="2"
                                OptimizeReferences="2"
                                EnableCOMDATFolding="2"
-                               RandomizedBaseAddress="1"
                                DataExecutionPrevention="0"
                                ImportLibrary="$(TargetDir)$(ProjectName)-$(ApiVersion).lib"
                                TargetMachine="1"
@@ -234,7 +228,6 @@
                                SubSystem="2"
                                OptimizeReferences="2"
                                EnableCOMDATFolding="2"
-                               RandomizedBaseAddress="1"
                                DataExecutionPrevention="0"
                                ImportLibrary="$(TargetDir)$(ProjectName)-$(ApiVersion).lib"
                                TargetMachine="17"
@@ -265,7 +258,6 @@
                                SubSystem="2"
                                OptimizeReferences="2"
                                EnableCOMDATFolding="2"
-                               RandomizedBaseAddress="1"
                                DataExecutionPrevention="0"
                                ImportLibrary="$(TargetDir)$(ProjectName)-$(ApiVersion).lib"
                                TargetMachine="17"
diff --git a/win32/vs9/gmodule.vcproj b/win32/vs9/gmodule.vcproj
index 8df2f4c..6ea16b4 100644
--- a/win32/vs9/gmodule.vcproj
+++ b/win32/vs9/gmodule.vcproj
@@ -43,7 +43,6 @@
                                LinkIncremental="2"
                                GenerateDebugInformation="true"
                                SubSystem="2"
-                               RandomizedBaseAddress="1"
                                DataExecutionPrevention="0"
                                ImportLibrary="$(TargetDir)$(ProjectName)-$(ApiVersion).lib"
                                TargetMachine="1"
@@ -73,7 +72,6 @@
                                SubSystem="2"
                                OptimizeReferences="2"
                                EnableCOMDATFolding="2"
-                               RandomizedBaseAddress="1"
                                DataExecutionPrevention="0"
                                ImportLibrary="$(TargetDir)$(ProjectName)-$(ApiVersion).lib"
                                TargetMachine="1"
@@ -103,7 +101,6 @@
                                LinkIncremental="2"
                                GenerateDebugInformation="true"
                                SubSystem="2"
-                               RandomizedBaseAddress="1"
                                DataExecutionPrevention="0"
                                ImportLibrary="$(TargetDir)$(ProjectName)-$(ApiVersion).lib"
                                TargetMachine="17"
@@ -133,7 +130,6 @@
                                SubSystem="2"
                                OptimizeReferences="2"
                                EnableCOMDATFolding="2"
-                               RandomizedBaseAddress="1"
                                DataExecutionPrevention="0"
                                ImportLibrary="$(TargetDir)$(ProjectName)-$(ApiVersion).lib"
                                TargetMachine="17"
diff --git a/win32/vs9/gobject.vcprojin b/win32/vs9/gobject.vcprojin
index c4c60e7..1660f72 100644
--- a/win32/vs9/gobject.vcprojin
+++ b/win32/vs9/gobject.vcprojin
@@ -43,7 +43,6 @@
                                LinkIncremental="2"
                                GenerateDebugInformation="true"
                                SubSystem="2"
-                               RandomizedBaseAddress="1"
                                DataExecutionPrevention="0"
                                ImportLibrary="$(TargetDir)$(ProjectName)-$(ApiVersion).lib"
                                TargetMachine="1"
@@ -73,7 +72,6 @@
                                SubSystem="2"
                                OptimizeReferences="2"
                                EnableCOMDATFolding="2"
-                               RandomizedBaseAddress="1"
                                DataExecutionPrevention="0"
                                ImportLibrary="$(TargetDir)$(ProjectName)-$(ApiVersion).lib"
                                TargetMachine="1"
@@ -103,7 +101,6 @@
                                LinkIncremental="2"
                                GenerateDebugInformation="true"
                                SubSystem="2"
-                               RandomizedBaseAddress="1"
                                DataExecutionPrevention="0"
                                ImportLibrary="$(TargetDir)$(ProjectName)-$(ApiVersion).lib"
                                TargetMachine="17"
@@ -133,7 +130,6 @@
                                SubSystem="2"
                                OptimizeReferences="2"
                                EnableCOMDATFolding="2"
-                               RandomizedBaseAddress="1"
                                DataExecutionPrevention="0"
                                ImportLibrary="$(TargetDir)$(ProjectName)-$(ApiVersion).lib"
                                TargetMachine="17"
diff --git a/win32/vs9/gresource.vcproj b/win32/vs9/gresource.vcproj
index 32b78fc..1d7ae0a 100644
--- a/win32/vs9/gresource.vcproj
+++ b/win32/vs9/gresource.vcproj
@@ -72,7 +72,6 @@
                                LinkIncremental="2"
                                GenerateDebugInformation="true"
                                SubSystem="1"
-                               RandomizedBaseAddress="1"
                                DataExecutionPrevention="0"
                                TargetMachine="17"
                        />
@@ -133,7 +132,6 @@
                                SubSystem="1"
                                OptimizeReferences="2"
                                EnableCOMDATFolding="2"
-                               RandomizedBaseAddress="1"
                                DataExecutionPrevention="0"
                                TargetMachine="17"
                        />
diff --git a/win32/vs9/gsettings.vcproj b/win32/vs9/gsettings.vcproj
index ea15c42..6a8c2f3 100644
--- a/win32/vs9/gsettings.vcproj
+++ b/win32/vs9/gsettings.vcproj
@@ -72,7 +72,6 @@
                                LinkIncremental="2"
                                GenerateDebugInformation="true"
                                SubSystem="1"
-                               RandomizedBaseAddress="1"
                                DataExecutionPrevention="0"
                                TargetMachine="17"
                        />
@@ -134,7 +133,6 @@
                                SubSystem="1"
                                OptimizeReferences="2"
                                EnableCOMDATFolding="2"
-                               RandomizedBaseAddress="1"
                                DataExecutionPrevention="0"
                                TargetMachine="17"
                        />
diff --git a/win32/vs9/gspawn-win32-helper-console.vcproj b/win32/vs9/gspawn-win32-helper-console.vcproj
index 58fa636..6e5ef9d 100644
--- a/win32/vs9/gspawn-win32-helper-console.vcproj
+++ b/win32/vs9/gspawn-win32-helper-console.vcproj
@@ -42,7 +42,6 @@
                                LinkIncremental="2"
                                GenerateDebugInformation="true"
                                SubSystem="1"
-                               RandomizedBaseAddress="1"
                                DataExecutionPrevention="0"
                                TargetMachine="1"
                        />
@@ -70,7 +69,6 @@
                                SubSystem="1"
                                OptimizeReferences="2"
                                EnableCOMDATFolding="2"
-                               RandomizedBaseAddress="1"
                                DataExecutionPrevention="0"
                                TargetMachine="1"
                        />
@@ -99,7 +97,6 @@
                                LinkIncremental="2"
                                GenerateDebugInformation="true"
                                SubSystem="1"
-                               RandomizedBaseAddress="1"
                                DataExecutionPrevention="0"
                                TargetMachine="17"
                        />
@@ -128,7 +125,6 @@
                                SubSystem="1"
                                OptimizeReferences="2"
                                EnableCOMDATFolding="2"
-                               RandomizedBaseAddress="1"
                                DataExecutionPrevention="0"
                                TargetMachine="17"
                        />
diff --git a/win32/vs9/gspawn-win32-helper.vcproj b/win32/vs9/gspawn-win32-helper.vcproj
index 1918e3b..e846e4c 100644
--- a/win32/vs9/gspawn-win32-helper.vcproj
+++ b/win32/vs9/gspawn-win32-helper.vcproj
@@ -42,7 +42,6 @@
                                LinkIncremental="2"
                                GenerateDebugInformation="true"
                                SubSystem="2"
-                               RandomizedBaseAddress="1"
                                DataExecutionPrevention="0"
                                TargetMachine="1"
                        />
@@ -71,7 +70,6 @@
                                LinkIncremental="2"
                                GenerateDebugInformation="true"
                                SubSystem="2"
-                               RandomizedBaseAddress="1"
                                DataExecutionPrevention="0"
                                TargetMachine="17"
                        />
@@ -99,7 +97,6 @@
                                SubSystem="2"
                                OptimizeReferences="2"
                                EnableCOMDATFolding="2"
-                               RandomizedBaseAddress="1"
                                DataExecutionPrevention="0"
                                TargetMachine="1"
                        />
@@ -128,7 +125,6 @@
                                SubSystem="2"
                                OptimizeReferences="2"
                                EnableCOMDATFolding="2"
-                               RandomizedBaseAddress="1"
                                DataExecutionPrevention="0"
                                TargetMachine="17"
                        />
diff --git a/win32/vs9/gthread.vcproj b/win32/vs9/gthread.vcproj
index 3bbe92c..cc9e111 100644
--- a/win32/vs9/gthread.vcproj
+++ b/win32/vs9/gthread.vcproj
@@ -43,7 +43,6 @@
                                LinkIncremental="2"
                                GenerateDebugInformation="true"
                                SubSystem="2"
-                               RandomizedBaseAddress="1"
                                DataExecutionPrevention="0"
                                ImportLibrary="$(TargetDir)$(ProjectName)-$(ApiVersion).lib"
                                TargetMachine="1"
@@ -73,7 +72,6 @@
                                SubSystem="2"
                                OptimizeReferences="2"
                                EnableCOMDATFolding="2"
-                               RandomizedBaseAddress="1"
                                DataExecutionPrevention="0"
                                ImportLibrary="$(TargetDir)$(ProjectName)-$(ApiVersion).lib"
                                TargetMachine="1"
@@ -103,7 +101,6 @@
                                LinkIncremental="2"
                                GenerateDebugInformation="true"
                                SubSystem="2"
-                               RandomizedBaseAddress="1"
                                DataExecutionPrevention="0"
                                ImportLibrary="$(TargetDir)$(ProjectName)-$(ApiVersion).lib"
                                TargetMachine="17"
@@ -133,7 +130,6 @@
                                SubSystem="2"
                                OptimizeReferences="2"
                                EnableCOMDATFolding="2"
-                               RandomizedBaseAddress="1"
                                DataExecutionPrevention="0"
                                ImportLibrary="$(TargetDir)$(ProjectName)-$(ApiVersion).lib"
                                TargetMachine="17"


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