The MPLAB® XC8 compiler's pointer reference graph is generated in the list file generated for the project after a successful build. This graph shows every pointer in the program, along with each target the pointer references.
For a code as:
This is the Pointer reference Graph generated in the list file:
Pointer List with Targets: main@stobj PTR struct st size(1) Largest target is 3 -> main@obj(COMRAM), val PTR FTN(int ,int ,)int  size(3) Largest target is 2 -> foo(), main@stobj PTR struct st size(1) Largest target is 3 -> main@obj(COMRAM),
This indicates that “stobj” is local to function “main”. “stobj” is a pointer to a struct st, and it is one byte wide. This target variable resides in the COMRAM class and is three bytes wide.
The top line shows the pointer’s name, and type. The size of the pointer is indicated. Remember that this size is determined from how the pointer is used, not from its definition. The largest target is also shown. The name of each target is printed along with the memory class in which it is located, and its size.
Microchip Technology acquires Atmel