diff --git a/CMakeLists.txt b/CMakeLists.txt index 51314449..7e0a63fb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright 2011-2022 Google LLC +# Copyright 2011-2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/README.md b/README.md index de6830b3..ee996495 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # BinExport -Copyright 2011-2022 Google LLC. +Copyright 2011-2023 Google LLC. [![Linux Build Status](https://github.com/google/binexport/workflows/linux-build/badge.svg)](https://github.com/google/binexport/actions?query=workflow%3Alinux-build) [![Coverity Scan Build Status](https://scan.coverity.com/projects/8977/badge.svg)](https://scan.coverity.com/projects/google-binexport) diff --git a/address_references.cc b/address_references.cc index 6f8ac155..72e6a7a9 100644 --- a/address_references.cc +++ b/address_references.cc @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/address_references.h b/address_references.h index 7f8164b0..e4f0fc7f 100644 --- a/address_references.h +++ b/address_references.h @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/architectures.h b/architectures.h index a9d0c62d..cea0fdf5 100644 --- a/architectures.h +++ b/architectures.h @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/base_types.cc b/base_types.cc index 2c1f0533..d5102ae2 100644 --- a/base_types.cc +++ b/base_types.cc @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -45,42 +45,27 @@ void BaseType::SetName(const std::string& name) { name_ = name; } const std::string& BaseType::GetName() const { return name_; } -void BaseType::SetSize(size_t size) { - size_ = size; -} +void BaseType::SetSize(size_t size) { size_ = size; } -size_t BaseType::GetSize() const { - return size_; -} +size_t BaseType::GetSize() const { return size_; } -void BaseType::SetSigned(bool is_signed) { - is_signed_ = is_signed; -} +void BaseType::SetSigned(bool is_signed) { is_signed_ = is_signed; } -bool BaseType::IsSigned() const { - return is_signed_; -} +bool BaseType::IsSigned() const { return is_signed_; } -void BaseType::SetPointer(const BaseType* pointer) { - pointer_ = pointer; -} +void BaseType::SetPointer(const BaseType* pointer) { pointer_ = pointer; } -const BaseType* BaseType::GetPointer() const { - return pointer_; -} +const BaseType* BaseType::GetPointer() const { return pointer_; } void BaseType::AddMember(MemberType* member) { - members_.insert(std::lower_bound(members_.begin(), - members_.end(), member, &SortMemberTypes), member); + members_.insert(std::lower_bound(members_.begin(), members_.end(), member, + &SortMemberTypes), + member); } -const BaseType::MemberTypes& BaseType::GetMembers() const { - return members_; -} +const BaseType::MemberTypes& BaseType::GetMembers() const { return members_; } -void BaseType::SetCategory(TypeCategory category) { - category_ = category; -} +void BaseType::SetCategory(TypeCategory category) { category_ = category; } std::string BaseType::GetCategoryString() const { switch (category_) { @@ -103,8 +88,8 @@ std::string BaseType::GetCategoryString() const { } bool IsWithinMember(const MemberType* member, int offset) { - return offset >= member->offset - && offset < member->offset + member->type->GetSize(); + return offset >= member->offset && + offset < member->offset + member->type->GetSize(); } // Finds the member x in the struct that occupies space in the range @@ -118,11 +103,9 @@ const MemberType* BaseType::ResolveMember(const BaseType* base_type, MemberType search_member; search_member.offset = offset; - MemberTypes::const_iterator cit = - std::lower_bound(base_type->GetMembers().begin(), - base_type->GetMembers().end(), - &search_member, - &SortMemberTypes); + MemberTypes::const_iterator cit = std::lower_bound( + base_type->GetMembers().begin(), base_type->GetMembers().end(), + &search_member, &SortMemberTypes); // We might have found the subsequent member (since lower bound gives us the // first member that is greater or equal regarding our search offset). if (cit == base_type->GetMembers().end() || !IsWithinMember(*cit, offset)) { diff --git a/base_types.h b/base_types.h index 0639a247..7d8df7c5 100644 --- a/base_types.h +++ b/base_types.h @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -42,10 +42,7 @@ class BaseType { kFunctionPrototype }; - BaseType() - : id_(NextTypeId()), - pointer_(nullptr), - category_(kAtomic) {} + BaseType() : id_(NextTypeId()), pointer_(nullptr), category_(kAtomic) {} using BaseTypes = std::vector; using MemberTypes = std::vector; diff --git a/basic_block.cc b/basic_block.cc index a6d8dfd2..74cb87df 100644 --- a/basic_block.cc +++ b/basic_block.cc @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/basic_block.h b/basic_block.h index 0196d528..0f8bb1a8 100644 --- a/basic_block.h +++ b/basic_block.h @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -17,8 +17,8 @@ #include #include -#include #include +#include #include #undef max diff --git a/binexport.cc b/binexport.cc index 38b88ac3..9cc5a123 100644 --- a/binexport.cc +++ b/binexport.cc @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/binexport.h b/binexport.h index 7e4577f7..9d3b1ae0 100644 --- a/binexport.h +++ b/binexport.h @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/binexport2.proto b/binexport2.proto index 31cfa539..818f6797 100644 --- a/binexport2.proto +++ b/binexport2.proto @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/binexport2_writer.cc b/binexport2_writer.cc index 7aa0dc0f..fe3ade86 100644 --- a/binexport2_writer.cc +++ b/binexport2_writer.cc @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/binexport2_writer.h b/binexport2_writer.h index 9ec71220..7e52ab36 100644 --- a/binexport2_writer.h +++ b/binexport2_writer.h @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/binexport_test.cc b/binexport_test.cc index 0421b164..371b912b 100644 --- a/binexport_test.cc +++ b/binexport_test.cc @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/call_graph.cc b/call_graph.cc index dd468b1b..e29dd7a7 100644 --- a/call_graph.cc +++ b/call_graph.cc @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -73,8 +73,7 @@ void CallGraph::Render(std::ostream* stream, int library_index = function->GetLibraryIndex(); if (library_index != -1) { const auto& library = library_manager_.GetKnownLibrary(library_index); - *stream << " from " - << (library.IsStatic() ? "static" : "dynamic") + *stream << " from " << (library.IsStatic() ? "static" : "dynamic") << " library " << library.name; } // Prefer "\n" over endl when calling it in a loop as std::endl flushes the diff --git a/call_graph.h b/call_graph.h index 4011009f..aa42ed97 100644 --- a/call_graph.h +++ b/call_graph.h @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/cmake/BinExportDeps.cmake b/cmake/BinExportDeps.cmake index a466ccaa..975cb7a5 100644 --- a/cmake/BinExportDeps.cmake +++ b/cmake/BinExportDeps.cmake @@ -1,4 +1,4 @@ -# Copyright 2011-2022 Google LLC +# Copyright 2011-2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/cmake/BinExportOptions.cmake b/cmake/BinExportOptions.cmake index 74355d01..5e971011 100644 --- a/cmake/BinExportOptions.cmake +++ b/cmake/BinExportOptions.cmake @@ -1,4 +1,4 @@ -# Copyright 2011-2022 Google LLC +# Copyright 2011-2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/cmake/CompileOptions.cmake b/cmake/CompileOptions.cmake index 6a81de30..de7a05b0 100644 --- a/cmake/CompileOptions.cmake +++ b/cmake/CompileOptions.cmake @@ -1,4 +1,4 @@ -# Copyright 2011-2022 Google LLC +# Copyright 2011-2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/cmake/FindIdaSdk.cmake b/cmake/FindIdaSdk.cmake index bf6f32ec..b96f3fc7 100644 --- a/cmake/FindIdaSdk.cmake +++ b/cmake/FindIdaSdk.cmake @@ -1,4 +1,4 @@ -# Copyright 2011-2022 Google LLC +# Copyright 2011-2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/cmake/Util.cmake b/cmake/Util.cmake index 4170a965..28d8d515 100644 --- a/cmake/Util.cmake +++ b/cmake/Util.cmake @@ -1,4 +1,4 @@ -# Copyright 2011-2022 Google LLC +# Copyright 2011-2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/comment.cc b/comment.cc index 20289fa2..ea008a68 100644 --- a/comment.cc +++ b/comment.cc @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/comment.h b/comment.h index f396dc61..2e57dd6d 100644 --- a/comment.h +++ b/comment.h @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/dump_writer.cc b/dump_writer.cc index 311995ee..0faa3254 100644 --- a/dump_writer.cc +++ b/dump_writer.cc @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/dump_writer.h b/dump_writer.h index fec171e1..6e537f0a 100644 --- a/dump_writer.h +++ b/dump_writer.h @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/edge.cc b/edge.cc index 2755f549..46891bbd 100644 --- a/edge.cc +++ b/edge.cc @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/edge.h b/edge.h index fff4c309..66001ff4 100644 --- a/edge.h +++ b/edge.h @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/entry_point.cc b/entry_point.cc index 943cb298..1d6638ae 100644 --- a/entry_point.cc +++ b/entry_point.cc @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/entry_point.h b/entry_point.h index 6eac7784..9e59b8d4 100644 --- a/entry_point.h +++ b/entry_point.h @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/expression.cc b/expression.cc index 83fe4509..f9a3b9ca 100644 --- a/expression.cc +++ b/expression.cc @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/expression.h b/expression.h index a9a4604c..31e6edda 100644 --- a/expression.h +++ b/expression.h @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/flow_analysis.cc b/flow_analysis.cc index 3054081a..4fc1cb60 100644 --- a/flow_analysis.cc +++ b/flow_analysis.cc @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -52,8 +52,7 @@ void UpdateInstructionInDegree(Instructions* instructions, } // namespace void ReconstructFlowGraph(Instructions* instructions, - const FlowGraph& flow_graph, - CallGraph* call_graph) { + const FlowGraph& flow_graph, CallGraph* call_graph) { UpdateInstructionInDegree(instructions, flow_graph); // Add all instructions with an in-degree count of 0 as function entry points. diff --git a/flow_analysis.h b/flow_analysis.h index 2bea67da..880a0dbd 100644 --- a/flow_analysis.h +++ b/flow_analysis.h @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/flow_graph.cc b/flow_graph.cc index c8038d3e..3338512b 100644 --- a/flow_graph.cc +++ b/flow_graph.cc @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -391,9 +391,8 @@ void FlowGraph::MergeBasicBlocks(const CallGraph& call_graph) { BasicBlock* source_basic_block = BasicBlock::FindContaining(edge.source); if (!source_basic_block) { LOG(INFO) << absl::StrCat("No source basic block for edge ", - absl::Hex(edge.source, absl::kZeroPad8), - " -> ", - absl::Hex(edge.target, absl::kZeroPad8)); + absl::Hex(edge.source, absl::kZeroPad8), " -> ", + absl::Hex(edge.target, absl::kZeroPad8)); return true; } diff --git a/flow_graph.h b/flow_graph.h index 2e93a72a..99811ce2 100644 --- a/flow_graph.h +++ b/flow_graph.h @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/function.cc b/function.cc index ab7d6348..af7a6c7e 100644 --- a/function.cc +++ b/function.cc @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/function.h b/function.h index 8c05453e..035cdfaf 100644 --- a/function.h +++ b/function.h @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/ida/CMakeLists.txt b/ida/CMakeLists.txt index 23174265..259f8a25 100644 --- a/ida/CMakeLists.txt +++ b/ida/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright 2011-2022 Google LLC +# Copyright 2011-2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ida/arm.cc b/ida/arm.cc index 04119cfd..be26d5bd 100644 --- a/ida/arm.cc +++ b/ida/arm.cc @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/ida/arm.h b/ida/arm.h index 4d0f45e3..2f0c7a78 100644 --- a/ida/arm.h +++ b/ida/arm.h @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/ida/begin_idasdk.inc b/ida/begin_idasdk.inc index ba23604f..6fbd9fa0 100644 --- a/ida/begin_idasdk.inc +++ b/ida/begin_idasdk.inc @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/ida/dalvik.cc b/ida/dalvik.cc index f62c7c40..5b59e845 100644 --- a/ida/dalvik.cc +++ b/ida/dalvik.cc @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/ida/dalvik.h b/ida/dalvik.h index c821ac56..7104af45 100644 --- a/ida/dalvik.h +++ b/ida/dalvik.h @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/ida/digest.cc b/ida/digest.cc index 15189256..07f91fb5 100644 --- a/ida/digest.cc +++ b/ida/digest.cc @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/ida/digest.h b/ida/digest.h index 99ef352e..439fc8fe 100644 --- a/ida/digest.h +++ b/ida/digest.h @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/ida/end_idasdk.inc b/ida/end_idasdk.inc index 77f1a639..462bfbd3 100644 --- a/ida/end_idasdk.inc +++ b/ida/end_idasdk.inc @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/ida/generic.cc b/ida/generic.cc index a9128b02..6c3443f6 100644 --- a/ida/generic.cc +++ b/ida/generic.cc @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/ida/generic.h b/ida/generic.h index e886870a..07296083 100644 --- a/ida/generic.h +++ b/ida/generic.h @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/ida/log_sink.cc b/ida/log_sink.cc index 7dc7e261..cfaeaa3a 100644 --- a/ida/log_sink.cc +++ b/ida/log_sink.cc @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC. All Rights Reserved. +// Copyright 2011-2023 Google LLC. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/ida/log_sink.h b/ida/log_sink.h index 46812cc8..53a5fa88 100644 --- a/ida/log_sink.h +++ b/ida/log_sink.h @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC. All Rights Reserved. +// Copyright 2011-2023 Google LLC. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/ida/main_plugin.cc b/ida/main_plugin.cc index db2eaa67..62d603ef 100644 --- a/ida/main_plugin.cc +++ b/ida/main_plugin.cc @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -125,15 +125,15 @@ absl::Status ExportIdb(Writer* writer) { } int ExportBinary(const std::string& filename) { - const std::string hash = - GetInputFileSha256().value_or(GetInputFileMd5().value_or("")); - BinExport2Writer writer(filename, GetModuleName(), hash, - GetArchitectureName().value()); - if (absl::Status status = ExportIdb(&writer); !status.ok()) { - LOG(INFO) << "Error exporting: " << std::string(status.message()); - warning("Error exporting: %s\n", std::string(status.message()).c_str()); - return 666; - } + const std::string hash = + GetInputFileSha256().value_or(GetInputFileMd5().value_or("")); + BinExport2Writer writer(filename, GetModuleName(), hash, + GetArchitectureName().value()); + if (absl::Status status = ExportIdb(&writer); !status.ok()) { + LOG(INFO) << "Error exporting: " << std::string(status.message()); + warning("Error exporting: %s\n", std::string(status.message()).c_str()); + return 666; + } return eOk; } diff --git a/ida/main_plugin.h b/ida/main_plugin.h index dadef02c..14247df2 100644 --- a/ida/main_plugin.h +++ b/ida/main_plugin.h @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/ida/metapc.cc b/ida/metapc.cc index d548e858..92286c2d 100644 --- a/ida/metapc.cc +++ b/ida/metapc.cc @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -494,7 +494,7 @@ Instruction ParseInstructionIdaMetaPc(const insn_t& instruction, if (IsStringInstruction(mnemonic)) { for (size_t operand_position = 0; operand_position < UA_MAXOP && - instruction.ops[operand_position].type != o_void; + instruction.ops[operand_position].type != o_void; ++operand_position) { if (mnemonic == "outs" && operand_position != 1) { continue; diff --git a/ida/metapc.h b/ida/metapc.h index 0b39b02a..c066c99c 100644 --- a/ida/metapc.h +++ b/ida/metapc.h @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/ida/mips.cc b/ida/mips.cc index f5628f89..ad9f5267 100644 --- a/ida/mips.cc +++ b/ida/mips.cc @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/ida/mips.h b/ida/mips.h index 7e487a8d..4864d7a3 100644 --- a/ida/mips.h +++ b/ida/mips.h @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/ida/names.cc b/ida/names.cc index 5d7d3d3a..7070d7de 100644 --- a/ida/names.cc +++ b/ida/names.cc @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -170,7 +170,7 @@ size_t GetOperandByteSize(const insn_t& instruction, const op_t& operand) { return 6; // 48 bit case dt_double: case dt_qword: - return 8; // 64 bit + return 8; // 64 bit case dt_packreal: // 96 bit return 12; case dt_byte16: @@ -178,7 +178,7 @@ size_t GetOperandByteSize(const insn_t& instruction, const op_t& operand) { case dt_byte32: return 32; // 256 bit case dt_byte64: - return 64; // 512 bit + return 64; // 512 bit case dt_ldbl: // Variable size double return ph.sizeof_ldbl(); case dt_tbyte: // Variable size diff --git a/ida/names.h b/ida/names.h index e4f26b12..afe27462 100644 --- a/ida/names.h +++ b/ida/names.h @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/ida/plugin.h b/ida/plugin.h index 30b76c2b..116c1951 100644 --- a/ida/plugin.h +++ b/ida/plugin.h @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/ida/ppc.cc b/ida/ppc.cc index 0ca48b76..6c640903 100644 --- a/ida/ppc.cc +++ b/ida/ppc.cc @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/ida/ppc.h b/ida/ppc.h index 8a9936a8..38d73d7d 100644 --- a/ida/ppc.h +++ b/ida/ppc.h @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/ida/ui.cc b/ida/ui.cc index cc351a49..be6c48d3 100644 --- a/ida/ui.cc +++ b/ida/ui.cc @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/ida/ui.h b/ida/ui.h index 2f35e96c..c94723b6 100644 --- a/ida/ui.h +++ b/ida/ui.h @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/ida/util.cc b/ida/util.cc index 14f444e5..6c34b66d 100644 --- a/ida/util.cc +++ b/ida/util.cc @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/ida/util.h b/ida/util.h index 1ba6841e..42af5827 100644 --- a/ida/util.h +++ b/ida/util.h @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/instruction.cc b/instruction.cc index bbb2ca2b..0d045c65 100644 --- a/instruction.cc +++ b/instruction.cc @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/instruction.h b/instruction.h index 297f133a..e179963c 100644 --- a/instruction.h +++ b/instruction.h @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java/src/main/proto/binexport2.proto b/java/src/main/proto/binexport2.proto index 31cfa539..818f6797 100644 --- a/java/src/main/proto/binexport2.proto +++ b/java/src/main/proto/binexport2.proto @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/library_manager.cc b/library_manager.cc index d22b4420..5972c3f0 100644 --- a/library_manager.cc +++ b/library_manager.cc @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -97,8 +97,8 @@ int LibraryManager::UseLibrary(const std::string& library, Linkage linkage) { void LibraryManager::InitializeImportsBase(int bitness) { CHECK(bitness == 32 || bitness == 64); bitness_ = bitness; - current_imported_address_ = bitness_ == 64 ? - kFirstImportedAddress64 : kFirstImportedAddress32; + current_imported_address_ = + bitness_ == 64 ? kFirstImportedAddress64 : kFirstImportedAddress32; } bool LibraryManager::GetReference(Address source, Address* target) const { diff --git a/library_manager.h b/library_manager.h index 04cdbc02..6eeb0f02 100644 --- a/library_manager.h +++ b/library_manager.h @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/operand.cc b/operand.cc index e90b7656..2529e642 100644 --- a/operand.cc +++ b/operand.cc @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -69,13 +69,9 @@ void Operand::EmptyCache() { global_id_ = 0; } -const Operand::OperandCache& Operand::GetOperands() { - return operand_cache_; -} +const Operand::OperandCache& Operand::GetOperands() { return operand_cache_; } -int Operand::GetId() const { - return id_; -} +int Operand::GetId() const { return id_; } Expressions::const_iterator Operand::cbegin() const { return expressions_.begin() + expression_index_; diff --git a/operand.h b/operand.h index 236b79ac..acc91cba 100644 --- a/operand.h +++ b/operand.h @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/reader/call_graph.cc b/reader/call_graph.cc index 0fdcc954..a3a36856 100644 --- a/reader/call_graph.cc +++ b/reader/call_graph.cc @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/reader/call_graph.h b/reader/call_graph.h index b6ba82f4..040da5df 100644 --- a/reader/call_graph.h +++ b/reader/call_graph.h @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/reader/call_graph_test.cc b/reader/call_graph_test.cc index 5f1f1e44..af964a3f 100644 --- a/reader/call_graph_test.cc +++ b/reader/call_graph_test.cc @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/reader/flow_graph.cc b/reader/flow_graph.cc index 21d5ed88..002495f1 100644 --- a/reader/flow_graph.cc +++ b/reader/flow_graph.cc @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/reader/flow_graph.h b/reader/flow_graph.h index b559319f..b1dca35a 100644 --- a/reader/flow_graph.h +++ b/reader/flow_graph.h @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/reader/flow_graph_test.cc b/reader/flow_graph_test.cc index c7b589d7..625b87e9 100644 --- a/reader/flow_graph_test.cc +++ b/reader/flow_graph_test.cc @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -36,8 +36,7 @@ class FlowGraphTest : public testing::Test { void SetUp() override { proto_ = GetBinExportForTesting(kBinExport2Item); flow_graph_ = FlowGraph::FromBinExport2Proto( - proto_, proto_.flow_graph(0), - GetAllInstructionAddresses(proto_)); + proto_, proto_.flow_graph(0), GetAllInstructionAddresses(proto_)); } std::unique_ptr flow_graph_; @@ -112,8 +111,7 @@ TEST_F(FlowGraphTest, GetInstructions) { // number of call targets, the test is successful. TEST_F(FlowGraphTest, GetCallTargets) { const auto& flow_graph(FlowGraph::FromBinExport2Proto( - proto_, proto_.flow_graph(1), - GetAllInstructionAddresses(proto_))); + proto_, proto_.flow_graph(1), GetAllInstructionAddresses(proto_))); const auto& vertex = flow_graph->GetVertex(0x003221BE); std::vector
call_targets; flow_graph->GetCallTargets(vertex, std::back_inserter(call_targets)); @@ -126,8 +124,7 @@ TEST_F(FlowGraphTest, GetCallTargets) { // number of call targets, the test is successful. TEST_F(FlowGraphTest, GetCallTargetsMultiple) { const auto& flow_graph(FlowGraph::FromBinExport2Proto( - proto_, proto_.flow_graph(2), - GetAllInstructionAddresses(proto_))); + proto_, proto_.flow_graph(2), GetAllInstructionAddresses(proto_))); const auto& vertex = flow_graph->GetVertex(0x00322310); std::vector
call_targets; flow_graph->GetCallTargets(vertex, std::back_inserter(call_targets)); diff --git a/reader/graph_utility.h b/reader/graph_utility.h index 8621d6c6..56947199 100644 --- a/reader/graph_utility.h +++ b/reader/graph_utility.h @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/reader/graph_utility_test.cc b/reader/graph_utility_test.cc index bbce6b99..f313e2ea 100644 --- a/reader/graph_utility_test.cc +++ b/reader/graph_utility_test.cc @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -14,11 +14,10 @@ #include "third_party/zynamics/binexport/reader/graph_utility.h" +#include // NOLINT #include #include -#include // NOLINT - #include "gmock/gmock.h" #include "gtest/gtest.h" diff --git a/reader/instruction.cc b/reader/instruction.cc index 752be003..d0421143 100644 --- a/reader/instruction.cc +++ b/reader/instruction.cc @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/reader/instruction.h b/reader/instruction.h index 67c2e357..afa56c2c 100644 --- a/reader/instruction.h +++ b/reader/instruction.h @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/reader/instruction_test.cc b/reader/instruction_test.cc index 68fac2c3..9968f341 100644 --- a/reader/instruction_test.cc +++ b/reader/instruction_test.cc @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/statistics_writer.cc b/statistics_writer.cc index 5ee1861a..7c8ab5eb 100644 --- a/statistics_writer.cc +++ b/statistics_writer.cc @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/statistics_writer.h b/statistics_writer.h index 38f40c78..f4a14b99 100644 --- a/statistics_writer.h +++ b/statistics_writer.h @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/stubs/testing/base/public/gmock.h b/stubs/testing/base/public/gmock.h index f68be964..16784cf6 100644 --- a/stubs/testing/base/public/gmock.h +++ b/stubs/testing/base/public/gmock.h @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/stubs/testing/base/public/gunit.h b/stubs/testing/base/public/gunit.h index 12c670f8..f364221f 100644 --- a/stubs/testing/base/public/gunit.h +++ b/stubs/testing/base/public/gunit.h @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/testing.h b/testing.h index 34728a36..92b155a5 100644 --- a/testing.h +++ b/testing.h @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/binaryninja_api/binaryninjacore.cc b/third_party/binaryninja_api/binaryninjacore.cc index 0c80b56f..d6f1b9a0 100644 --- a/third_party/binaryninja_api/binaryninjacore.cc +++ b/third_party/binaryninja_api/binaryninjacore.cc @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/binaryninja_api/binaryninjacore_stable.cc b/third_party/binaryninja_api/binaryninjacore_stable.cc index 2d437705..74107928 100644 --- a/third_party/binaryninja_api/binaryninjacore_stable.cc +++ b/third_party/binaryninja_api/binaryninjacore_stable.cc @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/binaryninja_api/regenerate-api-stubs.sh b/third_party/binaryninja_api/regenerate-api-stubs.sh index 48b485ef..3579eeec 100755 --- a/third_party/binaryninja_api/regenerate-api-stubs.sh +++ b/third_party/binaryninja_api/regenerate-api-stubs.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2011-2022 Google LLC +# Copyright 2011-2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -48,7 +48,7 @@ cd "${THIS_DIR}" ( cat < -#include // NOLINT(build/c++11) +#include // NOLINT(build/c++11) #undef CopyFile // winbase.h #undef GetCurrentDirectory // processenv.h diff --git a/util/filesystem.h b/util/filesystem.h index e02b9a85..92b13b53 100644 --- a/util/filesystem.h +++ b/util/filesystem.h @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/filesystem_test.cc b/util/filesystem_test.cc index a732d442..0fc7655d 100644 --- a/util/filesystem_test.cc +++ b/util/filesystem_test.cc @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/format.h b/util/format.h index bf899af6..f4ad2f1d 100644 --- a/util/format.h +++ b/util/format.h @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/format_test.cc b/util/format_test.cc index c3232b2c..1a2fec0d 100644 --- a/util/format_test.cc +++ b/util/format_test.cc @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/hash.cc b/util/hash.cc index 669f1127..33326be5 100644 --- a/util/hash.cc +++ b/util/hash.cc @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/hash.h b/util/hash.h index bc9f532b..7ad28f04 100644 --- a/util/hash.h +++ b/util/hash.h @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/idb_export.cc b/util/idb_export.cc index 8a1b957f..c57a9da4 100644 --- a/util/idb_export.cc +++ b/util/idb_export.cc @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/idb_export.h b/util/idb_export.h index db6a3e2c..c981e08f 100644 --- a/util/idb_export.h +++ b/util/idb_export.h @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/logging.h b/util/logging.h index 58d07efd..37461559 100644 --- a/util/logging.h +++ b/util/logging.h @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/nested_iterator.h b/util/nested_iterator.h index 4ee964f6..5bfd3ccc 100644 --- a/util/nested_iterator.h +++ b/util/nested_iterator.h @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/process.cc b/util/process.cc index e146e0bf..51e91d3a 100644 --- a/util/process.cc +++ b/util/process.cc @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/process.h b/util/process.h index db845081..8a9305da 100644 --- a/util/process.h +++ b/util/process.h @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/process_test.cc b/util/process_test.cc index eb4a6cc2..ba966f3a 100644 --- a/util/process_test.cc +++ b/util/process_test.cc @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/range.h b/util/range.h index 13318b1f..695455b3 100644 --- a/util/range.h +++ b/util/range.h @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/status_macros.h b/util/status_macros.h index d5f1da9a..08e98497 100644 --- a/util/status_macros.h +++ b/util/status_macros.h @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/status_macros_test.cc b/util/status_macros_test.cc index 8b84153f..667c9b02 100644 --- a/util/status_macros_test.cc +++ b/util/status_macros_test.cc @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/status_matchers.h b/util/status_matchers.h index adbc5137..fb3a65c9 100644 --- a/util/status_matchers.h +++ b/util/status_matchers.h @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/timer.h b/util/timer.h index a1b6bc4f..7981ba80 100644 --- a/util/timer.h +++ b/util/timer.h @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/timer_test.cc b/util/timer_test.cc index 3afbf9fa..d2527a66 100644 --- a/util/timer_test.cc +++ b/util/timer_test.cc @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/types.h b/util/types.h index c97a19b9..9a281ae7 100644 --- a/util/types.h +++ b/util/types.h @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/version.cc.in b/version.cc.in index 03b960a3..8f90829d 100644 --- a/version.cc.in +++ b/version.cc.in @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -31,6 +31,6 @@ ABSL_CONST_INIT const char* kBinExportDetailedVersion = ")"; ABSL_CONST_INIT const char* kBinExportCopyright = - "(c)2004-2011 zynamics GmbH, (c)2011-2022 Google LLC."; + "(c)2004-2011 zynamics GmbH, (c)2011-2023 Google LLC."; } // namespace security::binexport diff --git a/version.h b/version.h index 8b1315e1..c0ab3ed9 100644 --- a/version.h +++ b/version.h @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/virtual_memory.cc b/virtual_memory.cc index 9dd71f78..65980c61 100644 --- a/virtual_memory.cc +++ b/virtual_memory.cc @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/virtual_memory.h b/virtual_memory.h index 4719d119..5d323796 100644 --- a/virtual_memory.h +++ b/virtual_memory.h @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/virtual_memory_test.cc b/virtual_memory_test.cc index c3ee9ced..c108f747 100644 --- a/virtual_memory_test.cc +++ b/virtual_memory_test.cc @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/writer.h b/writer.h index 7e00ba9c..cb955487 100644 --- a/writer.h +++ b/writer.h @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/x86_nop.cc b/x86_nop.cc index 95f6651b..0d911d6b 100644 --- a/x86_nop.cc +++ b/x86_nop.cc @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/x86_nop.h b/x86_nop.h index 778a7c88..c5c9fe91 100644 --- a/x86_nop.h +++ b/x86_nop.h @@ -1,4 +1,4 @@ -// Copyright 2011-2022 Google LLC +// Copyright 2011-2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License.