3
0
mirror of https://github.com/Qortal/AT.git synced 2025-01-30 02:42:14 +00:00
Automated Transactions
Go to file
catbref 6e9198b226 More tests (now in org.ciyam.at), better exception messages, tidying, tightened visibilty.
Added unit test to cover branching to beyond end of code segment.
Added unit test to cover branching to before start of code segment.

Added very naive fuzzy disassembly test to see how it handles random, invalid code.

Refactored data address checking in FunctionCode.postCheckExecute() methods to
single FunctionCode.checkDataAddress method. New method includes FunctionCode's name
when throwing due to out-of-bounds address.

Tidied narrowing conversions by replacing literal 0x7fffffffL with Integer.MAX_VALUE.

Tightened OpCode methods visiblity from public to protected.
Added branch target checking to OpCode.executeBranchConditional but maybe this is
already covered by call to Utils.getCodeOffset() when assembling params in Opcode.execute().
Improved message in Utils.getCodeOffset() anyway.

Moved unit tests to org.ciyam.at package.
Moved unit test support classes from 'common' to org.ciyam.at.test.
2020-04-09 12:05:27 +01:00
docs correct test 3 output for bor dat 2018-08-26 15:11:59 +08:00
Java More tests (now in org.ciyam.at), better exception messages, tidying, tightened visibilty. 2020-04-09 12:05:27 +01:00
README.md Initial commit 2016-02-15 00:34:00 +08:00

AT

Automated Transactions