+static const char* singleUnmappedHandler(enum dyld_image_states state, uint32_t infoCount, const struct dyld_image_info info[])
+{
+ printf("singleUnmappedHandler(%s)\n", info[0].imageFilePath);
+ if ( state != dyld_image_state_terminated ) {
+ FAIL("image-state-change: singleUnmappedHandler passed state %d", state);
+ exit(0);
+ }
+ if ( infoCount != 1 ) {
+ FAIL("image-state-change: singleUnmappedHandler given %d images", infoCount);
+ exit(0);
+ }
+ ++singleUnMappedCount;
+ return NULL;
+}
+