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

Issue 694013002: sandbox: extract PrintProgram() into a separate DumpBPF class (Closed)

Created:
6 years, 1 month ago by mdempsky
Modified:
6 years, 1 month ago
CC:
chromium-reviews, jln+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

sandbox: extract PrintProgram() into a separate DumpBPF class Removes some dependencies from codegen.cc as it now only deals with emitting programs, not with disassembling them too. BUG=414363 Committed: https://crrev.com/a41c404b1c7ff173dcc51b4bf3b9ab4830af78db Cr-Commit-Position: refs/heads/master@{#302323}

Patch Set 1 #

Total comments: 7

Patch Set 2 : Update copyright notices #

Unified diffs Side-by-side diffs Delta from patch set Stats (+130 lines, -95 lines) Patch
M sandbox/linux/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
A sandbox/linux/bpf_dsl/dump_bpf.h View 1 1 chunk +18 lines, -0 lines 0 comments Download
A sandbox/linux/bpf_dsl/dump_bpf.cc View 1 1 chunk +105 lines, -0 lines 0 comments Download
M sandbox/linux/sandbox_linux.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M sandbox/linux/seccomp-bpf/codegen.h View 1 chunk +0 lines, -4 lines 0 comments Download
M sandbox/linux/seccomp-bpf/codegen.cc View 3 chunks +1 line, -90 lines 0 comments Download
M sandbox/linux/seccomp-bpf/sandbox_bpf.cc View 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 14 (4 generated)
mdempsky
Quick refactoring; will make my followup where I rewrite CodeGen a bit simpler.
6 years, 1 month ago (2014-10-31 19:15:38 UTC) #2
mdempsky
https://codereview.chromium.org/694013002/diff/1/sandbox/linux/bpf_dsl/dump_bpf.h File sandbox/linux/bpf_dsl/dump_bpf.h (right): https://codereview.chromium.org/694013002/diff/1/sandbox/linux/bpf_dsl/dump_bpf.h#newcode5 sandbox/linux/bpf_dsl/dump_bpf.h:5: #include "sandbox/linux/seccomp-bpf/codegen.h" Aside: I'm kind of disliking that I ...
6 years, 1 month ago (2014-10-31 19:25:35 UTC) #3
jln (very slow on Chromium)
https://codereview.chromium.org/694013002/diff/1/sandbox/linux/bpf_dsl/dump_bpf.cc File sandbox/linux/bpf_dsl/dump_bpf.cc (right): https://codereview.chromium.org/694013002/diff/1/sandbox/linux/bpf_dsl/dump_bpf.cc#newcode1 sandbox/linux/bpf_dsl/dump_bpf.cc:1: // Copyright (c) 2012 The Chromium Authors. All rights ...
6 years, 1 month ago (2014-10-31 19:30:30 UTC) #4
mdempsky
https://codereview.chromium.org/694013002/diff/1/sandbox/linux/bpf_dsl/dump_bpf.cc File sandbox/linux/bpf_dsl/dump_bpf.cc (right): https://codereview.chromium.org/694013002/diff/1/sandbox/linux/bpf_dsl/dump_bpf.cc#newcode1 sandbox/linux/bpf_dsl/dump_bpf.cc:1: // Copyright (c) 2012 The Chromium Authors. All rights ...
6 years, 1 month ago (2014-10-31 19:37:34 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/694013002/20001
6 years, 1 month ago (2014-10-31 19:39:13 UTC) #7
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
6 years, 1 month ago (2014-10-31 19:39:17 UTC) #9
jln (very slow on Chromium)
lgtm
6 years, 1 month ago (2014-10-31 19:40:30 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/694013002/20001
6 years, 1 month ago (2014-10-31 19:41:47 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
6 years, 1 month ago (2014-10-31 20:50:36 UTC) #13
commit-bot: I haz the power
6 years, 1 month ago (2014-10-31 20:51:10 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/a41c404b1c7ff173dcc51b4bf3b9ab4830af78db
Cr-Commit-Position: refs/heads/master@{#302323}

Powered by Google App Engine
This is Rietveld 408576698