Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张蕾
Geth-Modification
Commits
ad2a75ac
Commit
ad2a75ac
authored
Oct 23, 2014
by
Christoph Jentzsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added new recursive bombs
parent
834c52af
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
363 additions
and
1 deletion
+363
-1
vmIOandFlowOperationsTest.json
vmtests/vmIOandFlowOperationsTest.json
+42
-0
vmPushDupSwapTest.json
vmtests/vmPushDupSwapTest.json
+42
-0
vmSystemOperationsTest.json
vmtests/vmSystemOperationsTest.json
+279
-1
No files found.
vmtests/vmIOandFlowOperationsTest.json
View file @
ad2a75ac
...
@@ -424,6 +424,48 @@
...
@@ -424,6 +424,48 @@
}
}
}
}
},
},
"jumpi2"
:
{
"callcreates"
:
[
],
"env"
:
{
"currentCoinbase"
:
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
,
"currentDifficulty"
:
"256"
,
"currentGasLimit"
:
"1000000"
,
"currentNumber"
:
"0"
,
"currentTimestamp"
:
"1"
,
"previousHash"
:
"5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"exec"
:
{
"address"
:
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
,
"caller"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"code"
:
"0x60017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff596002600357"
,
"data"
:
"0x"
,
"gas"
:
"10000"
,
"gasPrice"
:
"100000000000000"
,
"origin"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"value"
:
"1000000000000000000"
},
"gas"
:
"9997"
,
"out"
:
"0x"
,
"post"
:
{
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
:
{
"balance"
:
"1000000000000000000"
,
"code"
:
"0x60017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff596002600357"
,
"nonce"
:
"0"
,
"storage"
:
{
}
}
},
"pre"
:
{
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
:
{
"balance"
:
"1000000000000000000"
,
"code"
:
"0x60017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff596002600357"
,
"nonce"
:
"0"
,
"storage"
:
{
}
}
}
},
"mloadError0"
:
{
"mloadError0"
:
{
"callcreates"
:
[
"callcreates"
:
[
],
],
...
...
vmtests/vmPushDupSwapTest.json
View file @
ad2a75ac
...
@@ -1202,6 +1202,48 @@
...
@@ -1202,6 +1202,48 @@
}
}
}
}
},
},
"push1_missingStack"
:
{
"callcreates"
:
[
],
"env"
:
{
"currentCoinbase"
:
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
,
"currentDifficulty"
:
"256"
,
"currentGasLimit"
:
"1000000"
,
"currentNumber"
:
"0"
,
"currentTimestamp"
:
"1"
,
"previousHash"
:
"5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"exec"
:
{
"address"
:
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
,
"caller"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"code"
:
"0x60"
,
"data"
:
"0x"
,
"gas"
:
"10000"
,
"gasPrice"
:
"100000000000000"
,
"origin"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"value"
:
"1000000000000000000"
},
"gas"
:
"9999"
,
"out"
:
"0x"
,
"post"
:
{
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
:
{
"balance"
:
"1000000000000000000"
,
"code"
:
"0x60"
,
"nonce"
:
"0"
,
"storage"
:
{
}
}
},
"pre"
:
{
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
:
{
"balance"
:
"1000000000000000000"
,
"code"
:
"0x60"
,
"nonce"
:
"0"
,
"storage"
:
{
}
}
}
},
"push2"
:
{
"push2"
:
{
"callcreates"
:
[
"callcreates"
:
[
],
],
...
...
vmtests/vmSystemOperationsTest.json
View file @
ad2a75ac
...
@@ -127,6 +127,134 @@
...
@@ -127,6 +127,134 @@
}
}
}
}
},
},
"ABAcalls2"
:
{
"callcreates"
:
[
{
"data"
:
"0x"
,
"destination"
:
"945304eb96065b2a98b57a48a06ae28d285a71b5"
,
"gasLimit"
:
"9999999998768"
,
"value"
:
"1"
}
],
"env"
:
{
"currentCoinbase"
:
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
,
"currentDifficulty"
:
"256"
,
"currentGasLimit"
:
"10000000"
,
"currentNumber"
:
"0"
,
"currentTimestamp"
:
"1"
,
"previousHash"
:
"5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"exec"
:
{
"address"
:
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
,
"caller"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"code"
:
"0x6001600056016000576000600060006000600173945304eb96065b2a98b57a48a06ae28d285a71b56103e85c03f1"
,
"data"
:
"0x"
,
"gas"
:
"10000000000000"
,
"gasPrice"
:
"100000000000000"
,
"origin"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"value"
:
"100000"
},
"gas"
:
"1003475"
,
"out"
:
"0x"
,
"post"
:
{
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
:
{
"balance"
:
"999999999999999488"
,
"code"
:
"0x6001600056016000576000600060006000600173945304eb96065b2a98b57a48a06ae28d285a71b56103e85c03f1"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
"0x01"
}
},
"945304eb96065b2a98b57a48a06ae28d285a71b5"
:
{
"balance"
:
"512"
,
"code"
:
"0x60016000560160005760006000600060006000730f572e5295c57f15886f9b263e2f6d2d6c7b5ec66103e85c03f1"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
"0x0200"
}
}
},
"pre"
:
{
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
:
{
"balance"
:
"1000000000000000000"
,
"code"
:
"0x6001600056016000576000600060006000600173945304eb96065b2a98b57a48a06ae28d285a71b56103e85c03f1"
,
"nonce"
:
"0"
,
"storage"
:
{
}
},
"945304eb96065b2a98b57a48a06ae28d285a71b5"
:
{
"balance"
:
"0"
,
"code"
:
"0x60016000560160005760006000600060006000730f572e5295c57f15886f9b263e2f6d2d6c7b5ec66103e85c03f1"
,
"nonce"
:
"0"
,
"storage"
:
{
}
}
}
},
"ABAcalls3"
:
{
"callcreates"
:
[
{
"data"
:
"0x"
,
"destination"
:
"945304eb96065b2a98b57a48a06ae28d285a71b5"
,
"gasLimit"
:
"998768"
,
"value"
:
"1"
}
],
"env"
:
{
"currentCoinbase"
:
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
,
"currentDifficulty"
:
"256"
,
"currentGasLimit"
:
"10000000"
,
"currentNumber"
:
"0"
,
"currentTimestamp"
:
"1"
,
"previousHash"
:
"5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"exec"
:
{
"address"
:
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
,
"caller"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"code"
:
"0x6001600056016000576000600060006000600173945304eb96065b2a98b57a48a06ae28d285a71b56103e85c03f1"
,
"data"
:
"0x"
,
"gas"
:
"1000000"
,
"gasPrice"
:
"100000000000000"
,
"origin"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"value"
:
"100000"
},
"gas"
:
"864457"
,
"out"
:
"0x"
,
"post"
:
{
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
:
{
"balance"
:
"1024558"
,
"code"
:
"0x6001600056016000576000600060006000600173945304eb96065b2a98b57a48a06ae28d285a71b56103e85c03f1"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
"0x01"
}
},
"945304eb96065b2a98b57a48a06ae28d285a71b5"
:
{
"balance"
:
"442"
,
"code"
:
"0x60016000560160005760006000600060006000730f572e5295c57f15886f9b263e2f6d2d6c7b5ec66103e85c03f1"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
"0x01b9"
}
}
},
"pre"
:
{
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
:
{
"balance"
:
"1025000"
,
"code"
:
"0x6001600056016000576000600060006000600173945304eb96065b2a98b57a48a06ae28d285a71b56103e85c03f1"
,
"nonce"
:
"0"
,
"storage"
:
{
}
},
"945304eb96065b2a98b57a48a06ae28d285a71b5"
:
{
"balance"
:
"0"
,
"code"
:
"0x60016000560160005760006000600060006000730f572e5295c57f15886f9b263e2f6d2d6c7b5ec66103e85c03f1"
,
"nonce"
:
"0"
,
"storage"
:
{
}
}
}
},
"ABAcallsSuicide0"
:
{
"ABAcallsSuicide0"
:
{
"callcreates"
:
[
"callcreates"
:
[
{
{
...
@@ -239,7 +367,7 @@
...
@@ -239,7 +367,7 @@
}
}
}
}
},
},
"CallRecursiveBomb"
:
{
"CallRecursiveBomb
0
"
:
{
"callcreates"
:
[
"callcreates"
:
[
{
{
"data"
:
"0x"
,
"data"
:
"0x"
,
...
@@ -303,6 +431,156 @@
...
@@ -303,6 +431,156 @@
}
}
}
}
},
},
"CallRecursiveBomb1"
:
{
"callcreates"
:
[
{
"data"
:
"0x"
,
"destination"
:
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
,
"gasLimit"
:
"364267"
,
"value"
:
"0"
}
],
"env"
:
{
"currentCoinbase"
:
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
,
"currentDifficulty"
:
"256"
,
"currentGasLimit"
:
"10000000"
,
"currentNumber"
:
"0"
,
"currentTimestamp"
:
"1"
,
"previousHash"
:
"5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"exec"
:
{
"address"
:
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
,
"caller"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"code"
:
"0x600160005601600057600060006000600060003060e05c03f1600157"
,
"data"
:
"0x"
,
"gas"
:
"364723"
,
"gasPrice"
:
"1"
,
"origin"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"value"
:
"100000"
},
"gas"
:
"104246"
,
"out"
:
"0x"
,
"post"
:
{
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
:
{
"balance"
:
"20000000"
,
"code"
:
"0x600160005601600057600060006000600060003060e05c03f1600157"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
"0x03fe"
,
"0x01"
:
"0x01"
}
}
},
"pre"
:
{
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
:
{
"balance"
:
"20000000"
,
"code"
:
"0x600160005601600057600060006000600060003060e05c03f1600157"
,
"nonce"
:
"0"
,
"storage"
:
{
}
}
}
},
"CallRecursiveBomb2"
:
{
"callcreates"
:
[
{
"data"
:
"0x"
,
"destination"
:
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
,
"gasLimit"
:
"364268"
,
"value"
:
"0"
}
],
"env"
:
{
"currentCoinbase"
:
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
,
"currentDifficulty"
:
"256"
,
"currentGasLimit"
:
"10000000"
,
"currentNumber"
:
"0"
,
"currentTimestamp"
:
"1"
,
"previousHash"
:
"5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"exec"
:
{
"address"
:
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
,
"caller"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"code"
:
"0x600160005601600057600060006000600060003060e05c03f1600157"
,
"data"
:
"0x"
,
"gas"
:
"364724"
,
"gasPrice"
:
"1"
,
"origin"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"value"
:
"100000"
},
"gas"
:
"104551"
,
"out"
:
"0x"
,
"post"
:
{
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
:
{
"balance"
:
"20000000"
,
"code"
:
"0x600160005601600057600060006000600060003060e05c03f1600157"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
"0x03ff"
,
"0x01"
:
"0x01"
}
}
},
"pre"
:
{
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
:
{
"balance"
:
"20000000"
,
"code"
:
"0x600160005601600057600060006000600060003060e05c03f1600157"
,
"nonce"
:
"0"
,
"storage"
:
{
}
}
}
},
"CallRecursiveBomb3"
:
{
"callcreates"
:
[
{
"data"
:
"0x"
,
"destination"
:
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
,
"gasLimit"
:
"999544"
,
"value"
:
"0"
}
],
"env"
:
{
"currentCoinbase"
:
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
,
"currentDifficulty"
:
"256"
,
"currentGasLimit"
:
"10000000"
,
"currentNumber"
:
"0"
,
"currentTimestamp"
:
"1"
,
"previousHash"
:
"5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"exec"
:
{
"address"
:
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
,
"caller"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"code"
:
"0x600160005601600057600060006000600060003060e05c03f1600157"
,
"data"
:
"0x"
,
"gas"
:
"1000000"
,
"gasPrice"
:
"1"
,
"origin"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"value"
:
"100000"
},
"gas"
:
"104551"
,
"out"
:
"0x"
,
"post"
:
{
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
:
{
"balance"
:
"20000000"
,
"code"
:
"0x600160005601600057600060006000600060003060e05c03f1600157"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x"
:
"0x03ff"
,
"0x01"
:
"0x01"
}
}
},
"pre"
:
{
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
:
{
"balance"
:
"20000000"
,
"code"
:
"0x600160005601600057600060006000600060003060e05c03f1600157"
,
"nonce"
:
"0"
,
"storage"
:
{
}
}
}
},
"CallToNameRegistrator0"
:
{
"CallToNameRegistrator0"
:
{
"callcreates"
:
[
"callcreates"
:
[
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment