Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(872)

Issue 6785055: Cleanup in the interface and fix of a small issue. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 6 months ago by Sébastien Marchand
Modified:
11 years, 6 months ago
Reviewers:
Roger McFarlane
CC:
sawbuck-changes_googlegroups.com
Base URL:
http://sawbuck.googlecode.com/svn/trunk
Visibility:
Public.

Description

Cleanup in the interface and fix of a small issue. We can't report an error in the HeapProxy::OnBadAccess function, in the case that there's several heap in our application it would report an unknown error for each of them until the heap containing the accessed address is found... BUG= Committed: https://code.google.com/p/sawbuck/source/detail?r=1209

Patch Set 1 #

Total comments: 19

Patch Set 2 : Address Roger's comments #

Total comments: 4

Patch Set 3 : Address Roger's comments. #

Total comments: 2

Patch Set 4 : Last one ! #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -28 lines) Patch
M syzygy/agent/asan/asan_heap.h View 1 2 3 5 chunks +7 lines, -7 lines 0 comments Download
M syzygy/agent/asan/asan_heap.cc View 1 2 3 8 chunks +24 lines, -20 lines 0 comments Download
M syzygy/agent/asan/asan_heap_unittest.cc View 1 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 8
Sébastien Marchand
PTAL.
11 years, 6 months ago (2012-10-26 16:52:57 UTC) #1
Roger McFarlane
https://codereview.appspot.com/6785055/diff/1/syzygy/agent/asan/asan_heap.cc File syzygy/agent/asan/asan_heap.cc (right): https://codereview.appspot.com/6785055/diff/1/syzygy/agent/asan/asan_heap.cc#newcode154 syzygy/agent/asan/asan_heap.cc:154: DCHECK(bad_access_kind != UNKNOWN_BAD_ACCESS); nit: Generally, prefer DCHECK_<condition>(a, b). In ...
11 years, 6 months ago (2012-10-26 20:02:38 UTC) #2
Sébastien Marchand
PTAnL. https://codereview.appspot.com/6785055/diff/1/syzygy/agent/asan/asan_heap.cc File syzygy/agent/asan/asan_heap.cc (right): https://codereview.appspot.com/6785055/diff/1/syzygy/agent/asan/asan_heap.cc#newcode154 syzygy/agent/asan/asan_heap.cc:154: DCHECK(bad_access_kind != UNKNOWN_BAD_ACCESS); On 2012/10/26 20:02:38, Roger McFarlane ...
11 years, 6 months ago (2012-10-26 20:29:55 UTC) #3
Sébastien Marchand
Any update on this CL ?
11 years, 6 months ago (2012-10-29 15:06:39 UTC) #4
Roger McFarlane
https://codereview.appspot.com/6785055/diff/5001/syzygy/agent/asan/asan_heap.cc File syzygy/agent/asan/asan_heap.cc (right): https://codereview.appspot.com/6785055/diff/5001/syzygy/agent/asan/asan_heap.cc#newcode339 syzygy/agent/asan/asan_heap.cc:339: HeapProxy::BadAccessKind HeapProxy::GetBadAccessKind(const uint8* addr, const void* https://codereview.appspot.com/6785055/diff/5001/syzygy/agent/asan/asan_heap.cc#newcode394 syzygy/agent/asan/asan_heap.cc:394: bad_access_kind ...
11 years, 6 months ago (2012-10-29 15:17:30 UTC) #5
Sébastien Marchand
Thanks, PTAnL. https://codereview.appspot.com/6785055/diff/5001/syzygy/agent/asan/asan_heap.cc File syzygy/agent/asan/asan_heap.cc (right): https://codereview.appspot.com/6785055/diff/5001/syzygy/agent/asan/asan_heap.cc#newcode339 syzygy/agent/asan/asan_heap.cc:339: HeapProxy::BadAccessKind HeapProxy::GetBadAccessKind(const uint8* addr, On 2012/10/29 15:17:30, ...
11 years, 6 months ago (2012-10-29 15:26:05 UTC) #6
Roger McFarlane
lgtm with a nit. https://codereview.appspot.com/6785055/diff/10002/syzygy/agent/asan/asan_heap.cc File syzygy/agent/asan/asan_heap.cc (right): https://codereview.appspot.com/6785055/diff/10002/syzygy/agent/asan/asan_heap.cc#newcode301 syzygy/agent/asan/asan_heap.cc:301: void HeapProxy::PrintAddressInformation(const uint8* addr, Just ...
11 years, 6 months ago (2012-10-30 18:53:17 UTC) #7
Sébastien Marchand
11 years, 6 months ago (2012-10-30 19:01:12 UTC) #8
Merci, committing.

https://codereview.appspot.com/6785055/diff/10002/syzygy/agent/asan/asan_heap.cc
File syzygy/agent/asan/asan_heap.cc (right):

https://codereview.appspot.com/6785055/diff/10002/syzygy/agent/asan/asan_heap...
syzygy/agent/asan/asan_heap.cc:301: void
HeapProxy::PrintAddressInformation(const uint8* addr,
On 2012/10/30 18:53:17, Roger McFarlane wrote:
> Just one left...

Done.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b