http://codereview.appspot.com/5272048/diff/2001/tree-asan.c File tree-asan.c (right):
http://codereview.appspot.com/5272048/diff/2001/tree-asan.c#newcode79 tree-asan.c:79: (All I need is to traverse *all* memory accesses and instrument them). Discard 2) -- it is not correct. What Asan needs is slightly different. David On 2011/10/17 22:26:55, davidxl wrote:
Two suggestions: 1) You only need to deal with GIMPLE_ASSIGN (lhs and rhs) for all
memory
references) 2) use get_base_address function to compute base address.
http://codereview.appspot.com/5272048/