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

Issue 5609049: AddressSanitizer: use macro to define and declare interceptors for system functions (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 2 months ago by samsonov
Modified:
12 years, 2 months ago
Reviewers:
ramosian.glider, kcc, kcc1
CC:
llvm-commits_cs.uiuc.edu
Base URL:
https://llvm.org/svn/llvm-project/compiler-rt/trunk/lib/asan/
Visibility:
Public.

Patch Set 1 #

Total comments: 10

Patch Set 2 : (fix identation and add comments) #

Total comments: 8
Unified diffs Side-by-side diffs Delta from patch set Stats (+155 lines, -264 lines) Patch
M asan_interceptors.h View 1 1 chunk +57 lines, -40 lines 2 comments Download
M asan_interceptors.cc View 1 25 chunks +38 lines, -127 lines 4 comments Download
M asan_mac.h View 1 2 chunks +32 lines, -38 lines 2 comments Download
M asan_mac.cc View 1 8 chunks +15 lines, -32 lines 0 comments Download
M asan_malloc_linux.cc View 1 2 chunks +13 lines, -27 lines 0 comments Download

Messages

Total messages: 10
samsonov
12 years, 2 months ago (2012-02-01 08:53:30 UTC) #1
samsonov
Re-sending a patch with a fixed llvm-commits address. > > Please review this at http://codereview.appspot.com/**5609049/<http://codereview.appspot.com/5609049/> ...
12 years, 2 months ago (2012-02-02 04:36:20 UTC) #2
kcc
Looks good! (there is no functional change, right?)
12 years, 2 months ago (2012-02-02 06:52:55 UTC) #3
kcc1
Looks good! --kcc On Wed, Feb 1, 2012 at 8:36 PM, Alexey Samsonov <samsonov@google.com> wrote: ...
12 years, 2 months ago (2012-02-02 06:53:55 UTC) #4
samsonov
On 2012/02/02 06:52:55, kcc wrote: > Looks good! > (there is no functional change, right?) ...
12 years, 2 months ago (2012-02-02 07:02:14 UTC) #5
ramosian.glider
http://codereview.appspot.com/5609049/diff/1/asan_interceptors.cc File asan_interceptors.cc (right): http://codereview.appspot.com/5609049/diff/1/asan_interceptors.cc#newcode486 asan_interceptors.cc:486: INTERCEPTOR(char*, strcpy, char *to, const char *from) { // ...
12 years, 2 months ago (2012-02-02 07:34:10 UTC) #6
samsonov
http://codereview.appspot.com/5609049/diff/1/asan_interceptors.cc File asan_interceptors.cc (right): http://codereview.appspot.com/5609049/diff/1/asan_interceptors.cc#newcode486 asan_interceptors.cc:486: INTERCEPTOR(char*, strcpy, char *to, const char *from) { // ...
12 years, 2 months ago (2012-02-02 09:55:23 UTC) #7
ramosian.glider
http://codereview.appspot.com/5609049/diff/9001/asan_interceptors.cc File asan_interceptors.cc (right): http://codereview.appspot.com/5609049/diff/9001/asan_interceptors.cc#newcode262 asan_interceptors.cc:262: const pthread_attr_t *attr, Indentation here http://codereview.appspot.com/5609049/diff/9001/asan_interceptors.cc#newcode279 asan_interceptors.cc:279: struct sigaction ...
12 years, 2 months ago (2012-02-02 10:20:08 UTC) #8
ramosian.glider
LGTM otherwise.
12 years, 2 months ago (2012-02-02 10:20:18 UTC) #9
samsonov
12 years, 2 months ago (2012-02-02 10:44:24 UTC) #10
r149602

http://codereview.appspot.com/5609049/diff/9001/asan_interceptors.cc
File asan_interceptors.cc (right):

http://codereview.appspot.com/5609049/diff/9001/asan_interceptors.cc#newcode262
asan_interceptors.cc:262: const pthread_attr_t *attr,
On 2012/02/02 10:20:08, ramosian.glider wrote:
> Indentation here

Done.

http://codereview.appspot.com/5609049/diff/9001/asan_interceptors.cc#newcode279
asan_interceptors.cc:279: struct sigaction *oldact) {
On 2012/02/02 10:20:08, ramosian.glider wrote:
> Indentation.

Done.

http://codereview.appspot.com/5609049/diff/9001/asan_interceptors.h
File asan_interceptors.h (right):

http://codereview.appspot.com/5609049/diff/9001/asan_interceptors.h#newcode88
asan_interceptors.h:88: struct sigaction *oldact);
On 2012/02/02 10:20:08, ramosian.glider wrote:
> Mind the indentation.

Done.

http://codereview.appspot.com/5609049/diff/9001/asan_mac.h
File asan_mac.h (right):

http://codereview.appspot.com/5609049/diff/9001/asan_mac.h#newcode45
asan_mac.h:45: dispatch_queue_t dq,
On 2012/02/02 10:20:08, ramosian.glider wrote:
> Indentation here and below.

Done.
Sign in to reply to this message.

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