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

Issue 6214052: tsan: detect use-after-free (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 11 months ago by dvyukov
Modified:
11 years, 11 months ago
Reviewers:
kcc1
CC:
llvm-commits_cs.uiuc.edu
Base URL:
https://llvm.org/svn/llvm-project/compiler-rt/trunk/lib/tsan/
Visibility:
Public.

Patch Set 1 #

Total comments: 5

Patch Set 2 : refactor freed bit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -38 lines) Patch
M output_tests/free_race.c View 1 1 chunk +8 lines, -1 line 0 comments Download
A output_tests/free_race2.c View 1 1 chunk +26 lines, -0 lines 0 comments Download
M rtl/tsan_clock.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M rtl/tsan_clock.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M rtl/tsan_defs.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M rtl/tsan_report.h View 1 chunk +1 line, -0 lines 0 comments Download
M rtl/tsan_report.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M rtl/tsan_rtl.h View 1 4 chunks +35 lines, -15 lines 0 comments Download
M rtl/tsan_rtl.cc View 2 chunks +5 lines, -11 lines 0 comments Download
M rtl/tsan_rtl_report.cc View 4 chunks +14 lines, -7 lines 0 comments Download

Messages

Total messages: 5
kcc1
Great idea! But I don't like to hide the "freed" bit inside TID. can we ...
11 years, 11 months ago (2012-05-17 10:51:27 UTC) #1
dvyukov
On Thu, May 17, 2012 at 2:51 PM, <kcc@google.com> wrote: > Great idea! > But ...
11 years, 11 months ago (2012-05-17 11:01:04 UTC) #2
kcc1
On Thu, May 17, 2012 at 3:01 PM, Dmitry Vyukov <dvyukov@google.com> wrote: > On Thu, ...
11 years, 11 months ago (2012-05-17 11:15:33 UTC) #3
dvyukov
On 2012/05/17 11:15:33, kcc1 wrote: > On Thu, May 17, 2012 at 3:01 PM, Dmitry ...
11 years, 11 months ago (2012-05-17 12:32:12 UTC) #4
kcc1
11 years, 11 months ago (2012-05-17 13:02:43 UTC) #5
Looks good! 
Please add comments describing this hack and committ.
Sign in to reply to this message.

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