aboutsummaryrefslogtreecommitdiffstats
path: root/vmArithmeticTestFiller.json
diff options
context:
space:
mode:
authorCJentzsch <jentzsch.software@gmail.com>2015-03-13 00:11:58 +0800
committerCJentzsch <jentzsch.software@gmail.com>2015-03-13 00:11:58 +0800
commitf164593c27d1f62eff08c9265b8606dad6270dce (patch)
tree879353a34d3720188103783196626939cc948e23 /vmArithmeticTestFiller.json
parentb5ed5d13d1f8733a8aadbb4df75aa51a8f9cbd06 (diff)
downloaddexon-solidity-f164593c27d1f62eff08c9265b8606dad6270dce.tar.gz
dexon-solidity-f164593c27d1f62eff08c9265b8606dad6270dce.tar.zst
dexon-solidity-f164593c27d1f62eff08c9265b8606dad6270dce.zip
dejavu issue 19 - stack underflows
Diffstat (limited to 'vmArithmeticTestFiller.json')
-rw-r--r--vmArithmeticTestFiller.json31
1 files changed, 29 insertions, 2 deletions
diff --git a/vmArithmeticTestFiller.json b/vmArithmeticTestFiller.json
index 19224cc2..16e085a1 100644
--- a/vmArithmeticTestFiller.json
+++ b/vmArithmeticTestFiller.json
@@ -393,6 +393,34 @@
}
},
+ "mulUnderFlow": {
+ "env" : {
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6",
+ "currentNumber" : "0",
+ "currentGasLimit" : "1000000",
+ "currentDifficulty" : "256",
+ "currentTimestamp" : "1",
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
+ },
+ "pre" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "1000000000000000000",
+ "nonce" : "0",
+ "code" : "(asm 1 MUL 01 SSTORE)",
+ "storage": {}
+ }
+ },
+ "exec" : {
+ "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "origin" : "cd1722f2947def4cf144679da39c4c32bdc35681",
+ "caller" : "cd1722f2947def4cf144679da39c4c32bdc35681",
+ "value" : "1000000000000000000",
+ "data" : "",
+ "gasPrice" : "100000000000000",
+ "gas" : "100000"
+ }
+ },
+
"sub0": {
"env" : {
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6",
@@ -4860,8 +4888,7 @@
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
"balance" : "1000000000000000000",
"nonce" : "0",
- "//" : "{ asm PUSH1 0x05 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x8000 DUP1 PUSH9 0x01000000000000001 SIGNEXTEND PUSH2 0x8001 GT PUSH1 0x03 JUMPI PUSH4 0xbadf000d PUSH1 0x11 SSTORE}",
- "code" : "0x6005565b005b61800080680100000000000000010b6180011160035763badf000d601155",
+ "code" : "(asm 0x05 JUMP JUMPDEST STOP JUMPDEST 0x8000 DUP1 0x010000000000000001 SIGNEXTEND 0x8001 GT 0x03 JUMPI 0xbadf000d 0x11 SSTORE)",
"storage": {}
}
},