I think what you want to do here is call `watchpoint_leak_policy::visit_app_instructions(cpu, bb, ls)`. Double check the original code. In this case, you're trying to call the base class (`watchpoint_leak_policy`) of `visit_app_instructions` instead of the derived class (`leak_policy_exit`).