Hans Svensson
d272e821b2
Implement aeb_fate_code:strip_init_function/1
2019-09-03 11:00:32 +02:00
Hans Svensson
e75336486e
Track payable (and private) in FATE/AEVM type info
...
Privateness is only tracked for FATE.
2019-08-16 09:31:27 +02:00
Ulf Norell
33a1d5f4fb
Perform sanity checks both in serialize and deserialize
2019-06-20 14:30:04 +02:00
Hans Svensson
c1fb3a47c7
More functions in aeb_fate_abi
2019-06-18 13:51:06 +02:00
Hans Svensson
a0c3a990ed
Add function_name_from_function_hash to aeb_fate_abi
2019-06-18 11:59:54 +02:00
Thomas Arts
3ff4df42ff
Make sure arguments not provided are maskes 2#00.
2019-06-03 13:43:49 +02:00
Thomas Arts
a5bfdf63d5
Define a specific sorting for key-Value pairs
...
Sort on key and check: no duplicates and no maps and variants as key
2019-05-29 16:23:43 +02:00
Thomas Arts
41860b041e
We should not deserialize function blocks only containing opcodes, but not a function
2019-05-29 16:23:43 +02:00
Thomas Arts
ec0af8046a
Safer serialization of opcode arguments
2019-05-28 19:09:42 +02:00
Thomas Arts
453f68fa39
Serialize only code blocks that have operators in right order
2019-05-28 18:11:42 +02:00
Thomas Arts
aa9d2bf893
Do not allow empty code blocks
2019-05-28 18:11:42 +02:00
Thomas Arts
5d7bd73bcb
Serialization of functions only succeeds for 4 byte iudentifiers
2019-05-28 18:11:42 +02:00
Thomas Arts
34b9684b6b
Deserialize code without functions
2019-05-28 18:11:42 +02:00
Thomas Arts
ccbb0ed6c7
Make code easier to test
2019-05-28 18:11:42 +02:00
Erik Stenman
0d1899b32a
Pt 165352420 dissallow stack n ( #42 )
...
* Get rid of redundant arity field from op defs. Reorder and renumber ops. Fix bb_end for abort and exit.
* FATE does not accept arbitrary stack positions, only the accumulator aka stack 0.
2019-05-23 13:40:49 +02:00
Tobias Lindahl
11a8997ac7
Pt 166148534 refactor fate code ( #40 )
...
* Change names of generated aeb_fate_code -> aeb_fate_ops
* Break out fate code to separate adt module
* Fix documentation of the SPEND op
* More compact implementation of serialization/deserialization
* Changed argument specification order
2019-05-23 08:15:18 +02:00