Skip to content

Commit

Permalink
fuzzer: Add separate README file for evmone-fuzzer
Browse files Browse the repository at this point in the history
The README file for evmone-fuzzer subproject explains the licensing when building with aleth-interpreter.
  • Loading branch information
chfast committed Sep 19, 2019
1 parent b9f39a8 commit 366b51d
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 6 deletions.
2 changes: 1 addition & 1 deletion test/fuzzer/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# evmone: Fast Ethereum Virtual Machine implementation
# evmone-fuzzer: LibFuzzer based testing tool for EVMC-compatible EVM implementations.
# Copyright 2019 The evmone Authors.
# Licensed under the Apache License, Version 2.0.
include(ExternalProject)
Expand Down
21 changes: 21 additions & 0 deletions test/fuzzer/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# evmone-fuzzer

> [LibFuzzer] powered testing tool for [EVMC]-compatible EVM implementations.
## License

The evmone-fuzzer source code is licensed under the [Apache License, Version 2.0].

### Exceptions

Depending on build system options selected,
the [aleth-interpreter][Aleth] is statically _linked to_ the evmone-fuzzer executable.
The [Aleth] project is licensed under [GNU General Public License, Version 3] therefore
the final evmone-fuzzer binary is also licensed under [GNU General Public License, Version 3].

[Aleth]: https://github.com/ethereum/aleth
[Apache License, Version 2.0]: https://www.apache.org/licenses/LICENSE-2.0.txt
[EVMC]: https://github.com/ethereum/evmc
[evmone]: https://github.com/ethereum/evmone
[GNU General Public License, Version 3]: LICENSE
[LibFuzzer]: https://llvm.org/docs/LibFuzzer.html
7 changes: 2 additions & 5 deletions test/fuzzer/fuzzer.cpp
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
// evmone: Fast Ethereum Virtual Machine implementation
// Copyright 2019 Pawel Bylica.
// evmone-fuzzer: LibFuzzer based testing tool for EVMC-compatible EVM implementations.
// Copyright 2019 The evmone Authors.
// Licensed under the Apache License, Version 2.0.

#include <evmone/evmone.h>

#include <evmc/instructions.h>
#include <test/utils/bytecode.hpp>
#include <test/utils/host_mock.hpp>
#include <test/utils/utils.hpp>
#include <algorithm>
#include <cstring>
#include <iostream>

Expand Down

0 comments on commit 366b51d

Please sign in to comment.