Skip to content

Commit

Permalink
license: Update notice headers in source files
Browse files Browse the repository at this point in the history
  • Loading branch information
chfast committed Jul 9, 2020
1 parent 2151038 commit 038b28f
Show file tree
Hide file tree
Showing 44 changed files with 55 additions and 55 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# evmone: Ethereum Virtual Machine
# Copyright 2019 Pawel Bylica.
# Licensed under the Apache License, Version 2.0.
# Copyright 2019 The evmone Authors.
# SPDX-License-Identifier: Apache-2.0

cmake_minimum_required(VERSION 3.13)

Expand Down
2 changes: 1 addition & 1 deletion cmake/Hunter/config.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# evmone: Fast Ethereum Virtual Machine implementation
# Copyright 2018-2020 The evmone Authors.
# Licensed under the Apache License, Version 2.0.
# SPDX-License-Identifier: Apache-2.0

hunter_config(
intx
Expand Down
2 changes: 1 addition & 1 deletion cmake/Hunter/init.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# evmone: Fast Ethereum Virtual Machine implementation
# Copyright 2018-2020 The evmone Authors.
# Licensed under the Apache License, Version 2.0.
# SPDX-License-Identifier: Apache-2.0

set(HUNTER_CONFIGURATION_TYPES Release CACHE STRING "Build type of Hunter packages")

Expand Down
4 changes: 2 additions & 2 deletions cmake/LibraryTools.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# evmone: Fast Ethereum Virtual Machine implementation
# Copyright 2019 Pawel Bylica.
# Licensed under the Apache License, Version 2.0.
# Copyright 2019 The evmone Authors.
# SPDX-License-Identifier: Apache-2.0

# For given target of a static library creates a custom target with -standalone suffix
# that merges the given target and all its static library depenednecies
Expand Down
2 changes: 1 addition & 1 deletion include/evmone/evmone.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// evmone: Fast Ethereum Virtual Machine implementation
// Copyright 2018-2019 The evmone Authors.
// Licensed under the Apache License, Version 2.0.
// SPDX-License-Identifier: Apache-2.0

#ifndef EVMONE_H
#define EVMONE_H
Expand Down
2 changes: 1 addition & 1 deletion lib/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# evmone: Fast Ethereum Virtual Machine implementation
# Copyright 2018-2019 The evmone Authors.
# Licensed under the Apache License, Version 2.0.
# SPDX-License-Identifier: Apache-2.0

add_subdirectory(evmone)
4 changes: 2 additions & 2 deletions lib/evmone/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# evmone: Fast Ethereum Virtual Machine implementation
# Copyright 2019-2020 Pawel Bylica.
# Licensed under the Apache License, Version 2.0.
# Copyright 2019-2020 The evmone Authors.
# SPDX-License-Identifier: Apache-2.0

include(LibraryTools)

Expand Down
4 changes: 2 additions & 2 deletions lib/evmone/analysis.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// evmone: Fast Ethereum Virtual Machine implementation
// Copyright 2019 Pawel Bylica.
// Licensed under the Apache License, Version 2.0.
// Copyright 2019 The evmone Authors.
// SPDX-License-Identifier: Apache-2.0

#include "analysis.hpp"
#include "opcodes_helpers.h"
Expand Down
4 changes: 2 additions & 2 deletions lib/evmone/analysis.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// evmone: Fast Ethereum Virtual Machine implementation
// Copyright 2019 Pawel Bylica.
// Licensed under the Apache License, Version 2.0.
// Copyright 2019 The evmone Authors.
// SPDX-License-Identifier: Apache-2.0
#pragma once

#include "limits.hpp"
Expand Down
2 changes: 1 addition & 1 deletion lib/evmone/evmone.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// evmone: Fast Ethereum Virtual Machine implementation
// Copyright 2018-2019 The evmone Authors.
// Licensed under the Apache License, Version 2.0.
// SPDX-License-Identifier: Apache-2.0

/// @file
/// EVMC instance and entry point of evmone is defined here.
Expand Down
4 changes: 2 additions & 2 deletions lib/evmone/execution.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// evmone: Fast Ethereum Virtual Machine implementation
// Copyright 2019 Pawel Bylica.
// Licensed under the Apache License, Version 2.0.
// Copyright 2019 The evmone Authors.
// SPDX-License-Identifier: Apache-2.0

#include "execution.hpp"
#include "analysis.hpp"
Expand Down
2 changes: 1 addition & 1 deletion lib/evmone/execution.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// evmone: Fast Ethereum Virtual Machine implementation
// Copyright 2018-2019 The evmone Authors.
// Licensed under the Apache License, Version 2.0.
// SPDX-License-Identifier: Apache-2.0
#pragma once

#include <evmc/evmc.h>
Expand Down
4 changes: 2 additions & 2 deletions lib/evmone/instructions.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// evmone: Fast Ethereum Virtual Machine implementation
// Copyright 2019 Pawel Bylica.
// Licensed under the Apache License, Version 2.0.
// Copyright 2019 The evmone Authors.
// SPDX-License-Identifier: Apache-2.0

#include "analysis.hpp"
#include <ethash/keccak.hpp>
Expand Down
4 changes: 2 additions & 2 deletions lib/evmone/limits.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// evmone: Fast Ethereum Virtual Machine implementation
// Copyright 2019 Pawel Bylica.
// Licensed under the Apache License, Version 2.0.
// Copyright 2019 The evmone Authors.
// SPDX-License-Identifier: Apache-2.0
#pragma once

/// The maximum EVM bytecode size allowed by the Ethereum spec.
Expand Down
4 changes: 2 additions & 2 deletions lib/evmone/opcodes_helpers.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// evmone: Fast Ethereum Virtual Machine implementation
// Copyright 2019 Pawel Bylica.
// Licensed under the Apache License, Version 2.0.
// Copyright 2019 The evmone Authors.
// SPDX-License-Identifier: Apache-2.0
#pragma once

#define ANY_SMALL_PUSH \
Expand Down
2 changes: 1 addition & 1 deletion test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# evmone: Fast Ethereum Virtual Machine implementation
# Copyright 2019-2020 The evmone Authors.
# Licensed under the Apache License, Version 2.0.
# SPDX-License-Identifier: Apache-2.0

include(GoogleTest)
include(${PROJECT_SOURCE_DIR}/evmc/cmake/EVMC.cmake)
Expand Down
2 changes: 1 addition & 1 deletion test/bench/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# evmone: Fast Ethereum Virtual Machine implementation
# Copyright 2019-2020 The evmone Authors.
# Licensed under the Apache License, Version 2.0.
# SPDX-License-Identifier: Apache-2.0

include(CheckIncludeFileCXX)

Expand Down
2 changes: 1 addition & 1 deletion test/bench/bench.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// evmone: Fast Ethereum Virtual Machine implementation
// Copyright 2019 The evmone Authors.
// Licensed under the Apache License, Version 2.0.
// SPDX-License-Identifier: Apache-2.0

#include <benchmark/benchmark.h>
#include <evmc/evmc.hpp>
Expand Down
2 changes: 1 addition & 1 deletion test/fuzzer/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# evmone-fuzzer: LibFuzzer based testing tool for EVMC-compatible EVM implementations.
# Copyright 2019 The evmone Authors.
# Licensed under the Apache License, Version 2.0.
# SPDX-License-Identifier: Apache-2.0
include(ExternalProject)

get_target_property(type evmone TYPE)
Expand Down
2 changes: 1 addition & 1 deletion test/fuzzer/fuzzer.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// evmone-fuzzer: LibFuzzer based testing tool for EVMC-compatible EVM implementations.
// Copyright 2019 The evmone Authors.
// Licensed under the Apache License, Version 2.0.
// SPDX-License-Identifier: Apache-2.0

#include <evmc/mocked_host.hpp>
#include <evmone/evmone.h>
Expand Down
2 changes: 1 addition & 1 deletion test/internal_benchmarks/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# evmone: Fast Ethereum Virtual Machine implementation
# Copyright 2019-2020 The evmone Authors.
# Licensed under the Apache License, Version 2.0.
# SPDX-License-Identifier: Apache-2.0

add_executable(
evmone-bench-internal
Expand Down
2 changes: 1 addition & 1 deletion test/internal_benchmarks/find_jumpdest_bench.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// evmone: Fast Ethereum Virtual Machine implementation
// Copyright 2019 The evmone Authors.
// Licensed under the Apache License, Version 2.0.
// SPDX-License-Identifier: Apache-2.0

#include <benchmark/benchmark.h>
#include <array>
Expand Down
2 changes: 1 addition & 1 deletion test/internal_benchmarks/memory_allocation.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// evmone: Fast Ethereum Virtual Machine implementation
// Copyright 2019 The evmone Authors.
// Licensed under the Apache License, Version 2.0.
// SPDX-License-Identifier: Apache-2.0

#include <benchmark/benchmark.h>
#include <cstdlib>
Expand Down
2 changes: 1 addition & 1 deletion test/internal_benchmarks/realloc_behavior.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// evmone: Fast Ethereum Virtual Machine implementation
// Copyright 2019 The evmone Authors.
// Licensed under the Apache License, Version 2.0.
// SPDX-License-Identifier: Apache-2.0

#include <chrono>
#include <cstdlib>
Expand Down
4 changes: 2 additions & 2 deletions test/unittests/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# evmone: Fast Ethereum Virtual Machine implementation
# Copyright 2018-2019 Pawel Bylica.
# Licensed under the Apache License, Version 2.0.
# Copyright 2018-2019 The evmone Authors.
# SPDX-License-Identifier: Apache-2.0

hunter_add_package(GTest)
find_package(GTest CONFIG REQUIRED)
Expand Down
2 changes: 1 addition & 1 deletion test/unittests/analysis_test.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// evmone: Fast Ethereum Virtual Machine implementation
// Copyright 2018-2019 The evmone Authors.
// Licensed under the Apache License, Version 2.0.
// SPDX-License-Identifier: Apache-2.0

#include <evmc/instructions.h>
#include <evmone/analysis.hpp>
Expand Down
2 changes: 1 addition & 1 deletion test/unittests/bytecode_test.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// evmone: Fast Ethereum Virtual Machine implementation
// Copyright 2019 The evmone Authors.
// Licensed under the Apache License, Version 2.0.
// SPDX-License-Identifier: Apache-2.0

#include <gtest/gtest.h>
#include <test/utils/bytecode.hpp>
Expand Down
2 changes: 1 addition & 1 deletion test/unittests/evm_calls_test.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// evmone: Fast Ethereum Virtual Machine implementation
// Copyright 2019 The evmone Authors.
// Licensed under the Apache License, Version 2.0.
// SPDX-License-Identifier: Apache-2.0

/// This file contains EVM unit tests that perform any kind of calls.

Expand Down
2 changes: 1 addition & 1 deletion test/unittests/evm_fixture.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// evmone: Fast Ethereum Virtual Machine implementation
// Copyright 2019 The evmone Authors.
// Licensed under the Apache License, Version 2.0.
// SPDX-License-Identifier: Apache-2.0
#pragma once

#include "vm_loader.hpp"
Expand Down
2 changes: 1 addition & 1 deletion test/unittests/evm_other_test.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// evmone: Fast Ethereum Virtual Machine implementation
// Copyright 2019 The evmone Authors.
// Licensed under the Apache License, Version 2.0.
// SPDX-License-Identifier: Apache-2.0

/// This file contains non-mainstream EVM unit tests not matching any concrete category:
/// - regression tests,
Expand Down
2 changes: 1 addition & 1 deletion test/unittests/evm_state_test.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// evmone: Fast Ethereum Virtual Machine implementation
// Copyright 2019 The evmone Authors.
// Licensed under the Apache License, Version 2.0.
// SPDX-License-Identifier: Apache-2.0

/// This file contains EVM unit tests that access or modify Ethereum state
/// or other kind of external execution context.
Expand Down
2 changes: 1 addition & 1 deletion test/unittests/evm_test.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// evmone: Fast Ethereum Virtual Machine implementation
// Copyright 2019 The evmone Authors.
// Licensed under the Apache License, Version 2.0.
// SPDX-License-Identifier: Apache-2.0

#include "evm_fixture.hpp"
#include <evmc/instructions.h>
Expand Down
2 changes: 1 addition & 1 deletion test/unittests/evmone_test.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// evmone: Fast Ethereum Virtual Machine implementation
// Copyright 2019 The evmone Authors.
// Licensed under the Apache License, Version 2.0.
// SPDX-License-Identifier: Apache-2.0

#include <evmc/evmc.hpp>
#include <evmone/evmone.h>
Expand Down
2 changes: 1 addition & 1 deletion test/unittests/main.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// evmone: Fast Ethereum Virtual Machine implementation
// Copyright 2019 The evmone Authors.
// Licensed under the Apache License, Version 2.0.
// SPDX-License-Identifier: Apache-2.0

#include "vm_loader.hpp"
#include <evmc/loader.h>
Expand Down
2 changes: 1 addition & 1 deletion test/unittests/op_table_test.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// evmone: Fast Ethereum Virtual Machine implementation
// Copyright 2019 The evmone Authors.
// Licensed under the Apache License, Version 2.0.
// SPDX-License-Identifier: Apache-2.0

#include <evmc/instructions.h>
#include <evmone/analysis.hpp>
Expand Down
2 changes: 1 addition & 1 deletion test/unittests/utils_test.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// evmone: Fast Ethereum Virtual Machine implementation
// Copyright 2019 The evmone Authors.
// Licensed under the Apache License, Version 2.0.
// SPDX-License-Identifier: Apache-2.0

#include <gtest/gtest.h>
#include <test/utils/utils.hpp>
Expand Down
2 changes: 1 addition & 1 deletion test/unittests/vm_loader.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// evmone: Fast Ethereum Virtual Machine implementation
// Copyright 2019 The evmone Authors.
// Licensed under the Apache License, Version 2.0.
// SPDX-License-Identifier: Apache-2.0
#pragma once

#include <evmc/evmc.hpp>
Expand Down
2 changes: 1 addition & 1 deletion test/unittests/vm_loader_evmone.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// evmone: Fast Ethereum Virtual Machine implementation
// Copyright 2019 The evmone Authors.
// Licensed under the Apache License, Version 2.0.
// SPDX-License-Identifier: Apache-2.0

#include "vm_loader.hpp"
#include <evmone/evmone.h>
Expand Down
4 changes: 2 additions & 2 deletions test/utils/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# evmone: Fast Ethereum Virtual Machine implementation
# Copyright 2019 Pawel Bylica.
# Licensed under the Apache License, Version 2.0.
# Copyright 2019 The evmone Authors.
# SPDX-License-Identifier: Apache-2.0

find_package(intx CONFIG REQUIRED)

Expand Down
2 changes: 1 addition & 1 deletion test/utils/bytecode.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// evmone: Fast Ethereum Virtual Machine implementation
// Copyright 2019 The evmone Authors.
// Licensed under the Apache License, Version 2.0.
// SPDX-License-Identifier: Apache-2.0
#pragma once

#include <evmc/instructions.h>
Expand Down
2 changes: 1 addition & 1 deletion test/utils/dump.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// evmone: Fast Ethereum Virtual Machine implementation
// Copyright 2018-2019 The evmone Authors.
// Licensed under the Apache License, Version 2.0.
// SPDX-License-Identifier: Apache-2.0

#include "dump.hpp"
#include <evmc/instructions.h>
Expand Down
2 changes: 1 addition & 1 deletion test/utils/dump.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// evmone: Fast Ethereum Virtual Machine implementation
// Copyright 2019 The evmone Authors.
// Licensed under the Apache License, Version 2.0.
// SPDX-License-Identifier: Apache-2.0
#pragma once

#include <evmone/analysis.hpp>
Expand Down
2 changes: 1 addition & 1 deletion test/utils/utils.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// evmone: Fast Ethereum Virtual Machine implementation
// Copyright 2018-2019 The evmone Authors.
// Licensed under the Apache License, Version 2.0.
// SPDX-License-Identifier: Apache-2.0

#include <test/utils/utils.hpp>
#include <regex>
Expand Down
2 changes: 1 addition & 1 deletion test/utils/utils.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// evmone: Fast Ethereum Virtual Machine implementation
// Copyright 2018-2019 The evmone Authors.
// Licensed under the Apache License, Version 2.0.
// SPDX-License-Identifier: Apache-2.0
#pragma once

#include <cstdint>
Expand Down

0 comments on commit 038b28f

Please sign in to comment.