6 void Purify_CheckRead (char * addr
, long size
)
9 printf ("Purify_CheckRead (addr=%p, size=%ld)\n", addr
, size
);
12 if (!Purify_CheckMemoryAccess (addr
, size
, PURIFY_MemAccess_Read
))
13 Purify_PrintAccessError ("Read", addr
, size
);
16 void Purify_CheckWrite (char * addr
, long size
)
19 printf ("Purify_CheckWrite (addr=%p, size=%ld)\n", addr
, size
);
22 if (!Purify_CheckMemoryAccess (addr
, size
, PURIFY_MemAccess_Write
))
23 Purify_PrintAccessError ("Write", addr
, size
);
26 Purify_PrintMemory ();