Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(275)

Issue 2194853003: Subzero: Implemented codegen for poisoning and unpoisoning stack redzones (Closed)

Created:
4 years, 4 months ago by tlively
Modified:
4 years, 4 months ago
CC:
native-client-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Subzero: Implemented codegen for poisoning and unpoisoning stack redzones BUG=https://bugs.chromium.org/p/nativeclient/issues/detail?id=4374 R=kschimpf@google.com, stichnot@chromium.org Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=cbd3dbc6f00a7784f523132910cc9adbdfa09bf2

Patch Set 1 #

Total comments: 15

Patch Set 2 : Handles all static allocas in entry block #

Patch Set 3 : Added missing REQUIRES directive #

Unified diffs Side-by-side diffs Delta from patch set Stats (+338 lines, -179 lines) Patch
M src/IceASanInstrumentation.h View 1 chunk +1 line, -1 line 0 comments Download
M src/IceASanInstrumentation.cpp View 1 5 chunks +113 lines, -93 lines 0 comments Download
M src/IceCfg.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M tests_lit/asan_tests/alignment.ll View 1 1 chunk +14 lines, -29 lines 0 comments Download
M tests_lit/asan_tests/blacklist.ll View 1 1 chunk +12 lines, -6 lines 0 comments Download
M tests_lit/asan_tests/errors.ll View 1 1 chunk +45 lines, -0 lines 0 comments Download
M tests_lit/asan_tests/instrumentlocals.ll View 1 2 chunks +54 lines, -25 lines 0 comments Download
M tests_lit/asan_tests/multiple_returns.ll View 1 1 chunk +25 lines, -14 lines 0 comments Download
A tests_lit/asan_tests/scatteredallocas.ll View 1 2 1 chunk +63 lines, -0 lines 0 comments Download
M tests_lit/llvm2ice_tests/fused-alloca.ll View 1 3 chunks +5 lines, -5 lines 0 comments Download
M tests_lit/llvm2ice_tests/fused-alloca-arg.ll View 1 chunk +5 lines, -5 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
tlively
4 years, 4 months ago (2016-07-29 21:30:38 UTC) #2
Karl
lgtm https://codereview.chromium.org/2194853003/diff/1/src/IceASanInstrumentation.cpp File src/IceASanInstrumentation.cpp (right): https://codereview.chromium.org/2194853003/diff/1/src/IceASanInstrumentation.cpp#newcode181 src/IceASanInstrumentation.cpp:181: (VarSizeOp = llvm::dyn_cast<ConstantInteger32>(Cur->getSizeInBytes()))) { Doesn't this code assume ...
4 years, 4 months ago (2016-08-01 15:40:21 UTC) #3
tlively
https://codereview.chromium.org/2194853003/diff/1/src/IceASanInstrumentation.cpp File src/IceASanInstrumentation.cpp (right): https://codereview.chromium.org/2194853003/diff/1/src/IceASanInstrumentation.cpp#newcode181 src/IceASanInstrumentation.cpp:181: (VarSizeOp = llvm::dyn_cast<ConstantInteger32>(Cur->getSizeInBytes()))) { On 2016/08/01 15:40:21, Karl wrote: ...
4 years, 4 months ago (2016-08-01 17:08:51 UTC) #4
Jim Stichnoth
otherwise lgtm https://codereview.chromium.org/2194853003/diff/1/src/IceASanInstrumentation.cpp File src/IceASanInstrumentation.cpp (right): https://codereview.chromium.org/2194853003/diff/1/src/IceASanInstrumentation.cpp#newcode186 src/IceASanInstrumentation.cpp:186: Variable *LastRzVar = Func->makeVariable(IceType_i32); auto * ? ...
4 years, 4 months ago (2016-08-01 20:38:01 UTC) #5
Karl
Otherwise LGTM. https://codereview.chromium.org/2194853003/diff/1/src/IceASanInstrumentation.cpp File src/IceASanInstrumentation.cpp (right): https://codereview.chromium.org/2194853003/diff/1/src/IceASanInstrumentation.cpp#newcode181 src/IceASanInstrumentation.cpp:181: (VarSizeOp = llvm::dyn_cast<ConstantInteger32>(Cur->getSizeInBytes()))) { On 2016/08/01 17:08:50, ...
4 years, 4 months ago (2016-08-04 14:26:34 UTC) #6
Jim Stichnoth
https://codereview.chromium.org/2194853003/diff/1/src/IceASanInstrumentation.cpp File src/IceASanInstrumentation.cpp (right): https://codereview.chromium.org/2194853003/diff/1/src/IceASanInstrumentation.cpp#newcode181 src/IceASanInstrumentation.cpp:181: (VarSizeOp = llvm::dyn_cast<ConstantInteger32>(Cur->getSizeInBytes()))) { On 2016/08/04 14:26:34, Karl wrote: ...
4 years, 4 months ago (2016-08-04 14:42:54 UTC) #7
tlively
Blocked on https://bugs.chromium.org/p/nativeclient/issues/detail?id=4377 to pass presubmit. https://codereview.chromium.org/2194853003/diff/1/src/IceASanInstrumentation.cpp File src/IceASanInstrumentation.cpp (right): https://codereview.chromium.org/2194853003/diff/1/src/IceASanInstrumentation.cpp#newcode181 src/IceASanInstrumentation.cpp:181: (VarSizeOp = llvm::dyn_cast<ConstantInteger32>(Cur->getSizeInBytes()))) ...
4 years, 4 months ago (2016-08-05 18:24:53 UTC) #8
Karl
LGTM once blocker handled.
4 years, 4 months ago (2016-08-05 19:06:19 UTC) #9
tlively
4 years, 4 months ago (2016-08-09 22:02:44 UTC) #11
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
cbd3dbc6f00a7784f523132910cc9adbdfa09bf2 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698