19 Commits

Author SHA1 Message Date
Paweł Bylica
14c5356ae6
loader: Expose DLL load errors with evmc_last_error_msg()
Currently only works for errors by dlopen() on Linux and macos, otherwise returns NULL.
2019-04-16 18:06:54 +02:00
Paweł Bylica
d8f09d1d11
test: Rewrite loader unit tests by mocking DLL loading 2019-03-13 22:07:13 +01:00
Paweł Bylica
e3cf88cea1
loader: Change strcpy_s() availability check 2019-03-13 22:07:13 +01:00
Paweł Bylica
a0bffe9523
Generalize loader searching algorithm
Allow loader to shorten the name word by word to the point where only single word is left.
2018-08-30 23:24:24 +02:00
Paweł Bylica
a889442d6a
loader: Fix compilation on Windows with GCC 2018-08-30 11:09:00 +02:00
Paweł Bylica
044a137a36
Format code 2018-08-28 17:05:13 +02:00
Alex Beregszaszi
b3959ec74b Fall back to evmc_create in the loader as a last resort 2018-08-25 16:30:53 +01:00
Paweł Bylica
43fc619a7e
Update license note in headers of source files 2018-08-22 13:57:25 +02:00
Paweł Bylica
dc4ac2ad4f
Merge pull request #76 from ethereum/authors
Introduce AUTHORS file
2018-08-21 23:33:51 +02:00
Paweł Bylica
0659e24db0
Update copyright notice 2018-08-21 09:44:18 +02:00
Paweł Bylica
17fe768522
loader: Always build with PIC 2018-08-21 09:07:03 +02:00
Alex Beregszaszi
3fe4f28867 Add evmc_is_abi_compatible helper 2018-08-20 15:05:41 +01:00
Paweł Bylica
426ff28d89
CMake: Build static libs with fPIC when needed 2018-07-16 12:29:02 +02:00
Paweł Bylica
edb29b7267
loader: Add helper to load and create a VM instance 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
4a929e248a
loader: Add documentation 2018-07-10 13:03:15 +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