instrument entries and exits of functions that contain volatile loads and stores