Commit Graph

89 Commits

Author SHA1 Message Date
Paweł Bylica 60c666a612
cpp: Add unit test for evmc::result RAII 2019-05-14 16:13:00 +02:00
Paweł Bylica 3b834de095
helpers: Handle results with null release() method 2019-05-09 22:14:20 +02:00
Paweł Bylica d0a92e6202
vmtester: Workaround MSVC C++17 compilation issue 2019-05-06 12:33:04 +02:00
Paweł Bylica 489d832a5c
cpp: Extend Host::call() unit test to show double free bug 2019-04-29 15:47:55 +02:00
Paweł Bylica 39162766df
Update copyright year, include the years of files creation 2019-04-24 18:36:28 +02:00
Paweł Bylica 4484a8b74a
loader: Add loading error messages 2019-04-24 15:02:56 +02:00
Paweł Bylica 51fe9f48d4
loader: Abstract and mock evmc_last_error_msg() 2019-04-24 15:02:56 +02:00
Paweł Bylica fcc067dd73
CMake: Add unittests to CTest 2019-04-02 13:15:00 +02:00
Paweł Bylica 61542e0444
CMake: Rename evmc-test to evmc-unittests 2019-04-02 12:36:08 +02:00
Paweł Bylica e824942149
cpp: Make HostContext to implement HostInterface 2019-04-02 11:28:21 +02:00
Paweł Bylica 1a3ca7618d
cpp: Rename host to HostContext 2019-04-02 11:28:21 +02:00
Paweł Bylica cf24ccb2ac
test: Add basic unit tests for C++ Host wrapper 2019-03-15 11:56:55 +01:00
Paweł Bylica 4683047d0b
test: Move compile-time checks from vmtester to unittests 2019-03-15 02:32:44 +01:00
Paweł Bylica 3ef9c1de50
examples: Always build example_vm as shared library 2019-03-14 18:32:27 +01:00
Paweł Bylica ee795276cd
test: Drop vm-mock 2019-03-13 22:07:13 +01:00
Paweł Bylica d8f09d1d11
test: Rewrite loader unit tests by mocking DLL loading 2019-03-13 22:07:13 +01:00
Paweł Bylica c2bf49b2ef
test: Refactor a loader unit test 2019-03-13 22:07:13 +01:00
Paweł Bylica 553003ee3b
Fix compilation with VS 2015 2019-01-23 11:17:16 +01:00
Paweł Bylica b0ae85ebbf
Add C++ wrappers/bindings 2019-01-22 14:15:26 +01:00
Paweł Bylica d4fc289c80
Rename EVMC_LATEST_REVISION to EVMC_MAX_REVISION 2019-01-21 12:09:20 +01:00
Paweł Bylica 28b2b8d6cf
helpers: Add is_zero() helper 2019-01-18 12:53:42 +01:00
Paweł Bylica 5c8e64915a
Improve C++ helpers 2018-09-08 22:43:04 +02:00
Paweł Bylica 391a300d08
Add unit tests for "evmc_create()" 2018-08-27 21:30:07 +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
Andrei Maiboroda 14b585922b
EXTCODEHASH support in instructions lib 2018-07-31 14:49:36 +02:00
Andrei Maiboroda cac4f6f9d0
CREATE2 support in instructions lib 2018-07-25 12:13:46 +02:00
Paweł Bylica 2e2b7f0e81
loader: Add unit tests for load_and_create() 2018-07-13 16:28:15 +02:00
Paweł Bylica 6b0ab05d07
loader: Fix support for Windows paths 2018-07-10 13:07:07 +02:00
Paweł Bylica 721f2b3083
loader: Return function pointer instead of EVM instance 2018-07-10 13:04:48 +02:00
Paweł Bylica 49e26b1ede
loader: Add Windows support 2018-07-10 13:02:42 +02:00
Paweł Bylica 02b52e2926
Add evmc::loader library to support dynamic loading 2018-07-10 12:57:29 +02:00
Paweł Bylica 41b3501b5e
Add EVMC_LATEST_REVISON as an alias for latest EVM revision 2018-06-16 12:32:07 +02:00
Paweł Bylica cb9ebb7c82
Add names table for each EVM revision 2018-06-16 12:32:07 +02:00
Paweł Bylica bfa5c5bf06
Add more tests for instruction tables 2018-06-16 12:32:06 +02:00
Paweł Bylica 6f1f961f85
Use name prefix for EVM opcode enum items 2018-06-16 12:32:06 +02:00
Paweł Bylica e590d1b567
Circle CI: Execute unit tests 2018-06-11 11:44:13 +02:00
Paweł Bylica bc00d6e096
Add basic instruction table unit tests 2018-06-11 11:44:13 +02:00
Paweł Bylica fd578469a4
Add unit tests stub 2018-06-11 11:44:13 +02:00