Modify interface of pointer detector to insert set type into a struct

Change-Id: I133e92221e832c7208648c16af2e7b7237277081