aboutsummaryrefslogtreecommitdiff
path: root/src/common/linux/synth_elf_unittest.cc
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2023-08-11 00:05:04 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2023-08-11 00:05:04 +0000
commit4e7c6460d73c00031288165da053692764abbeb1 (patch)
treef98d11d6a158167e19fc9141c79d877280a616a6 /src/common/linux/synth_elf_unittest.cc
parent8d0176459cfc11e28e9427a7eadcf7a42f654f62 (diff)
parentc3c25b3748e23f22d7eb5c0cf6ed671259a25aa0 (diff)
downloadgoogle-breakpad-4e7c6460d73c00031288165da053692764abbeb1.tar.gz
Upgrade google-breakpad to v2023.01.27 am: 332a4371ed am: c3c25b3748
Original change: https://android-review.googlesource.com/c/platform/external/google-breakpad/+/2704174 Change-Id: Id4cbd71ede58b445f8d99dbad585207ef2b97bef Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'src/common/linux/synth_elf_unittest.cc')
-rw-r--r--src/common/linux/synth_elf_unittest.cc9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/common/linux/synth_elf_unittest.cc b/src/common/linux/synth_elf_unittest.cc
index cd74c286..44ef6ef3 100644
--- a/src/common/linux/synth_elf_unittest.cc
+++ b/src/common/linux/synth_elf_unittest.cc
@@ -1,5 +1,4 @@
-// Copyright (c) 2011 Google Inc.
-// All rights reserved.
+// Copyright 2011 Google LLC
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
@@ -11,7 +10,7 @@
// copyright notice, this list of conditions and the following disclaimer
// in the documentation and/or other materials provided with the
// distribution.
-// * Neither the name of Google Inc. nor the names of its
+// * Neither the name of Google LLC nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
@@ -381,9 +380,9 @@ TEST_F(ElfNotesTest, Empty) {
TEST_F(ElfNotesTest, Notes) {
Notes notes(kLittleEndian);
- notes.AddNote(1, "Linux", reinterpret_cast<const uint8_t *>("\x42\x02\0\0"),
+ notes.AddNote(1, "Linux", reinterpret_cast<const uint8_t*>("\x42\x02\0\0"),
4);
- notes.AddNote(2, "a", reinterpret_cast<const uint8_t *>("foobar"),
+ notes.AddNote(2, "a", reinterpret_cast<const uint8_t*>("foobar"),
sizeof("foobar") - 1);
const uint8_t kExpectedNotesContents[] = {