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

Issue 276060043: i#1734 drfuzz: remove redzone reset code

Can't Edit
Can't Publish+Mail
Start Review
Created:
8 years, 5 months ago by zhaoqin
Modified:
8 years, 5 months ago
Reviewers:
bruening
CC:
drmemory-devs_googlegroups.com
Visibility:
Public.

Description

Commit log for first patchset: --------------- i#1734 drfuzz: remove redzone reset code The benefit of reset redzone is to report separate (probably similar) errors in different fuzzing iterations on accessing the same address. We can reset the redzone only if the input buffer is a complete allocated region. Otherwise, we could introduce false positives. It seems the benefit does not justify the possible false positives. ---------------

Patch Set 1 #

Patch Set 2 : Committed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -26 lines) Patch
M drmemory/fuzzer.c View 1 6 chunks +1 line, -26 lines 0 comments Download

Messages

Total messages: 21
zhaoqin
8 years, 5 months ago (2015-11-17 22:37:45 UTC) #1
bruening
Why doesn't the reset code simply check whether the buffer start equals a malloc start?
8 years, 5 months ago (2015-11-18 00:22:58 UTC) #2
zhaoqin
More serious question is do we need reset redzone at all? On Nov 17, 2015 ...
8 years, 5 months ago (2015-11-18 01:58:36 UTC) #3
bruening
I thought there was a general shadow memory reset action. For pattern mode, this is ...
8 years, 5 months ago (2015-11-18 02:07:19 UTC) #4
zhaoqin
On Tue, Nov 17, 2015 at 9:07 PM, Derek Bruening <bruening@google.com> wrote: > I thought ...
8 years, 5 months ago (2015-11-18 02:50:21 UTC) #5
bruening
On 2015/11/18 02:50:21, zhaoqin wrote: > On Tue, Nov 17, 2015 at 9:07 PM, Derek ...
8 years, 5 months ago (2015-11-18 15:02:07 UTC) #6
zhaoqin
On 2015/11/18 15:02:07, bruening wrote: > On 2015/11/18 02:50:21, zhaoqin wrote: > > On Tue, ...
8 years, 5 months ago (2015-11-18 15:39:36 UTC) #7
bruening
On 2015/11/18 15:39:36, zhaoqin wrote: > On 2015/11/18 15:02:07, bruening wrote: > > On 2015/11/18 ...
8 years, 5 months ago (2015-11-18 16:07:49 UTC) #8
zhaoqin
On 2015/11/18 16:07:49, bruening wrote: > On 2015/11/18 15:39:36, zhaoqin wrote: > > On 2015/11/18 ...
8 years, 5 months ago (2015-11-18 16:17:45 UTC) #9
bruening
On 2015/11/18 16:17:45, zhaoqin wrote: > On 2015/11/18 16:07:49, bruening wrote: > > On 2015/11/18 ...
8 years, 5 months ago (2015-11-18 16:29:10 UTC) #10
zhaoqin
> > What I see is a large CL that put in place shadow/pattern reset ...
8 years, 5 months ago (2015-11-18 16:45:07 UTC) #11
bruening
On 2015/11/18 16:45:07, zhaoqin wrote: > While redzone is a different story. It would be ...
8 years, 5 months ago (2015-11-18 19:36:00 UTC) #12
zhaoqin
On 2015/11/18 19:36:00, bruening wrote: > On 2015/11/18 16:45:07, zhaoqin wrote: > > While redzone ...
8 years, 5 months ago (2015-11-18 20:15:15 UTC) #13
zhaoqin
On 2015/11/18 20:15:15, zhaoqin wrote: > On 2015/11/18 19:36:00, bruening wrote: > > On 2015/11/18 ...
8 years, 5 months ago (2015-11-18 21:07:03 UTC) #14
zhaoqin
On 2015/11/18 21:07:03, zhaoqin wrote: > On 2015/11/18 20:15:15, zhaoqin wrote: > > On 2015/11/18 ...
8 years, 5 months ago (2015-11-18 21:08:04 UTC) #15
bruening
On 2015/11/18 21:08:04, zhaoqin wrote: > hmm, what if some uninit value copied into the ...
8 years, 5 months ago (2015-11-18 22:13:03 UTC) #16
zhaoqin
On 2015/11/18 22:13:03, bruening wrote: > On 2015/11/18 21:08:04, zhaoqin wrote: > > hmm, what ...
8 years, 5 months ago (2015-11-18 22:23:23 UTC) #17
bruening
On 2015/11/18 22:23:23, zhaoqin wrote: > On 2015/11/18 22:13:03, bruening wrote: > > On 2015/11/18 ...
8 years, 5 months ago (2015-11-19 02:03:59 UTC) #18
zhaoqin
On 2015/11/19 02:03:59, bruening wrote: > On 2015/11/18 22:23:23, zhaoqin wrote: > > On 2015/11/18 ...
8 years, 5 months ago (2015-11-19 03:17:36 UTC) #19
bruening
On 2015/11/19 03:17:36, zhaoqin wrote: > On 2015/11/19 02:03:59, bruening wrote: > > On 2015/11/18 ...
8 years, 5 months ago (2015-11-19 03:19:28 UTC) #20
zhaoqin
8 years, 5 months ago (2015-11-19 04:19:09 UTC) #21
Committed as
https://github.com/DynamoRIO/drmemory/commit/70c5d82af79b0fc53cfe77c8bf07bdbd...

Final commit log: 
---------------
i#1734 drfuzz: remove redzone reset code

- remove incorrect redzone reset implementation in fuzzer.c

Review-URL: https://codereview.appspot.com/276060043
---------------
Sign in to reply to this message.

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