good morning!!!!
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
bor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
github
maticnetwork
bor
Commits
ed6eba7c
Commit
ed6eba7c
authored
10 years ago
by
Christoph Jentzsch
Browse files
Options
Downloads
Patches
Plain Diff
Update + ABA recursive bomb which needs maximum recursion limit of 1024
parent
2d72050d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
vmtests/vmIOandFlowOperationsTest.json
+3
-2
3 additions, 2 deletions
vmtests/vmIOandFlowOperationsTest.json
vmtests/vmSystemOperationsTest.json
+65
-1
65 additions, 1 deletion
vmtests/vmSystemOperationsTest.json
vmtests/vmtests.json
+24
-6
24 additions, 6 deletions
vmtests/vmtests.json
with
92 additions
and
9 deletions
vmtests/vmIOandFlowOperationsTest.json
+
3
−
2
View file @
ed6eba7c
...
...
@@ -190,7 +190,7 @@
"origin"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"value"
:
"1000000000000000000"
},
"gas"
:
"
9997
"
,
"gas"
:
"
0
"
,
"out"
:
"0x"
,
"post"
:
{
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
:
{
...
...
@@ -274,7 +274,7 @@
"origin"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"value"
:
"1000000000000000000"
},
"gas"
:
"9
996
"
,
"gas"
:
"9
794
"
,
"out"
:
"0x"
,
"post"
:
{
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
:
{
...
...
@@ -282,6 +282,7 @@
"code"
:
"0x602360006009596001600257"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x02"
:
"0x01"
}
}
},
...
...
This diff is collapsed.
Click to expand it.
vmtests/vmSystemOperationsTest.json
+
65
−
1
View file @
ed6eba7c
{
"ABAcalls"
:
{
"ABAcalls
0
"
:
{
"callcreates"
:
[
{
"data"
:
"0x"
,
...
...
@@ -63,6 +63,70 @@
}
}
},
"ABAcalls1"
:
{
"callcreates"
:
[
{
"data"
:
"0x"
,
"destination"
:
"945304eb96065b2a98b57a48a06ae28d285a71b5"
,
"gasLimit"
:
"9999999998992"
,
"value"
:
"24"
}
],
"env"
:
{
"currentCoinbase"
:
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
,
"currentDifficulty"
:
"256"
,
"currentGasLimit"
:
"10000000"
,
"currentNumber"
:
"0"
,
"currentTimestamp"
:
"1"
,
"previousHash"
:
"5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"exec"
:
{
"address"
:
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
,
"caller"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"code"
:
"0x6000600060006000601873945304eb96065b2a98b57a48a06ae28d285a71b56103e85c03f15a57"
,
"data"
:
"0x"
,
"gas"
:
"10000000000000"
,
"gasPrice"
:
"100000000000000"
,
"origin"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"value"
:
"100000"
},
"gas"
:
"898727"
,
"out"
:
"0x"
,
"post"
:
{
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
:
{
"balance"
:
"999999999999999488"
,
"code"
:
"0x6000600060006000601873945304eb96065b2a98b57a48a06ae28d285a71b56103e85c03f15a57"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x25"
:
"0x01"
}
},
"945304eb96065b2a98b57a48a06ae28d285a71b5"
:
{
"balance"
:
"535"
,
"code"
:
"0x60006000600060006017730f572e5295c57f15886f9b263e2f6d2d6c7b5ec66103e85c03f16001015a57"
,
"nonce"
:
"0"
,
"storage"
:
{
"0x28"
:
"0x02"
}
}
},
"pre"
:
{
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
:
{
"balance"
:
"1000000000000000000"
,
"code"
:
"0x6000600060006000601873945304eb96065b2a98b57a48a06ae28d285a71b56103e85c03f15a57"
,
"nonce"
:
"0"
,
"storage"
:
{
}
},
"945304eb96065b2a98b57a48a06ae28d285a71b5"
:
{
"balance"
:
"23"
,
"code"
:
"0x60006000600060006017730f572e5295c57f15886f9b263e2f6d2d6c7b5ec66103e85c03f16001015a57"
,
"nonce"
:
"0"
,
"storage"
:
{
}
}
}
},
"ABAcallsSuicide0"
:
{
"callcreates"
:
[
{
...
...
This diff is collapsed.
Click to expand it.
vmtests/vmtests.json
+
24
−
6
View file @
ed6eba7c
...
...
@@ -52,8 +52,26 @@
{
"data"
:
"0x"
,
"destination"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"gasLimit"
:
"97
70
"
,
"gasLimit"
:
"97
86
"
,
"value"
:
"2"
},
{
"data"
:
"0x"
,
"destination"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"gasLimit"
:
"9731"
,
"value"
:
"12"
},
{
"data"
:
"0x"
,
"destination"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"gasLimit"
:
"9694"
,
"value"
:
"13"
},
{
"data"
:
"0x"
,
"destination"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"gasLimit"
:
"9657"
,
"value"
:
"14"
}
],
"env"
:
{
...
...
@@ -67,19 +85,19 @@
"exec"
:
{
"address"
:
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
,
"caller"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"code"
:
"0x60
1a5d60345d604e5d60685d60825d609c5d60b65d60d05d60
016001100f601
a
59600060006000600060023360c85c03f15060006001100f603
4
59600060006000600060033360c85c03f15060016000100f60
4e
59600060006000600060043360c85c03f15060006000100f606
8
59600060006000600060053360c85c03f15060016001110f608
2
596000600060006000600c3360c85c03f15060006001110f60
9c
596000600060006000600d3360c85c03f15060016000110f60b
6
596000600060006000600e3360c85c03f15060006000110f60d
0
596000600060006000600f3360c85c03f150"
,
"code"
:
"0x60016001100f601
b
59600060006000600060023360c85c03f150
5d
60006001100f603
6
59600060006000600060033360c85c03f150
5d
60016000100f60
51
59600060006000600060043360c85c03f150
5d
60006000100f606
c
59600060006000600060053360c85c03f150
5d
60016001110f608
7
596000600060006000600c3360c85c03f150
5d
60006001110f60
a2
596000600060006000600d3360c85c03f150
5d
60016000110f60b
d
596000600060006000600e3360c85c03f150
5d
60006000110f60d
8
596000600060006000600f3360c85c03f150
5d
"
,
"data"
:
"0x"
,
"gas"
:
"10000"
,
"gasPrice"
:
"100000000000000"
,
"origin"
:
"cd1722f3947def4cf144679da39c4c32bdc35681"
,
"value"
:
"1000000000000000000"
},
"gas"
:
"9
940
"
,
"gas"
:
"9
828
"
,
"out"
:
"0x"
,
"post"
:
{
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
:
{
"balance"
:
"99999999999999999
8
"
,
"code"
:
"0x60
1a5d60345d604e5d60685d60825d609c5d60b65d60d05d60
016001100f601
a
59600060006000600060023360c85c03f15060006001100f603
4
59600060006000600060033360c85c03f15060016000100f60
4e
59600060006000600060043360c85c03f15060006000100f606
8
59600060006000600060053360c85c03f15060016001110f608
2
596000600060006000600c3360c85c03f15060006001110f60
9c
596000600060006000600d3360c85c03f15060016000110f60b
6
596000600060006000600e3360c85c03f15060006000110f60d
0
596000600060006000600f3360c85c03f150"
,
"balance"
:
"9999999999999999
5
9"
,
"code"
:
"0x60016001100f601
b
59600060006000600060023360c85c03f150
5d
60006001100f603
6
59600060006000600060033360c85c03f150
5d
60016000100f60
51
59600060006000600060043360c85c03f150
5d
60006000100f606
c
59600060006000600060053360c85c03f150
5d
60016001110f608
7
596000600060006000600c3360c85c03f150
5d
60006001110f60
a2
596000600060006000600d3360c85c03f150
5d
60016000110f60b
d
596000600060006000600e3360c85c03f150
5d
60006000110f60d
8
596000600060006000600f3360c85c03f150
5d
"
,
"nonce"
:
"0"
,
"storage"
:
{
}
...
...
@@ -88,7 +106,7 @@
"pre"
:
{
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"
:
{
"balance"
:
"1000000000000000000"
,
"code"
:
"0x60
1a5d60345d604e5d60685d60825d609c5d60b65d60d05d60
016001100f601
a
59600060006000600060023360c85c03f15060006001100f603
4
59600060006000600060033360c85c03f15060016000100f60
4e
59600060006000600060043360c85c03f15060006000100f606
8
59600060006000600060053360c85c03f15060016001110f608
2
596000600060006000600c3360c85c03f15060006001110f60
9c
596000600060006000600d3360c85c03f15060016000110f60b
6
596000600060006000600e3360c85c03f15060006000110f60d
0
596000600060006000600f3360c85c03f150"
,
"code"
:
"0x60016001100f601
b
59600060006000600060023360c85c03f150
5d
60006001100f603
6
59600060006000600060033360c85c03f150
5d
60016000100f60
51
59600060006000600060043360c85c03f150
5d
60006000100f606
c
59600060006000600060053360c85c03f150
5d
60016001110f608
7
596000600060006000600c3360c85c03f150
5d
60006001110f60
a2
596000600060006000600d3360c85c03f150
5d
60016000110f60b
d
596000600060006000600e3360c85c03f150
5d
60006000110f60d
8
596000600060006000600f3360c85c03f150
5d
"
,
"nonce"
:
"0"
,
"storage"
:
{
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment