a framework to monitor each access related to the memory