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

Issue 667573009: Give PEImage a virtual destructor (Closed)

Created:
6 years, 2 months ago by hans
Modified:
6 years, 2 months ago
CC:
chromium-reviews, grt+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Give PEImage a virtual destructor It has a virtual method and is derived from by PEImageAsData. Clang would warn about it not having a virtual destructor when used in a delete expression in module_integrity_verifier_win_unittest.cc. Suppress the benign warning about the destructor not being called during SEH unwinding. BUG=82385 Committed: https://crrev.com/7d5f646bf9a9c9379cacebf87378e33f29b3ea21 Cr-Commit-Position: refs/heads/master@{#300621}

Patch Set 1 #

Patch Set 2 : Suppress the SEH warning instead #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -1 line) Patch
M base/win/pe_image.h View 1 2 chunks +3 lines, -1 line 0 comments Download
M sandbox/win/src/sandbox_nt_util.cc View 1 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
hans
Please take a look.
6 years, 2 months ago (2014-10-21 20:10:26 UTC) #2
robertshield
This will fix the warning but I think maybe a broader fix is in order. ...
6 years, 2 months ago (2014-10-21 20:29:06 UTC) #4
hans
On 2014/10/21 20:29:06, robertshield wrote: > This will fix the warning but I think maybe ...
6 years, 2 months ago (2014-10-21 20:37:22 UTC) #5
hans
Uploaded a new version which suppresses the SEH warning instead. I think this is more ...
6 years, 2 months ago (2014-10-21 20:50:55 UTC) #6
robertshield
Cool, this looks much better (and better than what I suggested too :-)). LGTM. Please ...
6 years, 2 months ago (2014-10-21 21:10:18 UTC) #7
hans
On 2014/10/21 21:10:18, robertshield wrote: > Cool, this looks much better (and better than what ...
6 years, 2 months ago (2014-10-21 21:15:10 UTC) #8
cpu_(ooo_6.6-7.5)
lgtm
6 years, 2 months ago (2014-10-22 00:02:26 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/667573009/20001
6 years, 2 months ago (2014-10-22 00:08:53 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
6 years, 2 months ago (2014-10-22 02:09:16 UTC) #12
commit-bot: I haz the power
6 years, 2 months ago (2014-10-22 04:05:29 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/7d5f646bf9a9c9379cacebf87378e33f29b3ea21
Cr-Commit-Position: refs/heads/master@{#300621}

Powered by Google App Engine
This is Rietveld 408576698