Replace std::unique_ptr<T> with HeapArray [crashpad/crashpad : main]

2 views
Skip to first unread message

Mark Mentovai (Gerrit)

unread,
May 7, 2024, 11:51:53 AMMay 7
to Arthur Wang, Crashpad LUCI CQ, crashp...@chromium.org
Attention needed from Arthur Wang

Mark Mentovai added 6 comments

File handler/linux/cros_crash_report_exception_handler.cc
Line 54, Patchset 12 (Latest): result.assign(buf.data(), size);
Mark Mentovai . unresolved

Why do we want a `base::HeapArray<char>` if we’re just going to copy it to a `std::string`? Why not start out with a 4kB string and resize it down? The only practical difference is that we can’t have `Uninit` semantics on the string.

File snapshot/capture_memory.cc
Line 25, Patchset 12 (Latest):#include <memory>
Mark Mentovai . unresolved

You can get rid of this now. Did you check other files to see where else you can get rid of `<memory>`?

File snapshot/memory_snapshot_generic.h
Line 84, Patchset 12 (Latest): if (!process_memory_->Read(address_, size_, buffer.data())) {
Mark Mentovai . unresolved

I’d use `buffer.size()` here because it’s more direct (“fill `buffer` up to its size”).

File snapshot/win/pe_image_reader.cc
Line 190, Patchset 12 (Latest): debug_directory.SizeOfData,
Mark Mentovai . unresolved

Here too.

File tools/tool_support.cc
Line 81, Patchset 12 (Latest): auto argv_as_utf8 = base::HeapArray<char*>::Uninit(argc + 1);
Mark Mentovai . unresolved

We never consider the size of `argv_as_utf8`, so I’m curious why this one would need to change.

File util/process/process_memory_test.cc
Line 442, Patchset 12 (Latest): EXPECT_TRUE(memory.Read(page_addr1, result.size() / 2, result.data()));
Mark Mentovai . unresolved

These divisions are quirky, I’d have stuck with `baes::GetPageSize()`.

Open in Gerrit

Related details

Attention is currently required from:
  • Arthur Wang
Submit Requirements:
  • requirement is not satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: crashpad/crashpad
Gerrit-Branch: main
Gerrit-Change-Id: I04724530cbef50a8d3c18f306d16c0bbf3b0815b
Gerrit-Change-Number: 5512394
Gerrit-PatchSet: 12
Gerrit-Owner: Arthur Wang <wuw...@chromium.org>
Gerrit-Reviewer: Arthur Wang <wuw...@chromium.org>
Gerrit-Reviewer: Mark Mentovai <ma...@chromium.org>
Gerrit-Attention: Arthur Wang <wuw...@chromium.org>
Gerrit-Comment-Date: Tue, 07 May 2024 15:51:48 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
unsatisfied_requirement
open
diffy

Arthur Wang (Gerrit)

unread,
May 7, 2024, 1:49:54 PMMay 7
to Mark Mentovai, Crashpad LUCI CQ, crashp...@chromium.org
Attention needed from Mark Mentovai

Arthur Wang voted and added 6 comments

Votes added by Arthur Wang

Commit-Queue+1

6 comments

File handler/linux/cros_crash_report_exception_handler.cc
Line 54, Patchset 12: result.assign(buf.data(), size);
Mark Mentovai . resolved

Why do we want a `base::HeapArray<char>` if we’re just going to copy it to a `std::string`? Why not start out with a 4kB string and resize it down? The only practical difference is that we can’t have `Uninit` semantics on the string.

Arthur Wang

Done

File snapshot/capture_memory.cc
Line 25, Patchset 12:#include <memory>
Mark Mentovai . resolved

You can get rid of this now. Did you check other files to see where else you can get rid of `<memory>`?

Arthur Wang

Done

File snapshot/memory_snapshot_generic.h
Line 84, Patchset 12: if (!process_memory_->Read(address_, size_, buffer.data())) {
Mark Mentovai . resolved

I’d use `buffer.size()` here because it’s more direct (“fill `buffer` up to its size”).

Arthur Wang

Done

File snapshot/win/pe_image_reader.cc
Line 190, Patchset 12: debug_directory.SizeOfData,
Mark Mentovai . resolved

Here too.

Arthur Wang

Done

File tools/tool_support.cc
Line 81, Patchset 12: auto argv_as_utf8 = base::HeapArray<char*>::Uninit(argc + 1);
Mark Mentovai . resolved

We never consider the size of `argv_as_utf8`, so I’m curious why this one would need to change.

Arthur Wang

This is just for consistency reason as the tool just blindly file bugs based on regex match. so if we keep this unchanged, the bug will have to be kept alive.

File util/process/process_memory_test.cc
Line 442, Patchset 12: EXPECT_TRUE(memory.Read(page_addr1, result.size() / 2, result.data()));
Mark Mentovai . resolved

These divisions are quirky, I’d have stuck with `baes::GetPageSize()`.

Arthur Wang

Done

Open in Gerrit

Related details

Attention is currently required from:
  • Mark Mentovai
Submit Requirements:
  • requirement is not satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: crashpad/crashpad
Gerrit-Branch: main
Gerrit-Change-Id: I04724530cbef50a8d3c18f306d16c0bbf3b0815b
Gerrit-Change-Number: 5512394
Gerrit-PatchSet: 14
Gerrit-Owner: Arthur Wang <wuw...@chromium.org>
Gerrit-Reviewer: Arthur Wang <wuw...@chromium.org>
Gerrit-Reviewer: Mark Mentovai <ma...@chromium.org>
Gerrit-Attention: Mark Mentovai <ma...@chromium.org>
Gerrit-Comment-Date: Tue, 07 May 2024 17:49:51 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: Mark Mentovai <ma...@chromium.org>
unsatisfied_requirement
open
diffy

Mark Mentovai (Gerrit)

unread,
May 7, 2024, 2:18:14 PMMay 7
to Arthur Wang, Crashpad LUCI CQ, crashp...@chromium.org
Attention needed from Arthur Wang

Mark Mentovai added 1 comment

File handler/linux/cros_crash_report_exception_handler.cc
Line 49, Patchset 14 (Latest): buf.reserve(kMaxSize);
Mark Mentovai . unresolved

This is invalid. You need to `resize`. More importantly, the whole point of this was that you could do it all in `result` without needing `buf` at all.

Open in Gerrit

Related details

Attention is currently required from:
  • Arthur Wang
Submit Requirements:
  • requirement is not satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: crashpad/crashpad
Gerrit-Branch: main
Gerrit-Change-Id: I04724530cbef50a8d3c18f306d16c0bbf3b0815b
Gerrit-Change-Number: 5512394
Gerrit-PatchSet: 14
Gerrit-Owner: Arthur Wang <wuw...@chromium.org>
Gerrit-Reviewer: Arthur Wang <wuw...@chromium.org>
Gerrit-Reviewer: Mark Mentovai <ma...@chromium.org>
Gerrit-Attention: Arthur Wang <wuw...@chromium.org>
Gerrit-Comment-Date: Tue, 07 May 2024 18:18:10 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
unsatisfied_requirement
open
diffy

Arthur Wang (Gerrit)

unread,
May 7, 2024, 3:48:23 PMMay 7
to Mark Mentovai, Crashpad LUCI CQ, crashp...@chromium.org
Attention needed from Mark Mentovai

Arthur Wang voted and added 1 comment

Votes added by Arthur Wang

Commit-Queue+1

1 comment

File handler/linux/cros_crash_report_exception_handler.cc
Line 49, Patchset 14: buf.reserve(kMaxSize);
Mark Mentovai . resolved

This is invalid. You need to `resize`. More importantly, the whole point of this was that you could do it all in `result` without needing `buf` at all.

Arthur Wang

Acknowledged

Open in Gerrit

Related details

Attention is currently required from:
  • Mark Mentovai
Submit Requirements:
  • requirement is not satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: crashpad/crashpad
Gerrit-Branch: main
Gerrit-Change-Id: I04724530cbef50a8d3c18f306d16c0bbf3b0815b
Gerrit-Change-Number: 5512394
Gerrit-PatchSet: 15
Gerrit-Owner: Arthur Wang <wuw...@chromium.org>
Gerrit-Reviewer: Arthur Wang <wuw...@chromium.org>
Gerrit-Reviewer: Mark Mentovai <ma...@chromium.org>
Gerrit-Attention: Mark Mentovai <ma...@chromium.org>
Gerrit-Comment-Date: Tue, 07 May 2024 19:48:20 +0000
unsatisfied_requirement
open
diffy

Mark Mentovai (Gerrit)

unread,
May 7, 2024, 3:58:42 PMMay 7
to Arthur Wang, Crashpad LUCI CQ, crashp...@chromium.org
Attention needed from Arthur Wang

Mark Mentovai added 1 comment

File handler/linux/cros_crash_report_exception_handler.cc
Line 49, Patchset 14: buf.reserve(kMaxSize);
Mark Mentovai . unresolved

This is invalid. You need to `resize`. More importantly, the whole point of this was that you could do it all in `result` without needing `buf` at all.

Arthur Wang

Acknowledged

Mark Mentovai

Acknowledged

You acknowledged but did not fully fix.

Open in Gerrit

Related details

Attention is currently required from:
  • Arthur Wang
Submit Requirements:
  • requirement is not satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: crashpad/crashpad
Gerrit-Branch: main
Gerrit-Change-Id: I04724530cbef50a8d3c18f306d16c0bbf3b0815b
Gerrit-Change-Number: 5512394
Gerrit-PatchSet: 15
Gerrit-Owner: Arthur Wang <wuw...@chromium.org>
Gerrit-Reviewer: Arthur Wang <wuw...@chromium.org>
Gerrit-Reviewer: Mark Mentovai <ma...@chromium.org>
Gerrit-Attention: Arthur Wang <wuw...@chromium.org>
Gerrit-Comment-Date: Tue, 07 May 2024 19:58:39 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Arthur Wang <wuw...@chromium.org>
Comment-In-Reply-To: Mark Mentovai <ma...@chromium.org>
unsatisfied_requirement
open
diffy

Mark Mentovai (Gerrit)

unread,
May 9, 2024, 10:49:55 AMMay 9
to Arthur Wang, Crashpad LUCI CQ, crashp...@chromium.org
Attention needed from Arthur Wang

Mark Mentovai added 10 comments

File handler/linux/cros_crash_report_exception_handler.h
Line 30, Patchset 17 (Latest):std::string GetProcessNameFromPid(pid_t pid);
Mark Mentovai . unresolved

You need to `#include <sys/types.h>` or another header documented as providing `pid_t`.

This file actually uses `pid_t` already, so you should make this change even if you don’t wind up declaring this function in this header.

Line 30, Patchset 17 (Latest):std::string GetProcessNameFromPid(pid_t pid);
Mark Mentovai . unresolved

If this is here, it needs to be documented.

You put this here to be able to test it, but I don’t think that the test is very strong, so I wouldn’t mind if you just took this (and the new test) out and put the function back in the unnamed namespace.

File handler/linux/cros_crash_report_exception_handler.cc
Line 113, Patchset 17 (Latest):// Returns the process name for a pid.
Mark Mentovai . unresolved

If you are documenting this function in the header, it should be removed from here.

Line 121, Patchset 17 (Latest): PLOG(ERROR) << "Failed to readlink " << link_path;
Mark Mentovai . unresolved

`result.clear();`

File handler/linux/cros_crash_report_exception_handler_test.cc
File-level comment, Patchset 17 (Latest):
Mark Mentovai . unresolved

See comments elsewhere: this test doesn’t really do that much, so I’d be just as happy if you didn’t include it.

Line 9, Patchset 17 (Latest):namespace crashpad {
namespace test {
Mark Mentovai . unresolved

Crashpad puts tests inside an unnamed namespace inside `crashpad::test`. Look around, you’ll find plenty of examples.

Line 12, Patchset 17 (Latest):TEST(CrosCrashReportExceptionHandler, GetProcessNameFromPidTest) {
Mark Mentovai . unresolved

No `Test` suffix necessary.

Line 13, Patchset 17 (Latest): std::string result = GetProcessNameFromPid(getppid());
Mark Mentovai . unresolved

`#include <string>`

Line 13, Patchset 17 (Latest): std::string result = GetProcessNameFromPid(getppid());
Mark Mentovai . unresolved

`#include <unistd.h>`

Line 14, Patchset 17 (Latest): ASSERT_GT(result.size(), size_t{0});
Mark Mentovai . unresolved

`ASSERT_FALSE(result.empty());` is much more direct than this.

Open in Gerrit

Related details

Attention is currently required from:
  • Arthur Wang
Submit Requirements:
  • requirement is not satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: crashpad/crashpad
Gerrit-Branch: main
Gerrit-Change-Id: I04724530cbef50a8d3c18f306d16c0bbf3b0815b
Gerrit-Change-Number: 5512394
Gerrit-PatchSet: 17
Gerrit-Owner: Arthur Wang <wuw...@chromium.org>
Gerrit-Reviewer: Arthur Wang <wuw...@chromium.org>
Gerrit-Reviewer: Mark Mentovai <ma...@chromium.org>
Gerrit-Attention: Arthur Wang <wuw...@chromium.org>
Gerrit-Comment-Date: Thu, 09 May 2024 14:49:50 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
unsatisfied_requirement
open
diffy

Arthur Wang (Gerrit)

unread,
May 9, 2024, 1:07:07 PMMay 9
to Mark Mentovai, Crashpad LUCI CQ, crashp...@chromium.org
Attention needed from Arthur Wang and Mark Mentovai

Arthur Wang voted and added 1 comment

Votes added by Arthur Wang

Commit-Queue+1

1 comment

File handler/linux/cros_crash_report_exception_handler.cc
Line 49, Patchset 14: buf.reserve(kMaxSize);
Mark Mentovai . resolved

This is invalid. You need to `resize`. More importantly, the whole point of this was that you could do it all in `result` without needing `buf` at all.

Arthur Wang

Acknowledged

Mark Mentovai

Acknowledged

You acknowledged but did not fully fix.

Arthur Wang

Done

Open in Gerrit

Related details

Attention is currently required from:
  • Arthur Wang
  • Mark Mentovai
Submit Requirements:
  • requirement is not satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: crashpad/crashpad
Gerrit-Branch: main
Gerrit-Change-Id: I04724530cbef50a8d3c18f306d16c0bbf3b0815b
Gerrit-Change-Number: 5512394
Gerrit-PatchSet: 17
Gerrit-Owner: Arthur Wang <wuw...@chromium.org>
Gerrit-Reviewer: Arthur Wang <wuw...@chromium.org>
Gerrit-Reviewer: Mark Mentovai <ma...@chromium.org>
Gerrit-Attention: Arthur Wang <wuw...@chromium.org>
Gerrit-Attention: Mark Mentovai <ma...@chromium.org>
Gerrit-Comment-Date: Thu, 09 May 2024 17:07:02 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
unsatisfied_requirement
open
diffy

Arthur Wang (Gerrit)

unread,
May 9, 2024, 1:58:24 PMMay 9
to Mark Mentovai, Crashpad LUCI CQ, crashp...@chromium.org
Attention needed from Mark Mentovai

Arthur Wang added 10 comments

File handler/linux/cros_crash_report_exception_handler.h
Line 30, Patchset 17:std::string GetProcessNameFromPid(pid_t pid);
Mark Mentovai . resolved

If this is here, it needs to be documented.

You put this here to be able to test it, but I don’t think that the test is very strong, so I wouldn’t mind if you just took this (and the new test) out and put the function back in the unnamed namespace.

Arthur Wang

Acknowledged

Line 30, Patchset 17:std::string GetProcessNameFromPid(pid_t pid);
Mark Mentovai . resolved

You need to `#include <sys/types.h>` or another header documented as providing `pid_t`.

This file actually uses `pid_t` already, so you should make this change even if you don’t wind up declaring this function in this header.

Arthur Wang

Done

File handler/linux/cros_crash_report_exception_handler.cc
Line 113, Patchset 17:// Returns the process name for a pid.
Mark Mentovai . resolved

If you are documenting this function in the header, it should be removed from here.

Arthur Wang

Acknowledged

Line 121, Patchset 17: PLOG(ERROR) << "Failed to readlink " << link_path;
Mark Mentovai . resolved

`result.clear();`

Arthur Wang

Done

File handler/linux/cros_crash_report_exception_handler_test.cc
File-level comment, Patchset 17:
Mark Mentovai . resolved

See comments elsewhere: this test doesn’t really do that much, so I’d be just as happy if you didn’t include it.

Arthur Wang

Acknowledged

Line 9, Patchset 17:namespace crashpad {
namespace test {
Mark Mentovai . resolved

Crashpad puts tests inside an unnamed namespace inside `crashpad::test`. Look around, you’ll find plenty of examples.

Arthur Wang

Acknowledged. n/a as I am removing this unittest file.

Line 12, Patchset 17:TEST(CrosCrashReportExceptionHandler, GetProcessNameFromPidTest) {
Mark Mentovai . resolved

No `Test` suffix necessary.

Arthur Wang

Acknowledged. n/a as I am removing this unittest file.

Line 13, Patchset 17: std::string result = GetProcessNameFromPid(getppid());
Mark Mentovai . resolved

`#include <string>`

Arthur Wang

Acknowledged. n/a as I am removing this unittest file.

Line 13, Patchset 17: std::string result = GetProcessNameFromPid(getppid());
Mark Mentovai . resolved

`#include <unistd.h>`

Arthur Wang

Acknowledged. n/a as I am removing this unittest file.

Line 14, Patchset 17: ASSERT_GT(result.size(), size_t{0});
Mark Mentovai . resolved

`ASSERT_FALSE(result.empty());` is much more direct than this.

Arthur Wang

Acknowledged. n/a as I am removing this unittest file.

Open in Gerrit

Related details

Attention is currently required from:
  • Mark Mentovai
Submit Requirements:
  • requirement is not satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: crashpad/crashpad
Gerrit-Branch: main
Gerrit-Change-Id: I04724530cbef50a8d3c18f306d16c0bbf3b0815b
Gerrit-Change-Number: 5512394
Gerrit-PatchSet: 17
Gerrit-Owner: Arthur Wang <wuw...@chromium.org>
Gerrit-Reviewer: Arthur Wang <wuw...@chromium.org>
Gerrit-Reviewer: Mark Mentovai <ma...@chromium.org>
Gerrit-Attention: Mark Mentovai <ma...@chromium.org>
Gerrit-Comment-Date: Thu, 09 May 2024 17:58:21 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Mark Mentovai <ma...@chromium.org>
unsatisfied_requirement
open
diffy

Mark Mentovai (Gerrit)

unread,
May 9, 2024, 2:02:13 PMMay 9
to Arthur Wang, Crashpad LUCI CQ, crashp...@chromium.org
Attention needed from Arthur Wang

Mark Mentovai added 1 comment

File handler/linux/cros_crash_report_exception_handler.h
Line 19, Patchset 19 (Latest):#include <map>
Mark Mentovai . unresolved

Blank line between C and C++ system headers.

Open in Gerrit

Related details

Attention is currently required from:
  • Arthur Wang
Submit Requirements:
  • requirement is not satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: crashpad/crashpad
Gerrit-Branch: main
Gerrit-Change-Id: I04724530cbef50a8d3c18f306d16c0bbf3b0815b
Gerrit-Change-Number: 5512394
Gerrit-PatchSet: 19
Gerrit-Owner: Arthur Wang <wuw...@chromium.org>
Gerrit-Reviewer: Arthur Wang <wuw...@chromium.org>
Gerrit-Reviewer: Mark Mentovai <ma...@chromium.org>
Gerrit-Attention: Arthur Wang <wuw...@chromium.org>
Gerrit-Comment-Date: Thu, 09 May 2024 18:02:09 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
unsatisfied_requirement
open
diffy

Arthur Wang (Gerrit)

unread,
May 9, 2024, 3:40:07 PMMay 9
to Mark Mentovai, Crashpad LUCI CQ, crashp...@chromium.org
Attention needed from Mark Mentovai

Arthur Wang added 1 comment

File handler/linux/cros_crash_report_exception_handler.h
Line 19, Patchset 19:#include <map>
Mark Mentovai . resolved

Blank line between C and C++ system headers.

Arthur Wang

Done

Open in Gerrit

Related details

Attention is currently required from:
  • Mark Mentovai
Submit Requirements:
  • requirement is not satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: crashpad/crashpad
Gerrit-Branch: main
Gerrit-Change-Id: I04724530cbef50a8d3c18f306d16c0bbf3b0815b
Gerrit-Change-Number: 5512394
Gerrit-PatchSet: 20
Gerrit-Owner: Arthur Wang <wuw...@chromium.org>
Gerrit-Reviewer: Arthur Wang <wuw...@chromium.org>
Gerrit-Reviewer: Mark Mentovai <ma...@chromium.org>
Gerrit-Attention: Mark Mentovai <ma...@chromium.org>
Gerrit-Comment-Date: Thu, 09 May 2024 19:40:03 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Mark Mentovai <ma...@chromium.org>
unsatisfied_requirement
open
diffy

Mark Mentovai (Gerrit)

unread,
May 9, 2024, 4:41:14 PMMay 9
to Arthur Wang, Crashpad LUCI CQ, crashp...@chromium.org
Attention needed from Arthur Wang

Mark Mentovai voted Code-Review+1

Code-Review+1
Open in Gerrit

Related details

Attention is currently required from:
  • Arthur Wang
Submit Requirements:
  • requirement satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: crashpad/crashpad
Gerrit-Branch: main
Gerrit-Change-Id: I04724530cbef50a8d3c18f306d16c0bbf3b0815b
Gerrit-Change-Number: 5512394
Gerrit-PatchSet: 20
Gerrit-Owner: Arthur Wang <wuw...@chromium.org>
Gerrit-Reviewer: Arthur Wang <wuw...@chromium.org>
Gerrit-Reviewer: Mark Mentovai <ma...@chromium.org>
Gerrit-Attention: Arthur Wang <wuw...@chromium.org>
Gerrit-Comment-Date: Thu, 09 May 2024 20:41:11 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Arthur Wang (Gerrit)

unread,
May 9, 2024, 6:16:54 PMMay 9
to Mark Mentovai, Crashpad LUCI CQ, crashp...@chromium.org

Arthur Wang voted Commit-Queue+2

Commit-Queue+2
Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: crashpad/crashpad
Gerrit-Branch: main
Gerrit-Change-Id: I04724530cbef50a8d3c18f306d16c0bbf3b0815b
Gerrit-Change-Number: 5512394
Gerrit-PatchSet: 20
Gerrit-Owner: Arthur Wang <wuw...@chromium.org>
Gerrit-Reviewer: Arthur Wang <wuw...@chromium.org>
Gerrit-Reviewer: Mark Mentovai <ma...@chromium.org>
Gerrit-Comment-Date: Thu, 09 May 2024 22:16:51 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Crashpad LUCI CQ (Gerrit)

unread,
May 9, 2024, 6:17:03 PMMay 9
to Arthur Wang, Mark Mentovai, crashp...@chromium.org

Crashpad LUCI CQ submitted the change

Change information

Commit message:
Replace std::unique_ptr<T> with HeapArray
Bug: crashpad: 326459659,326458942,326459376,326459390,326459417,326458979,326459333,326459016,326458338,326458738,326459156,326459512,326458694
Change-Id: I04724530cbef50a8d3c18f306d16c0bbf3b0815b
Reviewed-by: Mark Mentovai <ma...@chromium.org>
Commit-Queue: Arthur Wang <wuw...@chromium.org>
Files:
  • M handler/linux/cros_crash_report_exception_handler.cc
  • M handler/linux/cros_crash_report_exception_handler.h
  • M snapshot/capture_memory.cc
  • M snapshot/memory_snapshot_generic.h
  • M snapshot/win/pe_image_reader.cc
  • M tools/tool_support.cc
  • M util/net/http_body_gzip_test.cc
  • M util/net/http_body_test_util.cc
  • M util/process/process_memory_mac_test.cc
  • M util/process/process_memory_test.cc
  • M util/win/exception_handler_server.cc
  • M util/win/module_version.cc
Change size: M
Delta: 12 files changed, 91 insertions(+), 93 deletions(-)
Branch: refs/heads/main
Submit Requirements:
  • requirement satisfiedCode-Review: +1 by Mark Mentovai
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: crashpad/crashpad
Gerrit-Branch: main
Gerrit-Change-Id: I04724530cbef50a8d3c18f306d16c0bbf3b0815b
Gerrit-Change-Number: 5512394
Gerrit-PatchSet: 21
Gerrit-Owner: Arthur Wang <wuw...@chromium.org>
Gerrit-Reviewer: Arthur Wang <wuw...@chromium.org>
Gerrit-Reviewer: Crashpad LUCI CQ <crashpa...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Reviewer: Mark Mentovai <ma...@chromium.org>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages