Commit Graph

46 Commits

Author SHA1 Message Date
Paweł Bylica dc495408be
Improve EVMC capabilities 2018-09-08 22:16:14 +02:00
Paweł Bylica 1ab90eb80a
examples: Use evmc_bytes32 in the Host example 2018-09-07 00:14:21 +02:00
Paweł Bylica f41fccd21e
Add test for EVMC_SET_OPTION_INVALID_VALUE 2018-09-06 17:57:49 +02:00
Alex Beregszaszi 50c254fb98 Introduce evmc_set_option_result enum 2018-09-06 09:54:09 +01:00
Paweł Bylica 9a2d07e595
Remove code hash from evmc_message 2018-09-03 19:58:57 +02:00
Paweł Bylica f858f79e2a
CMake: Flatten example_host 2018-08-31 13:10:06 +02:00
Paweł Bylica 78888b57a9
Create header for example_host 2018-08-31 13:09:04 +02:00
Paweł Bylica 43dce45a5b
Create context in example host 2018-08-31 13:09:04 +02:00
Paweł Bylica 5aefc4faf3
Replace capi.c example with example_host.cpp 2018-08-31 13:09:04 +02:00
Alex Beregszaszi 0403343779 Return evmc_tx_context in get_tx_context (as opposed to pointer parameter) 2018-08-30 14:03:50 +01:00
Paweł Bylica 3c86a6b934
Return result from call_fn
This changes the evmc_call_fn signature to return evmc_result object instead of getting result as an output parameter.
2018-08-29 23:00:27 +02:00
Paweł Bylica 6768aa888e
Fix compilation in Debug configuration 2018-08-29 23:00:18 +02:00
Alex Beregszaszi 81425662e6 Add mock context for VM testing 2018-08-28 19:36:52 +01:00
Alex Beregszaszi 4a3bd021f4 Add vm test for execute 2018-08-28 19:36:52 +01:00
Paweł Bylica 1a4b3c3c33
CMake: Clean up evmc-vmtester properties 2018-08-28 11:53:51 +02:00
Paweł Bylica 43fc619a7e
Update license note in headers of source files 2018-08-22 13:57:25 +02:00
Paweł Bylica 0659e24db0
Update copyright notice 2018-08-21 09:44:18 +02:00
Paweł Bylica 488bd5ad9d
Move Result Optional Storage functions to helpers.h 2018-08-20 11:12:01 +02:00
Paweł Bylica 9bda457ddd
tracing: Fix test compilation with VS 2015 2018-07-25 18:22:09 +02:00
Paweł Bylica 17d95f2b8f
tracing: Remove "steps" parameter 2018-07-25 18:22:09 +02:00
Paweł Bylica 9e31e93fec
Make tracing feature optional 2018-07-25 18:22:08 +02:00
Paweł Bylica d2ac75f6a8
Do not allow set_tracer function to be null 2018-07-25 18:22:08 +02:00
Paweł Bylica 2c7ad06072
CMake: Move evmc-vmtester binary to test/ 2018-07-25 18:22:07 +02:00
Andrei Maiboroda 279f7c8b04
Add CREATE2 salt to evmc_message 2018-07-25 18:03:40 +02:00
Paweł Bylica 18a96c8d04
vmtester: Use CLI11 instead of boost::program_options 2018-07-10 13:07:07 +02:00
Paweł Bylica 8331ca15de
vmtester: Use loader library 2018-07-10 13:07:07 +02:00
Paweł Bylica 977be63e74 vmtester: Add create function name search heuristic 2018-06-26 11:22:21 +02:00
Paweł Bylica 2d00ff6f69
CMake: Move evmc-vmtester artifacts to parent dir 2018-06-26 10:41:01 +02:00
Paweł Bylica 1902576903
Fix build for 32-bit architectures 2018-06-25 16:02:24 +02:00
Paweł Bylica cb2288b49d
Merge pull request #14 from ethereum/clang-format-config
Add clang-format config
2018-06-16 12:36:00 +02:00
Paweł Bylica fd578469a4
Add unit tests stub 2018-06-11 11:44:13 +02:00
Paweł Bylica 4ca2d9c66b
Reformat files 2018-05-11 13:26:58 +02:00
Paweł Bylica 7a99a71110
Make header compilable in C99 and C11 pedantic mode 2018-04-24 15:00:15 +02:00
Paweł Bylica f07e7ebbe5
vmtester: Simplify create function search 2018-04-23 14:07:59 +02:00
Paweł Bylica 262211ab68
Move evmc.h to include/evmc dir 2018-04-19 09:41:48 +02:00
Paweł Bylica b2c566f79c
Move static asserts from EVMJIT 2018-04-17 11:11:31 +02:00
Paweł Bylica c5c34599b9
Change naming convention for "create" function
Now should be prefixed with "evmc_create_".
2018-04-17 11:11:31 +02:00
Paweł Bylica 630d8be405
Add name and version to evmc_instance 2018-04-17 11:11:30 +02:00
Paweł Bylica 35ac166e3b
Circle CI: Test examplevm 2018-04-13 08:40:13 +02:00
Paweł Bylica 2e14d57482
CMake: Install evmc-vmtester 2018-04-13 08:40:13 +02:00
Paweł Bylica 379cea307c
Rename vmtester to evmc-vmtester 2018-04-12 11:02:01 +02:00
Paweł Bylica f1fcb37fbe
Add ctests for vmtester 2018-04-12 11:02:01 +02:00
Paweł Bylica 9c239da9bf
vmtester: Use program_options 2018-04-12 11:02:00 +02:00
Paweł Bylica df702acb99
Add basic EVMC VM compliance tests 2018-04-12 11:02:00 +02:00
Paweł Bylica 60c9d550aa
Search for symbols in dlls 2018-04-12 11:02:00 +02:00
Paweł Bylica 31a333df14
Bootstrap vmtester tool 2018-04-12 11:01:59 +02:00