We'd need to instrument malloc/calloc/free (which is desirable anyway, actually, since they may be involved in races) and then look at the race schedule to see where the object was allocated. If we can catch some type information (how...?) then we could nicely symbolize the struct/union member or array index.
We'd need to instrument malloc/calloc/free (which is desirable anyway, actually, since they may be involved in races) and then look at the race schedule to see where the object was allocated. If we can catch some type information (how...?) then we could nicely symbolize the struct/union member or array index.