Kumar Sangakkara is looking solid as he continues on 63 not out on day three as Sri Lanka go into lunch at 174-2.
The Sri Lanka legend could have been out for lbw for just 13 had Saeed Ajmal gone for the review, but he has gone on to make 63 runs.
Junaid Khan's bowling has been ineffective and Mahela Jayawardene has offered good support, putting Pakistan on the back foot despite the lead.
The visitors' healthy 451 outing looked a tough ask for the Sri Lankans, but an impressive session from Jayawardene and Sangakkara has got Pakistan thinking.