Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRodrigo Kumpera <kumpera@gmail.com>2008-04-24 23:22:09 +0400
committerRodrigo Kumpera <kumpera@gmail.com>2008-04-24 23:22:09 +0400
commitbe8e013cf7af13acd53abd694be277fd8b9eeaee (patch)
treea927216850de6d87259237c990b9cf9197dc7160 /runtime
parent410e8d2033d564eec1ae8aee1280059fa8332694 (diff)
2008-04-24 Rodrigo Kumpera <rkumpera@novell.com>
* runtime/Makefile.am (mcs-compileall): Turn on the verifier. svn path=/trunk/mono/; revision=101728
Diffstat (limited to 'runtime')
-rw-r--r--runtime/Makefile.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/Makefile.am b/runtime/Makefile.am
index 02a0e02ec37..339c6a0fee0 100644
--- a/runtime/Makefile.am
+++ b/runtime/Makefile.am
@@ -82,7 +82,8 @@ cur_dir_cmd = pwd
PLATFORM_PATH_SEPARATOR = :
endif
-# Use --compile-all as a poor man's PEVerify to detect invalid IL
+# Compile all assemblies with the verifier turned on. Code must be valid but not verifiable.
+# TODO it would be nice to split assemblies without unsafe code to use the verifier with verifiable mode.
# Skip net 2.1 assemblies for now because of visibility problems
mcs-compileall: mono-wrapper etc/mono/config
save_MONO_PATH=$$MONO_PATH; mcs_topdir=`cd $(mcs_topdir) && $(cur_dir_cmd)`; ok=:; \
@@ -100,7 +101,7 @@ mcs-compileall: mono-wrapper etc/mono/config
if [ ! -f $$i ] ; then \
continue ; \
fi ; \
- if ./mono-wrapper --compile-all $$i; then \
+ if ./mono-wrapper --compile-all --security=validil --verify-all $$i; then \
echo $$i verified OK; \
else \
echo $$i verification failed; ok=false; \