Lines Matching defs:px
902 struct StructWithInt *px= malloc(sizeof(struct StructWithInt));
903 px->g = 5;
904 free(px);
905 return px->g; // expected-warning {{Use of memory after it is freed}}
1041 struct X *px= malloc(sizeof(struct X));
1042 px->p = p;
1043 // We don't know what happens after this call. Should not track px nor p.
1044 if (takePtrToStruct(px))
1051 struct X *px= malloc(sizeof(struct X));
1052 px->p = 0;
1053 px = s2;
1054 return px; // expected-warning {{Potential leak of memory pointed to by}}
1059 struct X *px= malloc(sizeof(struct X));
1060 px->p = p;
1061 return px;
1177 struct StructWithInt *px= malloc(sizeof(struct StructWithInt));
1178 return &(px->g);