Added advanced pointer detector

Change-Id: I2aecd1b3e6ccc2270ef205ddae06f41b3daf7bc2