Improvements to mempool reference auditing feature
authorAndi McClure <andi.mcclure@xamarin.com>
Wed, 25 Nov 2015 22:07:59 +0000 (17:07 -0500)
committerAndi McClure <andi.mcclure@xamarin.com>
Wed, 25 Nov 2015 22:07:59 +0000 (17:07 -0500)
commit5a486ac1d79ae8439943183f105e1013d3f0a8bf
treeed1ff85995665bb0f5e6052aa7a3ab9fced5e876
parentbc3822e7fbaa4372199c1449536eafdb27404491
Improvements to mempool reference auditing feature

- New audit-point macro for atomic writes
- Check imageset list directly (instead of indirectly through image
  list)
- Check dynamic images and have special rules for them (for the time
  being we will allow dynamic images to point to non-dynamic ones
  without auditing, long-term this is a FIXME)
- Print image names out with more detail (image sets get full names)
- Remove some #if CHECKED_BUILDs
- New g_assert_checked asserts for checked builds only
mono/metadata/image-internals.h
mono/metadata/image.c
mono/metadata/metadata-internals.h
mono/metadata/metadata.c
mono/metadata/reflection-internals.h
mono/metadata/reflection.c
mono/utils/checked-build.c
mono/utils/checked-build.h