Commit Graph
100 Commits
Author SHA1 Message Date
chriseth efdfacaaec Changelog entry. 2017-03-06 15:05:09 +01:00
chriseth 5c5d83fd70 Check for circular references in constant variables. 2017-03-06 15:05:09 +01:00
chriseth d089a1ef2b Tests for cyclic dependencies between constants. 2017-03-06 15:05:09 +01:00
chriseth f521fd7b19 Mention way to remove warning. 2017-03-06 13:37:57 +01:00
chriseth eb363166ae Fix header. 2017-03-03 18:30:36 +01:00
chriseth 6a9df162fd Changelog entry. 2017-03-02 14:34:06 +01:00
chriseth cc01d870ff Disallow variable declaration with inferred empty tuple type. 2017-03-02 14:33:58 +01:00
chriseth 2600fa0413 Test for declaring variable with empty tuple type. 2017-03-02 14:33:58 +01:00
chriseth b832b70e1b Changelog entry. 2017-03-01 16:09:19 +01:00
chriseth a689152c4b Convert reference types to pointers in member function conversion. 2017-03-01 16:02:36 +01:00
chriseth f35b70f3a3 Test case for external function type with calldata argument. 2017-03-01 15:53:24 +01:00
chriseth 9f1a67caa5 Some logging around account creation. 2017-03-01 11:32:29 +01:00
chriseth 4305ecb0e7 Try reading multiple times from IPC. 2017-02-25 00:11:26 +01:00
chriseth 41360ccd57 Script for filtering unique failures. 2017-02-24 19:33:05 +01:00
chriseth 9acfdb8044 Print full error on failure. 2017-02-24 19:32:44 +01:00
chriseth 8877d4a781 Compiler error is not a failure. 2017-02-24 19:32:44 +01:00
chriseth 7a24a5764e Add line info to serious exceptions. 2017-02-24 19:32:41 +01:00
chriseth de1317331f Changelog entry. 2017-02-24 08:25:01 +01:00
chriseth 46d3c2dd3d Print source location before items. 2017-02-24 08:24:34 +01:00
chriseth 4b1e8111cc Remove assert for now. 2017-02-23 19:43:40 +01:00
chriseth c0961664f9 Deposit one stack item for non-value types in inline assembly type checking. 2017-02-20 12:33:22 +01:00
chriseth 5cd01ab7d1 Test for unbalanced stack due to loading two values from outside. 2017-02-20 12:33:22 +01:00
chriseth 50894c6af8 Fix compiler warning. 2017-02-20 11:57:50 +01:00
chriseth d794d35e50 Also check imbalanced stack. 2017-02-20 11:42:23 +01:00
chriseth 354f92f813 Check error messages for assembly tests. 2017-02-17 16:39:51 +01:00
chriseth f66ebbc8e2 Report failures correctly to AFL. 2017-02-16 18:05:11 +01:00
chriseth 8be318e75b Include non-fuzzing fuzzer tests in commandline run. 2017-02-16 17:13:55 +01:00
chriseth f93f9fa3a0 Add executable for use with AFL. 2017-02-16 16:59:19 +01:00
chriseth 811bb770c5 Change effect of assert to invalid opcode. 2017-02-16 15:54:17 +01:00
chriseth c3c3cccbec Fix early exist for fatal errors. 2017-02-16 14:57:00 +01:00
chriseth e629cf5bc3 Test case. 2017-02-16 14:57:00 +01:00
chriseth dcc16c81e2 Some checks for the existence of mobile type. 2017-02-16 11:46:27 +01:00
chriseth 01fcd989b5 More tests. 2017-02-16 10:18:16 +01:00
chriseth a5ce81100e Assembly printer for functions. 2017-02-16 10:18:12 +01:00
chriseth 49a919b3e0 Parsing function calls. 2017-02-16 10:15:22 +01:00
chriseth 5d584aded8 Parsing function definitions. 2017-02-16 10:15:22 +01:00
chriseth 5e8a1e0ae6 Test for unicode string literals. 2017-02-15 15:21:11 +01:00
chriseth 24197a2b3f Assembly printing fixes. 2017-02-14 15:41:25 +01:00
chriseth 58849cb1d5 Tests for printing assembly. 2017-02-14 15:41:25 +01:00
chriseth ca71b7624d Review changes. 2017-02-14 15:41:25 +01:00
chriseth 80f7243786 Assembly printer. 2017-02-14 15:41:25 +01:00
chriseth eeaa2bad95 Kill the right eth process in tests 2017-02-14 13:48:51 +00:00
chriseth a791ec75e2 Review comments. 2017-02-14 13:32:48 +01:00
chriseth b1bb228ab3 Allow different entry scope for registerDeclarations. 2017-02-14 13:23:44 +01:00
chriseth e67faa9839 Extract scopes into compiler stack. 2017-02-14 13:23:44 +01:00
chriseth c87bafd2ed Refactor type system to allow multiple entry points. 2017-02-14 13:23:44 +01:00
chriseth fc8e50f688 Refactor NameAndTypeResolver and SyntaxChecker to allow other entry points. 2017-02-14 13:23:44 +01:00
chriseth 2ba09206de Install nvm 2017-02-13 17:41:12 +01:00
chriseth 9ee0d6fb90 Try different nodejs version request formatting. 2017-02-13 14:28:24 +01:00
chriseth bc3e3fd709 Fix test expressions. 2017-02-13 12:28:39 +01:00
chriseth 11c4a7b642 Fail if docker deploy failed. 2017-02-13 11:22:07 +01:00
chriseth 753e104cbc Use nodejs 6 2017-02-09 10:21:08 +01:00
chriseth 57662e1bf3 Add language and some minor corrections and clarifications. 2017-02-08 21:53:07 +00:00
chriseth 4fccb5fdac Document input description and metadata output. 2017-02-08 21:53:07 +00:00
chriseth a39adc44d4 Integrate missed changes. 2017-01-31 23:31:25 +01:00
chriseth ffe4ce0891 Version update 2017-01-31 19:37:55 +01:00
chriseth c08f659634 Changelog entry. 2017-01-27 14:09:19 +01:00
chriseth 0e021e76a5 Minor changes. 2017-01-27 11:19:48 +01:00
chriseth bff8fc23e6 Changelog and review suggestions. 2017-01-27 10:18:53 +01:00
chriseth a9c6ff4ac8 Refactor json return type generation. 2017-01-26 18:21:19 +01:00
chriseth 7660736aa2 Document special case of zero-initialized internal function. 2017-01-26 16:40:24 +01:00
chriseth a98fa41897 Uninitialized internal function should call INVALID. 2017-01-26 16:39:07 +01:00
chriseth d9fbb83861 Allow inserting low-level functions without calling them. 2017-01-26 16:39:07 +01:00
chriseth 390bebaaf9 Split line. 2017-01-26 16:39:07 +01:00
chriseth ae2b59d18a Fix optimizer with regards to INVALID instruction. 2017-01-26 16:39:07 +01:00
chriseth c2b3d8bcd2 Change code for INVALID opcode to 0xfe. 2017-01-26 16:39:07 +01:00
chriseth 873f2dddd6 Update error message. 2017-01-26 13:52:02 +01:00
chriseth 8e29d636f7 Header cleanup. 2017-01-26 13:47:57 +01:00
chriseth 1b097fd3c7 Proper error reporting for assembly mode. 2017-01-26 13:45:23 +01:00
chriseth 525758a130 Disallow assignment to non-identifiers. 2017-01-26 13:40:40 +01:00
chriseth f62e269115 Disallow instructions in assignment. 2017-01-25 17:29:06 +01:00
chriseth 946a63c26f Add test for assignment. 2017-01-25 17:27:01 +01:00
chriseth a5696e1f0a Renamed function. 2017-01-25 17:26:11 +01:00
chriseth 27ba665694 Moved test. 2017-01-25 17:24:43 +01:00
chriseth 8e318181e9 Rewording in changelog. 2017-01-25 17:24:25 +01:00
chriseth 87f744ae5e Add some more tests for the checksum routine. 2017-01-25 10:45:21 +01:00
chriseth d855eaab13 Documentation. 2017-01-24 23:37:48 +01:00
chriseth 3949624a61 Also check library addresses. 2017-01-24 23:37:48 +01:00
chriseth 605455f96b Tests for library checksums. 2017-01-24 23:37:48 +01:00
chriseth 1316bb7565 Warn about invalid checksums of addresses. 2017-01-24 23:37:48 +01:00
chriseth ead1a3b33f Include creation code only once. 2017-01-24 17:41:31 +01:00
chriseth 8e5f1c0d50 Test double inclusion of bytecode. 2017-01-24 17:41:31 +01:00
chriseth 7e6f1b3f00 Use int arithmetics for stack adjustment. 2017-01-24 12:07:09 +01:00
chriseth 23eca813f5 Change clearStorageLoop to TypePointer. 2017-01-24 12:07:09 +01:00
chriseth 1b87e08e04 Changelog entry. 2017-01-24 12:07:08 +01:00
chriseth 82a00e7dc5 Use shared_ptrs to enable shared_from_this. 2017-01-24 12:06:41 +01:00
chriseth cea020b89e Convert ArrayUtils routines into low-level functions. 2017-01-24 12:06:40 +01:00
chriseth b60623521f Move some util functions to low-level functions. 2017-01-24 12:06:40 +01:00
chriseth d0e8d340a5 Low level named functions for CompilerContext. 2017-01-24 12:06:40 +01:00
chriseth dea59bfbdc Test for initializing recursive structs. 2017-01-24 12:06:40 +01:00
chriseth 997f5d751a Create functional assembly output, if possible. 2017-01-24 01:09:55 +01:00
chriseth c6207e2761 Make token constructible. 2017-01-20 19:50:25 +01:00
chriseth 61a15bb92e Test that all constructible std contracts produce bytecode. 2017-01-20 19:50:14 +01:00
chriseth 0ef460461a Check if constructor is public or not. 2017-01-20 19:22:39 +01:00
chriseth df4ef74199 Add tests for internal constructor. 2017-01-20 19:22:39 +01:00
chriseth 2536bdd6d0 Report source location on "stack too deep" errors. 2017-01-20 19:01:19 +01:00
chriseth 7159944f0f Reset AST node IDs between compilation runs. 2017-01-20 12:00:16 +01:00
chriseth da178d967f Properly escape user strings and lists. 2017-01-19 13:23:58 +01:00
chriseth 3fed790a56 Type identifiers. 2017-01-19 13:23:57 +01:00
chriseth 23a654ade8 Fix default function type name visibility. 2017-01-19 11:11:40 +01:00