Skip to content

Commit

Permalink
Update evmone to prevent out of range access
Browse files Browse the repository at this point in the history
  • Loading branch information
yperbasis committed Jun 1, 2021
1 parent 1c137e1 commit 1c5369b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[submodule "evmone"]
path = evmone
url = https://github.com/ethereum/evmone.git
url = https://github.com/torquem-ch/evmone
branch = win_out_of_range
[submodule "secp256k1"]
path = secp256k1
url = https://github.com/bitcoin-core/secp256k1.git
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ add_library(evmone evmone/lib/evmone/analysis.cpp
evmone/lib/evmone/vm.hpp)
set_source_files_properties(evmone/lib/evmone/vm.cpp PROPERTIES COMPILE_DEFINITIONS PROJECT_VERSION="0.8.0-dev")
target_include_directories(evmone PUBLIC evmone/include evmone/lib)
target_link_libraries(evmone PUBLIC evmc intx::intx PRIVATE evmc::instructions ethash)
target_link_libraries(evmone PUBLIC evmc intx::intx PRIVATE evmc::instructions evmc::hex ethash)

if(MSVC)
target_compile_options(evmone PRIVATE /EHsc)
Expand Down
2 changes: 1 addition & 1 deletion evmone

0 comments on commit 1c5369b

Please sign in to comment.