[runtime] Deny loading images that belong to a set of well known bad images.
authorRodrigo Kumpera <kumpera@gmail.com>
Fri, 13 Jan 2017 19:00:05 +0000 (11:00 -0800)
committerRodrigo Kumpera <kumpera@gmail.com>
Tue, 17 Jan 2017 22:35:50 +0000 (14:35 -0800)
commit9ec8ec5389ae9177853442bdadbff3eedcf93000
treeb31e0ac1bda880be1abd770a8bce143b71111fa3
parenta43a4290b86e3dd536012462550eea6c02df9954
[runtime] Deny loading images that belong to a set of well known bad images.

Matching is done by assembly name and GUID. This should be enough to narrow
down the effect.

This approach is not very efficient as it waits for quite some of the loading
process to be on its way before detection. It works in the case that only a few
rare images are matched.
mono/metadata/image.c