mirror of
https://github.com/Qortal/AT.git
synced 2025-01-30 02:42:14 +00:00
Automated Transactions
6e9198b226
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. |
||
---|---|---|
docs | ||
Java | ||
README.md |
AT
Automated Transactions