diff --git a/.circleci/config.yml b/.circleci/config.yml
index 46a67785..9770236d 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -78,44 +78,42 @@ jobs:
# command: if [ -z "$CIRCLE_PR_NUMBER" ]; then ./run-integration-tests.sh; fi
# working_directory: /home
- - run:
- name: Call webhook
- command: |
- curl -I -X POST -H -d "https://circleci.com/api/v1/project/${ORGANIZATION}/${WEBHOOK_PROJECT}/tree/master?circle-token=${CIRCLE_TOKEN}" | head -n 1 | cut -d$' ' -f2
-
integration_tests:
docker:
- - image: mythril/mythx-ci
- working_directory: /home
+ - image: circleci/python:3.6.4
+ working_directory: ~/project
steps:
- - checkout:
- path: /home/mythril-classic
+ - checkout
+ - setup_remote_docker
- run:
- name: Builds `mythril-classic`
- command: cd mythril-classic && python3 setup.py install
+ name: Clone Edelweiss
+ command: git clone --recurse-submodules https://$GITHUB_TOKEN@github.com/Consensys/Edelweiss.git
- run:
- name: Installs other MythX components
- command: |
- ./install-mythx-components.sh pythx edelweiss harvey-cli \
- harvey-tyro maestro maru maru-tyro mythril-api \
- mythril-tyro tyro
+ name: Update SWC-registry
+ working_directory: ~/project/Edelweiss
+ command: git submodule update --recursive --remote
- run:
- background: true
- name: Launches MythX platform
- command: ./launch-mythx.sh
- - run:
- name: Waits for MythX to spin-up
- command: sleep 15s
+ name: Build Edelweiss
+ command: |
+ docker build \
+ --build-arg AWS_ACCESS_KEY_ID=$S3_AWS_ACCESS_KEY_ID \
+ --build-arg AWS_SECRET_ACCESS_KEY=$S3_AWS_SECRET_ACCESS_KEY \
+ --build-arg AWS_DEFAULT_REGION=us-east-1 --rm -t "edelweiss-mythril:latest" . -f Edelweiss/dockerfiles/mythril/Dockerfile
- run:
- name: Quick Edelweiss test
- command: /home/run-edelweiss-test.sh CircleCI/latest.quick.csv 5
-
- # TODO: Temporary disabled
- # - run:
- # name: Full Edelweiss test
- # environment:
- # MYTHX_API_FULL_MODE: true
- # command: /home/run-edelweiss-test.sh CircleCI/latest.full.csv
+ name: Run Edelweiss
+ command: |
+ docker run \
+ -e CIRCLE_BUILD_NUM=$CIRCLE_BUILD_NUM \
+ -e CIRCLE_BUILD_URL=$CIRCLE_BUILD_URL \
+ -e CIRCLE_WEBHOOK_URL=$CIRCLE_WEBHOOK_URL \
+ --rm edelweiss-mythril:latest \
+ --timeout 30 \
+ --output-dir /opt/edelweiss \
+ --plugin-dir /opt/mythril \
+ --s3 \
+ --circle-ci CircleCI/mythril.csv \
+ --ignore-false-positives $IGNORE_FALSE_POSITIVES \
+ --ignore-regressions $IGNORE_REGRESSIONS
pypi_release:
<<: *defaults
diff --git a/Dockerfile b/Dockerfile
index 9843f72a..eb1c32b8 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -39,8 +39,6 @@ COPY . /opt/mythril
RUN cd /opt/mythril \
&& python setup.py install
-RUN useradd -m mythril
-USER mythril
WORKDIR /home/mythril
RUN ( [ ! -z "${SOLC}" ] && set -e && for ver in $SOLC; do python -m solc.install v${ver}; done ) || true
diff --git a/Pipfile b/Pipfile
deleted file mode 100644
index 753481aa..00000000
--- a/Pipfile
+++ /dev/null
@@ -1,19 +0,0 @@
-[[source]]
-url = "https://pypi.python.org/simple"
-verify_ssl = true
-name = "pypi"
-
-[packages]
-"e1839a8" = {path = ".", editable = true}
-
-[dev-packages]
-pylint = "*"
-yapf = "*"
-pytest = "*"
-pytest-mock = "*"
-pytest-cov = "*"
-
-[requires]
-
-[pipenv]
-allow_prereleases = true
diff --git a/README.md b/README.md
index ad0e66dc..586d6fd8 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-# Mythril Classic
+# Mythril
@@ -7,17 +7,14 @@
[![Discord](https://img.shields.io/discord/481002907366588416.svg)](https://discord.gg/E3YrVtG)
[![PyPI](https://badge.fury.io/py/mythril.svg)](https://pypi.python.org/pypi/mythril)
[![Read the Docs](https://readthedocs.org/projects/mythril-classic/badge/?version=master)](https://mythril-classic.readthedocs.io/en/master/)
-![Master Build Status](https://img.shields.io/circleci/project/github/ConsenSys/mythril-classic/master.svg)
-[![Waffle.io - Columns and their card count](https://badge.waffle.io/ConsenSys/mythril-classic.svg?columns=In%20Progress)](https://waffle.io/ConsenSys/mythril-classic/)
+![Master Build Status](https://img.shields.io/circleci/build/github/ConsenSys/mythril.svg?token=97124ecfaee54366859cae98b5dafc0714325f8b)
[![Sonarcloud - Maintainability](https://sonarcloud.io/api/project_badges/measure?project=mythril&metric=sqale_rating)](https://sonarcloud.io/dashboard?id=mythril)
-[![Downloads](https://pepy.tech/badge/mythril)](https://pepy.tech/project/mythril)
+[![Pypi Installs](https://pepy.tech/badge/mythril)](https://pepy.tech/project/mythril)
+[![DockerHub Pulls](https://img.shields.io/docker/pulls/mythril/myth.svg?label=DockerHub Pulls)](https://cloud.docker.com/u/mythril/repository/docker/mythril/myth)
-Mythril Classic is an open-source security analysis tool for Ethereum smart contracts. It uses symbolic analysis, taint analysis and control flow checking to detect a variety of security vulnerabilities.
+Mythril is a security analysis tool for EVM bytecode. It detects security vulnerabilities in smart contracts built for Ethereum, Quorum, Vechain, Roostock, Tron and other EVM-compatible blockchains. It uses symbolic execution, SMT solving and taint analysis detect a variety of security vulnerabilities. It's also used (in combination with other tools and techniques) in the [MythX](https://mythx.io) security analysis platform.
-Note that Mythril Classic is designed for security auditors. If you are a smart contract developer, we recommend using [MythX tools](https://github.com/b-mueller/awesome-mythx-smart-contract-security) which are optimized for usability and cover a wider range of security issues:
-
-- [Sabre](https://github.com/b-mueller/sabre)
-- [MythX Plugin for Truffle](https://github.com/ConsenSys/truffle-security)
+If you are a smart contract developer, we recommend using [MythX tools](https://github.com/b-mueller/awesome-mythx-smart-contract-security) which are optimized for usability and cover a wider range of security issues.
Whether you want to contribute, need support, or want to learn what we have cooking for the future, our [Discord server](https://discord.gg/E3YrVtG) will serve your needs.
@@ -39,12 +36,12 @@ See the [Wiki](https://github.com/ConsenSys/mythril/wiki/Installation-and-Setup)
## Usage
-Instructions for using Mythril Classic are found on the [Wiki](https://github.com/ConsenSys/mythril-classic/wiki).
+Instructions for using Mythril are found on the [Wiki](https://github.com/ConsenSys/mythril/wiki).
For support or general discussions please join the Mythril community on [Discord](https://discord.gg/E3YrVtG).
## Bulding the Documentation
-Mythril Classic's documentation is contained in the `docs` folder and is published to [Read the Docs](https://mythril-classic.readthedocs.io/en/master/). It is based on Sphinx and can be built using the Makefile contained in the subdirectory:
+Mythril's documentation is contained in the `docs` folder and is published to [Read the Docs](https://mythril-classic.readthedocs.io/en/master/). It is based on Sphinx and can be built using the Makefile contained in the subdirectory:
```
cd docs
diff --git a/docs/source/about.rst b/docs/source/about.rst
index edfdc308..169fe4f7 100644
--- a/docs/source/about.rst
+++ b/docs/source/about.rst
@@ -1,6 +1,6 @@
-What is Mythril Classic?
+What is Mythril?
========================
-Mythril Classic is a security analysis tool for Ethereum smart contracts. It was `introduced at HITBSecConf 2018 `_.
+Mythril is a security analysis tool for Ethereum smart contracts. It was `introduced at HITBSecConf 2018 `_.
-Mythril Classic detects a range of security issues, including integer underflows, owner-overwrite-to-Ether-withdrawal, and others. Note that Mythril is targeted at finding common vulnerabilities, and is not able to discover issues in the business logic of an application. Furthermore, Mythril and symbolic executors are generally unsound, as they are often unable to explore all possible states of a program.
+Mythril detects a range of security issues, including integer underflows, owner-overwrite-to-Ether-withdrawal, and others. Note that Mythril is targeted at finding common vulnerabilities, and is not able to discover issues in the business logic of an application. Furthermore, Mythril and symbolic executors are generally unsound, as they are often unable to explore all possible states of a program.
diff --git a/docs/source/analysis-modules.rst b/docs/source/analysis-modules.rst
index e6e33790..d1751547 100644
--- a/docs/source/analysis-modules.rst
+++ b/docs/source/analysis-modules.rst
@@ -1,7 +1,7 @@
Analysis Modules
================
-Mythril Classic's detection capabilities are written in modules in the `/analysis/modules `_ directory.
+Mythril's detection capabilities are written in modules in the `/analysis/modules `_ directory.
.. toctree::
diff --git a/docs/source/conf.py b/docs/source/conf.py
index 36f41a8c..1c06fbc4 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -20,14 +20,14 @@ sys.path.insert(0, os.path.abspath("../../"))
# -- Project information -----------------------------------------------------
-project = "Mythril Classic"
-copyright = "2018, Bernhard Mueller"
-author = "Bernhard Mueller"
+project = "Mythril"
+copyright = "2019, ConsenSys Diligence"
+author = "ConsenSys Dilligence"
# The short X.Y version
version = ""
# The full version, including alpha/beta/rc tags
-from mythril.version import VERSION
+from mythril.__version__ import __version__ as VERSION
release = VERSION
@@ -108,7 +108,7 @@ html_static_path = ["_static"]
# -- Options for HTMLHelp output ---------------------------------------------
# Output file base name for HTML help builder.
-htmlhelp_basename = "MythrilClassicdoc"
+htmlhelp_basename = "Mythrildoc"
# -- Options for LaTeX output ------------------------------------------------
@@ -132,13 +132,7 @@ latex_elements = {
# (source start file, target name, title,
# author, documentclass [howto, manual, or own class]).
latex_documents = [
- (
- master_doc,
- "MythrilClassic.tex",
- "Mythril Classic Documentation",
- "Bernhard Mueller",
- "manual",
- )
+ (master_doc, "Mythril.tex", "Mythril Documentation", "Bernhard Mueller", "manual")
]
@@ -146,9 +140,7 @@ latex_documents = [
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
-man_pages = [
- (master_doc, "mythrilclassic", "Mythril Classic Documentation", [author], 1)
-]
+man_pages = [(master_doc, "mythril", "Mythril Documentation", [author], 1)]
# -- Options for Texinfo output ----------------------------------------------
@@ -159,10 +151,10 @@ man_pages = [
texinfo_documents = [
(
master_doc,
- "MythrilClassic",
- "Mythril Classic Documentation",
+ "Mythril",
+ "Mythril Documentation",
author,
- "MythrilClassic",
+ "Mythril",
"One line description of project.",
"Miscellaneous",
)
diff --git a/docs/source/create-module.rst b/docs/source/create-module.rst
index 84aa2cc4..7f6ef505 100644
--- a/docs/source/create-module.rst
+++ b/docs/source/create-module.rst
@@ -1,4 +1,4 @@
Creating a Module
=================
-Create a module in the :code:`analysis/modules` directory, and create an instance of a class that inherits :code:`DetectionModule` named :code:`detector`. Take a look at the `suicide module `_ as an example.
+Create a module in the :code:`analysis/modules` directory, and create an instance of a class that inherits :code:`DetectionModule` named :code:`detector`. Take a look at the `suicide module `_ as an example.
diff --git a/docs/source/index.rst b/docs/source/index.rst
index 9bbabc49..e3f9df42 100644
--- a/docs/source/index.rst
+++ b/docs/source/index.rst
@@ -1,4 +1,4 @@
-Welcome to Mythril Classic's documentation!
+Welcome to Mythril's documentation!
===========================================
.. toctree::
diff --git a/docs/source/module-list.rst b/docs/source/module-list.rst
index d7dffa23..11c40d02 100644
--- a/docs/source/module-list.rst
+++ b/docs/source/module-list.rst
@@ -5,64 +5,65 @@ Modules
Delegate Call To Untrusted Contract
***********************************
-The `delegatecall module `_ detects `SWC-112 (DELEGATECALL to Untrusted Callee) `_.
+The `delegatecall module `_ detects `SWC-112 (DELEGATECALL to Untrusted Callee) `_.
***********************************
Dependence on Predictable Variables
***********************************
-The `predictable variables module `_ detects `SWC-120 (Weak Randomness) `_ and `SWC-116 (Timestamp Dependence) `_.
+The `predictable variables module `_ detects `SWC-120 (Weak Randomness) `_ and `SWC-116 (Timestamp Dependence) `_.
******************
Deprecated Opcodes
******************
-The `deprecated opcodes module `_ detects `SWC-111 (Use of Deprecated Functions) `_.
+The `deprecated opcodes module `_ detects `SWC-111 (Use of Deprecated Functions) `_.
***********
Ether Thief
***********
-The `Ether Thief module `_ detects `SWC-105 (Unprotected Ether Withdrawal) `_.
+The `Ether Thief module `_ detects `SWC-105 (Unprotected Ether Withdrawal) `_.
**********
Exceptions
**********
-The `exceptions module `_ detects `SWC-110 (Assert Violation) `_.
+The `exceptions module `_ detects `SWC-110 (Assert Violation) `_.
**************
External Calls
**************
-The `external calls module `_ detects `SWC-117 (Reentrancy) `_ by detecting state changes after calls to external contracts.
+The `external calls module `_ warns about `SWC-117 (Reentrancy) `_ by detecting calls to external contracts.
*******
Integer
*******
-The `integer module `_ detects `SWC-101 (Integer Overflow and Underflow) `_.
+The `integer module `_ detects `SWC-101 (Integer Overflow and Underflow) `_.
**************
Multiple Sends
**************
-The `multiple sends module `_ detects `SWC-113 (Denial of Service with Failed Call) `_ by checking for multiple calls or sends in a single transaction.
+The `multiple sends module `_ detects `SWC-113 (Denial of Service with Failed Call) `_ by checking for multiple calls or sends in a single transaction.
*******
Suicide
*******
-The `suicide module `_ detects `SWC-106 (Unprotected SELFDESTRUCT) `_.
+The `suicide module `_ detects `SWC-106 (Unprotected SELFDESTRUCT) `_.
+
****************************
-Transaction Order Dependence
+State Change External Calls
****************************
-The `transaction order dependence module `_ detects `SWC-114 (Transaction Order Dependence / Race Conditions) `_.
+The `state change external calls module `_ detects `SWC-107 (Reentrancy) `_ by detecting state change after calls to an external contract.
****************
Unchecked Retval
****************
-The `unchecked retval module `_ detects `SWC-104 (Unchecked Call Return Value) `_.
+The `unchecked retval module `_ detects `SWC-104 (Unchecked Call Return Value) `_.
diff --git a/docs/source/security-analysis.rst b/docs/source/security-analysis.rst
index afe348a4..4cd1010e 100644
--- a/docs/source/security-analysis.rst
+++ b/docs/source/security-analysis.rst
@@ -1,7 +1,7 @@
Security Analysis
=================
-Run :code:`myth -x` with one of the input options described below will run the analysis modules in the `/analysis/modules `_ directory.
+Run :code:`myth -x` with one of the input options described below will run the analysis modules in the `/analysis/modules `_ directory.
***********************
Analyzing Solidity Code
diff --git a/mythril/__init__.py b/mythril/__init__.py
index bfd74099..063d3b9b 100644
--- a/mythril/__init__.py
+++ b/mythril/__init__.py
@@ -3,4 +3,4 @@
__docformat__ = "restructuredtext"
# Accept mythril.VERSION to get mythril's current version number
-from .version import VERSION # NOQA
+from .__version__ import __version__ as VERSION # NOQA
diff --git a/mythril/version.py b/mythril/__version__.py
similarity index 85%
rename from mythril/version.py
rename to mythril/__version__.py
index 7896986e..98d54729 100644
--- a/mythril/version.py
+++ b/mythril/__version__.py
@@ -4,4 +4,4 @@ This file is suitable for sourcing inside POSIX shell, e.g. bash as well
as for importing into Python.
"""
-VERSION = "v0.20.6" # NOQA
+__version__ = "v0.21.2"
diff --git a/mythril/analysis/modules/base.py b/mythril/analysis/modules/base.py
index d7075109..e66c2e6d 100644
--- a/mythril/analysis/modules/base.py
+++ b/mythril/analysis/modules/base.py
@@ -49,12 +49,26 @@ class DetectionModule:
"""
self._issues = []
- def execute(self, statespace):
+ def execute(self, statespace) -> None:
"""The entry point for execution, which is being called by Mythril.
:param statespace:
:return:
"""
+
+ log.debug("Entering analysis module: {}".format(self.__class__.__name__))
+
+ self._execute(statespace)
+
+ log.debug("Exiting analysis module: {}".format(self.__class__.__name__))
+
+ def _execute(self, statespace):
+ """Module main method (override this)
+
+ :param statespace:
+ :return:
+ """
+
raise NotImplementedError()
def __repr__(self) -> str:
diff --git a/mythril/analysis/modules/delegatecall.py b/mythril/analysis/modules/delegatecall.py
index 3ef4a338..52b656ee 100644
--- a/mythril/analysis/modules/delegatecall.py
+++ b/mythril/analysis/modules/delegatecall.py
@@ -1,19 +1,79 @@
"""This module contains the detection code for insecure delegate call usage."""
-import re
+import json
import logging
-from typing import List
+from copy import copy
+from typing import List, cast, Dict
+from mythril.analysis import solver
from mythril.analysis.swc_data import DELEGATECALL_TO_UNTRUSTED_CONTRACT
-from mythril.analysis.ops import get_variable, VarType, Call, Variable
+from mythril.laser.ethereum.transaction.symbolic import ATTACKER_ADDRESS
+from mythril.laser.ethereum.transaction.transaction_models import (
+ ContractCreationTransaction,
+)
from mythril.analysis.report import Issue
-from mythril.analysis.call_helpers import get_call_from_state
from mythril.analysis.modules.base import DetectionModule
+from mythril.exceptions import UnsatError
+from mythril.laser.ethereum.state.annotation import StateAnnotation
from mythril.laser.ethereum.state.global_state import GlobalState
-
+from mythril.laser.smt import symbol_factory, UGT
log = logging.getLogger(__name__)
+class DelegateCallAnnotation(StateAnnotation):
+ def __init__(self, call_state: GlobalState, constraints: List) -> None:
+ """
+ Initialize DelegateCall Annotation
+ :param call_state: Call state
+ """
+ self.call_state = call_state
+ self.constraints = constraints
+ self.return_value = call_state.new_bitvec(
+ "retval_{}".format(call_state.get_current_instruction()["address"]), 256
+ )
+
+ def _copy__(self):
+ return DelegateCallAnnotation(self.call_state, copy(self.constraints))
+
+ def get_issue(self, global_state: GlobalState, transaction_sequence: Dict) -> Issue:
+ """
+ Returns Issue for the annotation
+ :param global_state: Global State
+ :param transaction_sequence: Transaction sequence
+ :return: Issue
+ """
+
+ address = self.call_state.get_current_instruction()["address"]
+ logging.debug(
+ "[DELEGATECALL] Detected delegatecall to a user-supplied address : {}".format(
+ address
+ )
+ )
+ description_head = "The contract delegates execution to another contract with a user-supplied address."
+ description_tail = (
+ "The smart contract delegates execution to a user-supplied address. Note that callers "
+ "can execute arbitrary contracts and that the callee contract "
+ "can access the storage of the calling contract. "
+ )
+
+ return Issue(
+ contract=self.call_state.environment.active_account.contract_name,
+ function_name=self.call_state.environment.active_function_name,
+ address=address,
+ swc_id=DELEGATECALL_TO_UNTRUSTED_CONTRACT,
+ title="Delegatecall Proxy To User-Supplied Address",
+ bytecode=global_state.environment.code.bytecode,
+ severity="Medium",
+ description_head=description_head,
+ description_tail=description_tail,
+ transaction_sequence=transaction_sequence,
+ gas_used=(
+ global_state.mstate.min_gas_used,
+ global_state.mstate.max_gas_used,
+ ),
+ )
+
+
class DelegateCallModule(DetectionModule):
"""This module detects calldata being forwarded using DELEGATECALL."""
@@ -24,18 +84,16 @@ class DelegateCallModule(DetectionModule):
swc_id=DELEGATECALL_TO_UNTRUSTED_CONTRACT,
description="Check for invocations of delegatecall(msg.data) in the fallback function.",
entrypoint="callback",
- pre_hooks=["DELEGATECALL"],
+ pre_hooks=["DELEGATECALL", "RETURN", "STOP"],
)
- def execute(self, state: GlobalState) -> list:
+ def _execute(self, state: GlobalState) -> None:
"""
:param state:
:return:
"""
- log.debug("Executing module: DELEGATE_CALL")
self._issues.extend(_analyze_states(state))
- return self.issues
def _analyze_states(state: GlobalState) -> List[Issue]:
@@ -43,59 +101,50 @@ def _analyze_states(state: GlobalState) -> List[Issue]:
:param state: the current state
:return: returns the issues for that corresponding state
"""
- call = get_call_from_state(state)
- if call is None:
- return []
- issues = [] # type: List[Issue]
+ issues = []
+ op_code = state.get_current_instruction()["opcode"]
+ annotations = cast(
+ List[DelegateCallAnnotation],
+ list(state.get_annotations(DelegateCallAnnotation)),
+ )
- if call.type is not "DELEGATECALL":
- return []
- if state.environment.active_function_name is not "fallback":
+ if len(annotations) == 0 and op_code in ("RETURN", "STOP"):
return []
- state = call.state
- address = state.get_current_instruction()["address"]
- meminstart = get_variable(state.mstate.stack[-3])
+ if op_code == "DELEGATECALL":
+ gas = state.mstate.stack[-1]
+ to = state.mstate.stack[-2]
- if meminstart.type == VarType.CONCRETE:
- issues += _concrete_call(call, state, address, meminstart)
+ constraints = [
+ to == ATTACKER_ADDRESS,
+ UGT(gas, symbol_factory.BitVecVal(2300, 256)),
+ ]
- return issues
+ for tx in state.world_state.transaction_sequence:
+ if not isinstance(tx, ContractCreationTransaction):
+ constraints.append(tx.caller == ATTACKER_ADDRESS)
+ state.annotate(DelegateCallAnnotation(state, constraints))
-def _concrete_call(
- call: Call, state: GlobalState, address: int, meminstart: Variable
-) -> List[Issue]:
- """
- :param call: The current call's information
- :param state: The current state
- :param address: The PC address
- :param meminstart: memory starting position
- :return: issues
- """
- if not re.search(r"calldata.*\[0", str(state.mstate.memory[meminstart.val])):
return []
-
- issue = Issue(
- contract=state.environment.active_account.contract_name,
- function_name=state.environment.active_function_name,
- address=address,
- swc_id=DELEGATECALL_TO_UNTRUSTED_CONTRACT,
- bytecode=state.environment.code.bytecode,
- title="Delegatecall Proxy",
- severity="Low",
- description_head="The contract implements a delegatecall proxy.",
- description_tail="The smart contract forwards the received calldata via delegatecall. Note that callers "
- "can execute arbitrary functions in the callee contract and that the callee contract "
- "can access the storage of the calling contract. "
- "Make sure that the callee contract is audited properly.",
- gas_used=(state.mstate.min_gas_used, state.mstate.max_gas_used),
- )
-
- target = hex(call.to.val) if call.to.type == VarType.CONCRETE else str(call.to)
- issue.description += "DELEGATECALL target: {}".format(target)
-
- return [issue]
+ else:
+ for annotation in annotations:
+ try:
+ transaction_sequence = solver.get_transaction_sequence(
+ state,
+ state.mstate.constraints
+ + annotation.constraints
+ + [annotation.return_value == 1],
+ )
+ issues.append(
+ annotation.get_issue(
+ state, transaction_sequence=transaction_sequence
+ )
+ )
+ except UnsatError:
+ continue
+
+ return issues
detector = DelegateCallModule()
diff --git a/mythril/analysis/modules/dependence_on_predictable_vars.py b/mythril/analysis/modules/dependence_on_predictable_vars.py
index 7a931997..747d4ab5 100644
--- a/mythril/analysis/modules/dependence_on_predictable_vars.py
+++ b/mythril/analysis/modules/dependence_on_predictable_vars.py
@@ -1,22 +1,53 @@
"""This module contains the detection code for predictable variable
dependence."""
import logging
-import re
-from mythril.analysis import solver
-from mythril.analysis.call_helpers import get_call_from_state
from mythril.analysis.modules.base import DetectionModule
-from mythril.analysis.ops import Call, VarType
from mythril.analysis.report import Issue
-from mythril.analysis.swc_data import TIMESTAMP_DEPENDENCE, WEAK_RANDOMNESS
from mythril.exceptions import UnsatError
+from mythril.analysis import solver
+from mythril.laser.smt import ULT, symbol_factory
+from mythril.analysis.swc_data import TIMESTAMP_DEPENDENCE, WEAK_RANDOMNESS
from mythril.laser.ethereum.state.global_state import GlobalState
+from mythril.laser.ethereum.state.annotation import StateAnnotation
+from typing import cast, List
+import traceback
log = logging.getLogger(__name__)
+predictable_ops = ["COINBASE", "GASLIMIT", "TIMESTAMP", "NUMBER"]
+final_ops = ["CALL", "SUICIDE", "STOP", "RETURN"]
+
+
+def is_prehook() -> bool:
+ """Check if we are in prehook. One of Bernhard's trademark hacks!"""
+ return "pre_hook" in traceback.format_stack()[-5]
+
+
+class PredictableValueAnnotation:
+ """Symbol annotation used if a variable is initialized from a predictable environment variable."""
+
+ def __init__(self, operation: str) -> None:
+ self.operation = operation
+
+
+class PredictablePathAnnotation(StateAnnotation):
+ """State annotation used when a path is chosen based on a predictable variable."""
+
+ def __init__(self, operation: str, location: int) -> None:
+ self.operation = operation
+ self.location = location
+
+
+class OldBlockNumberUsedAnnotation(StateAnnotation):
+ """State annotation set in blockhash prehook if the input value is lower than the current block number."""
+
+ def __init__(self) -> None:
+ pass
+
class PredictableDependenceModule(DetectionModule):
- """This module detects whether Ether is sent using predictable
+ """This module detects whether control flow decisions are made using predictable
parameters."""
def __init__(self) -> None:
@@ -25,26 +56,22 @@ class PredictableDependenceModule(DetectionModule):
name="Dependence of Predictable Variables",
swc_id="{} {}".format(TIMESTAMP_DEPENDENCE, WEAK_RANDOMNESS),
description=(
- "Check for CALLs that send >0 Ether as a result of computation "
- "based on predictable variables such as block.coinbase, "
- "block.gaslimit, block.timestamp, block.number"
+ "Check whether important control flow decisions are influenced by block.coinbase,"
+ "block.gaslimit, block.timestamp or block.number."
),
entrypoint="callback",
- pre_hooks=["CALL", "CALLCODE", "DELEGATECALL", "STATICCALL"],
+ pre_hooks=["BLOCKHASH", "JUMPI"] + final_ops,
+ post_hooks=["BLOCKHASH"] + predictable_ops,
)
- def execute(self, state: GlobalState) -> list:
+ def _execute(self, state: GlobalState) -> None:
"""
:param state:
:return:
"""
- log.debug("Executing module: DEPENDENCE_ON_PREDICTABLE_VARS")
- self._issues.extend(_analyze_states(state))
- return self.issues
-
-detector = PredictableDependenceModule()
+ self._issues.extend(_analyze_states(state))
def _analyze_states(state: GlobalState) -> list:
@@ -53,172 +80,125 @@ def _analyze_states(state: GlobalState) -> list:
:param state:
:return:
"""
+
issues = []
- call = get_call_from_state(state)
- if call is None:
- return []
- if "callvalue" in str(call.value):
- log.debug("[DEPENDENCE_ON_PREDICTABLE_VARS] Skipping refund function")
- return []
-
- # We're only interested in calls that send Ether
- if call.value.type == VarType.CONCRETE and call.value.val == 0:
- return []
-
- address = call.state.get_current_instruction()["address"]
-
- description = (
- "The contract sends Ether depending on the values of the following variables:\n"
- )
-
- # First check: look for predictable state variables in state & call recipient constraints
-
- vars = ["coinbase", "gaslimit", "timestamp", "number"]
- found = []
-
- for var in vars:
- for constraint in call.state.mstate.constraints[:] + [call.to]:
- if var in str(constraint):
- found.append(var)
-
- if len(found):
- for item in found:
- description += "- block.{}\n".format(item)
- if solve(call):
- swc_id = TIMESTAMP_DEPENDENCE if item == "timestamp" else WEAK_RANDOMNESS
-
- description += (
- "Note that the values of variables like coinbase, gaslimit, block number and timestamp "
- "are predictable and/or can be manipulated by a malicious miner. "
- "Don't use them for random number generation or to make critical decisions."
- )
- issue = Issue(
- contract=state.environment.active_account.contract_name,
- function_name=state.environment.active_function_name,
- address=address,
- swc_id=swc_id,
- bytecode=call.state.environment.code.bytecode,
- title="Dependence on predictable environment variable",
- severity="Low",
- description_head="Sending of Ether depends on a predictable variable.",
- description_tail=description,
- gas_used=(
- call.state.mstate.min_gas_used,
- call.state.mstate.max_gas_used,
- ),
- )
- issues.append(issue)
+ if is_prehook():
- # Second check: blockhash
+ opcode = state.get_current_instruction()["opcode"]
- for constraint in call.state.mstate.constraints[:] + [call.to]:
- if "blockhash" in str(constraint):
- if "number" in str(constraint):
- m = re.search(r"blockhash\w+(\s-\s(\d+))*", str(constraint))
- if m and solve(call):
+ if opcode in final_ops:
- found_item = m.group(1)
+ for annotation in state.annotations:
- if found_item: # block.blockhash(block.number - N)
- description = (
- "The predictable expression 'block.blockhash(block.number - "
- + m.group(2)
- + ")' is used to determine Ether recipient"
- )
- if int(m.group(2)) > 255:
- description += (
- ", this expression will always be equal to zero."
- )
- elif "storage" in str(
- constraint
- ): # block.blockhash(block.number - storage_0)
- description = (
- "The predictable expression 'block.blockhash(block.number - "
- + "some_storage_var)' is used to determine Ether recipient"
- )
- else: # block.blockhash(block.number)
- description = (
- "The predictable expression 'block.blockhash(block.number)'"
- + " is used to determine Ether recipient"
- )
- description += ", this expression will always be equal to zero."
+ if isinstance(annotation, PredictablePathAnnotation):
+ description = (
+ "The "
+ + annotation.operation
+ + " is used in to determine a control flow decision. "
+ )
+ description += (
+ "Note that the values of variables like coinbase, gaslimit, block number and timestamp "
+ "are predictable and can be manipulated by a malicious miner. Also keep in mind that attackers "
+ "know hashes of earlier blocks. Don't use any of those environment variables for random number "
+ "generation or to make critical control flow decisions."
+ )
+
+ """
+ Usually report low severity except in cases where the hash of a previous block is used to
+ determine control flow.
+ """
+
+ severity = "Medium" if "hash" in annotation.operation else "Low"
+
+ """
+ Note: We report the location of the JUMPI that lead to this path. Usually this maps to an if or
+ require statement.
+ """
+
+ swc_id = (
+ TIMESTAMP_DEPENDENCE
+ if "timestamp" in annotation.operation
+ else WEAK_RANDOMNESS
+ )
issue = Issue(
contract=state.environment.active_account.contract_name,
function_name=state.environment.active_function_name,
- address=address,
- bytecode=call.state.environment.code.bytecode,
- title="Dependence on Predictable Variable",
- severity="Low",
- description_head="Sending of Ether depends on the blockhash.",
+ address=annotation.location,
+ swc_id=swc_id,
+ bytecode=state.environment.code.bytecode,
+ title="Dependence on predictable environment variable",
+ severity=severity,
+ description_head="A control flow decision is made based on a predictable variable.",
description_tail=description,
- swc_id=WEAK_RANDOMNESS,
- gas_used=(
- call.state.mstate.min_gas_used,
- call.state.mstate.max_gas_used,
- ),
+ gas_used=(state.mstate.min_gas_used, state.mstate.max_gas_used),
)
issues.append(issue)
- break
- else:
- r = re.search(r"storage_([a-z0-9_&^]+)", str(constraint))
- if r: # block.blockhash(storage_0)
+ elif opcode == "JUMPI":
- """We actually can do better here by adding a constraint
- blockhash_block_storage_0 == 0 and checking model
- satisfiability.
+ # Look for predictable state variables in jump condition
- When this is done, severity can be raised from
- 'Informational' to 'Warning'. Checking that storage
- at given index can be tainted is not necessary,
- since it usually contains block.number of the
- 'commit' transaction in commit-reveal workflow.
- """
+ for annotation in state.mstate.stack[-2].annotations:
- index = r.group(1)
- if index and solve(call):
- description = (
- "A block hash is calculated using the block.blockhash(uint blockNumber) method. "
- "The block number is obtained from storage index {}".format(
- index
- )
+ if isinstance(annotation, PredictableValueAnnotation):
+ state.annotate(
+ PredictablePathAnnotation(
+ annotation.operation,
+ state.get_current_instruction()["address"],
)
- issue = Issue(
- contract=state.environment.active_account.contract_name,
- function_name=state.environment.active_function_name,
- address=address,
- bytecode=call.state.environment.code.bytecode,
- title="Dependence on Predictable Variable",
- severity="Low",
- description_head="Sending of Ether depends on the blockhash.",
- description_tail=description,
- swc_id=WEAK_RANDOMNESS,
- gas_used=(
- call.state.mstate.min_gas_used,
- call.state.mstate.max_gas_used,
- ),
- )
- issues.append(issue)
- break
- return issues
+ )
+ break
+ elif opcode == "BLOCKHASH":
-def solve(call: Call) -> bool:
- """
+ param = state.mstate.stack[-1]
- :param call:
- :return:
- """
- try:
- model = solver.get_model(call.state.mstate.constraints)
- log.debug("[DEPENDENCE_ON_PREDICTABLE_VARS] MODEL: " + str(model))
- pretty_model = solver.pretty_print_model(model)
+ try:
+ constraint = [
+ ULT(param, state.environment.block_number),
+ ULT(
+ state.environment.block_number,
+ symbol_factory.BitVecVal(2 ** 255, 256),
+ ),
+ ]
+
+ # Why the second constraint? Because without it Z3 returns a solution where param overflows.
+
+ solver.get_model(constraint)
+ state.annotate(OldBlockNumberUsedAnnotation())
- log.debug("[DEPENDENCE_ON_PREDICTABLE_VARS] main model: \n%s" % pretty_model)
- return True
+ except UnsatError:
+ pass
- except UnsatError:
- log.debug("[DEPENDENCE_ON_PREDICTABLE_VARS] no model found")
- return False
+ else:
+ # we're in post hook
+
+ opcode = state.environment.code.instruction_list[state.mstate.pc - 1]["opcode"]
+
+ if opcode == "BLOCKHASH":
+ # if we're in the post hook of a BLOCKHASH op, check if an old block number was used to create it.
+
+ annotations = cast(
+ List[OldBlockNumberUsedAnnotation],
+ list(state.get_annotations(OldBlockNumberUsedAnnotation)),
+ )
+
+ if len(annotations):
+ state.mstate.stack[-1].annotate(
+ PredictableValueAnnotation("block hash of a previous block")
+ )
+ else:
+ # Always create an annotation when COINBASE, GASLIMIT, TIMESTAMP or NUMBER is executed.
+
+ state.mstate.stack[-1].annotate(
+ PredictableValueAnnotation(
+ "block.{} environment variable".format(opcode.lower())
+ )
+ )
+
+ return issues
+
+
+detector = PredictableDependenceModule()
diff --git a/mythril/analysis/modules/deprecated_ops.py b/mythril/analysis/modules/deprecated_ops.py
index 6e8adacc..24553ffc 100644
--- a/mythril/analysis/modules/deprecated_ops.py
+++ b/mythril/analysis/modules/deprecated_ops.py
@@ -76,14 +76,13 @@ class DeprecatedOperationsModule(DetectionModule):
pre_hooks=["ORIGIN", "CALLCODE"],
)
- def execute(self, state: GlobalState):
+ def _execute(self, state: GlobalState) -> None:
"""
:param state:
:return:
"""
self._issues.extend(_analyze_state(state))
- return self.issues
detector = DeprecatedOperationsModule()
diff --git a/mythril/analysis/modules/dos.py b/mythril/analysis/modules/dos.py
new file mode 100644
index 00000000..3134363c
--- /dev/null
+++ b/mythril/analysis/modules/dos.py
@@ -0,0 +1,127 @@
+"""This module contains the detection code SWC-128 - DOS with block gas limit."""
+
+import logging
+from typing import Dict, cast, List
+
+from mythril.analysis.swc_data import DOS_WITH_BLOCK_GAS_LIMIT
+from mythril.analysis.report import Issue
+from mythril.analysis.modules.base import DetectionModule
+from mythril.laser.ethereum.state.global_state import GlobalState
+from mythril.laser.ethereum.state.annotation import StateAnnotation
+from mythril.laser.ethereum import util
+
+log = logging.getLogger(__name__)
+
+
+class LoopAnnotation(StateAnnotation):
+ def __init__(self, loop_start: int, loop_end: int) -> None:
+ self.loop_start = loop_start
+ self.loop_end = loop_end
+
+ def contains(self, address: int) -> bool:
+ return self.loop_start < address < self.loop_end
+
+
+class DOS(DetectionModule):
+ """This module consists of a makeshift loop detector that annotates the state with
+ a list of byte ranges likely to be loops. If a CALL or SSTORE detection is found in
+ one of the ranges it creates a low-severity issue. This is not super precise but
+ good enough to identify places that warrant a closer look. Checking the loop condition
+ would be a possible improvement.
+ """
+
+ def __init__(self) -> None:
+ """"""
+ super().__init__(
+ name="DOS",
+ swc_id=DOS_WITH_BLOCK_GAS_LIMIT,
+ description="Check for DOS",
+ entrypoint="callback",
+ pre_hooks=["JUMPI", "CALL", "SSTORE"],
+ )
+
+ """Keeps track of how often jump destinations are reached."""
+ self._jumpdest_count = {} # type: Dict[object, dict]
+
+ def _execute(self, state: GlobalState) -> None:
+
+ """
+ :param state:
+ :return:
+ """
+
+ self._issues.extend(self._analyze_states(state))
+
+ def _analyze_states(self, state: GlobalState) -> List[Issue]:
+ """
+ :param state: the current state
+ :return: returns the issues for that corresponding state
+ """
+
+ opcode = state.get_current_instruction()["opcode"]
+ address = state.get_current_instruction()["address"]
+
+ if opcode == "JUMPI":
+
+ target = util.get_concrete_int(state.mstate.stack[-1])
+
+ transaction = state.current_transaction
+ if state.current_transaction in self._jumpdest_count:
+
+ try:
+ self._jumpdest_count[transaction][target] += 1
+ if self._jumpdest_count[transaction][target] == 3:
+
+ annotation = (
+ LoopAnnotation(address, target)
+ if target > address
+ else LoopAnnotation(target, address)
+ )
+
+ state.annotate(annotation)
+ except KeyError:
+ self._jumpdest_count[transaction][target] = 0
+
+ else:
+ self._jumpdest_count[transaction] = {}
+ self._jumpdest_count[transaction][target] = 0
+
+ else:
+
+ annotations = cast(
+ List[LoopAnnotation], list(state.get_annotations(LoopAnnotation))
+ )
+
+ for annotation in annotations:
+
+ if annotation.contains(address):
+
+ operation = (
+ "A storage modification"
+ if opcode == "SSTORE"
+ else "An external call"
+ )
+
+ description_head = (
+ "Potential denial-of-service if block gas limit is reached."
+ )
+ description_tail = "{} is executed in a loop.".format(operation)
+
+ issue = Issue(
+ contract=state.environment.active_account.contract_name,
+ function_name=state.environment.active_function_name,
+ address=annotation.loop_start,
+ swc_id=DOS_WITH_BLOCK_GAS_LIMIT,
+ bytecode=state.environment.code.bytecode,
+ title="Potential denial-of-service if block gas limit is reached",
+ severity="Low",
+ description_head=description_head,
+ description_tail=description_tail,
+ gas_used=(state.mstate.min_gas_used, state.mstate.max_gas_used),
+ )
+ return [issue]
+
+ return []
+
+
+detector = DOS()
diff --git a/mythril/analysis/modules/ether_thief.py b/mythril/analysis/modules/ether_thief.py
index d382ca07..293b4f69 100644
--- a/mythril/analysis/modules/ether_thief.py
+++ b/mythril/analysis/modules/ether_thief.py
@@ -7,6 +7,10 @@ from copy import copy
from mythril.analysis import solver
from mythril.analysis.modules.base import DetectionModule
from mythril.analysis.report import Issue
+from mythril.laser.ethereum.transaction.symbolic import ATTACKER_ADDRESS
+from mythril.laser.ethereum.transaction.transaction_models import (
+ ContractCreationTransaction,
+)
from mythril.analysis.swc_data import UNPROTECTED_ETHER_WITHDRAWAL
from mythril.exceptions import UnsatError
from mythril.laser.ethereum.state.global_state import GlobalState
@@ -51,14 +55,13 @@ class EtherThief(DetectionModule):
super().reset_module()
self._cache_addresses = {}
- def execute(self, state: GlobalState):
+ def _execute(self, state: GlobalState) -> None:
"""
:param state:
:return:
"""
self._issues.extend(self._analyze_state(state))
- return self.issues
def _analyze_state(self, state):
"""
@@ -82,23 +85,18 @@ class EtherThief(DetectionModule):
constraints = copy(state.mstate.constraints)
for tx in state.world_state.transaction_sequence:
- if tx.caller == 0xDEADBEEFDEADBEEFDEADBEEFDEADBEEFDEADBEEF:
- # There's sometimes no overflow check on balances added.
- # But we don't care about attacks that require more 2^^256 ETH to be sent.
+ constraints += [BVAddNoOverflow(eth_sent_total, tx.call_value, False)]
+ eth_sent_total = Sum(eth_sent_total, tx.call_value)
- constraints += [BVAddNoOverflow(eth_sent_total, tx.call_value, False)]
- eth_sent_total = Sum(eth_sent_total, tx.call_value)
- constraints += [
- UGT(call_value, eth_sent_total),
- target == state.environment.sender,
- ]
+ if not isinstance(tx, ContractCreationTransaction):
+ constraints.append(tx.caller == ATTACKER_ADDRESS)
+
+ constraints += [UGT(call_value, eth_sent_total), target == ATTACKER_ADDRESS]
try:
transaction_sequence = solver.get_transaction_sequence(state, constraints)
- debug = json.dumps(transaction_sequence, indent=4)
-
issue = Issue(
contract=state.environment.active_account.contract_name,
function_name=state.environment.active_function_name,
@@ -111,14 +109,14 @@ class EtherThief(DetectionModule):
description_tail="Arbitrary senders other than the contract creator can withdraw ETH from the contract"
+ " account without previously having sent an equivalent amount of ETH to it. This is likely to be"
+ " a vulnerability.",
- debug=debug,
+ transaction_sequence=transaction_sequence,
gas_used=(state.mstate.min_gas_used, state.mstate.max_gas_used),
)
except UnsatError:
log.debug("[ETHER_THIEF] no model found")
return []
- self._cache_addresses[address] = True
+ # self._cache_addresses[address] = True
return [issue]
diff --git a/mythril/analysis/modules/exceptions.py b/mythril/analysis/modules/exceptions.py
index 8eaf6400..f589ba79 100644
--- a/mythril/analysis/modules/exceptions.py
+++ b/mythril/analysis/modules/exceptions.py
@@ -18,8 +18,6 @@ def _analyze_state(state) -> list:
:param state:
:return:
"""
- log.info("Exceptions module: found ASSERT_FAIL instruction")
-
log.debug("ASSERT_FAIL in function " + state.environment.active_function_name)
try:
@@ -36,7 +34,6 @@ def _analyze_state(state) -> list:
transaction_sequence = solver.get_transaction_sequence(
state, state.mstate.constraints
)
- debug = json.dumps(transaction_sequence, indent=4)
issue = Issue(
contract=state.environment.active_account.contract_name,
@@ -48,7 +45,7 @@ def _analyze_state(state) -> list:
description_head="A reachable exception has been detected.",
description_tail=description_tail,
bytecode=state.environment.code.bytecode,
- debug=debug,
+ transaction_sequence=transaction_sequence,
gas_used=(state.mstate.min_gas_used, state.mstate.max_gas_used),
)
return [issue]
@@ -72,14 +69,13 @@ class ReachableExceptionsModule(DetectionModule):
pre_hooks=["ASSERT_FAIL"],
)
- def execute(self, state: GlobalState) -> list:
+ def _execute(self, state: GlobalState) -> None:
"""
:param state:
:return:
"""
self._issues.extend(_analyze_state(state))
- return self.issues
detector = ReachableExceptionsModule()
diff --git a/mythril/analysis/modules/external_calls.py b/mythril/analysis/modules/external_calls.py
index e24470a6..c4230cb9 100644
--- a/mythril/analysis/modules/external_calls.py
+++ b/mythril/analysis/modules/external_calls.py
@@ -3,6 +3,10 @@ calls."""
from mythril.analysis import solver
from mythril.analysis.swc_data import REENTRANCY
+from mythril.laser.ethereum.transaction.symbolic import ATTACKER_ADDRESS
+from mythril.laser.ethereum.transaction.transaction_models import (
+ ContractCreationTransaction,
+)
from mythril.analysis.modules.base import DetectionModule
from mythril.analysis.report import Issue
from mythril.laser.smt import UGT, symbol_factory, Or, BitVec
@@ -44,10 +48,14 @@ def _analyze_state(state):
# Check whether we can also set the callee address
try:
- constraints += [to == 0xDEADBEEFDEADBEEFDEADBEEFDEADBEEFDEADBEEF]
+ constraints += [to == ATTACKER_ADDRESS]
+
+ for tx in state.world_state.transaction_sequence:
+ if not isinstance(tx, ContractCreationTransaction):
+ constraints.append(tx.caller == ATTACKER_ADDRESS)
+
transaction_sequence = solver.get_transaction_sequence(state, constraints)
- debug = json.dumps(transaction_sequence, indent=4)
description_head = "A call to a user-supplied address is executed."
description_tail = (
"The callee address of an external message call can be set by "
@@ -66,7 +74,7 @@ def _analyze_state(state):
severity="Medium",
description_head=description_head,
description_tail=description_tail,
- debug=debug,
+ transaction_sequence=transaction_sequence,
gas_used=(state.mstate.min_gas_used, state.mstate.max_gas_used),
)
@@ -95,7 +103,7 @@ def _analyze_state(state):
severity="Low",
description_head=description_head,
description_tail=description_tail,
- debug=debug,
+ transaction_sequence=transaction_sequence,
gas_used=(state.mstate.min_gas_used, state.mstate.max_gas_used),
)
@@ -137,14 +145,13 @@ class ExternalCalls(DetectionModule):
pre_hooks=["CALL"],
)
- def execute(self, state: GlobalState):
+ def _execute(self, state: GlobalState) -> None:
"""
:param state:
:return:
"""
self._issues.extend(_analyze_state(state))
- return self.issues
detector = ExternalCalls()
diff --git a/mythril/analysis/modules/integer.py b/mythril/analysis/modules/integer.py
index 43f57c96..cbaf144d 100644
--- a/mythril/analysis/modules/integer.py
+++ b/mythril/analysis/modules/integer.py
@@ -4,7 +4,7 @@ underflows."""
import json
from math import log2, ceil
-from typing import Dict, cast, List
+from typing import cast, List, Dict, Set
from mythril.analysis import solver
from mythril.analysis.report import Issue
from mythril.analysis.swc_data import INTEGER_OVERFLOW_AND_UNDERFLOW
@@ -13,6 +13,7 @@ from mythril.laser.ethereum.state.global_state import GlobalState
from mythril.laser.ethereum.util import get_concrete_int
from mythril.laser.ethereum.state.annotation import StateAnnotation
from mythril.analysis.modules.base import DetectionModule
+from copy import copy
from mythril.laser.smt import (
BVAddNoOverflow,
@@ -28,11 +29,8 @@ from mythril.laser.smt import (
import logging
-
log = logging.getLogger(__name__)
-DISABLE_EFFECT_CHECK = True
-
class OverUnderflowAnnotation:
""" Symbol Annotation used if a BitVector can overflow"""
@@ -48,12 +46,19 @@ class OverUnderflowAnnotation:
class OverUnderflowStateAnnotation(StateAnnotation):
""" State Annotation used if an overflow is both possible and used in the annotated path"""
- def __init__(
- self, overflowing_state: GlobalState, operator: str, constraint: Bool
- ) -> None:
- self.overflowing_state = overflowing_state
- self.operator = operator
- self.constraint = constraint
+ def __init__(self) -> None:
+ self.overflowing_state_annotations = [] # type: List[OverUnderflowAnnotation]
+ self.ostates_seen = set() # type: Set[GlobalState]
+
+ def __copy__(self):
+ new_annotation = OverUnderflowStateAnnotation()
+
+ new_annotation.overflowing_state_annotations = copy(
+ self.overflowing_state_annotations
+ )
+ new_annotation.ostates_seen = copy(self.ostates_seen)
+
+ return new_annotation
class IntegerOverflowUnderflowModule(DetectionModule):
@@ -72,8 +77,19 @@ class IntegerOverflowUnderflowModule(DetectionModule):
entrypoint="callback",
pre_hooks=["ADD", "MUL", "EXP", "SUB", "SSTORE", "JUMPI", "STOP", "RETURN"],
)
+
+ """
+ Cache addresses for which overflows or underflows already have been detected.
+ """
+
self._overflow_cache = {} # type: Dict[int, bool]
- self._underflow_cache = {} # type: Dict[int, bool]
+
+ """
+ Cache satisfiability of overflow constraints
+ """
+
+ self._ostates_satisfiable = set() # type: Set[GlobalState]
+ self._ostates_unsatisfiable = set() # type: Set[GlobalState]
def reset_module(self):
"""
@@ -82,20 +98,23 @@ class IntegerOverflowUnderflowModule(DetectionModule):
"""
super().reset_module()
self._overflow_cache = {}
- self._underflow_cache = {}
+ self._ostates_satisfiable = set()
+ self._ostates_unsatisfiable = set()
- def execute(self, state: GlobalState):
+ def _execute(self, state: GlobalState) -> None:
"""Executes analysis module for integer underflow and integer overflow.
:param state: Statespace to analyse
:return: Found issues
"""
+
address = _get_address_from_state(state)
- has_overflow = self._overflow_cache.get(address, False)
- has_underflow = self._underflow_cache.get(address, False)
- if has_overflow or has_underflow:
+
+ if self._overflow_cache.get(address, False):
return
+
opcode = state.get_current_instruction()["opcode"]
+
funcs = {
"ADD": [self._handle_add],
"SUB": [self._handle_sub],
@@ -121,11 +140,6 @@ class IntegerOverflowUnderflowModule(DetectionModule):
op0, op1 = self._get_args(state)
c = Not(BVAddNoOverflow(op0, op1, False))
- # Check satisfiable
- model = self._try_constraints(state.mstate.constraints, [c])
- if model is None:
- return
-
annotation = OverUnderflowAnnotation(state, "addition", c)
op0.annotate(annotation)
@@ -133,11 +147,6 @@ class IntegerOverflowUnderflowModule(DetectionModule):
op0, op1 = self._get_args(state)
c = Not(BVMulNoOverflow(op0, op1, False))
- # Check satisfiable
- model = self._try_constraints(state.mstate.constraints, [c])
- if model is None:
- return
-
annotation = OverUnderflowAnnotation(state, "multiplication", c)
op0.annotate(annotation)
@@ -145,11 +154,6 @@ class IntegerOverflowUnderflowModule(DetectionModule):
op0, op1 = self._get_args(state)
c = Not(BVSubNoUnderflow(op0, op1, False))
- # Check satisfiable
- model = self._try_constraints(state.mstate.constraints, [c])
- if model is None:
- return
-
annotation = OverUnderflowAnnotation(state, "subtraction", c)
op0.annotate(annotation)
@@ -174,9 +178,7 @@ class IntegerOverflowUnderflowModule(DetectionModule):
)
else:
constraint = op0.value ** op1.value >= 2 ** 256
- model = self._try_constraints(state.mstate.constraints, [constraint])
- if model is None:
- return
+
annotation = OverUnderflowAnnotation(state, "exponentiation", constraint)
op0.annotate(annotation)
@@ -213,36 +215,42 @@ class IntegerOverflowUnderflowModule(DetectionModule):
@staticmethod
def _handle_sstore(state: GlobalState) -> None:
+
stack = state.mstate.stack
value = stack[-2]
+
if not isinstance(value, Expression):
return
+
+ state_annotation = _get_overflowunderflow_state_annotation(state)
+
for annotation in value.annotations:
- if not isinstance(annotation, OverUnderflowAnnotation):
+ if (
+ not isinstance(annotation, OverUnderflowAnnotation)
+ or annotation.overflowing_state in state_annotation.ostates_seen
+ ):
continue
- state.annotate(
- OverUnderflowStateAnnotation(
- annotation.overflowing_state,
- annotation.operator,
- annotation.constraint,
- )
- )
+
+ state_annotation.overflowing_state_annotations.append(annotation)
+ state_annotation.ostates_seen.add(annotation.overflowing_state)
@staticmethod
def _handle_jumpi(state):
+
stack = state.mstate.stack
value = stack[-2]
+ state_annotation = _get_overflowunderflow_state_annotation(state)
+
for annotation in value.annotations:
- if not isinstance(annotation, OverUnderflowAnnotation):
+ if (
+ not isinstance(annotation, OverUnderflowAnnotation)
+ or annotation.overflowing_state in state_annotation.ostates_seen
+ ):
continue
- state.annotate(
- OverUnderflowStateAnnotation(
- annotation.overflowing_state,
- annotation.operator,
- annotation.constraint,
- )
- )
+
+ state_annotation.overflowing_state_annotations.append(annotation)
+ state_annotation.ostates_seen.add(annotation.overflowing_state)
@staticmethod
def _handle_return(state: GlobalState) -> None:
@@ -251,50 +259,58 @@ class IntegerOverflowUnderflowModule(DetectionModule):
locations in the memory returned by RETURN opcode.
:param state: The Global State
"""
+
stack = state.mstate.stack
try:
offset, length = get_concrete_int(stack[-1]), get_concrete_int(stack[-2])
except TypeError:
return
+
+ state_annotation = _get_overflowunderflow_state_annotation(state)
+
for element in state.mstate.memory[offset : offset + length]:
+
if not isinstance(element, Expression):
continue
+
for annotation in element.annotations:
- if isinstance(annotation, OverUnderflowAnnotation):
- state.annotate(
- OverUnderflowStateAnnotation(
- annotation.overflowing_state,
- annotation.operator,
- annotation.constraint,
- )
- )
+ if (
+ isinstance(annotation, OverUnderflowAnnotation)
+ and annotation not in state_annotation.overflowing_state_annotations
+ ):
+ state_annotation.overflowing_state_annotations.append(annotation)
def _handle_transaction_end(self, state: GlobalState) -> None:
- for annotation in cast(
- List[OverUnderflowStateAnnotation],
- state.get_annotations(OverUnderflowStateAnnotation),
- ):
+
+ state_annotation = _get_overflowunderflow_state_annotation(state)
+
+ for annotation in state_annotation.overflowing_state_annotations:
ostate = annotation.overflowing_state
- address = _get_address_from_state(ostate)
- if annotation.operator == "subtraction" and self._underflow_cache.get(
- address, False
- ):
+ if ostate in self._ostates_unsatisfiable:
continue
- if annotation.operator != "subtraction" and self._overflow_cache.get(
- address, False
- ):
- continue
+ if ostate not in self._ostates_satisfiable:
+ try:
+ constraints = ostate.mstate.constraints + [annotation.constraint]
+ solver.get_model(constraints)
+ self._ostates_satisfiable.add(ostate)
+ except:
+ self._ostates_unsatisfiable.add(ostate)
+ continue
+
+ log.debug(
+ "Checking overflow in {} at transaction end address {}, ostate address {}".format(
+ state.get_current_instruction()["opcode"],
+ state.get_current_instruction()["address"],
+ ostate.get_current_instruction()["address"],
+ )
+ )
try:
- # This check can be disabled if the contraints are to difficult for z3 to solve
- # within any reasonable time.
- if DISABLE_EFFECT_CHECK:
- constraints = ostate.mstate.constraints + [annotation.constraint]
- else:
- constraints = state.mstate.constraints + [annotation.constraint]
+
+ constraints = state.mstate.constraints + [annotation.constraint]
transaction_sequence = solver.get_transaction_sequence(
state, constraints
@@ -314,29 +330,32 @@ class IntegerOverflowUnderflowModule(DetectionModule):
description_head=self._get_description_head(annotation, _type),
description_tail=self._get_description_tail(annotation, _type),
gas_used=(state.mstate.min_gas_used, state.mstate.max_gas_used),
+ transaction_sequence=transaction_sequence,
)
- issue.debug = json.dumps(transaction_sequence, indent=4)
-
- if annotation.operator == "subtraction":
- self._underflow_cache[address] = True
- else:
- self._overflow_cache[address] = True
+ address = _get_address_from_state(ostate)
+ self._overflow_cache[address] = True
self._issues.append(issue)
- @staticmethod
- def _try_constraints(constraints, new_constraints):
- """ Tries new constraints
- :return Model if satisfiable otherwise None
- """
- try:
- return solver.get_model(constraints + new_constraints)
- except UnsatError:
- return None
-
detector = IntegerOverflowUnderflowModule()
def _get_address_from_state(state):
return state.get_current_instruction()["address"]
+
+
+def _get_overflowunderflow_state_annotation(
+ state: GlobalState
+) -> OverUnderflowStateAnnotation:
+ state_annotations = cast(
+ List[OverUnderflowStateAnnotation],
+ list(state.get_annotations(OverUnderflowStateAnnotation)),
+ )
+
+ if len(state_annotations) == 0:
+ state_annotation = OverUnderflowStateAnnotation()
+ state.annotate(state_annotation)
+ return state_annotation
+ else:
+ return state_annotations[0]
diff --git a/mythril/analysis/modules/multiple_sends.py b/mythril/analysis/modules/multiple_sends.py
index 1afaaed2..8ea4dd62 100644
--- a/mythril/analysis/modules/multiple_sends.py
+++ b/mythril/analysis/modules/multiple_sends.py
@@ -1,27 +1,25 @@
"""This module contains the detection code to find multiple sends occurring in
a single transaction."""
from copy import copy
-from typing import cast, List, Optional
+from typing import cast, List
-from mythril.analysis.ops import Call
from mythril.analysis.report import Issue
from mythril.analysis.swc_data import MULTIPLE_SENDS
from mythril.analysis.modules.base import DetectionModule
from mythril.laser.ethereum.state.annotation import StateAnnotation
from mythril.laser.ethereum.state.global_state import GlobalState
import logging
-from mythril.analysis.call_helpers import get_call_from_state
log = logging.getLogger(__name__)
class MultipleSendsAnnotation(StateAnnotation):
def __init__(self) -> None:
- self.calls = [] # type: List[Optional[Call]]
+ self.call_offsets = [] # type: List[int]
def __copy__(self):
result = MultipleSendsAnnotation()
- result.calls = copy(self.calls)
+ result.call_offsets = copy(self.call_offsets)
return result
@@ -45,9 +43,8 @@ class MultipleSendsModule(DetectionModule):
],
)
- def execute(self, state: GlobalState):
+ def _execute(self, state: GlobalState) -> None:
self._issues.extend(_analyze_state(state))
- return self.issues
def _analyze_state(state: GlobalState):
@@ -62,46 +59,35 @@ def _analyze_state(state: GlobalState):
list(state.get_annotations(MultipleSendsAnnotation)),
)
if len(annotations) == 0:
- log.debug("Creating annotation for state")
state.annotate(MultipleSendsAnnotation())
annotations = cast(
List[MultipleSendsAnnotation],
list(state.get_annotations(MultipleSendsAnnotation)),
)
- calls = annotations[0].calls
+ call_offsets = annotations[0].call_offsets
if instruction["opcode"] in ["CALL", "DELEGATECALL", "STATICCALL", "CALLCODE"]:
- call = get_call_from_state(state)
- if call:
- calls += [call]
+ call_offsets.append(state.get_current_instruction()["address"])
else: # RETURN or STOP
- if len(calls) > 1:
- description_tail = (
- "Consecutive calls are executed at the following bytecode offsets:\n"
- )
+ for offset in call_offsets[1:]:
- for call in calls:
- description_tail += "Offset: {}\n".format(
- call.state.get_current_instruction()["address"]
- )
-
- description_tail += (
- "Try to isolate each external call into its own transaction,"
- " as external calls can fail accidentally or deliberately.\n"
+ description_tail = (
+ "This call is executed after a previous call in the same transaction. "
+ "Try to isolate each call, transfer or send into its own transaction."
)
issue = Issue(
contract=state.environment.active_account.contract_name,
function_name=state.environment.active_function_name,
- address=instruction["address"],
+ address=offset,
swc_id=MULTIPLE_SENDS,
bytecode=state.environment.code.bytecode,
title="Multiple Calls in a Single Transaction",
- severity="Medium",
- description_head="Multiple sends are executed in one transaction.",
+ severity="Low",
+ description_head="Multiple calls are executed in the same transaction.",
description_tail=description_tail,
gas_used=(state.mstate.min_gas_used, state.mstate.max_gas_used),
)
diff --git a/mythril/analysis/modules/state_change_external_calls.py b/mythril/analysis/modules/state_change_external_calls.py
index 6a394009..74855be9 100644
--- a/mythril/analysis/modules/state_change_external_calls.py
+++ b/mythril/analysis/modules/state_change_external_calls.py
@@ -84,9 +84,8 @@ class StateChange(DetectionModule):
],
)
- def execute(self, state: GlobalState):
+ def _execute(self, state: GlobalState) -> None:
self._issues.extend(self._analyze_state(state))
- return self.issues
@staticmethod
def _add_external_call(global_state: GlobalState) -> None:
diff --git a/mythril/analysis/modules/suicide.py b/mythril/analysis/modules/suicide.py
index 62bc3e00..546219a3 100644
--- a/mythril/analysis/modules/suicide.py
+++ b/mythril/analysis/modules/suicide.py
@@ -4,6 +4,10 @@ from mythril.analysis.swc_data import UNPROTECTED_SELFDESTRUCT
from mythril.exceptions import UnsatError
from mythril.analysis.modules.base import DetectionModule
from mythril.laser.ethereum.state.global_state import GlobalState
+from mythril.laser.ethereum.transaction.symbolic import ATTACKER_ADDRESS
+from mythril.laser.ethereum.transaction.transaction_models import (
+ ContractCreationTransaction,
+)
import logging
import json
@@ -37,14 +41,13 @@ class SuicideModule(DetectionModule):
super().reset_module()
self._cache_address = {}
- def execute(self, state: GlobalState):
+ def _execute(self, state: GlobalState) -> None:
"""
:param state:
:return:
"""
self._issues.extend(self._analyze_state(state))
- return self.issues
def _analyze_state(self, state):
log.info("Suicide module: Analyzing suicide instruction")
@@ -59,12 +62,17 @@ class SuicideModule(DetectionModule):
description_head = "The contract can be killed by anyone."
+ constraints = []
+
+ for tx in state.world_state.transaction_sequence:
+ if not isinstance(tx, ContractCreationTransaction):
+ constraints.append(tx.caller == ATTACKER_ADDRESS)
+
try:
try:
transaction_sequence = solver.get_transaction_sequence(
state,
- state.mstate.constraints
- + [to == 0xDEADBEEFDEADBEEFDEADBEEFDEADBEEFDEADBEEF],
+ state.mstate.constraints + constraints + [to == ATTACKER_ADDRESS],
)
description_tail = (
"Anyone can kill this contract and withdraw its balance to an arbitrary "
@@ -72,11 +80,10 @@ class SuicideModule(DetectionModule):
)
except UnsatError:
transaction_sequence = solver.get_transaction_sequence(
- state, state.mstate.constraints
+ state, state.mstate.constraints + constraints
)
description_tail = "Arbitrary senders can kill this contract."
- debug = json.dumps(transaction_sequence, indent=4)
self._cache_address[instruction["address"]] = True
issue = Issue(
@@ -89,7 +96,7 @@ class SuicideModule(DetectionModule):
severity="High",
description_head=description_head,
description_tail=description_tail,
- debug=debug,
+ transaction_sequence=transaction_sequence,
gas_used=(state.mstate.min_gas_used, state.mstate.max_gas_used),
)
return [issue]
diff --git a/mythril/analysis/modules/unchecked_retval.py b/mythril/analysis/modules/unchecked_retval.py
index 45fdceec..fce83af8 100644
--- a/mythril/analysis/modules/unchecked_retval.py
+++ b/mythril/analysis/modules/unchecked_retval.py
@@ -49,14 +49,13 @@ class UncheckedRetvalModule(DetectionModule):
post_hooks=["CALL", "DELEGATECALL", "STATICCALL", "CALLCODE"],
)
- def execute(self, state: GlobalState) -> list:
+ def _execute(self, state: GlobalState) -> None:
"""
:param state:
:return:
"""
self._issues.extend(_analyze_state(state))
- return self.issues
def _analyze_state(state: GlobalState) -> list:
diff --git a/mythril/analysis/report.py b/mythril/analysis/report.py
index e1f73887..86f2fbb8 100644
--- a/mythril/analysis/report.py
+++ b/mythril/analysis/report.py
@@ -31,7 +31,7 @@ class Issue:
severity=None,
description_head="",
description_tail="",
- debug="",
+ transaction_sequence=None,
):
"""
@@ -55,7 +55,6 @@ class Issue:
self.description_tail = description_tail
self.description = "%s\n%s" % (description_head, description_tail)
self.severity = severity
- self.debug = debug
self.swc_id = swc_id
self.min_gas_used, self.max_gas_used = gas_used
self.filename = None
@@ -64,6 +63,38 @@ class Issue:
self.source_mapping = None
self.discovery_time = time() - StartTime().global_start_time
self.bytecode_hash = get_code_hash(bytecode)
+ self.transaction_sequence = transaction_sequence
+
+ @property
+ def transaction_sequence_users(self):
+ """ Returns the transaction sequence in json without pre-generated block data"""
+ return (
+ json.dumps(self.transaction_sequence, indent=4)
+ if self.transaction_sequence
+ else None
+ )
+
+ @property
+ def transaction_sequence_jsonv2(self):
+ """ Returns the transaction sequence in json with pre-generated block data"""
+ return (
+ json.dumps(self.add_block_data(self.transaction_sequence), indent=4)
+ if self.transaction_sequence
+ else None
+ )
+
+ @staticmethod
+ def add_block_data(transaction_sequence: Dict):
+ """ Adds sane block data to a transaction_sequence """
+ for step in transaction_sequence["steps"]:
+ step["gasLimit"] = "0x7d000"
+ step["gasPrice"] = "0x773594000"
+ step["blockCoinbase"] = "0xcbcbcbcbcbcbcbcbcbcbcbcbcbcbcbcbcbcbcbcb"
+ step["blockDifficulty"] = "0xa7d7343662e26"
+ step["blockGasLimit"] = "0x7d0000"
+ step["blockNumber"] = "0x66e393"
+ step["blockTime"] = "0x5bfa4639"
+ return transaction_sequence
@property
def as_dict(self):
@@ -79,7 +110,7 @@ class Issue:
"function": self.function,
"severity": self.severity,
"address": self.address,
- "debug": self.debug,
+ "tx_sequence": self.transaction_sequence_users,
"min_gas_used": self.min_gas_used,
"max_gas_used": self.max_gas_used,
"sourceMap": self.source_mapping,
@@ -168,6 +199,7 @@ class Report:
"""
name = self._file_name()
template = Report.environment.get_template("report_as_text.jinja2")
+
return template.render(
filename=name, issues=self.sorted_issues(), verbose=self.verbose
)
@@ -203,7 +235,9 @@ class Report:
title = SWC_TO_TITLE[issue.swc_id]
except KeyError:
title = "Unspecified Security Issue"
-
+ extra = {"discoveryTime": int(issue.discovery_time * 10 ** 9)}
+ if issue.transaction_sequence_jsonv2:
+ extra["testCase"] = str(issue.transaction_sequence_jsonv2)
_issues.append(
{
"swcID": "SWC-" + issue.swc_id,
@@ -214,7 +248,7 @@ class Report:
},
"severity": issue.severity,
"locations": [{"sourceMap": "%d:1:%d" % (issue.address, idx)}],
- "extra": {"discoveryTime": int(issue.discovery_time * 10 ** 9)},
+ "extra": extra,
}
)
meta_data = self._get_exception_data()
diff --git a/mythril/analysis/security.py b/mythril/analysis/security.py
index abacf49a..71f0a516 100644
--- a/mythril/analysis/security.py
+++ b/mythril/analysis/security.py
@@ -52,6 +52,10 @@ def get_detection_modules(entrypoint, include_modules=()):
:param include_modules:
:return:
"""
+
+ module = importlib.import_module("mythril.analysis.modules.base")
+ module.log.setLevel(log.level)
+
include_modules = list(include_modules)
_modules = []
@@ -62,12 +66,14 @@ def get_detection_modules(entrypoint, include_modules=()):
module = importlib.import_module(
"mythril.analysis.modules." + module_name
)
+ module.log.setLevel(log.level)
if module.detector.entrypoint == entrypoint:
_modules.append(module)
else:
for module_name in include_modules:
module = importlib.import_module("mythril.analysis.modules." + module_name)
if module.__name__ != "base" and module.detector.entrypoint == entrypoint:
+ module.log.setLevel(log.level)
_modules.append(module)
log.info("Found %s detection modules", len(_modules))
diff --git a/mythril/analysis/solver.py b/mythril/analysis/solver.py
index 98d3633a..16a74eae 100644
--- a/mythril/analysis/solver.py
+++ b/mythril/analysis/solver.py
@@ -1,8 +1,13 @@
"""This module contains analysis module helpers to solve path constraints."""
+from typing import Dict, List, Union
from z3 import sat, unknown, FuncInterp
import z3
-from mythril.laser.smt import simplify, UGE, Optimize, symbol_factory
+from mythril.laser.ethereum.state.global_state import GlobalState
+from mythril.laser.ethereum.state.world_state import Account
+from mythril.laser.ethereum.state.constraints import Constraints
+from mythril.laser.ethereum.transaction import BaseTransaction
+from mythril.laser.smt import UGE, Optimize, symbol_factory
from mythril.laser.ethereum.time_handler import time_handler
from mythril.exceptions import UnsatError
from mythril.laser.ethereum.transaction.transaction_models import (
@@ -51,7 +56,7 @@ def get_model(constraints, minimize=(), maximize=(), enforce_execution_time=True
def pretty_print_model(model):
- """
+ """ Pretty prints a z3 model
:param model:
:return:
@@ -74,7 +79,9 @@ def pretty_print_model(model):
return ret
-def get_transaction_sequence(global_state, constraints):
+def get_transaction_sequence(
+ global_state: GlobalState, constraints: Constraints
+) -> Dict:
"""Generate concrete transaction sequence.
:param global_state: GlobalState to generate transaction sequence for
@@ -83,55 +90,102 @@ def get_transaction_sequence(global_state, constraints):
transaction_sequence = global_state.world_state.transaction_sequence
- # gaslimit & gasprice don't exist yet
- tx_template = {
- "calldata": None,
- "call_value": None,
- "caller": "0xCA11EDEADBEEF37E636E6CA11EDEADBEEFCA11ED",
- }
+ concrete_transactions = []
- concrete_transactions = {}
- creation_tx_ids = []
- tx_constraints = constraints.copy()
- minimize = []
+ tx_constraints, minimize = _set_minimisation_constraints(
+ transaction_sequence, constraints.copy(), [], 5000
+ )
+ model = get_model(tx_constraints, minimize=minimize)
- transactions = []
+ min_price_dict = {} # type: Dict[str, int]
for transaction in transaction_sequence:
- tx_id = str(transaction.id)
- if not isinstance(transaction, ContractCreationTransaction):
- transactions.append(transaction)
- # Constrain calldatasize
- max_calldatasize = symbol_factory.BitVecVal(5000, 256)
- tx_constraints.append(
- UGE(max_calldatasize, transaction.call_data.calldatasize)
- )
+ concrete_transaction = _get_concrete_transaction(model, transaction)
+ concrete_transactions.append(concrete_transaction)
+
+ caller = concrete_transaction["origin"]
+ value = int(concrete_transaction["value"], 16)
+ min_price_dict[caller] = min_price_dict.get(caller, 0) + value
+
+ if isinstance(transaction_sequence[0], ContractCreationTransaction):
+ initial_accounts = transaction_sequence[0].prev_world_state.accounts
+ else:
+ initial_accounts = transaction_sequence[0].world_state.accounts
+
+ concrete_initial_state = _get_concrete_state(initial_accounts, min_price_dict)
+
+ steps = {"initialState": concrete_initial_state, "steps": concrete_transactions}
+
+ return steps
+
+
+def _get_concrete_state(initial_accounts: Dict, min_price_dict: Dict[str, int]):
+ """ Gets a concrete state """
+ accounts = {}
+ for address, account in initial_accounts.items():
+ # Skip empty default account
+
+ data = dict() # type: Dict[str, Union[int, str]]
+ data["nonce"] = account.nonce
+ data["code"] = account.code.bytecode
+ data["storage"] = str(account.storage)
+ data["balance"] = min_price_dict.get(address, 0)
+ accounts[hex(address)] = data
+ return accounts
+
+
+def _get_concrete_transaction(model: z3.Model, transaction: BaseTransaction):
+ """ Gets a concrete transaction from a transaction and z3 model"""
+ # Get concrete values from transaction
+ address = hex(transaction.callee_account.address.value)
+ value = model.eval(transaction.call_value.raw, model_completion=True).as_long()
+ caller = "0x" + (
+ "%x" % model.eval(transaction.caller.raw, model_completion=True).as_long()
+ ).zfill(40)
+
+ if isinstance(transaction, ContractCreationTransaction):
+ address = ""
+ input_ = transaction.code.bytecode
+ else:
+ input_ = "".join(
+ [
+ hex(b)[2:] if len(hex(b)) % 2 == 0 else "0" + hex(b)[2:]
+ for b in transaction.call_data.concrete(model)
+ ]
+ )
- minimize.append(transaction.call_data.calldatasize)
- minimize.append(transaction.call_value)
+ # Create concrete transaction dict
+ concrete_transaction = dict() # type: Dict[str, str]
+ concrete_transaction["input"] = "0x" + input_
+ concrete_transaction["value"] = "0x%x" % value
+ # Fixme: base origin assignment on origin symbol
+ concrete_transaction["origin"] = caller
+ concrete_transaction["address"] = "%s" % address
- concrete_transactions[tx_id] = tx_template.copy()
+ return concrete_transaction
- else:
- creation_tx_ids.append(tx_id)
- model = get_model(tx_constraints, minimize=minimize)
+def _set_minimisation_constraints(
+ transaction_sequence, constraints, minimize, max_size
+):
+ """ Set constraints that minimise key transaction values
- for transaction in transactions:
- tx_id = str(transaction.id)
+ Constraints generated:
+ - Upper bound on calldata size
+ - Minimisation of call value's and calldata sizes
- concrete_transactions[tx_id]["calldata"] = "0x" + "".join(
- [
- hex(b)[2:] if len(hex(b)) % 2 == 0 else "0" + hex(b)[2:]
- for b in transaction.call_data.concrete(model)
- ]
- )
+ :param transaction_sequence: Transaction for which the constraints should be applied
+ :param constraints: The constraints array which should contain any added constraints
+ :param minimize: The minimisation array which should contain any variables that should be minimised
+ :param max_size: The max size of the calldata array
+ :return: updated constraints, minimize
+ """
+ for transaction in transaction_sequence:
+ # Set upper bound on calldata size
+ max_calldata_size = symbol_factory.BitVecVal(max_size, 256)
+ constraints.append(UGE(max_calldata_size, transaction.call_data.calldatasize))
- concrete_transactions[tx_id]["call_value"] = (
- "0x%x"
- % model.eval(transaction.call_value.raw, model_completion=True).as_long()
- )
- concrete_transactions[tx_id]["caller"] = "0x" + (
- "%x" % model.eval(transaction.caller.raw, model_completion=True).as_long()
- ).zfill(40)
+ # Minimize
+ minimize.append(transaction.call_data.calldatasize)
+ minimize.append(transaction.call_value)
- return concrete_transactions
+ return constraints, minimize
diff --git a/mythril/analysis/symbolic.py b/mythril/analysis/symbolic.py
index cdcb9070..b258a623 100644
--- a/mythril/analysis/symbolic.py
+++ b/mythril/analysis/symbolic.py
@@ -16,6 +16,19 @@ from mythril.laser.ethereum.strategy.basic import (
ReturnWeightedRandomStrategy,
BasicSearchStrategy,
)
+
+from mythril.laser.ethereum.transaction.symbolic import (
+ ATTACKER_ADDRESS,
+ CREATOR_ADDRESS,
+)
+
+
+from mythril.laser.ethereum.plugins.plugin_factory import PluginFactory
+from mythril.laser.ethereum.plugins.plugin_loader import LaserPluginLoader
+
+from mythril.laser.ethereum.strategy.extensions.bounded_loops import (
+ BoundedLoopsStrategy,
+)
from mythril.laser.smt import symbol_factory, BitVec
from typing import Union, List, Dict, Type
from mythril.solidity.soliditycontract import EVMContract, SolidityContract
@@ -37,11 +50,14 @@ class SymExecWrapper:
dynloader=None,
max_depth=22,
execution_timeout=None,
+ loop_bound=4,
create_timeout=None,
transaction_count=2,
modules=(),
compulsory_statespace=True,
enable_iprof=False,
+ disable_dependency_pruning=False,
+ run_analysis_modules=True,
):
"""
@@ -71,9 +87,23 @@ class SymExecWrapper:
else:
raise ValueError("Invalid strategy argument supplied")
+ creator_account = Account(
+ hex(CREATOR_ADDRESS), "", dynamic_loader=dynloader, contract_name=None
+ )
+ attacker_account = Account(
+ hex(ATTACKER_ADDRESS), "", dynamic_loader=dynloader, contract_name=None
+ )
+
requires_statespace = (
compulsory_statespace or len(get_detection_modules("post", modules)) > 0
)
+ if not contract.creation_code:
+ self.accounts = {hex(ATTACKER_ADDRESS): attacker_account}
+ else:
+ self.accounts = {
+ hex(CREATOR_ADDRESS): creator_account,
+ hex(ATTACKER_ADDRESS): attacker_account,
+ }
self.laser = svm.LaserEVM(
dynamic_loader=dynloader,
@@ -86,26 +116,41 @@ class SymExecWrapper:
enable_iprof=enable_iprof,
)
+ if loop_bound is not None:
+ self.laser.extend_strategy(BoundedLoopsStrategy, loop_bound)
+
plugin_loader = LaserPluginLoader(self.laser)
plugin_loader.load(PluginFactory.build_mutation_pruner_plugin())
plugin_loader.load(PluginFactory.build_instruction_coverage_plugin())
- self.laser.register_hooks(
- hook_type="pre",
- hook_dict=get_detection_module_hooks(modules, hook_type="pre"),
- )
- self.laser.register_hooks(
- hook_type="post",
- hook_dict=get_detection_module_hooks(modules, hook_type="post"),
- )
+ if not disable_dependency_pruning:
+ plugin_loader.load(PluginFactory.build_dependency_pruner_plugin())
+
+ world_state = WorldState()
+ for account in self.accounts.values():
+ world_state.put_account(account)
+
+ if run_analysis_modules:
+ self.laser.register_hooks(
+ hook_type="pre",
+ hook_dict=get_detection_module_hooks(modules, hook_type="pre"),
+ )
+ self.laser.register_hooks(
+ hook_type="post",
+ hook_dict=get_detection_module_hooks(modules, hook_type="post"),
+ )
if isinstance(contract, SolidityContract):
self.laser.sym_exec(
- creation_code=contract.creation_code, contract_name=contract.name
+ creation_code=contract.creation_code,
+ contract_name=contract.name,
+ world_state=world_state,
)
elif isinstance(contract, EVMContract) and contract.creation_code:
self.laser.sym_exec(
- creation_code=contract.creation_code, contract_name=contract.name
+ creation_code=contract.creation_code,
+ contract_name=contract.name,
+ world_state=world_state,
)
else:
account = Account(
@@ -115,7 +160,6 @@ class SymExecWrapper:
contract_name=contract.name,
concrete_storage=False,
)
- world_state = WorldState()
world_state.put_account(account)
self.laser.sym_exec(world_state=world_state, target_address=address.value)
diff --git a/mythril/analysis/templates/report_as_markdown.jinja2 b/mythril/analysis/templates/report_as_markdown.jinja2
index e6952535..289d1871 100644
--- a/mythril/analysis/templates/report_as_markdown.jinja2
+++ b/mythril/analysis/templates/report_as_markdown.jinja2
@@ -24,11 +24,11 @@ In file: {{ issue.filename }}:{{ issue.lineno }}
{{ issue.code }}
```
{% endif %}
-{% if verbose and issue.debug %}
+{% if verbose and issue.tx_sequence %}
--------------------
### Debugging Information:
-{{ issue.debug }}
+{{ issue.tx_sequence }}
{% endif %}
{% endfor %}
diff --git a/mythril/analysis/templates/report_as_text.jinja2 b/mythril/analysis/templates/report_as_text.jinja2
index 08edb6cb..da962583 100644
--- a/mythril/analysis/templates/report_as_text.jinja2
+++ b/mythril/analysis/templates/report_as_text.jinja2
@@ -18,11 +18,11 @@ In file: {{ issue.filename }}:{{ issue.lineno }}
--------------------
{% endif %}
-{% if verbose and issue.debug %}
+{% if verbose and issue.tx_sequence %}
--------------------
Transaction Sequence:
-{{ issue.debug }}
+{{ issue.tx_sequence }}
{% endif %}
{% endfor %}
diff --git a/mythril/interfaces/cli.py b/mythril/interfaces/cli.py
index 0227acaf..d9dc5b15 100644
--- a/mythril/interfaces/cli.py
+++ b/mythril/interfaces/cli.py
@@ -23,9 +23,7 @@ from mythril.mythril import (
MythrilConfig,
MythrilLevelDB,
)
-from mythril.version import VERSION
-
-# logging.basicConfig(level=logging.DEBUG)
+from mythril.__version__ import __version__ as VERSION
ANALYZE_LIST = ("a", "analyze")
DISASSEMBLE_LIST = ("d", "disassemble")
@@ -317,13 +315,20 @@ def create_analyzer_parser(analyzer_parser: ArgumentParser):
default=50,
help="Maximum recursion depth for symbolic execution",
)
-
options.add_argument(
"--strategy",
choices=["dfs", "bfs", "naive-random", "weighted-random"],
default="bfs",
help="Symbolic execution strategy",
)
+ options.add_argument(
+ "-b",
+ "--loop-bound",
+ type=int,
+ default=4,
+ help="Bound loops at n iterations",
+ metavar="N",
+ )
options.add_argument(
"-t",
"--transaction-count",
@@ -334,7 +339,7 @@ def create_analyzer_parser(analyzer_parser: ArgumentParser):
options.add_argument(
"--execution-timeout",
type=int,
- default=600,
+ default=86400,
help="The amount of seconds to spend on symbolic execution",
)
options.add_argument(
@@ -370,6 +375,11 @@ def create_analyzer_parser(analyzer_parser: ArgumentParser):
options.add_argument(
"--enable-iprof", action="store_true", help="enable the instruction profiler"
)
+ options.add_argument(
+ "--disable-dependency-pruning",
+ action="store_true",
+ help="Deactivate dependency-based pruning",
+ )
def validate_args(args: Namespace):
@@ -522,7 +532,6 @@ def execute_command(
return
if args.command in DISASSEMBLE_LIST:
-
if disassembler.contracts[0].code:
print("Runtime Disassembly: \n" + disassembler.contracts[0].get_easm())
if disassembler.contracts[0].creation_code:
@@ -537,6 +546,7 @@ def execute_command(
execution_timeout=args.execution_timeout,
create_timeout=args.create_timeout,
enable_iprof=args.enable_iprof,
+ disable_dependency_pruning=args.disable_dependency_pruning,
onchain_storage_access=not args.no_onchain_storage_access,
)
diff --git a/mythril/laser/ethereum/call.py b/mythril/laser/ethereum/call.py
index 08ef8773..945a83a7 100644
--- a/mythril/laser/ethereum/call.py
+++ b/mythril/laser/ethereum/call.py
@@ -96,7 +96,7 @@ def get_callee_address(
# attempt to read the contract address from instance storage
try:
callee_address = dynamic_loader.read_storage(
- str(hex(environment.active_account.address.value)), index
+ hex(environment.active_account.address.value), index
)
# TODO: verify whether this happens or not
except:
diff --git a/mythril/laser/ethereum/instructions.py b/mythril/laser/ethereum/instructions.py
index a353fbc1..d2e75b56 100644
--- a/mythril/laser/ethereum/instructions.py
+++ b/mythril/laser/ethereum/instructions.py
@@ -131,6 +131,8 @@ class StateTransition(object):
min_gas, max_gas = cast(Tuple[int, int], OPCODE_GAS[opcode])
global_state.mstate.min_gas_used += min_gas
global_state.mstate.max_gas_used += max_gas
+ self.check_gas_usage_limit(global_state)
+
return global_state
def __call__(self, func: Callable) -> Callable:
@@ -766,18 +768,8 @@ class Instruction:
size_sym = True
if size_sym:
- state.mem_extend(mstart, 1)
- state.memory[mstart] = global_state.new_bitvec(
- "calldata_"
- + str(environment.active_account.contract_name)
- + "["
- + str(dstart)
- + ": + "
- + str(size)
- + "]",
- 8,
- )
- return [global_state]
+ size = 320 # The excess size will get overwritten
+
size = cast(int, size)
if size > 0:
try:
@@ -939,9 +931,20 @@ class Instruction:
data = symbol_factory.BitVecVal(0, 1)
if data.symbolic:
+
+ annotations = []
+
+ for b in state.memory[index : index + length]:
+ if isinstance(b, BitVec):
+ annotations.append(b.annotations)
+
argument_str = str(state.memory[index]).replace(" ", "_")
result = symbol_factory.BitVecFuncSym(
- "KECCAC[{}]".format(argument_str), "keccak256", 256, input_=data
+ "KECCAC[{}]".format(argument_str),
+ "keccak256",
+ 256,
+ input_=data,
+ annotations=annotations,
)
log.debug("Created BitVecFunc hash.")
@@ -963,7 +966,7 @@ class Instruction:
:param global_state:
:return:
"""
- global_state.mstate.stack.append(global_state.new_bitvec("gasprice", 256))
+ global_state.mstate.stack.append(global_state.environment.gasprice)
return [global_state]
@staticmethod
@@ -1243,7 +1246,7 @@ class Instruction:
:param global_state:
:return:
"""
- global_state.mstate.stack.append(global_state.new_bitvec("block_number", 256))
+ global_state.mstate.stack.append(global_state.environment.block_number)
return [global_state]
@StateTransition()
@@ -1631,7 +1634,7 @@ class Instruction:
# Get jump destination
index = util.get_instruction_index(disassembly.instruction_list, jump_addr)
- if not index:
+ if index is None:
log.debug("Invalid jump destination: " + str(jump_addr))
return states
@@ -1660,7 +1663,12 @@ class Instruction:
:param global_state:
:return:
"""
- global_state.mstate.stack.append(global_state.mstate.pc - 1)
+ index = global_state.mstate.pc
+ program_counter = global_state.environment.code.instruction_list[index][
+ "address"
+ ]
+ global_state.mstate.stack.append(program_counter)
+
return [global_state]
@StateTransition()
@@ -1670,7 +1678,7 @@ class Instruction:
:param global_state:
:return:
"""
- global_state.mstate.stack.append(global_state.new_bitvec("msize", 256))
+ global_state.mstate.stack.append(global_state.mstate.memory_size)
return [global_state]
@StateTransition()
@@ -1742,8 +1750,12 @@ class Instruction:
offset, length = state.stack.pop(), state.stack.pop()
return_data = [global_state.new_bitvec("return_data", 8)]
try:
+ concrete_offset = util.get_concrete_int(offset)
+ concrete_length = util.get_concrete_int(length)
+ state.mem_extend(concrete_offset, concrete_length)
+ StateTransition.check_gas_usage_limit(global_state)
return_data = state.memory[
- util.get_concrete_int(offset) : util.get_concrete_int(offset + length)
+ concrete_offset : concrete_offset + concrete_length
]
except TypeError:
log.debug("Return with symbolic length or offset. Not supported")
@@ -1830,6 +1842,14 @@ class Instruction:
callee_address, callee_account, call_data, value, gas, memory_out_offset, memory_out_size = get_call_parameters(
global_state, self.dynamic_loader, True
)
+
+ if callee_account is not None and callee_account.code.bytecode == "":
+ log.debug("The call is related to ether transfer between accounts")
+ global_state.mstate.stack.append(
+ global_state.new_bitvec("retval_" + str(instr["address"]), 256)
+ )
+ return [global_state]
+
except ValueError as e:
log.debug(
"Could not determine required parameters for call, putting fresh symbol on the stack. \n{}".format(
@@ -1847,7 +1867,6 @@ class Instruction:
)
if native_result:
return native_result
-
transaction = MessageCallTransaction(
world_state=global_state.world_state,
gas_price=environment.gasprice,
@@ -2098,7 +2117,6 @@ class Instruction:
"retval_" + str(instr["address"]), 256
)
global_state.mstate.stack.append(return_value)
- global_state.mstate.constraints.append(return_value == 0)
return [global_state]
try:
diff --git a/mythril/laser/ethereum/plugins/implementations/dependency_pruner.py b/mythril/laser/ethereum/plugins/implementations/dependency_pruner.py
new file mode 100644
index 00000000..267abb99
--- /dev/null
+++ b/mythril/laser/ethereum/plugins/implementations/dependency_pruner.py
@@ -0,0 +1,330 @@
+from mythril.laser.ethereum.svm import LaserEVM
+from mythril.laser.ethereum.plugins.plugin import LaserPlugin
+from mythril.laser.ethereum.plugins.signals import PluginSkipState
+from mythril.laser.ethereum.state.annotation import StateAnnotation
+from mythril.laser.ethereum.state.global_state import GlobalState
+from mythril.laser.ethereum.transaction.transaction_models import (
+ ContractCreationTransaction,
+)
+from mythril.exceptions import UnsatError
+from z3.z3types import Z3Exception
+from mythril.analysis import solver
+from typing import cast, List, Dict, Set
+from copy import copy
+import logging
+
+
+log = logging.getLogger(__name__)
+
+
+class DependencyAnnotation(StateAnnotation):
+ """Dependency Annotation
+
+ This annotation tracks read and write access to the state during each transaction.
+ """
+
+ def __init__(self):
+ self.storage_loaded = [] # type: List
+ self.storage_written = {} # type: Dict[int, List]
+ self.has_call = False
+ self.path = [0] # type: List
+
+ def __copy__(self):
+ result = DependencyAnnotation()
+ result.storage_loaded = copy(self.storage_loaded)
+ result.storage_written = copy(self.storage_written)
+ result.path = copy(self.path)
+ result.has_call = self.has_call
+ return result
+
+ def get_storage_write_cache(self, iteration: int):
+ if iteration not in self.storage_written:
+ self.storage_written[iteration] = []
+
+ return self.storage_written[iteration]
+
+ def extend_storage_write_cache(self, iteration: int, value: object):
+ if iteration not in self.storage_written:
+ self.storage_written[iteration] = [value]
+ else:
+ if value not in self.storage_written[iteration]:
+ self.storage_written[iteration].append(value)
+
+
+class WSDependencyAnnotation(StateAnnotation):
+ """Dependency Annotation for World state
+
+ This world state annotation maintains a stack of state annotations.
+ It is used to transfer individual state annotations from one transaction to the next.
+ """
+
+ def __init__(self):
+ self.annotations_stack = []
+
+ def __copy__(self):
+ result = WSDependencyAnnotation()
+ result.annotations_stack = copy(self.annotations_stack)
+ return result
+
+
+def get_dependency_annotation(state: GlobalState) -> DependencyAnnotation:
+ """ Returns a dependency annotation
+
+ :param state: A global state object
+ """
+
+ annotations = cast(
+ List[DependencyAnnotation], list(state.get_annotations(DependencyAnnotation))
+ )
+
+ if len(annotations) == 0:
+
+ """FIXME: Hack for carrying over state annotations from the STOP and RETURN states of
+ the previous states. The states are pushed on a stack in the world state annotation
+ and popped off the stack in the subsequent iteration. This might break if any
+ other strategy than bfs is used (?).
+ """
+
+ try:
+ world_state_annotation = get_ws_dependency_annotation(state)
+ annotation = world_state_annotation.annotations_stack.pop()
+ except IndexError:
+ annotation = DependencyAnnotation()
+
+ state.annotate(annotation)
+ else:
+ annotation = annotations[0]
+
+ return annotation
+
+
+def get_ws_dependency_annotation(state: GlobalState) -> WSDependencyAnnotation:
+ """ Returns the world state annotation
+
+ :param state: A global state object
+ """
+
+ annotations = cast(
+ List[WSDependencyAnnotation],
+ list(state.world_state.get_annotations(WSDependencyAnnotation)),
+ )
+
+ if len(annotations) == 0:
+ annotation = WSDependencyAnnotation()
+ state.world_state.annotate(annotation)
+ else:
+ annotation = annotations[0]
+
+ return annotation
+
+
+class DependencyPruner(LaserPlugin):
+ """Dependency Pruner Plugin
+
+ For every basic block, this plugin keeps a list of storage locations that
+ are accessed (read) in the execution path containing that block. This map
+ is built up over the whole symbolic execution run.
+
+ After the initial build up of the map in the first transaction, blocks are
+ executed only if any of the storage locations written to in the previous
+ transaction can have an effect on that block or any of its successors.
+ """
+
+ def __init__(self):
+ """Creates DependencyPruner"""
+ self._reset()
+
+ def _reset(self):
+ self.iteration = 0
+ self.dependency_map = {} # type: Dict[int, List[object]]
+ self.protected_addresses = set() # type: Set[int]
+
+ def update_dependency_map(self, path: List[int], target_location: object) -> None:
+ """Update the dependency map for the block offsets on the given path.
+
+ :param path
+ :param target_location
+ """
+
+ try:
+ for address in path:
+ if address in self.dependency_map:
+ if target_location not in self.dependency_map[address]:
+ self.dependency_map[address].append(target_location)
+ else:
+ self.dependency_map[address] = [target_location]
+ except Z3Exception as e:
+ # This should not happen unless there's a bug in laser, such as an invalid type being generated.
+ log.debug("Error updating dependency map: {}".format(e))
+
+ def protect_path(self, path: List[int]) -> None:
+ """Prevent an execution path of being pruned.
+
+ :param path
+ """
+
+ for address in path:
+ self.protected_addresses.add(address)
+
+ def wanna_execute(self, address: int, storage_write_cache) -> bool:
+ """Decide whether the basic block starting at 'address' should be executed.
+
+ :param address
+ :param storage_write_cache
+ """
+
+ if address in self.protected_addresses or address not in self.dependency_map:
+ return True
+
+ dependencies = self.dependency_map[address]
+
+ # Return if *any* dependency is found
+
+ for location in storage_write_cache:
+ for dependency in dependencies:
+
+ try:
+ solver.get_model([location == dependency])
+ return True
+ except UnsatError:
+ continue
+
+ return False
+
+ def initialize(self, symbolic_vm: LaserEVM) -> None:
+ """Initializes the DependencyPruner
+
+ :param symbolic_vm
+ """
+ self._reset()
+
+ @symbolic_vm.laser_hook("start_sym_trans")
+ def start_sym_trans_hook():
+ self.iteration += 1
+
+ @symbolic_vm.post_hook("CALL")
+ def call_hook(state: GlobalState):
+ annotation = get_dependency_annotation(state)
+
+ annotation.has_call = True
+ self.protect_path(annotation.path)
+
+ @symbolic_vm.post_hook("JUMP")
+ def jump_hook(state: GlobalState):
+ address = state.get_current_instruction()["address"]
+ annotation = get_dependency_annotation(state)
+
+ _check_basic_block(address, annotation)
+
+ @symbolic_vm.pre_hook("JUMPDEST")
+ def jumpdest_hook(state: GlobalState):
+ address = state.get_current_instruction()["address"]
+ annotation = get_dependency_annotation(state)
+
+ _check_basic_block(address, annotation)
+
+ @symbolic_vm.post_hook("JUMPI")
+ def jumpi_hook(state: GlobalState):
+ address = state.get_current_instruction()["address"]
+ annotation = get_dependency_annotation(state)
+
+ _check_basic_block(address, annotation)
+
+ @symbolic_vm.pre_hook("SSTORE")
+ def sstore_hook(state: GlobalState):
+ annotation = get_dependency_annotation(state)
+ annotation.extend_storage_write_cache(
+ self.iteration, state.mstate.stack[-1]
+ )
+
+ @symbolic_vm.pre_hook("SLOAD")
+ def sload_hook(state: GlobalState):
+ annotation = get_dependency_annotation(state)
+ location = state.mstate.stack[-1]
+
+ if location not in annotation.storage_loaded:
+ annotation.storage_loaded.append(location)
+
+ # We backwards-annotate the path here as sometimes execution never reaches a stop or return
+ # (and this may change in a future transaction).
+
+ self.update_dependency_map(annotation.path, location)
+
+ @symbolic_vm.pre_hook("STOP")
+ def stop_hook(state: GlobalState):
+ _transaction_end(state)
+
+ @symbolic_vm.pre_hook("RETURN")
+ def return_hook(state: GlobalState):
+ _transaction_end(state)
+
+ def _transaction_end(state: GlobalState) -> None:
+ """When a stop or return is reached, the storage locations read along the path are entered into
+ the dependency map for all nodes encountered in this path.
+
+ :param state:
+ """
+
+ annotation = get_dependency_annotation(state)
+
+ if annotation.has_call:
+ self.protect_path(annotation.path)
+
+ for index in annotation.storage_loaded:
+ self.update_dependency_map(annotation.path, index)
+
+ def _check_basic_block(address: int, annotation: DependencyAnnotation):
+ """This method is where the actual pruning happens.
+
+ :param address: Start address (bytecode offset) of the block
+ :param annotation
+ """
+
+ # Don't skip any blocks in the contract creation transaction
+ if self.iteration < 2:
+ return
+
+ annotation.path.append(address)
+
+ if self.wanna_execute(
+ address, annotation.get_storage_write_cache(self.iteration - 1)
+ ):
+ return
+ else:
+ log.debug(
+ "Skipping state: Storage slots {} not read in block at address {}".format(
+ annotation.get_storage_write_cache(self.iteration - 1), address
+ )
+ )
+
+ raise PluginSkipState
+
+ @symbolic_vm.laser_hook("add_world_state")
+ def world_state_filter_hook(state: GlobalState):
+
+ if isinstance(state.current_transaction, ContractCreationTransaction):
+ # Reset iteration variable
+ self.iteration = 0
+ return
+
+ world_state_annotation = get_ws_dependency_annotation(state)
+ annotation = get_dependency_annotation(state)
+
+ # Reset the state annotation except for storage written which is carried on to
+ # the next transaction
+
+ annotation.path = [0]
+ annotation.storage_loaded = []
+ annotation.has_call = False
+
+ world_state_annotation.annotations_stack.append(annotation)
+
+ log.debug(
+ "Iteration {}: Adding world state at address {}, end of function {}.\nDependency map: {}\nStorage written: {}".format(
+ self.iteration,
+ state.get_current_instruction()["address"],
+ state.node.function_name,
+ self.dependency_map,
+ annotation.storage_written[self.iteration],
+ )
+ )
diff --git a/mythril/laser/ethereum/plugins/plugin_factory.py b/mythril/laser/ethereum/plugins/plugin_factory.py
index 1ce61b34..a81f80c4 100644
--- a/mythril/laser/ethereum/plugins/plugin_factory.py
+++ b/mythril/laser/ethereum/plugins/plugin_factory.py
@@ -30,3 +30,12 @@ class PluginFactory:
)
return InstructionCoveragePlugin()
+
+ @staticmethod
+ def build_dependency_pruner_plugin() -> LaserPlugin:
+ """ Creates an instance of the mutation pruner plugin"""
+ from mythril.laser.ethereum.plugins.implementations.dependency_pruner import (
+ DependencyPruner,
+ )
+
+ return DependencyPruner()
diff --git a/mythril/laser/ethereum/plugins/signals.py b/mythril/laser/ethereum/plugins/signals.py
index 325f2d6a..b59614ca 100644
--- a/mythril/laser/ethereum/plugins/signals.py
+++ b/mythril/laser/ethereum/plugins/signals.py
@@ -15,3 +15,13 @@ class PluginSkipWorldState(PluginSignal):
"""
pass
+
+
+class PluginSkipState(PluginSignal):
+ """ Plugin to skip world state
+
+ Plugins that raise this signal while the add_world_state hook is being executed
+ will force laser to abandon that world state.
+ """
+
+ pass
diff --git a/mythril/laser/ethereum/state/account.py b/mythril/laser/ethereum/state/account.py
index 381562ca..191f0641 100644
--- a/mythril/laser/ethereum/state/account.py
+++ b/mythril/laser/ethereum/state/account.py
@@ -38,7 +38,8 @@ class Storage:
self._storage[item] = symbol_factory.BitVecVal(
int(
self.dynld.read_storage(
- contract_address=self.address, index=int(item)
+ contract_address=hex(self.address.value),
+ index=int(item),
),
16,
),
@@ -47,9 +48,13 @@ class Storage:
return self._storage[item]
except ValueError:
pass
+
if self.concrete:
return symbol_factory.BitVecVal(0, 256)
- self._storage[item] = symbol_factory.BitVecVal(0, 256)
+
+ self._storage[item] = symbol_factory.BitVecSym(
+ "storage_{}_{}".format(str(item), str(self.address)), 256
+ )
return self._storage[item]
def __setitem__(self, key: Union[int, str], value: Any) -> None:
@@ -69,6 +74,9 @@ class Storage:
storage._storage = copy(self._storage)
return storage
+ def __str__(self):
+ return str(self._storage)
+
class Account:
"""Account class representing ethereum accounts."""
diff --git a/mythril/laser/ethereum/state/environment.py b/mythril/laser/ethereum/state/environment.py
index 0f467413..a3300f9a 100644
--- a/mythril/laser/ethereum/state/environment.py
+++ b/mythril/laser/ethereum/state/environment.py
@@ -40,6 +40,7 @@ class Environment:
self.active_function_name = ""
self.address = active_account.address
+ self.block_number = symbol_factory.BitVecSym("block_number", 256)
# Ib
self.code = active_account.code if code is None else code
diff --git a/mythril/laser/ethereum/state/machine_state.py b/mythril/laser/ethereum/state/machine_state.py
index 0ee781ae..f925a1aa 100644
--- a/mythril/laser/ethereum/state/machine_state.py
+++ b/mythril/laser/ethereum/state/machine_state.py
@@ -3,7 +3,7 @@ stack."""
from copy import copy
from typing import cast, Sized, Union, Any, List, Dict, Optional
-from mythril.laser.smt import BitVec, Expression
+from mythril.laser.smt import BitVec, Expression, symbol_factory
from ethereum import opcodes, utils
from mythril.laser.ethereum.evm_exceptions import (
@@ -32,6 +32,8 @@ class MachineStack(list):
:param element: element to be appended to the list
:function: appends the element to list if the size is less than STACK_LIMIT, else throws an error
"""
+ if isinstance(element, int):
+ element = symbol_factory.BitVecVal(element, 256)
if super(MachineStack, self).__len__() >= self.STACK_LIMIT:
raise StackOverflowException(
"Reached the EVM stack limit of {}, you can't append more "
@@ -123,7 +125,12 @@ class MachineState:
"""
if self.memory_size > start + size:
return 0
- return start + size - self.memory_size
+
+ # The extension size is calculated based on the word length
+ new_size = utils.ceil32(start + size) // 32
+ old_size = self.memory_size // 32
+
+ return (new_size - old_size) * 32
def calculate_memory_gas(self, start: int, size: int):
"""
diff --git a/mythril/laser/ethereum/state/memory.py b/mythril/laser/ethereum/state/memory.py
index 0f3283a5..0038d5ec 100644
--- a/mythril/laser/ethereum/state/memory.py
+++ b/mythril/laser/ethereum/state/memory.py
@@ -157,6 +157,8 @@ class Memory:
self[start + i] = cast(List[Union[int, BitVec]], value)[i]
else:
+ if key >= len(self):
+ return
if isinstance(value, int):
assert 0 <= value <= 0xFF
if isinstance(value, BitVec):
diff --git a/mythril/laser/ethereum/strategy/extensions/__init__.py b/mythril/laser/ethereum/strategy/extensions/__init__.py
new file mode 100644
index 00000000..e69de29b
diff --git a/mythril/laser/ethereum/strategy/extensions/bounded_loops.py b/mythril/laser/ethereum/strategy/extensions/bounded_loops.py
new file mode 100644
index 00000000..48f77383
--- /dev/null
+++ b/mythril/laser/ethereum/strategy/extensions/bounded_loops.py
@@ -0,0 +1,84 @@
+from mythril.laser.ethereum.state.global_state import GlobalState
+from mythril.laser.ethereum.strategy.basic import BasicSearchStrategy
+from mythril.laser.ethereum.state.annotation import StateAnnotation
+from mythril.laser.ethereum import util
+from typing import Dict, cast, List
+from copy import copy
+import logging
+
+
+log = logging.getLogger(__name__)
+
+
+class JumpdestCountAnnotation(StateAnnotation):
+ """State annotation that counts the number of jumps per destination."""
+
+ def __init__(self) -> None:
+ self._jumpdest_count = {} # type: Dict[int, int]
+
+ def __copy__(self):
+ result = JumpdestCountAnnotation()
+ result._jumpdest_count = copy(self._jumpdest_count)
+ return result
+
+
+class BoundedLoopsStrategy(BasicSearchStrategy):
+ """Adds loop pruning to the search strategy.
+ Ignores JUMPI instruction if the destination was targeted >JUMPDEST_LIMIT times.
+ """
+
+ def __init__(self, super_strategy: BasicSearchStrategy, *args) -> None:
+ """"""
+
+ self.super_strategy = super_strategy
+ self.jumpdest_limit = args[0][0]
+
+ log.info(
+ "Loaded search strategy extension: Loop bounds (limit = {})".format(
+ self.jumpdest_limit
+ )
+ )
+
+ BasicSearchStrategy.__init__(
+ self, super_strategy.work_list, super_strategy.max_depth
+ )
+
+ def get_strategic_global_state(self) -> GlobalState:
+ """
+ :return:
+ """
+
+ while True:
+
+ state = self.super_strategy.get_strategic_global_state()
+ opcode = state.get_current_instruction()["opcode"]
+
+ if opcode != "JUMPI":
+ return state
+
+ annotations = cast(
+ List[JumpdestCountAnnotation],
+ list(state.get_annotations(JumpdestCountAnnotation)),
+ )
+
+ if len(annotations) == 0:
+ annotation = JumpdestCountAnnotation()
+ state.annotate(annotation)
+ else:
+ annotation = annotations[0]
+
+ try:
+ target = util.get_concrete_int(state.mstate.stack[-1])
+ except TypeError:
+ return state
+
+ try:
+ annotation._jumpdest_count[target] += 1
+ except KeyError:
+ annotation._jumpdest_count[target] = 1
+
+ if annotation._jumpdest_count[target] > self.jumpdest_limit:
+ log.debug("JUMPDEST limit reached, skipping JUMPI")
+ continue
+
+ return state
diff --git a/mythril/laser/ethereum/svm.py b/mythril/laser/ethereum/svm.py
index fae71dc8..9755fc33 100644
--- a/mythril/laser/ethereum/svm.py
+++ b/mythril/laser/ethereum/svm.py
@@ -10,10 +10,11 @@ from mythril.laser.ethereum.evm_exceptions import StackUnderflowException
from mythril.laser.ethereum.evm_exceptions import VmException
from mythril.laser.ethereum.instructions import Instruction
from mythril.laser.ethereum.iprof import InstructionProfiler
-from mythril.laser.ethereum.plugins.signals import PluginSkipWorldState
+from mythril.laser.ethereum.plugins.signals import PluginSkipWorldState, PluginSkipState
from mythril.laser.ethereum.state.global_state import GlobalState
from mythril.laser.ethereum.state.world_state import WorldState
from mythril.laser.ethereum.strategy.basic import DepthFirstSearchStrategy
+from abc import ABCMeta
from mythril.laser.ethereum.time_handler import time_handler
from mythril.laser.ethereum.transaction import (
ContractCreationTransaction,
@@ -68,6 +69,7 @@ class LaserEVM:
:param enable_iprof: Variable indicating whether instruction profiling should be turned on
"""
self.open_states = [] # type: List[WorldState]
+
self.total_states = 0
self.dynamic_loader = dynamic_loader
@@ -102,6 +104,9 @@ class LaserEVM:
log.info("LASER EVM initialized with dynamic loader: " + str(dynamic_loader))
+ def extend_strategy(self, extension: ABCMeta, *args) -> None:
+ self.strategy = extension(self.strategy, args)
+
def sym_exec(
self,
world_state: WorldState = None,
@@ -121,7 +126,7 @@ class LaserEVM:
:param creation_code The creation code to create the target contract in the symbolic environment
:param contract_name The name that the created account should be associated with
"""
- pre_configuration_mode = world_state is not None and target_address is not None
+ pre_configuration_mode = target_address is not None
scratch_mode = creation_code is not None and contract_name is not None
if pre_configuration_mode == scratch_mode:
raise ValueError("Symbolic execution started with invalid parameters")
@@ -140,14 +145,16 @@ class LaserEVM:
elif scratch_mode:
log.info("Starting contract creation transaction")
+
created_account = execute_contract_creation(
- self, creation_code, contract_name
+ self, creation_code, contract_name, world_state=world_state
)
log.info(
"Finished contract creation, found {} open states".format(
len(self.open_states)
)
)
+
if len(self.open_states) == 0:
log.warning(
"No contract was created during the execution of contract creation "
@@ -177,8 +184,9 @@ class LaserEVM:
:param address: Address of the contract
:return:
"""
+ self.time = datetime.now()
+
for i in range(self.transaction_count):
- self.time = datetime.now()
log.info(
"Starting message call transaction, iteration: {}, {} initial states".format(
i, len(self.open_states)
@@ -210,8 +218,7 @@ class LaserEVM:
if (
self.execution_timeout
- and self.time
- + timedelta(seconds=self.execution_timeout / self.transaction_count)
+ and self.time + timedelta(seconds=self.execution_timeout)
<= datetime.now()
and not create
):
@@ -267,7 +274,12 @@ class LaserEVM:
self._add_world_state(global_state)
return [], None
- self._execute_pre_hook(op_code, global_state)
+ try:
+ self._execute_pre_hook(op_code, global_state)
+ except PluginSkipState:
+ self._add_world_state(global_state)
+ return [], None
+
try:
new_global_states = Instruction(
op_code, self.dynamic_loader, self.iprof
@@ -431,11 +443,16 @@ class LaserEVM:
new_node.flags |= NodeFlags.FUNC_ENTRY
except StackUnderflowException:
new_node.flags |= NodeFlags.FUNC_ENTRY
+
address = state.environment.code.instruction_list[state.mstate.pc]["address"]
environment = state.environment
disassembly = environment.code
- if address in disassembly.address_to_function_name:
+ if isinstance(
+ state.world_state.transaction_sequence[-1], ContractCreationTransaction
+ ):
+ environment.active_function_name = "constructor"
+ elif address in disassembly.address_to_function_name:
# Enter a new function
environment.active_function_name = disassembly.address_to_function_name[
address
@@ -533,7 +550,10 @@ class LaserEVM:
for hook in self.post_hooks[op_code]:
for global_state in global_states:
- hook(global_state)
+ try:
+ hook(global_state)
+ except PluginSkipState:
+ global_states.remove(global_state)
def pre_hook(self, op_code: str) -> Callable:
"""
diff --git a/mythril/laser/ethereum/transaction/concolic.py b/mythril/laser/ethereum/transaction/concolic.py
index d8c251dd..164df8db 100644
--- a/mythril/laser/ethereum/transaction/concolic.py
+++ b/mythril/laser/ethereum/transaction/concolic.py
@@ -88,7 +88,7 @@ def _setup_global_state_for_execution(laser_evm, transaction) -> None:
condition=None,
)
)
-
+ global_state.world_state.transaction_sequence.append(transaction)
global_state.node = new_node
new_node.states.append(global_state)
laser_evm.work_list.append(global_state)
diff --git a/mythril/laser/ethereum/transaction/symbolic.py b/mythril/laser/ethereum/transaction/symbolic.py
index 9a8ccc5d..1a895048 100644
--- a/mythril/laser/ethereum/transaction/symbolic.py
+++ b/mythril/laser/ethereum/transaction/symbolic.py
@@ -68,7 +68,7 @@ def execute_message_call(laser_evm, callee_address: BitVec) -> None:
def execute_contract_creation(
- laser_evm, contract_initialization_code, contract_name=None
+ laser_evm, contract_initialization_code, contract_name=None, world_state=None
) -> Account:
"""Executes a contract creation transaction from all open states.
@@ -80,15 +80,9 @@ def execute_contract_creation(
# TODO: Resolve circular import between .transaction and ..svm to import LaserEVM here
del laser_evm.open_states[:]
- world_state = WorldState()
+ world_state = world_state or WorldState()
open_states = [world_state]
- new_account = world_state.create_account(
- 0, concrete_storage=True, dynamic_loader=None, creator=CREATOR_ADDRESS
- )
-
- if contract_name:
- new_account.contract_name = contract_name
-
+ new_account = None
for open_world_state in open_states:
next_transaction_id = get_next_transaction_id()
transaction = ContractCreationTransaction(
@@ -103,13 +97,14 @@ def execute_contract_creation(
),
code=Disassembly(contract_initialization_code),
caller=symbol_factory.BitVecVal(CREATOR_ADDRESS, 256),
- callee_account=new_account,
+ contract_name=contract_name,
call_data=[],
call_value=symbol_factory.BitVecSym(
"call_value{}".format(next_transaction_id), 256
),
)
_setup_global_state_for_execution(laser_evm, transaction)
+ new_account = new_account or transaction.callee_account
laser_evm.exec(True)
return new_account
diff --git a/mythril/laser/ethereum/transaction/transaction_models.py b/mythril/laser/ethereum/transaction/transaction_models.py
index f5863c1c..93cc7e3b 100644
--- a/mythril/laser/ethereum/transaction/transaction_models.py
+++ b/mythril/laser/ethereum/transaction/transaction_models.py
@@ -2,6 +2,7 @@
execution."""
import array
+from copy import deepcopy
from z3 import ExprRef
from typing import Union, Optional, cast
@@ -161,12 +162,37 @@ class MessageCallTransaction(BaseTransaction):
class ContractCreationTransaction(BaseTransaction):
"""Transaction object models an transaction."""
- def __init__(self, *args, **kwargs) -> None:
- # Remove ignore after https://github.com/python/mypy/issues/4335 is fixed
- super().__init__(*args, **kwargs, init_call_data=False) # type: ignore
+ def __init__(
+ self,
+ world_state: WorldState,
+ caller: ExprRef = None,
+ call_data=None,
+ identifier: Optional[str] = None,
+ gas_price=None,
+ gas_limit=None,
+ origin=None,
+ code=None,
+ call_value=None,
+ contract_name=None,
+ ) -> None:
+ self.prev_world_state = deepcopy(world_state)
+ callee_account = world_state.create_account(
+ 0, concrete_storage=True, creator=caller.value
+ )
+ callee_account.contract_name = contract_name
# TODO: set correct balance for new account
- self.callee_account = self.callee_account or self.world_state.create_account(
- 0, concrete_storage=True
+ super().__init__(
+ world_state=world_state,
+ callee_account=callee_account,
+ caller=caller,
+ call_data=call_data,
+ identifier=identifier,
+ gas_price=gas_price,
+ gas_limit=gas_limit,
+ origin=origin,
+ code=code,
+ call_value=call_value,
+ init_call_data=False,
)
def initial_global_state(self) -> GlobalState:
diff --git a/mythril/laser/smt/bitvec.py b/mythril/laser/smt/bitvec.py
index 05081137..1dd15191 100644
--- a/mythril/laser/smt/bitvec.py
+++ b/mythril/laser/smt/bitvec.py
@@ -243,6 +243,13 @@ class BitVec(Expression[z3.BitVecRef]):
"""
return self._handle_shift(other, rshift)
+ def __hash__(self) -> int:
+ """
+
+ :return:
+ """
+ return self.raw.__hash__()
+
def _comparison_helper(
a: BitVec, b: BitVec, operation: Callable, default_value: bool, inputs_equal: bool
diff --git a/mythril/mythril/mythril_analyzer.py b/mythril/mythril/mythril_analyzer.py
index 5d0596e2..d6267a94 100644
--- a/mythril/mythril/mythril_analyzer.py
+++ b/mythril/mythril/mythril_analyzer.py
@@ -35,8 +35,10 @@ class MythrilAnalyzer:
address: Optional[str] = None,
max_depth: Optional[int] = None,
execution_timeout: Optional[int] = None,
+ loop_bound: Optional[int] = None,
create_timeout: Optional[int] = None,
enable_iprof: bool = False,
+ disable_dependency_pruning: bool = False,
):
"""
@@ -53,8 +55,10 @@ class MythrilAnalyzer:
self.address = address
self.max_depth = max_depth
self.execution_timeout = execution_timeout
+ self.loop_bound = loop_bound
self.create_timeout = create_timeout
self.enable_iprof = enable_iprof
+ self.disable_dependency_pruning = disable_dependency_pruning
def dump_statespace(self, contract: EVMContract = None) -> str:
"""
@@ -75,6 +79,8 @@ class MythrilAnalyzer:
execution_timeout=self.execution_timeout,
create_timeout=self.create_timeout,
enable_iprof=self.enable_iprof,
+ disable_dependency_pruning=self.disable_dependency_pruning,
+ run_analysis_modules=False,
)
return get_serializable_statespace(sym)
@@ -108,6 +114,8 @@ class MythrilAnalyzer:
transaction_count=transaction_count,
create_timeout=self.create_timeout,
enable_iprof=self.enable_iprof,
+ disable_dependency_pruning=self.disable_dependency_pruning,
+ run_analysis_modules=False,
)
return generate_graph(sym, physics=enable_physics, phrackify=phrackify)
@@ -140,12 +148,15 @@ class MythrilAnalyzer:
),
max_depth=self.max_depth,
execution_timeout=self.execution_timeout,
+ loop_bound=self.loop_bound,
create_timeout=self.create_timeout,
transaction_count=transaction_count,
modules=modules,
compulsory_statespace=False,
enable_iprof=self.enable_iprof,
+ disable_dependency_pruning=self.disable_dependency_pruning,
)
+
issues = fire_lasers(sym, modules)
except KeyboardInterrupt:
log.critical("Keyboard Interrupt")
diff --git a/requirements.txt b/requirements.txt
index 11cdeff3..1b49350c 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -8,7 +8,7 @@ ethereum>=2.3.2
ethereum-input-decoder>=0.2.2
eth-hash>=0.1.0
eth-keyfile>=0.5.1
-eth-keys>=0.2.0b3
+eth-keys>=0.2.0b3,<0.3.0
eth-rlp>=0.1.0
eth-tester==0.1.0b32
eth-typing>=2.0.0
@@ -25,6 +25,6 @@ pytest_mock
requests
rlp>=1.0.1
transaction>=2.2.1
-z3-solver-mythril>=4.8.4.1
+z3-solver>=4.8.5.0
pysha3
matplotlib
diff --git a/setup.py b/setup.py
index 4605b5d3..d76f546e 100755
--- a/setup.py
+++ b/setup.py
@@ -9,21 +9,82 @@ publish to pypi w/o having to convert Readme.md to RST:
"""
from setuptools import setup, find_packages
from setuptools.command.install import install
-from pathlib import Path
import sys
import os
+import io
-# To make lint checkers happy we set VERSION here, but
-# it is redefined by the exec below
+# Package meta-data.
+NAME = "mythril"
+DESCRIPTION = "Security analysis tool for Ethereum smart contracts"
+URL = "https://github.com/ConsenSys/mythril"
+AUTHOR = "ConsenSys Dilligence"
+AUTHOR_MAIL = None
+REQUIRES_PYTHON = ">=3.5.0"
+
+
+# What packages are required for this module to be executed?
+REQUIRED = [
+ "coloredlogs>=10.0",
+ "py_ecc==1.4.2",
+ "ethereum>=2.3.2",
+ "z3-solver>=4.8.5.0",
+ "requests",
+ "py-solc",
+ "plyvel",
+ "eth_abi==1.3.0",
+ "eth-utils>=1.0.1",
+ "eth-account>=0.1.0a2,<=0.3.0",
+ "eth-hash>=0.1.0",
+ "eth-keyfile>=0.5.1",
+ "eth-keys>=0.2.0b3,<0.3.0",
+ "eth-rlp>=0.1.0",
+ "eth-tester==0.1.0b32",
+ "eth-typing>=2.0.0",
+ "coverage",
+ "jinja2>=2.9",
+ "rlp>=1.0.1",
+ "transaction>=2.2.1",
+ "py-flags",
+ "mock",
+ "configparser>=3.5.0",
+ "persistent>=4.2.0",
+ "ethereum-input-decoder>=0.2.2",
+ "matplotlib",
+]
+
+TESTS_REQUIRE = ["mypy", "pytest>=3.6.0", "pytest_mock", "pytest-cov"]
+
+# What packages are optional?
+EXTRAS = {
+ # 'fancy feature': ['django'],
+}
+
+# If version is set to None then it will be fetched from __version__.py
VERSION = None
-# Package version (vX.Y.Z). It must match git tag being used for CircleCI
-# deployment; otherwise the build will failed.
+here = os.path.abspath(os.path.dirname(__file__))
+
+# Import the README and use it as the long-description.
+# Note: this will only work if 'README.md' is present in your MANIFEST.in file!
+try:
+ with io.open(os.path.join(here, "README.md"), encoding="utf-8") as f:
+ long_description = "\n" + f.read()
+except FileNotFoundError:
+ long_description = DESCRIPTION
-version_path = (Path(__file__).parent / "mythril" / "version.py").absolute()
-exec(open(str(version_path), "r").read())
+# Load the package's __version__.py module as a dictionary.
+about = {}
+if not VERSION:
+ project_slug = NAME.lower().replace("-", "_").replace(" ", "_")
+ with open(os.path.join(here, project_slug, "__version__.py")) as f:
+ exec(f.read(), about)
+else:
+ about["__version__"] = VERSION
+
+# Package version (vX.Y.Z). It must match git tag being used for CircleCI
+# deployment; otherwise the build will failed.
class VerifyVersionCommand(install):
"""Custom command to verify that the git tag matches our version."""
@@ -33,32 +94,22 @@ class VerifyVersionCommand(install):
""""""
tag = os.getenv("CIRCLE_TAG")
- if tag != VERSION:
+ if tag != about["__version__"]:
info = "Git tag: {0} does not match the version of this app: {1}".format(
- tag, VERSION
+ tag, about["__version__"]
)
sys.exit(info)
-def read_file(fname):
- """return file contents.
-
- :param fname: path relative to setup.py
- :return: file contents
- """
- with open(os.path.join(os.path.dirname(__file__), fname), "r") as fd:
- return fd.read()
-
-
setup(
- name="mythril",
- version=VERSION[1:],
- description="Security analysis tool for Ethereum smart contracts",
- long_description=read_file("README.md") if os.path.isfile("README.md") else "",
+ name=NAME,
+ version=about["__version__"][1:],
+ description=DESCRIPTION,
+ long_description=long_description,
long_description_content_type="text/markdown", # requires twine and recent setuptools
- url="https://github.com/b-mueller/mythril",
- author="Bernhard Mueller",
- author_email="bernhard.mueller11@gmail.com",
+ url=URL,
+ author=AUTHOR,
+ author_mail=AUTHOR_MAIL,
license="MIT",
classifiers=[
"Development Status :: 3 - Alpha",
@@ -71,37 +122,10 @@ setup(
],
keywords="hacking disassembler security ethereum",
packages=find_packages(exclude=["contrib", "docs", "tests"]),
- install_requires=[
- "coloredlogs>=10.0",
- "py_ecc==1.4.2",
- "ethereum>=2.3.2",
- "z3-solver-mythril>=4.8.4.1",
- "requests",
- "py-solc",
- "plyvel",
- "eth_abi==1.3.0",
- "eth-utils>=1.0.1",
- "eth-account>=0.1.0a2,<=0.3.0",
- "eth-hash>=0.1.0",
- "eth-keyfile>=0.5.1",
- "eth-keys>=0.2.0b3",
- "eth-rlp>=0.1.0",
- "eth-tester==0.1.0b32",
- "eth-typing>=2.0.0",
- "coverage",
- "jinja2>=2.9",
- "rlp>=1.0.1",
- "transaction>=2.2.1",
- "py-flags",
- "mock",
- "configparser>=3.5.0",
- "persistent>=4.2.0",
- "ethereum-input-decoder>=0.2.2",
- "matplotlib",
- ],
- tests_require=["mypy", "pytest>=3.6.0", "pytest_mock", "pytest-cov"],
- python_requires=">=3.5",
- extras_require={},
+ install_requires=REQUIRED,
+ tests_require=TESTS_REQUIRE,
+ python_requires=REQUIRES_PYTHON,
+ extras_require=EXTRAS,
package_data={"mythril.analysis.templates": ["*"], "mythril.support.assets": ["*"]},
include_package_data=True,
entry_points={"console_scripts": ["myth=mythril.interfaces.cli:main"]},
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/BlockNumberDynamicJump0_AfterJumpdest.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/BlockNumberDynamicJump0_AfterJumpdest.json
new file mode 100644
index 00000000..2539443a
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/BlockNumberDynamicJump0_AfterJumpdest.json
@@ -0,0 +1,37 @@
+{
+ "BlockNumberDynamicJump0_AfterJumpdest" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/BlockNumberDynamicJump0_AfterJumpdestFiller.json",
+ "sourceHash" : "edd08521b4a9bc311f2ba99d15c867d9a98da1e9665d9b173ff85621e170e896"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x02",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x6023600843015660015b600255",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x6023600843015660015b600255",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/BlockNumberDynamicJump0_AfterJumpdest3.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/BlockNumberDynamicJump0_AfterJumpdest3.json
new file mode 100644
index 00000000..13ff0fe4
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/BlockNumberDynamicJump0_AfterJumpdest3.json
@@ -0,0 +1,37 @@
+{
+ "BlockNumberDynamicJump0_AfterJumpdest3" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/BlockNumberDynamicJump0_AfterJumpdest3Filler.json",
+ "sourceHash" : "1e86dccd54bd74436a1bbfe11302b675761fc6138ebd1461231acd29ee97b0f0"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x02",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x6023600b60085043015660015b600255",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x6023600b60085043015660015b600255",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/BlockNumberDynamicJump0_foreverOutOfGas.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/BlockNumberDynamicJump0_foreverOutOfGas.json
new file mode 100644
index 00000000..a209cb69
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/BlockNumberDynamicJump0_foreverOutOfGas.json
@@ -0,0 +1,37 @@
+{
+ "BlockNumberDynamicJump0_foreverOutOfGas" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/BlockNumberDynamicJump0_foreverOutOfGasFiller.json",
+ "sourceHash" : "0900beba73811b8aafaefadcff3a7cd9954ccb5e4986b9cf03ca44881efd4e9c"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x02",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x5b600060000156",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x5b600060000156",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/BlockNumberDynamicJump0_jumpdest0.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/BlockNumberDynamicJump0_jumpdest0.json
new file mode 100644
index 00000000..161e0f33
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/BlockNumberDynamicJump0_jumpdest0.json
@@ -0,0 +1,52 @@
+{
+ "BlockNumberDynamicJump0_jumpdest0" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/BlockNumberDynamicJump0_jumpdest0Filler.json",
+ "sourceHash" : "80bfa0a5db107e6f083dccdd3091e35add39a4eaac4a8757de8a3e4008c5d646"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x02",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x6023600743015660015b600255",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "gas" : "0x013869",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x6023600743015660015b600255",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x02" : "0x23"
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x6023600743015660015b600255",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/BlockNumberDynamicJump0_jumpdest2.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/BlockNumberDynamicJump0_jumpdest2.json
new file mode 100644
index 00000000..56700e28
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/BlockNumberDynamicJump0_jumpdest2.json
@@ -0,0 +1,52 @@
+{
+ "BlockNumberDynamicJump0_jumpdest2" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/BlockNumberDynamicJump0_jumpdest2Filler.json",
+ "sourceHash" : "e86a87e0b5cde7d47f1e5dc295600ecc60b7344b3fb4ad64609d6b87fae642f8"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x02",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x6023600a60085043015660015b600255",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "gas" : "0x013864",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x6023600a60085043015660015b600255",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x02" : "0x23"
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x6023600a60085043015660015b600255",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/BlockNumberDynamicJump0_withoutJumpdest.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/BlockNumberDynamicJump0_withoutJumpdest.json
new file mode 100644
index 00000000..3f9f828e
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/BlockNumberDynamicJump0_withoutJumpdest.json
@@ -0,0 +1,37 @@
+{
+ "BlockNumberDynamicJump0_withoutJumpdest" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/BlockNumberDynamicJump0_withoutJumpdestFiller.json",
+ "sourceHash" : "6f1fc4a9e5dff3e5d3071c576aba5b2ee1f30d7dcace92e6c6d230cfd415efd7"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x02",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x602360074301566001600255",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x602360074301566001600255",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/BlockNumberDynamicJump1.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/BlockNumberDynamicJump1.json
new file mode 100644
index 00000000..4109f530
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/BlockNumberDynamicJump1.json
@@ -0,0 +1,37 @@
+{
+ "BlockNumberDynamicJump1" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/BlockNumberDynamicJump1Filler.json",
+ "sourceHash" : "88e43b5985cc4dfbcbc8476c570157e6e7bc0ee0cb3609e9e9f3dd9aa2a3a528"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x02",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x620fffff620fffff01430156",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x620fffff620fffff01430156",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/BlockNumberDynamicJumpInsidePushWithJumpDest.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/BlockNumberDynamicJumpInsidePushWithJumpDest.json
new file mode 100644
index 00000000..13c6b0c7
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/BlockNumberDynamicJumpInsidePushWithJumpDest.json
@@ -0,0 +1,37 @@
+{
+ "BlockNumberDynamicJumpInsidePushWithJumpDest" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/BlockNumberDynamicJumpInsidePushWithJumpDestFiller.json",
+ "sourceHash" : "ca0f21a5f52a8d4f2d6e1eed650f68d5f8f40e567cf17984aacc228adfa578ab"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x02",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x6004430156655b6001600155",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x6004430156655b6001600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/BlockNumberDynamicJumpInsidePushWithoutJumpDest.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/BlockNumberDynamicJumpInsidePushWithoutJumpDest.json
new file mode 100644
index 00000000..fc904df5
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/BlockNumberDynamicJumpInsidePushWithoutJumpDest.json
@@ -0,0 +1,37 @@
+{
+ "BlockNumberDynamicJumpInsidePushWithoutJumpDest" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/BlockNumberDynamicJumpInsidePushWithoutJumpDestFiller.json",
+ "sourceHash" : "183a4ce2d0f208630db92539aaf4e38fc3025b44a2842e19e39e956465449fe5"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x02",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x600543015661eeff",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x600543015661eeff",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/BlockNumberDynamicJumpi0.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/BlockNumberDynamicJumpi0.json
new file mode 100644
index 00000000..d0b67dd9
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/BlockNumberDynamicJumpi0.json
@@ -0,0 +1,37 @@
+{
+ "BlockNumberDynamicJumpi0" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/BlockNumberDynamicJumpi0Filler.json",
+ "sourceHash" : "620bba922f5a1732f512d726a26e71b09d3837018a66a9aacb581b212a4f4b13"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x02",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x6023600160094301576001600255",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x6023600160094301576001600255",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/BlockNumberDynamicJumpi1.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/BlockNumberDynamicJumpi1.json
new file mode 100644
index 00000000..5c404de0
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/BlockNumberDynamicJumpi1.json
@@ -0,0 +1,52 @@
+{
+ "BlockNumberDynamicJumpi1" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/BlockNumberDynamicJumpi1Filler.json",
+ "sourceHash" : "91d6fe3848fbdafff10b7bd503d560f2c614d6b53ed16b51821d3026f4a3a544"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x02",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x6023600060094301576001600255",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "gas" : "0x013862",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x6023600060094301576001600255",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x02" : "0x01"
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x6023600060094301576001600255",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/BlockNumberDynamicJumpi1_jumpdest.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/BlockNumberDynamicJumpi1_jumpdest.json
new file mode 100644
index 00000000..f6eca581
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/BlockNumberDynamicJumpi1_jumpdest.json
@@ -0,0 +1,37 @@
+{
+ "BlockNumberDynamicJumpi1_jumpdest" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/BlockNumberDynamicJumpi1_jumpdestFiller.json",
+ "sourceHash" : "420810639c740487f7b8d18b29f28dcfb7d762b1aa4aa9b9f8b91928da66a539"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x02",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x60236001600a43015760015b600255",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x60236001600a43015760015b600255",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/BlockNumberDynamicJumpiAfterStop.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/BlockNumberDynamicJumpiAfterStop.json
new file mode 100644
index 00000000..8c080a3a
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/BlockNumberDynamicJumpiAfterStop.json
@@ -0,0 +1,52 @@
+{
+ "BlockNumberDynamicJumpiAfterStop" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/BlockNumberDynamicJumpiAfterStopFiller.json",
+ "sourceHash" : "7331cec587701bf695329ad94c7e62963827209faffac3b24eb59341ccb1a925"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x02",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x600160084301570060015b6002600355",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "gas" : "0x013864",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x600160084301570060015b6002600355",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x03" : "0x02"
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x600160084301570060015b6002600355",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/BlockNumberDynamicJumpiOutsideBoundary.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/BlockNumberDynamicJumpiOutsideBoundary.json
new file mode 100644
index 00000000..102f95d0
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/BlockNumberDynamicJumpiOutsideBoundary.json
@@ -0,0 +1,37 @@
+{
+ "BlockNumberDynamicJumpiOutsideBoundary" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/BlockNumberDynamicJumpiOutsideBoundaryFiller.json",
+ "sourceHash" : "db80ec0400be086e2a316a91ee7a5f87db06ff6a5b0ad27a50ba692049a54b1c"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x02",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x60017ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04301576002600355",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x60017ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04301576002600355",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/BlockNumberDynamicJumpifInsidePushWithJumpDest.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/BlockNumberDynamicJumpifInsidePushWithJumpDest.json
new file mode 100644
index 00000000..aa28e7f2
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/BlockNumberDynamicJumpifInsidePushWithJumpDest.json
@@ -0,0 +1,37 @@
+{
+ "BlockNumberDynamicJumpifInsidePushWithJumpDest" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/BlockNumberDynamicJumpifInsidePushWithJumpDestFiller.json",
+ "sourceHash" : "4b52bc3a45a966d0032eb01b3fdb8a225af48fa4f5a017b5dff3d4d88d710337"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x02",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x60016006430157655b6001600155",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x60016006430157655b6001600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/BlockNumberDynamicJumpifInsidePushWithoutJumpDest.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/BlockNumberDynamicJumpifInsidePushWithoutJumpDest.json
new file mode 100644
index 00000000..f41afd94
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/BlockNumberDynamicJumpifInsidePushWithoutJumpDest.json
@@ -0,0 +1,37 @@
+{
+ "BlockNumberDynamicJumpifInsidePushWithoutJumpDest" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/BlockNumberDynamicJumpifInsidePushWithoutJumpDestFiller.json",
+ "sourceHash" : "3fccd0c56ebfd40dea69fec03d009967a80ddf93e9a68af81efd2d1645e27fcb"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x02",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x6001600743015761eeff",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x6001600743015761eeff",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DyanmicJump0_outOfBoundary.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DyanmicJump0_outOfBoundary.json
new file mode 100644
index 00000000..023fa033
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DyanmicJump0_outOfBoundary.json
@@ -0,0 +1,38 @@
+{
+ "DyanmicJump0_outOfBoundary" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/DyanmicJump0_outOfBoundaryFiller.json",
+ "sourceHash" : "a2ae635e97f7381a5af1ea432d210faf19f4f84e8e0e6874bd48005674bfea92"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x02",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x6023600760005401566001600255",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x6023600760005401566001600255",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x04"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJump0_AfterJumpdest.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJump0_AfterJumpdest.json
new file mode 100644
index 00000000..df8609cf
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJump0_AfterJumpdest.json
@@ -0,0 +1,37 @@
+{
+ "DynamicJump0_AfterJumpdest" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/DynamicJump0_AfterJumpdestFiller.json",
+ "sourceHash" : "605f607251cd4a7c73bd7c814edcada6a9008fcd2896af2caf371beb31db196b"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x602360086003015660015b600255",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x602360086003015660015b600255",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJump0_AfterJumpdest3.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJump0_AfterJumpdest3.json
new file mode 100644
index 00000000..71f34d96
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJump0_AfterJumpdest3.json
@@ -0,0 +1,37 @@
+{
+ "DynamicJump0_AfterJumpdest3" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/DynamicJump0_AfterJumpdest3Filler.json",
+ "sourceHash" : "b7367314ce66b1a937c05550ac901971b5850d2a0ef03acf1feb4d6c9f38925d"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x6023600b6008506003015660015b600255",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x6023600b6008506003015660015b600255",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJump0_foreverOutOfGas.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJump0_foreverOutOfGas.json
new file mode 100644
index 00000000..dea2379c
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJump0_foreverOutOfGas.json
@@ -0,0 +1,37 @@
+{
+ "DynamicJump0_foreverOutOfGas" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/DynamicJump0_foreverOutOfGasFiller.json",
+ "sourceHash" : "68b687a344b0f44d7459e095f05f6b302ee3f5d15b3c3e7765d5642fb1f46689"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x5b600060000156",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x5b600060000156",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJump0_jumpdest0.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJump0_jumpdest0.json
new file mode 100644
index 00000000..3a11d95c
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJump0_jumpdest0.json
@@ -0,0 +1,52 @@
+{
+ "DynamicJump0_jumpdest0" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/DynamicJump0_jumpdest0Filler.json",
+ "sourceHash" : "3ab9d036e3e345909b19022f4c3b80d081d214eb5c79b8e94e0f2c660ab01ec7"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x602360076003015660015b600255",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "gas" : "0x013868",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x602360076003015660015b600255",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x02" : "0x23"
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x602360076003015660015b600255",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJump0_jumpdest2.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJump0_jumpdest2.json
new file mode 100644
index 00000000..48d81262
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJump0_jumpdest2.json
@@ -0,0 +1,52 @@
+{
+ "DynamicJump0_jumpdest2" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/DynamicJump0_jumpdest2Filler.json",
+ "sourceHash" : "a7e9d9f046151930ef4b51b8dacce5304ce74c3f5ead80f1e52f783b1a704378"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x6023600a6008506003015660015b600255",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "gas" : "0x013863",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x6023600a6008506003015660015b600255",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x02" : "0x23"
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x6023600a6008506003015660015b600255",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJump0_withoutJumpdest.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJump0_withoutJumpdest.json
new file mode 100644
index 00000000..2a727296
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJump0_withoutJumpdest.json
@@ -0,0 +1,37 @@
+{
+ "DynamicJump0_withoutJumpdest" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/DynamicJump0_withoutJumpdestFiller.json",
+ "sourceHash" : "84c524e0cafc2ddcebdef720e46a23d10061f4a35bb06bfe7bdfe444990593a6"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x60236007600301566001600255",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x60236007600301566001600255",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJump1.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJump1.json
new file mode 100644
index 00000000..905b3d77
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJump1.json
@@ -0,0 +1,37 @@
+{
+ "DynamicJump1" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/DynamicJump1Filler.json",
+ "sourceHash" : "2369bac56afc1e0946f608c52027fbc88faf3844cdc2fa46954a0916221b8432"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x620fffff620fffff0160030156",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x620fffff620fffff0160030156",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJumpAfterStop.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJumpAfterStop.json
new file mode 100644
index 00000000..127a2b9c
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJumpAfterStop.json
@@ -0,0 +1,52 @@
+{
+ "DynamicJumpAfterStop" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/DynamicJumpAfterStopFiller.json",
+ "sourceHash" : "5ba8a9cb65319cdc8e574e0eb59695b55158e6d723945bac3b96573a576a86a8"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x6008600101560060015b6002600355",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "gas" : "0x013868",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x6008600101560060015b6002600355",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x03" : "0x02"
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x6008600101560060015b6002600355",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJumpInsidePushWithJumpDest.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJumpInsidePushWithJumpDest.json
new file mode 100644
index 00000000..0975ad3d
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJumpInsidePushWithJumpDest.json
@@ -0,0 +1,37 @@
+{
+ "DynamicJumpInsidePushWithJumpDest" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/DynamicJumpInsidePushWithJumpDestFiller.json",
+ "sourceHash" : "3f3586292e12e696029f38f833fe8c7cea86a0e7cda83c0cbe783aa2c3b22b0c"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x600460030156655b6001600155",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x600460030156655b6001600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJumpInsidePushWithoutJumpDest.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJumpInsidePushWithoutJumpDest.json
new file mode 100644
index 00000000..cfe0d21c
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJumpInsidePushWithoutJumpDest.json
@@ -0,0 +1,37 @@
+{
+ "DynamicJumpInsidePushWithoutJumpDest" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/DynamicJumpInsidePushWithoutJumpDestFiller.json",
+ "sourceHash" : "4e320bace2f65884d59f95dbbba6e4f9aea39e243bffd309be9bb6c5a3c1bedb"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x60056003015661eeff",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x60056003015661eeff",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJumpJD_DependsOnJumps0.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJumpJD_DependsOnJumps0.json
new file mode 100644
index 00000000..ebe71f5a
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJumpJD_DependsOnJumps0.json
@@ -0,0 +1,37 @@
+{
+ "DynamicJumpJD_DependsOnJumps0" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/DynamicJumpJD_DependsOnJumps0Filler.json",
+ "sourceHash" : "e96143bec9697fb0d565026f5fcc5ed70833bf89eb8c63aa87e0155b4e61d8f4"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x01",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x6009436006575b566001",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x6009436006575b566001",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJumpJD_DependsOnJumps1.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJumpJD_DependsOnJumps1.json
new file mode 100644
index 00000000..7768209d
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJumpJD_DependsOnJumps1.json
@@ -0,0 +1,52 @@
+{
+ "DynamicJumpJD_DependsOnJumps1" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/DynamicJumpJD_DependsOnJumps1Filler.json",
+ "sourceHash" : "853f3f35881b9db63508e68d34cf87a1a3697fdc969821c0659462242d859c2b"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x01",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x600a436006575b5660015b6001600155",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "gas" : "0x01385e",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x600a436006575b5660015b6001600155",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x01" : "0x01"
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x600a436006575b5660015b6001600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJumpPathologicalTest0.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJumpPathologicalTest0.json
new file mode 100644
index 00000000..975b1619
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJumpPathologicalTest0.json
@@ -0,0 +1,52 @@
+{
+ "DynamicJumpPathologicalTest0" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/DynamicJumpPathologicalTest0Filler.json",
+ "sourceHash" : "6862ac2a8fad0b3c043493fcd9c9a7e8a549c9f3ef34019ac0d7bcfd096a8040"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x04",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x435660615b4343025660615b60615b5b5b6001600155",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "gas" : "0x01385d",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x435660615b4343025660615b60615b5b5b6001600155",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x01" : "0x01"
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x435660615b4343025660615b60615b5b5b6001600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJumpPathologicalTest1.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJumpPathologicalTest1.json
new file mode 100644
index 00000000..9c60176a
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJumpPathologicalTest1.json
@@ -0,0 +1,37 @@
+{
+ "DynamicJumpPathologicalTest1" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/DynamicJumpPathologicalTest1Filler.json",
+ "sourceHash" : "dfbad553b0e28f37f6a5d72740e2ae6bf17ce1b19c62caf2cc2a99c0d1d84e05"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x04",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x435660615b4343025660615b60615b605b6001600155",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x435660615b4343025660615b60615b605b6001600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJumpPathologicalTest2.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJumpPathologicalTest2.json
new file mode 100644
index 00000000..96783591
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJumpPathologicalTest2.json
@@ -0,0 +1,37 @@
+{
+ "DynamicJumpPathologicalTest2" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/DynamicJumpPathologicalTest2Filler.json",
+ "sourceHash" : "957bc609a0322452da86a59c96e7eea17c5463dcd7bad6ed97b57c6460a90b80"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x04",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x435631615b60615b60615b606001600155",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x435631615b60615b60615b606001600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJumpPathologicalTest3.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJumpPathologicalTest3.json
new file mode 100644
index 00000000..3e3317ef
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJumpPathologicalTest3.json
@@ -0,0 +1,37 @@
+{
+ "DynamicJumpPathologicalTest3" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/DynamicJumpPathologicalTest3Filler.json",
+ "sourceHash" : "a906b3dcb41da1cdacb67bdf49111ecd2bdaab0e3584dbd3993ef0f0555766f6"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x07",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x435631615b60615b60615b606001600155",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x435631615b60615b60615b606001600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJumpStartWithJumpDest.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJumpStartWithJumpDest.json
new file mode 100644
index 00000000..72b3d6be
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJumpStartWithJumpDest.json
@@ -0,0 +1,52 @@
+{
+ "DynamicJumpStartWithJumpDest" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/DynamicJumpStartWithJumpDestFiller.json",
+ "sourceHash" : "4fb19acd65703dce630cb655f52e98d2de72d8a790d53b895d0e7bce603d4166"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x5b586000555960115758600052596000575b58600055",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "gas" : "0x011126",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x5b586000555960115758600052596000575b58600055",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x12"
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x5b586000555960115758600052596000575b58600055",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJump_value1.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJump_value1.json
new file mode 100644
index 00000000..003998fb
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJump_value1.json
@@ -0,0 +1,51 @@
+{
+ "DynamicJump_value1" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/DynamicJump_value1Filler.json",
+ "sourceHash" : "20503c4d21019e3d9d87b95365a0d0417fb7e163265f938d6e3f685377a2c5da"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x60016002600334565b5050600052596000f35b50600052596000f35b600052596000f3",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x08"
+ },
+ "gas" : "0x01867a",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x0000000000000000000000000000000000000000000000000000000000000001",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x60016002600334565b5050600052596000f35b50600052596000f35b600052596000f3",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x60016002600334565b5050600052596000f35b50600052596000f35b600052596000f3",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJump_value2.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJump_value2.json
new file mode 100644
index 00000000..fafb704f
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJump_value2.json
@@ -0,0 +1,51 @@
+{
+ "DynamicJump_value2" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/DynamicJump_value2Filler.json",
+ "sourceHash" : "00631169ba52dbbd3d7ac8529dd960c6b297226c0f177ee3e0ef8bd202b4b1ff"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x60016002600334565b5050600052596000f35b50600052596000f35b600052596000f3",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x12"
+ },
+ "gas" : "0x01867c",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x0000000000000000000000000000000000000000000000000000000000000002",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x60016002600334565b5050600052596000f35b50600052596000f35b600052596000f3",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x60016002600334565b5050600052596000f35b50600052596000f35b600052596000f3",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJump_value3.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJump_value3.json
new file mode 100644
index 00000000..cbdcc414
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJump_value3.json
@@ -0,0 +1,51 @@
+{
+ "DynamicJump_value3" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/DynamicJump_value3Filler.json",
+ "sourceHash" : "a1477eeb656e1f4d09c07f020a088cc099f6661fce88f137754b1d45550d7218"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x60016002600334565b5050600052596000f35b50600052596000f35b600052596000f3",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x1b"
+ },
+ "gas" : "0x01867e",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x0000000000000000000000000000000000000000000000000000000000000003",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x60016002600334565b5050600052596000f35b50600052596000f35b600052596000f3",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x60016002600334565b5050600052596000f35b50600052596000f35b600052596000f3",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJump_valueUnderflow.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJump_valueUnderflow.json
new file mode 100644
index 00000000..99ea9ce4
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJump_valueUnderflow.json
@@ -0,0 +1,37 @@
+{
+ "DynamicJump_valueUnderflow" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/DynamicJump_valueUnderflowFiller.json",
+ "sourceHash" : "37f012edfeaa13e4819617af0e8dc2fd71d738a2463b1f61bfd86de0ef980f1b"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x60016002600334565b5050600052596000f35b50600052596000f35b505050600052596000f3",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x1b"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x60016002600334565b5050600052596000f35b50600052596000f35b505050600052596000f3",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJumpi0.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJumpi0.json
new file mode 100644
index 00000000..123d0e6a
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJumpi0.json
@@ -0,0 +1,37 @@
+{
+ "DynamicJumpi0" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/DynamicJumpi0Filler.json",
+ "sourceHash" : "394cae3e06d120cc1a5df5e14cfae3598d62e1fefa06dce4055c6ff59c367b63"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x602360016009600301576001600255",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x602360016009600301576001600255",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJumpi1.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJumpi1.json
new file mode 100644
index 00000000..70e8c31b
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJumpi1.json
@@ -0,0 +1,52 @@
+{
+ "DynamicJumpi1" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/DynamicJumpi1Filler.json",
+ "sourceHash" : "31d323d1c24dd2c2ea5a4e18fd0765bfa1be189add7e395b2679bf5a98e492ab"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x602360006009600301576001600255",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "gas" : "0x013861",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x602360006009600301576001600255",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x02" : "0x01"
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x602360006009600301576001600255",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJumpi1_jumpdest.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJumpi1_jumpdest.json
new file mode 100644
index 00000000..82c56f06
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJumpi1_jumpdest.json
@@ -0,0 +1,37 @@
+{
+ "DynamicJumpi1_jumpdest" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/DynamicJumpi1_jumpdestFiller.json",
+ "sourceHash" : "fb4060a7f68c0f3ad9643dcfc93fa90ea0fe6123e65499ae65f400e22db20bcc"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x60236001600a6003015760015b600255",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x60236001600a6003015760015b600255",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJumpiAfterStop.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJumpiAfterStop.json
new file mode 100644
index 00000000..1e9d80bf
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJumpiAfterStop.json
@@ -0,0 +1,52 @@
+{
+ "DynamicJumpiAfterStop" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/DynamicJumpiAfterStopFiller.json",
+ "sourceHash" : "d61d45e9d5ea3e13d2a8a33965c9c620207156e0b4baf2dfed9a0288c7e8053b"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x60016008600301570060015b6002600355",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "gas" : "0x013863",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x60016008600301570060015b6002600355",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x03" : "0x02"
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x60016008600301570060015b6002600355",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJumpiOutsideBoundary.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJumpiOutsideBoundary.json
new file mode 100644
index 00000000..40a1e452
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJumpiOutsideBoundary.json
@@ -0,0 +1,37 @@
+{
+ "DynamicJumpiOutsideBoundary" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/DynamicJumpiOutsideBoundaryFiller.json",
+ "sourceHash" : "d550aa41047204857f27b7a80a1309520f3e59b41a87ef3e40492032706e5a88"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x60017ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0600301576002600355",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x60017ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0600301576002600355",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJumpifInsidePushWithJumpDest.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJumpifInsidePushWithJumpDest.json
new file mode 100644
index 00000000..810ea273
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJumpifInsidePushWithJumpDest.json
@@ -0,0 +1,37 @@
+{
+ "DynamicJumpifInsidePushWithJumpDest" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/DynamicJumpifInsidePushWithJumpDestFiller.json",
+ "sourceHash" : "05f764377385769e93afe47dbc0293921c211b4e68afce30f18cba4bb5955420"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x6001600660030157655b6001600155",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x6001600660030157655b6001600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJumpifInsidePushWithoutJumpDest.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJumpifInsidePushWithoutJumpDest.json
new file mode 100644
index 00000000..5882ad02
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/DynamicJumpifInsidePushWithoutJumpDest.json
@@ -0,0 +1,37 @@
+{
+ "DynamicJumpifInsidePushWithoutJumpDest" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/DynamicJumpifInsidePushWithoutJumpDestFiller.json",
+ "sourceHash" : "cadedb13e141e3b7bf1f0763cc831dace3ff150fc623e81fb00e798168d01188"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x600160076003015761eeff",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x600160076003015761eeff",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/JDfromStorageDynamicJump0_AfterJumpdest.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/JDfromStorageDynamicJump0_AfterJumpdest.json
new file mode 100644
index 00000000..1d587dbe
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/JDfromStorageDynamicJump0_AfterJumpdest.json
@@ -0,0 +1,38 @@
+{
+ "JDfromStorageDynamicJump0_AfterJumpdest" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/JDfromStorageDynamicJump0_AfterJumpdestFiller.json",
+ "sourceHash" : "06126bb58e44948750e412ea81a3140fcc72b63acec0090939706f3ceb403ae8"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x02",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x60236008600054015660015b600255",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x60236008600054015660015b600255",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x04"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/JDfromStorageDynamicJump0_AfterJumpdest3.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/JDfromStorageDynamicJump0_AfterJumpdest3.json
new file mode 100644
index 00000000..045cdac5
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/JDfromStorageDynamicJump0_AfterJumpdest3.json
@@ -0,0 +1,38 @@
+{
+ "JDfromStorageDynamicJump0_AfterJumpdest3" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/JDfromStorageDynamicJump0_AfterJumpdest3Filler.json",
+ "sourceHash" : "52880726a50d86ffdaea78e4a5d3293643688543eea049172fbf51e564f28f5b"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x02",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x6023600b600850600054015660015b600255",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x6023600b600850600054015660015b600255",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x04"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/JDfromStorageDynamicJump0_foreverOutOfGas.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/JDfromStorageDynamicJump0_foreverOutOfGas.json
new file mode 100644
index 00000000..a487881c
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/JDfromStorageDynamicJump0_foreverOutOfGas.json
@@ -0,0 +1,38 @@
+{
+ "JDfromStorageDynamicJump0_foreverOutOfGas" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/JDfromStorageDynamicJump0_foreverOutOfGasFiller.json",
+ "sourceHash" : "a3046ce1b7f78c109aa36c29db004850ad5b3b4129d9085849b7af04b719826c"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x02",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x5b600060000156",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x5b600060000156",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x04"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/JDfromStorageDynamicJump0_jumpdest0.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/JDfromStorageDynamicJump0_jumpdest0.json
new file mode 100644
index 00000000..bb410e5f
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/JDfromStorageDynamicJump0_jumpdest0.json
@@ -0,0 +1,54 @@
+{
+ "JDfromStorageDynamicJump0_jumpdest0" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/JDfromStorageDynamicJump0_jumpdest0Filler.json",
+ "sourceHash" : "2f836ba88951147677580e5de7d8d40b0ca72938894aa351096945d7962c8f62"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x02",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x60236007600054015660015b600255",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "gas" : "0x013836",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x60236007600054015660015b600255",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x04",
+ "0x02" : "0x23"
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x60236007600054015660015b600255",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x04"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/JDfromStorageDynamicJump0_jumpdest2.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/JDfromStorageDynamicJump0_jumpdest2.json
new file mode 100644
index 00000000..5f8a9dea
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/JDfromStorageDynamicJump0_jumpdest2.json
@@ -0,0 +1,54 @@
+{
+ "JDfromStorageDynamicJump0_jumpdest2" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/JDfromStorageDynamicJump0_jumpdest2Filler.json",
+ "sourceHash" : "efe088c5366793bcb3339225486608b15750524274baf8d5f9f592c0d5e327f2"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x02",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x6023600a600850600054015660015b600255",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "gas" : "0x013831",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x6023600a600850600054015660015b600255",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x04",
+ "0x02" : "0x23"
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x6023600a600850600054015660015b600255",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x04"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/JDfromStorageDynamicJump0_withoutJumpdest.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/JDfromStorageDynamicJump0_withoutJumpdest.json
new file mode 100644
index 00000000..7fcf7de8
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/JDfromStorageDynamicJump0_withoutJumpdest.json
@@ -0,0 +1,38 @@
+{
+ "JDfromStorageDynamicJump0_withoutJumpdest" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/JDfromStorageDynamicJump0_withoutJumpdestFiller.json",
+ "sourceHash" : "696ced07844f15bee009a7c294048b5bf531923787279c19bf1c3150a46bf0ff"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x02",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x6023600760005401566001600255",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x6023600760005401566001600255",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x04"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/JDfromStorageDynamicJump1.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/JDfromStorageDynamicJump1.json
new file mode 100644
index 00000000..1d1f0313
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/JDfromStorageDynamicJump1.json
@@ -0,0 +1,38 @@
+{
+ "JDfromStorageDynamicJump1" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/JDfromStorageDynamicJump1Filler.json",
+ "sourceHash" : "bf061c0eb83d11c310f7ec309e56c3629f715727b41cc0e0772991060404cfc9"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x02",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x620fffff620fffff016000540156",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x620fffff620fffff016000540156",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x04"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/JDfromStorageDynamicJumpInsidePushWithJumpDest.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/JDfromStorageDynamicJumpInsidePushWithJumpDest.json
new file mode 100644
index 00000000..7c86c9d6
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/JDfromStorageDynamicJumpInsidePushWithJumpDest.json
@@ -0,0 +1,38 @@
+{
+ "JDfromStorageDynamicJumpInsidePushWithJumpDest" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/JDfromStorageDynamicJumpInsidePushWithJumpDestFiller.json",
+ "sourceHash" : "561a67bc9db1011fb26151b03adcc53b2f4f55e03292c1e98e3361250c87d38a"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x02",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x60046000540156655b6001600155",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x60046000540156655b6001600155",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x04"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/JDfromStorageDynamicJumpInsidePushWithoutJumpDest.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/JDfromStorageDynamicJumpInsidePushWithoutJumpDest.json
new file mode 100644
index 00000000..a9dbbc36
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/JDfromStorageDynamicJumpInsidePushWithoutJumpDest.json
@@ -0,0 +1,38 @@
+{
+ "JDfromStorageDynamicJumpInsidePushWithoutJumpDest" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/JDfromStorageDynamicJumpInsidePushWithoutJumpDestFiller.json",
+ "sourceHash" : "53a491adcc7da05748ad36809954552784007b884cd960e05ebb07a2ddd0452b"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x02",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x6005600054015661eeff",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x6005600054015661eeff",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x04"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/JDfromStorageDynamicJumpi0.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/JDfromStorageDynamicJumpi0.json
new file mode 100644
index 00000000..6f32f339
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/JDfromStorageDynamicJumpi0.json
@@ -0,0 +1,38 @@
+{
+ "JDfromStorageDynamicJumpi0" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/JDfromStorageDynamicJumpi0Filler.json",
+ "sourceHash" : "14e786db1b2df2c2a40be1a80c61baec311572eb481a3afd1b31fb95a3ad937d"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x02",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x60236001600960005401576001600255",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x60236001600960005401576001600255",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x04"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/JDfromStorageDynamicJumpi1.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/JDfromStorageDynamicJumpi1.json
new file mode 100644
index 00000000..e20bedfd
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/JDfromStorageDynamicJumpi1.json
@@ -0,0 +1,54 @@
+{
+ "JDfromStorageDynamicJumpi1" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/JDfromStorageDynamicJumpi1Filler.json",
+ "sourceHash" : "f90389bdfe2c1600f16db3b5ff8289b55a9f3d2c56dd18403c4e636440a98a9d"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x02",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x60236000600960005401576001600255",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "gas" : "0x01382f",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x60236000600960005401576001600255",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x04",
+ "0x02" : "0x01"
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x60236000600960005401576001600255",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x04"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/JDfromStorageDynamicJumpi1_jumpdest.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/JDfromStorageDynamicJumpi1_jumpdest.json
new file mode 100644
index 00000000..e7eec6f7
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/JDfromStorageDynamicJumpi1_jumpdest.json
@@ -0,0 +1,38 @@
+{
+ "JDfromStorageDynamicJumpi1_jumpdest" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/JDfromStorageDynamicJumpi1_jumpdestFiller.json",
+ "sourceHash" : "cc7eadaee4927a2753204e40d7028ae1ed3e1ef4c9a2e8a79460a3e07f5bcafe"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x02",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x60236001600a600054015760015b600255",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x60236001600a600054015760015b600255",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x04"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/JDfromStorageDynamicJumpiAfterStop.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/JDfromStorageDynamicJumpiAfterStop.json
new file mode 100644
index 00000000..7c7b889a
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/JDfromStorageDynamicJumpiAfterStop.json
@@ -0,0 +1,54 @@
+{
+ "JDfromStorageDynamicJumpiAfterStop" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/JDfromStorageDynamicJumpiAfterStopFiller.json",
+ "sourceHash" : "80d903064c1050cf1a2e527b8938e610e77822d55c83cf4a07e18586baa0bec1"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x02",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x6001600860005401570060015b6002600355",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "gas" : "0x013831",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x6001600860005401570060015b6002600355",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x04",
+ "0x03" : "0x02"
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x6001600860005401570060015b6002600355",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x04"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/JDfromStorageDynamicJumpiOutsideBoundary.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/JDfromStorageDynamicJumpiOutsideBoundary.json
new file mode 100644
index 00000000..0b13b790
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/JDfromStorageDynamicJumpiOutsideBoundary.json
@@ -0,0 +1,38 @@
+{
+ "JDfromStorageDynamicJumpiOutsideBoundary" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/JDfromStorageDynamicJumpiOutsideBoundaryFiller.json",
+ "sourceHash" : "3c7f35eb2fe3c2ed05679b25f89e81e50fa959c8a665cf4545552f75a3b7140b"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x02",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x60017ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff060005401576002600355",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x60017ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff060005401576002600355",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x04"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/JDfromStorageDynamicJumpifInsidePushWithJumpDest.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/JDfromStorageDynamicJumpifInsidePushWithJumpDest.json
new file mode 100644
index 00000000..1571718b
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/JDfromStorageDynamicJumpifInsidePushWithJumpDest.json
@@ -0,0 +1,38 @@
+{
+ "JDfromStorageDynamicJumpifInsidePushWithJumpDest" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/JDfromStorageDynamicJumpifInsidePushWithJumpDestFiller.json",
+ "sourceHash" : "f15ca2a706c969bb0f9f4b7101efd666eebae5520f893a586a7a529b0dc7d4d8"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x02",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x600160066000540157655b6001600155",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x600160066000540157655b6001600155",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x04"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/JDfromStorageDynamicJumpifInsidePushWithoutJumpDest.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/JDfromStorageDynamicJumpifInsidePushWithoutJumpDest.json
new file mode 100644
index 00000000..63875783
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/JDfromStorageDynamicJumpifInsidePushWithoutJumpDest.json
@@ -0,0 +1,38 @@
+{
+ "JDfromStorageDynamicJumpifInsidePushWithoutJumpDest" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/JDfromStorageDynamicJumpifInsidePushWithoutJumpDestFiller.json",
+ "sourceHash" : "561fed985eda1bbc4448ad363f6fa69a1d1b503d9d7e0017bcd49aaaf916f333"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x02",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x60016007600054015761eeff",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x60016007600054015761eeff",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x04"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/bad_indirect_jump1.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/bad_indirect_jump1.json
new file mode 100644
index 00000000..85da085e
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/bad_indirect_jump1.json
@@ -0,0 +1,37 @@
+{
+ "bad_indirect_jump1" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/bad_indirect_jump1Filler.json",
+ "sourceHash" : "15744a7158d6982822dc8a0c272c329f8dfdf93810e8f2f3f468a56db9bd2d90"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x601b602502565b",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x601b602502565b",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/bad_indirect_jump2.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/bad_indirect_jump2.json
new file mode 100644
index 00000000..2618fdbb
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/bad_indirect_jump2.json
@@ -0,0 +1,37 @@
+{
+ "bad_indirect_jump2" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/bad_indirect_jump2Filler.json",
+ "sourceHash" : "6dd2730ab6f27b43eead1633f104f5d60d6a98fa7c81d5a8ba0d2f6434706813"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x60016003600302576000600056",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x60016003600302576000600056",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/byte1.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/byte1.json
new file mode 100644
index 00000000..cfa52995
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/byte1.json
@@ -0,0 +1,51 @@
+{
+ "byte1" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/byte1Filler.json",
+ "sourceHash" : "4bbf3058007fbacf83926bd908a1f886cb4403aa10a95030f2da18e1ad68707b"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x7f112233445566778899001122334455667788990011223344556677889900aabb60001a7f112233445566778899001122334455667788990011223344556677889900aabb60011a7f112233445566778899001122334455667788990011223344556677889900aabb60021a7f112233445566778899001122334455667788990011223344556677889900aabb60031a7f112233445566778899001122334455667788990011223344556677889900aabb60041a7f112233445566778899001122334455667788990011223344556677889900aabb60051a7f112233445566778899001122334455667788990011223344556677889900aabb60061a7f112233445566778899001122334455667788990011223344556677889900aabb60071a7f112233445566778899001122334455667788990011223344556677889900aabb60081a7f112233445566778899001122334455667788990011223344556677889900aabb60091a7f112233445566778899001122334455667788990011223344556677889900aabb600a1a7f112233445566778899001122334455667788990011223344556677889900aabb600b1a7f112233445566778899001122334455667788990011223344556677889900aabb600c1a7f112233445566778899001122334455667788990011223344556677889900aabb600d1a7f112233445566778899001122334455667788990011223344556677889900aabb600e1a7f112233445566778899001122334455667788990011223344556677889900aabb600f1a7f112233445566778899001122334455667788990011223344556677889900aabb60101a7f112233445566778899001122334455667788990011223344556677889900aabb60111a7f112233445566778899001122334455667788990011223344556677889900aabb60121a7f112233445566778899001122334455667788990011223344556677889900aabb60131a7f112233445566778899001122334455667788990011223344556677889900aabb60141a7f112233445566778899001122334455667788990011223344556677889900aabb60151a7f112233445566778899001122334455667788990011223344556677889900aabb60161a7f112233445566778899001122334455667788990011223344556677889900aabb60171a7f112233445566778899001122334455667788990011223344556677889900aabb60181a7f112233445566778899001122334455667788990011223344556677889900aabb60191a7f112233445566778899001122334455667788990011223344556677889900aabb601a1a7f112233445566778899001122334455667788990011223344556677889900aabb601b1a7f112233445566778899001122334455667788990011223344556677889900aabb601c1a7f112233445566778899001122334455667788990011223344556677889900aabb601d1a7f112233445566778899001122334455667788990011223344556677889900aabb601e1a7f112233445566778899001122334455667788990011223344556677889900aabb601f1a7f112233445566778899001122334455667788990011223344556677889900aabb60201a7f112233445566778899001122334455667788990011223344556677889900aabb6107de1a6000600055",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "gas" : "0x0171e0",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x7f112233445566778899001122334455667788990011223344556677889900aabb60001a7f112233445566778899001122334455667788990011223344556677889900aabb60011a7f112233445566778899001122334455667788990011223344556677889900aabb60021a7f112233445566778899001122334455667788990011223344556677889900aabb60031a7f112233445566778899001122334455667788990011223344556677889900aabb60041a7f112233445566778899001122334455667788990011223344556677889900aabb60051a7f112233445566778899001122334455667788990011223344556677889900aabb60061a7f112233445566778899001122334455667788990011223344556677889900aabb60071a7f112233445566778899001122334455667788990011223344556677889900aabb60081a7f112233445566778899001122334455667788990011223344556677889900aabb60091a7f112233445566778899001122334455667788990011223344556677889900aabb600a1a7f112233445566778899001122334455667788990011223344556677889900aabb600b1a7f112233445566778899001122334455667788990011223344556677889900aabb600c1a7f112233445566778899001122334455667788990011223344556677889900aabb600d1a7f112233445566778899001122334455667788990011223344556677889900aabb600e1a7f112233445566778899001122334455667788990011223344556677889900aabb600f1a7f112233445566778899001122334455667788990011223344556677889900aabb60101a7f112233445566778899001122334455667788990011223344556677889900aabb60111a7f112233445566778899001122334455667788990011223344556677889900aabb60121a7f112233445566778899001122334455667788990011223344556677889900aabb60131a7f112233445566778899001122334455667788990011223344556677889900aabb60141a7f112233445566778899001122334455667788990011223344556677889900aabb60151a7f112233445566778899001122334455667788990011223344556677889900aabb60161a7f112233445566778899001122334455667788990011223344556677889900aabb60171a7f112233445566778899001122334455667788990011223344556677889900aabb60181a7f112233445566778899001122334455667788990011223344556677889900aabb60191a7f112233445566778899001122334455667788990011223344556677889900aabb601a1a7f112233445566778899001122334455667788990011223344556677889900aabb601b1a7f112233445566778899001122334455667788990011223344556677889900aabb601c1a7f112233445566778899001122334455667788990011223344556677889900aabb601d1a7f112233445566778899001122334455667788990011223344556677889900aabb601e1a7f112233445566778899001122334455667788990011223344556677889900aabb601f1a7f112233445566778899001122334455667788990011223344556677889900aabb60201a7f112233445566778899001122334455667788990011223344556677889900aabb6107de1a6000600055",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x7f112233445566778899001122334455667788990011223344556677889900aabb60001a7f112233445566778899001122334455667788990011223344556677889900aabb60011a7f112233445566778899001122334455667788990011223344556677889900aabb60021a7f112233445566778899001122334455667788990011223344556677889900aabb60031a7f112233445566778899001122334455667788990011223344556677889900aabb60041a7f112233445566778899001122334455667788990011223344556677889900aabb60051a7f112233445566778899001122334455667788990011223344556677889900aabb60061a7f112233445566778899001122334455667788990011223344556677889900aabb60071a7f112233445566778899001122334455667788990011223344556677889900aabb60081a7f112233445566778899001122334455667788990011223344556677889900aabb60091a7f112233445566778899001122334455667788990011223344556677889900aabb600a1a7f112233445566778899001122334455667788990011223344556677889900aabb600b1a7f112233445566778899001122334455667788990011223344556677889900aabb600c1a7f112233445566778899001122334455667788990011223344556677889900aabb600d1a7f112233445566778899001122334455667788990011223344556677889900aabb600e1a7f112233445566778899001122334455667788990011223344556677889900aabb600f1a7f112233445566778899001122334455667788990011223344556677889900aabb60101a7f112233445566778899001122334455667788990011223344556677889900aabb60111a7f112233445566778899001122334455667788990011223344556677889900aabb60121a7f112233445566778899001122334455667788990011223344556677889900aabb60131a7f112233445566778899001122334455667788990011223344556677889900aabb60141a7f112233445566778899001122334455667788990011223344556677889900aabb60151a7f112233445566778899001122334455667788990011223344556677889900aabb60161a7f112233445566778899001122334455667788990011223344556677889900aabb60171a7f112233445566778899001122334455667788990011223344556677889900aabb60181a7f112233445566778899001122334455667788990011223344556677889900aabb60191a7f112233445566778899001122334455667788990011223344556677889900aabb601a1a7f112233445566778899001122334455667788990011223344556677889900aabb601b1a7f112233445566778899001122334455667788990011223344556677889900aabb601c1a7f112233445566778899001122334455667788990011223344556677889900aabb601d1a7f112233445566778899001122334455667788990011223344556677889900aabb601e1a7f112233445566778899001122334455667788990011223344556677889900aabb601f1a7f112233445566778899001122334455667788990011223344556677889900aabb60201a7f112233445566778899001122334455667788990011223344556677889900aabb6107de1a6000600055",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/calldatacopyMemExp.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/calldatacopyMemExp.json
new file mode 100644
index 00000000..b93a6f4d
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/calldatacopyMemExp.json
@@ -0,0 +1,37 @@
+{
+ "calldatacopyMemExp" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/calldatacopyMemExpFiller.json",
+ "sourceHash" : "fcf33988ecf7e66eae80382111d1128eb302e201be169ca20b306eac49231142"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x01f4153d80",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x60ff60ff630fffffff630fffffff37",
+ "data" : "0x",
+ "gas" : "0x01f4153d80",
+ "gasPrice" : "0x01",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x60ff60ff630fffffff630fffffff37",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/codecopyMemExp.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/codecopyMemExp.json
new file mode 100644
index 00000000..67f31147
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/codecopyMemExp.json
@@ -0,0 +1,37 @@
+{
+ "codecopyMemExp" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/codecopyMemExpFiller.json",
+ "sourceHash" : "baf738ce30cb457d16aa2f71f866ce00ddb998371757f2c6a30a5d1ca3a9e135"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x01f4153d80",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x60ff60ff630fffffff630fffffff39",
+ "data" : "0x",
+ "gas" : "0x01f4153d80",
+ "gasPrice" : "0x01",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x60ff60ff630fffffff630fffffff39",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/deadCode_1.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/deadCode_1.json
new file mode 100644
index 00000000..808ff7a8
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/deadCode_1.json
@@ -0,0 +1,51 @@
+{
+ "deadCode_1" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/deadCode_1Filler.json",
+ "sourceHash" : "110e1eaddae6dda0225d4f4b430da33494473d9ec10d765e7a5324d3e1ab26c8"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x6001600053596000f300000000000000005b00",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "gas" : "0x01868f",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x0100000000000000000000000000000000000000000000000000000000000000",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x6001600053596000f300000000000000005b00",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x6001600053596000f300000000000000005b00",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/dupAt51becameMload.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/dupAt51becameMload.json
new file mode 100644
index 00000000..8d32a56d
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/dupAt51becameMload.json
@@ -0,0 +1,52 @@
+{
+ "dupAt51becameMload" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/dupAt51becameMloadFiller.json",
+ "sourceHash" : "28d2da26fb721ff16c42b1d398e7410f85560c3373bcc0a424ee1d025bf25ba6"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x600260035155",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "gas" : "0x013871",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x600260035155",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x02"
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x600260035155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/for_loop1.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/for_loop1.json
new file mode 100644
index 00000000..f6601559
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/for_loop1.json
@@ -0,0 +1,51 @@
+{
+ "for_loop1" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/for_loop1Filler.json",
+ "sourceHash" : "5e12e078316618a30275a5c133a960d17d242cc3726855a805c112193d39a59e"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x600a6080525b6000608051111560265760a0516080510160a0526001608051036080526005565b",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "gas" : "0x018351",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x600a6080525b6000608051111560265760a0516080510160a0526001608051036080526005565b",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x600a6080525b6000608051111560265760a0516080510160a0526001608051036080526005565b",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/for_loop2.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/for_loop2.json
new file mode 100644
index 00000000..dbd6907a
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/for_loop2.json
@@ -0,0 +1,51 @@
+{
+ "for_loop2" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/for_loop2Filler.json",
+ "sourceHash" : "2764d5106d8f416d7f03ab65334b580f66eff1a74fa4c3fc4b2488dbb621d3c1"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x60006080525b600a608051101560265760a0516080510160a0526001608051016080526005565b",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "gas" : "0x018351",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x60006080525b600a608051101560265760a0516080510160a0526001608051016080526005565b",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x60006080525b600a608051101560265760a0516080510160a0526001608051016080526005565b",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/gas0.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/gas0.json
new file mode 100644
index 00000000..f8f914a8
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/gas0.json
@@ -0,0 +1,52 @@
+{
+ "gas0" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/gas0Filler.json",
+ "sourceHash" : "344499133ac967decfa379dd507e6df8c81e13b014db2676d943cdd2ed3c09c6"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x64ffffffffff60005261eeee605a525a600055",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "gas" : "0x01385d",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x64ffffffffff60005261eeee605a525a600055",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x018680"
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x64ffffffffff60005261eeee605a525a600055",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/gas1.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/gas1.json
new file mode 100644
index 00000000..cb828c9e
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/gas1.json
@@ -0,0 +1,52 @@
+{
+ "gas1" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/gas1Filler.json",
+ "sourceHash" : "158673d626e8f5b04cbad00e6bcf8bce2a081b61bf98ca0ad11b78e52921444a"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x5a600055",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "gas" : "0x01387b",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x5a600055",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x01869e"
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x5a600055",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/gasOverFlow.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/gasOverFlow.json
new file mode 100644
index 00000000..bcfb11d3
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/gasOverFlow.json
@@ -0,0 +1,37 @@
+{
+ "gasOverFlow" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/gasOverFlowFiller.json",
+ "sourceHash" : "01dd61c063b45f54e62e912f6711a3c04bcaba16f40890da37774adedcf5d201"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x60035b600190038060025768010000000000000016565b63badf000d60115500",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x60035b600190038060025768010000000000000016565b63badf000d60115500",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/indirect_jump1.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/indirect_jump1.json
new file mode 100644
index 00000000..31c1aebf
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/indirect_jump1.json
@@ -0,0 +1,51 @@
+{
+ "indirect_jump1" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/indirect_jump1Filler.json",
+ "sourceHash" : "33d6b4fa4d999fa02f0b584e925eef1e0b1f55bfe6bd8ba3bd0339ab20739a34"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x600460030156005b6001600052596000f3",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "gas" : "0x01867d",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x0000000000000000000000000000000000000000000000000000000000000001",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x600460030156005b6001600052596000f3",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x600460030156005b6001600052596000f3",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/indirect_jump2.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/indirect_jump2.json
new file mode 100644
index 00000000..2b604616
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/indirect_jump2.json
@@ -0,0 +1,51 @@
+{
+ "indirect_jump2" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/indirect_jump2Filler.json",
+ "sourceHash" : "74d76db6a1761e44af7dea37c2ed941aac2add09cff11950033033cbe6f83248"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x600860060156005b6001600052005b6002600052596000f3",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "gas" : "0x01867d",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x0000000000000000000000000000000000000000000000000000000000000002",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x600860060156005b6001600052005b6002600052596000f3",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x600860060156005b6001600052005b6002600052596000f3",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/indirect_jump3.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/indirect_jump3.json
new file mode 100644
index 00000000..a8bba4d1
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/indirect_jump3.json
@@ -0,0 +1,51 @@
+{
+ "indirect_jump3" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/indirect_jump3Filler.json",
+ "sourceHash" : "1ca405a29132ed02b16a4e4f1d869eb73904f23759d971c3a7e287260fa13f7b"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x6001600460050157005b6001600052596000f3",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "gas" : "0x018678",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x0000000000000000000000000000000000000000000000000000000000000001",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x6001600460050157005b6001600052596000f3",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x6001600460050157005b6001600052596000f3",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/indirect_jump4.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/indirect_jump4.json
new file mode 100644
index 00000000..88012cb2
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/indirect_jump4.json
@@ -0,0 +1,51 @@
+{
+ "indirect_jump4" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/indirect_jump4Filler.json",
+ "sourceHash" : "bec771ce98d114d7dacd0f1f33426b85e6092d65bfd73945ea07831737a0d310"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x60006007600501576001600052005b",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "gas" : "0x01867e",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x60006007600501576001600052005b",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x60006007600501576001600052005b",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jump0_AfterJumpdest.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jump0_AfterJumpdest.json
new file mode 100644
index 00000000..9cf74c89
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jump0_AfterJumpdest.json
@@ -0,0 +1,37 @@
+{
+ "jump0_AfterJumpdest" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/jump0_AfterJumpdestFiller.json",
+ "sourceHash" : "8e933f0185d188f6eeb002d4ac8dace70a34a196e4c59932957eaac4cef27849"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x602360085660015b600255",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x602360085660015b600255",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jump0_AfterJumpdest3.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jump0_AfterJumpdest3.json
new file mode 100644
index 00000000..b7e9376a
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jump0_AfterJumpdest3.json
@@ -0,0 +1,37 @@
+{
+ "jump0_AfterJumpdest3" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/jump0_AfterJumpdest3Filler.json",
+ "sourceHash" : "dc15eff9141416358f3f9960ef23b930d70b7cb8d3e13d7d5b6832954605d062"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x6023600b6008505660015b600255",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x6023600b6008505660015b600255",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jump0_foreverOutOfGas.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jump0_foreverOutOfGas.json
new file mode 100644
index 00000000..54402a26
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jump0_foreverOutOfGas.json
@@ -0,0 +1,37 @@
+{
+ "jump0_foreverOutOfGas" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/jump0_foreverOutOfGasFiller.json",
+ "sourceHash" : "06656a40346ccda59a2d1852d9bb59447d34fb9eb80706e378c5a067e337a080"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x5b600056",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x5b600056",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jump0_jumpdest0.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jump0_jumpdest0.json
new file mode 100644
index 00000000..b17ec731
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jump0_jumpdest0.json
@@ -0,0 +1,52 @@
+{
+ "jump0_jumpdest0" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/jump0_jumpdest0Filler.json",
+ "sourceHash" : "4bf0cfbeda98acdd577972c6a7abcd20f60ab1b48328ce3f804e3cefa7c77bdb"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x602360075660015b600255",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "gas" : "0x01386e",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x602360075660015b600255",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x02" : "0x23"
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x602360075660015b600255",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jump0_jumpdest2.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jump0_jumpdest2.json
new file mode 100644
index 00000000..3c482fd5
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jump0_jumpdest2.json
@@ -0,0 +1,52 @@
+{
+ "jump0_jumpdest2" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/jump0_jumpdest2Filler.json",
+ "sourceHash" : "3aba479e0b0de29b2fac29ac62deb3e37d9fff0a79ed3a1953a7afa7e19b17da"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x6023600a6008505660015b600255",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "gas" : "0x013869",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x6023600a6008505660015b600255",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x02" : "0x23"
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x6023600a6008505660015b600255",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jump0_outOfBoundary.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jump0_outOfBoundary.json
new file mode 100644
index 00000000..aa19f171
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jump0_outOfBoundary.json
@@ -0,0 +1,37 @@
+{
+ "jump0_outOfBoundary" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/jump0_outOfBoundaryFiller.json",
+ "sourceHash" : "9442ba4b2e4625b3ba5d7a3c43a5c1bcbb0f71fb8977d9cb291a58f956e5d014"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x60236007566001600255",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x60236007566001600255",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jump0_withoutJumpdest.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jump0_withoutJumpdest.json
new file mode 100644
index 00000000..29b82335
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jump0_withoutJumpdest.json
@@ -0,0 +1,37 @@
+{
+ "jump0_withoutJumpdest" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/jump0_withoutJumpdestFiller.json",
+ "sourceHash" : "4023b9b32fabb7baeb154e319422cc24e852c858eb124713508a241df86f3969"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x60236007566001600255",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x60236007566001600255",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jump1.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jump1.json
new file mode 100644
index 00000000..1d5fd1c2
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jump1.json
@@ -0,0 +1,37 @@
+{
+ "jump1" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/jump1Filler.json",
+ "sourceHash" : "c86900065dc3ca2743c247f2c7f305795833184ab64acf0c6911a899533ab628"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x620fffff620fffff0156",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x620fffff620fffff0156",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpAfterStop.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpAfterStop.json
new file mode 100644
index 00000000..ce4cc7e4
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpAfterStop.json
@@ -0,0 +1,52 @@
+{
+ "jumpAfterStop" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/jumpAfterStopFiller.json",
+ "sourceHash" : "1527b83fd9a930436902b171302c40812a33a035bf148e5c40f362e811b1ad54"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x6006560060015b6002600355",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "gas" : "0x01386e",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x6006560060015b6002600355",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x03" : "0x02"
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x6006560060015b6002600355",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpDynamicJumpSameDest.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpDynamicJumpSameDest.json
new file mode 100644
index 00000000..b7352e40
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpDynamicJumpSameDest.json
@@ -0,0 +1,51 @@
+{
+ "jumpDynamicJumpSameDest" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/jumpDynamicJumpSameDestFiller.json",
+ "sourceHash" : "c1d46387eefa48a995ad56844ced0803c7e2441369d569c7669933b1ebecc2c8"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x6002600401565b600360005260206000f3600656",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "gas" : "0x01867c",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x0000000000000000000000000000000000000000000000000000000000000003",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x6002600401565b600360005260206000f3600656",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x6002600401565b600360005260206000f3600656",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpHigh.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpHigh.json
new file mode 100644
index 00000000..d8c7e942
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpHigh.json
@@ -0,0 +1,37 @@
+{
+ "jumpHigh" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/jumpHighFiller.json",
+ "sourceHash" : "a7725bef6c1ff691ae5ad3b73c3b44a6d16f9c9b1c0e57671d7ff59fe9ac9800"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x630fffffff565b5b6001600155",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x630fffffff565b5b6001600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpInsidePushWithJumpDest.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpInsidePushWithJumpDest.json
new file mode 100644
index 00000000..f873da68
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpInsidePushWithJumpDest.json
@@ -0,0 +1,37 @@
+{
+ "jumpInsidePushWithJumpDest" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/jumpInsidePushWithJumpDestFiller.json",
+ "sourceHash" : "d200f4e72a16a6960609912d97797b467afb3a98c1eef6f9eed2006c4111a7f3"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x600456655b6001600155",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x600456655b6001600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpInsidePushWithoutJumpDest.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpInsidePushWithoutJumpDest.json
new file mode 100644
index 00000000..e262064e
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpInsidePushWithoutJumpDest.json
@@ -0,0 +1,37 @@
+{
+ "jumpInsidePushWithoutJumpDest" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/jumpInsidePushWithoutJumpDestFiller.json",
+ "sourceHash" : "451d199b9c77c3a3297bb20ba2a01c238e984283e3690b22c9614121c878d8ec"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x60055661eeff",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x60055661eeff",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpOntoJump.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpOntoJump.json
new file mode 100644
index 00000000..fa835041
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpOntoJump.json
@@ -0,0 +1,37 @@
+{
+ "jumpOntoJump" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/jumpOntoJumpFiller.json",
+ "sourceHash" : "b7af74ccb70e4242810a2f47181f0c95ee1b9558385cff3a33896f29c7775d7e"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x565b600056",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x565b600056",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpTo1InstructionafterJump.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpTo1InstructionafterJump.json
new file mode 100644
index 00000000..91933e1c
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpTo1InstructionafterJump.json
@@ -0,0 +1,37 @@
+{
+ "jumpTo1InstructionafterJump" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/jumpTo1InstructionafterJumpFiller.json",
+ "sourceHash" : "88eb8cc46a28df3e813fc9d859aaa7c10bd7246272ed7af7c7e119e18e7c6592"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x6003565b6001600055",
+ "data" : "0x",
+ "gas" : "0x2710",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x6003565b6001600055",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpTo1InstructionafterJump_jumpdestFirstInstruction.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpTo1InstructionafterJump_jumpdestFirstInstruction.json
new file mode 100644
index 00000000..99aec172
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpTo1InstructionafterJump_jumpdestFirstInstruction.json
@@ -0,0 +1,37 @@
+{
+ "jumpTo1InstructionafterJump_jumpdestFirstInstruction" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/jumpTo1InstructionafterJump_jumpdestFirstInstructionFiller.json",
+ "sourceHash" : "1e05b7560aba357248c8fdddd62e9b8dfb943cc2c3bb9569c5d44c2322899ff4"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x5b6003565b6001600055",
+ "data" : "0x",
+ "gas" : "0x2710",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x5b6003565b6001600055",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpTo1InstructionafterJump_noJumpDest.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpTo1InstructionafterJump_noJumpDest.json
new file mode 100644
index 00000000..125f422c
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpTo1InstructionafterJump_noJumpDest.json
@@ -0,0 +1,37 @@
+{
+ "jumpTo1InstructionafterJump_noJumpDest" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/jumpTo1InstructionafterJump_noJumpDestFiller.json",
+ "sourceHash" : "91502d2804896fda92630c93005fc5c0e26591bac75b7fff576409271f81cdb6"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x6003566001600055",
+ "data" : "0x",
+ "gas" : "0x2710",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x6003566001600055",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpToUint64maxPlus1.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpToUint64maxPlus1.json
new file mode 100644
index 00000000..3e736a8f
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpToUint64maxPlus1.json
@@ -0,0 +1,37 @@
+{
+ "jumpToUint64maxPlus1" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/jumpToUint64maxPlus1Filler.json",
+ "sourceHash" : "17b7f86769171233d32af7b23fc33ba8e71f03a64f0625aadfe65a696dff36a6"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x6801000000000000000b565b5b6001600155",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x6801000000000000000b565b5b6001600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpToUintmaxPlus1.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpToUintmaxPlus1.json
new file mode 100644
index 00000000..1d8b054e
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpToUintmaxPlus1.json
@@ -0,0 +1,37 @@
+{
+ "jumpToUintmaxPlus1" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/jumpToUintmaxPlus1Filler.json",
+ "sourceHash" : "6897e3a469257a7905bf719e9ae36ac49f830eab122209a9c2e89c879cdaa2d7"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x640100000007565b5b6001600155",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x640100000007565b5b6001600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpdestBigList.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpdestBigList.json
new file mode 100644
index 00000000..76342690
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpdestBigList.json
@@ -0,0 +1,51 @@
+{
+ "jumpdestBigList" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/jumpdestBigListFiller.json",
+ "sourceHash" : "6e4f2dfe68bb0ae1bdce8e6385b098b9984176b12f76273d1a1f7e34f46d85db"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x6009565b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b",
+ "data" : "0x",
+ "gas" : "0x05f5e100",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "gas" : "0x05f5e0a1",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x6009565b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x6009565b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b5b",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpi0.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpi0.json
new file mode 100644
index 00000000..60ebc100
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpi0.json
@@ -0,0 +1,37 @@
+{
+ "jumpi0" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/jumpi0Filler.json",
+ "sourceHash" : "86fb0cc0becb3234b287df55e90da9a860eff30714976e3395b25ee2e2b47c48"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x602360016009576001600255",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x602360016009576001600255",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpi1.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpi1.json
new file mode 100644
index 00000000..05d82562
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpi1.json
@@ -0,0 +1,52 @@
+{
+ "jumpi1" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/jumpi1Filler.json",
+ "sourceHash" : "27f04b183d459deb05bc15b1281b0e300307950da1968f669bd8cbec2b200044"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x602360006009576001600255",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "gas" : "0x013867",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x602360006009576001600255",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x02" : "0x01"
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x602360006009576001600255",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpi1_jumpdest.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpi1_jumpdest.json
new file mode 100644
index 00000000..b3d7e40d
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpi1_jumpdest.json
@@ -0,0 +1,37 @@
+{
+ "jumpi1_jumpdest" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/jumpi1_jumpdestFiller.json",
+ "sourceHash" : "ad83573b03f45ffbef8bfcea78a8cb61b1c793b36475000cf9222dea41696717"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x60236001600a5760015b600255",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x60236001600a5760015b600255",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpiAfterStop.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpiAfterStop.json
new file mode 100644
index 00000000..2527229f
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpiAfterStop.json
@@ -0,0 +1,52 @@
+{
+ "jumpiAfterStop" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/jumpiAfterStopFiller.json",
+ "sourceHash" : "ec2d355d1d27a71fadd654c9a7b8a7b90bc68dce10416448f803d452ef1d474d"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x60016008570060015b6002600355",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "gas" : "0x013869",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x60016008570060015b6002600355",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x03" : "0x02"
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x60016008570060015b6002600355",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpiOutsideBoundary.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpiOutsideBoundary.json
new file mode 100644
index 00000000..2cc9c069
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpiOutsideBoundary.json
@@ -0,0 +1,37 @@
+{
+ "jumpiOutsideBoundary" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/jumpiOutsideBoundaryFiller.json",
+ "sourceHash" : "7d536d76f1c00c063b374bdcd155229427e5fe4867ae5ac41d42516c88ebff0d"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x60017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff576002600355",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x60017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff576002600355",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpiToUint64maxPlus1.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpiToUint64maxPlus1.json
new file mode 100644
index 00000000..2362c3ad
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpiToUint64maxPlus1.json
@@ -0,0 +1,37 @@
+{
+ "jumpiToUint64maxPlus1" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/jumpiToUint64maxPlus1Filler.json",
+ "sourceHash" : "43b7965f24cac2b1b88fb4781bccd2cbcdcc1569812c2c9e28ebded71ebd172e"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x60016801000000000000000d575b5b6001600155",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x60016801000000000000000d575b5b6001600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpiToUintmaxPlus1.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpiToUintmaxPlus1.json
new file mode 100644
index 00000000..08e3343e
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpiToUintmaxPlus1.json
@@ -0,0 +1,37 @@
+{
+ "jumpiToUintmaxPlus1" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/jumpiToUintmaxPlus1Filler.json",
+ "sourceHash" : "58d51b8cb46082033f726f1bca929fb1713048436d52029e31f5bfcaaaded691"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x6001640100000009575b5b6001600155",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x6001640100000009575b5b6001600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpi_at_the_end.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpi_at_the_end.json
new file mode 100644
index 00000000..a39d7d0a
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpi_at_the_end.json
@@ -0,0 +1,51 @@
+{
+ "jumpi_at_the_end" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/jumpi_at_the_endFiller.json",
+ "sourceHash" : "db58f5762f6dccaf9a4daa5053fe18bc36fc597c379acbbb8dc7d41897e0fd1b"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x989680",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x600a6000525b6000516001900380600052600557",
+ "data" : "0x",
+ "gas" : "0x03e8",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "gas" : "0x0260",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x600a6000525b6000516001900380600052600557",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x600a6000525b6000516001900380600052600557",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpifInsidePushWithJumpDest.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpifInsidePushWithJumpDest.json
new file mode 100644
index 00000000..6c7497d9
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpifInsidePushWithJumpDest.json
@@ -0,0 +1,37 @@
+{
+ "jumpifInsidePushWithJumpDest" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/jumpifInsidePushWithJumpDestFiller.json",
+ "sourceHash" : "790a546e29160af651f091890cd367d79d28b345f43847fa5d19b6a0dab087e9"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x6001600657655b6001600155",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x6001600657655b6001600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpifInsidePushWithoutJumpDest.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpifInsidePushWithoutJumpDest.json
new file mode 100644
index 00000000..b689b4b2
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/jumpifInsidePushWithoutJumpDest.json
@@ -0,0 +1,37 @@
+{
+ "jumpifInsidePushWithoutJumpDest" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/jumpifInsidePushWithoutJumpDestFiller.json",
+ "sourceHash" : "c69048c65f19388408ec0027e2c9372b393d057d91c9e0eff2ea96f8bb59f66b"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x600160075761eeff",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x600160075761eeff",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/kv1.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/kv1.json
new file mode 100644
index 00000000..27d04eee
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/kv1.json
@@ -0,0 +1,52 @@
+{
+ "kv1" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/kv1Filler.json",
+ "sourceHash" : "e9c18f1395a9a5e541d26c02b68f69e413953c380102c17d783cc18b5092bbf2"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x33604555602d80600f6000396000f3604554331415602c575b366080511015602b576020608051013560805135556040608051016080526009565b5b",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "gas" : "0x01385d",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x604554331415602c575b366080511015602b576020608051013560805135556040608051016080526009565b5b",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x33604555602d80600f6000396000f3604554331415602c575b366080511015602b576020608051013560805135556040608051016080526009565b5b",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x45" : "0xcd1722f3947def4cf144679da39c4c32bdc35681"
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x33604555602d80600f6000396000f3604554331415602c575b366080511015602b576020608051013560805135556040608051016080526009565b5b",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/log1MemExp.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/log1MemExp.json
new file mode 100644
index 00000000..ce82cb55
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/log1MemExp.json
@@ -0,0 +1,37 @@
+{
+ "log1MemExp" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/log1MemExpFiller.json",
+ "sourceHash" : "241dbcb0d33d25f1db0b51b65c38c4e3ef2f5b52c799264979423508e3fcf934"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x01f4153d80",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x60ff60ff630fffffffa1",
+ "data" : "0x",
+ "gas" : "0x01f4153d80",
+ "gasPrice" : "0x01",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x60ff60ff630fffffffa1",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/loop_stacklimit_1020.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/loop_stacklimit_1020.json
new file mode 100644
index 00000000..225c6d0e
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/loop_stacklimit_1020.json
@@ -0,0 +1,51 @@
+{
+ "loop_stacklimit_1020" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/loop_stacklimit_1020Filler.json",
+ "sourceHash" : "e3a67d3fc9f35b9e0db39be074d9160030b23790e568d0387f9d8f7e4190e40a"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x6000345b60019003906001018180600357600052600152600059f3",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x03fc"
+ },
+ "gas" : "0xef1c",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x6000345b60019003906001018180600357600052600152600059f3",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x6000345b60019003906001018180600357600052600152600059f3",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/loop_stacklimit_1021.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/loop_stacklimit_1021.json
new file mode 100644
index 00000000..2eaa7501
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/loop_stacklimit_1021.json
@@ -0,0 +1,37 @@
+{
+ "loop_stacklimit_1021" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/loop_stacklimit_1021Filler.json",
+ "sourceHash" : "c1bb4f6ff68cafca82606ffe4fbed88358dc3b19be5e69714e96478d8571c0fc"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x6000345b60019003906001018180600357600052600152600059f3",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x03fd"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x6000345b60019003906001018180600357600052600152600059f3",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/memory1.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/memory1.json
new file mode 100644
index 00000000..67bd976a
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/memory1.json
@@ -0,0 +1,51 @@
+{
+ "memory1" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/memory1Filler.json",
+ "sourceHash" : "4962a1d10a8792cd1ad8a08ac500002adec8cc965fd1fb4d1c45cb3e558a9de6"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x600260005360036001536000516001510160025260406000f3",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "gas" : "0x01866d",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x02030503000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x600260005360036001536000516001510160025260406000f3",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x600260005360036001536000516001510160025260406000f3",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/mloadError0.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/mloadError0.json
new file mode 100644
index 00000000..59aa727a
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/mloadError0.json
@@ -0,0 +1,51 @@
+{
+ "mloadError0" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/mloadError0Filler.json",
+ "sourceHash" : "27a14368a9e5b964986445d0436e67f685ab0171ea0359b9a112fdc07d98bf53"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x600051600055",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "gas" : "0x01730c",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x600051600055",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x600051600055",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/mloadError1.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/mloadError1.json
new file mode 100644
index 00000000..8d9def1a
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/mloadError1.json
@@ -0,0 +1,51 @@
+{
+ "mloadError1" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/mloadError1Filler.json",
+ "sourceHash" : "f5841cfbab0e35ad5727493bc7b6e0cd075735640637e817001de707085c2608"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x6017600152600051600155",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "gas" : "0x017300",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x6017600152600051600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x6017600152600051600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/mloadMemExp.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/mloadMemExp.json
new file mode 100644
index 00000000..d3ed190f
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/mloadMemExp.json
@@ -0,0 +1,37 @@
+{
+ "mloadMemExp" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/mloadMemExpFiller.json",
+ "sourceHash" : "b12ca5b81a2d597d774f63fd3e6301a3808c7090e1b5ee00ea980c846ddadf32"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x01f4153d80",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x630fffffff51",
+ "data" : "0x",
+ "gas" : "0x800570",
+ "gasPrice" : "0x01",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x630fffffff51",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/mloadOutOfGasError2.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/mloadOutOfGasError2.json
new file mode 100644
index 00000000..a1be9f40
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/mloadOutOfGasError2.json
@@ -0,0 +1,37 @@
+{
+ "mloadOutOfGasError2" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/mloadOutOfGasError2Filler.json",
+ "sourceHash" : "8df8c3070849692634e4e7af44885da9c5d41df0717fd6d337aa7d5bfed56d52"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x6272482551600155",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x6272482551600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/msize0.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/msize0.json
new file mode 100644
index 00000000..c36b925e
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/msize0.json
@@ -0,0 +1,52 @@
+{
+ "msize0" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/msize0Filler.json",
+ "sourceHash" : "41daa7a08f4c4f0380b60446927c8a3d3f077fdd63de63ab8736353cf7c92d86"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x60ff60005259600055",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "gas" : "0x01386f",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x60ff60005259600055",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x20"
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x60ff60005259600055",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/msize1.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/msize1.json
new file mode 100644
index 00000000..6fbbfbb8
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/msize1.json
@@ -0,0 +1,52 @@
+{
+ "msize1" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/msize1Filler.json",
+ "sourceHash" : "1bc7a7187b3aa498df95faec7fa0258d950df3afb6205db0f9e2997ffb7ec512"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x64ffffffffff60005259600055",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "gas" : "0x01386f",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x64ffffffffff60005259600055",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x20"
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x64ffffffffff60005259600055",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/msize2.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/msize2.json
new file mode 100644
index 00000000..b390c6d3
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/msize2.json
@@ -0,0 +1,52 @@
+{
+ "msize2" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/msize2Filler.json",
+ "sourceHash" : "7a68500c2697ce7d4e5140214c087b3f152770295239abebdae1f81695167994"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x64ffffffffff60005261eeee60205259600055",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "gas" : "0x013863",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x64ffffffffff60005261eeee60205259600055",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x40"
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x64ffffffffff60005261eeee60205259600055",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/msize3.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/msize3.json
new file mode 100644
index 00000000..010ef69e
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/msize3.json
@@ -0,0 +1,52 @@
+{
+ "msize3" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/msize3Filler.json",
+ "sourceHash" : "e5a676b6ba865c05ea6cf933a2805cb286a664d1bee6544604cc96fdd79f1be4"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x64ffffffffff60005261eeee605a5259600055",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "gas" : "0x01385d",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x64ffffffffff60005261eeee605a5259600055",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x80"
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x64ffffffffff60005261eeee605a5259600055",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/mstore0.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/mstore0.json
new file mode 100644
index 00000000..913d3d44
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/mstore0.json
@@ -0,0 +1,52 @@
+{
+ "mstore0" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/mstore0Filler.json",
+ "sourceHash" : "78e3311be5943f4a7995e11b3fe7e41fa432fae150d687201c617c70ae40f6d7"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600152600151600155",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "gas" : "0x013868",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600152600151600155",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x01" : "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600152600151600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/mstore1.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/mstore1.json
new file mode 100644
index 00000000..b322f2ab
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/mstore1.json
@@ -0,0 +1,52 @@
+{
+ "mstore1" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/mstore1Filler.json",
+ "sourceHash" : "424433d76d1f8d1622fa9796c232dbd9f31ddc1231efae876f6494ee7d1ccab2"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600201600152600151600155",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "gas" : "0x013862",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600201600152600151600155",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x01" : "0x01"
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600201600152600151600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/mstore8MemExp.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/mstore8MemExp.json
new file mode 100644
index 00000000..785e247c
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/mstore8MemExp.json
@@ -0,0 +1,37 @@
+{
+ "mstore8MemExp" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/mstore8MemExpFiller.json",
+ "sourceHash" : "df32f3b06a7e748f5fdd93a878f7687f4f28864f8a5956d8e3a4fff7463b47f0"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x01f4153d80",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x60f1630fffffff53",
+ "data" : "0x",
+ "gas" : "0x800570",
+ "gasPrice" : "0x01",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x60f1630fffffff53",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/mstore8WordToBigError.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/mstore8WordToBigError.json
new file mode 100644
index 00000000..69c83039
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/mstore8WordToBigError.json
@@ -0,0 +1,52 @@
+{
+ "mstore8WordToBigError" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/mstore8WordToBigErrorFiller.json",
+ "sourceHash" : "e7f6dfe7bcd73d4ee7ec71238711bd20d21eafc11b4b5e6c54ed69b2daf3c8bd"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600153600151600155",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "gas" : "0x013868",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600153600151600155",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x01" : "0xff00000000000000000000000000000000000000000000000000000000000000"
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600153600151600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/mstore8_0.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/mstore8_0.json
new file mode 100644
index 00000000..722b4b38
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/mstore8_0.json
@@ -0,0 +1,52 @@
+{
+ "mstore8_0" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/mstore8_0Filler.json",
+ "sourceHash" : "0a5e67d6603b41a69f94c4d3dcc06da69c17c841ba0cdc8e15a5203e89d217a7"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600153600151600155",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "gas" : "0x013868",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600153600151600155",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x01" : "0xff00000000000000000000000000000000000000000000000000000000000000"
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600153600151600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/mstore8_1.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/mstore8_1.json
new file mode 100644
index 00000000..a4505525
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/mstore8_1.json
@@ -0,0 +1,52 @@
+{
+ "mstore8_1" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/mstore8_1Filler.json",
+ "sourceHash" : "85ba59a62f13c9f29b37207e79bf61c2bfb361b6b703ac5ec0f82801edd6cdec"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x60ff60015360ee600253600051600155",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "gas" : "0x013862",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x60ff60015360ee600253600051600155",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x01" : "0xffee0000000000000000000000000000000000000000000000000000000000"
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x60ff60015360ee600253600051600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/mstoreMemExp.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/mstoreMemExp.json
new file mode 100644
index 00000000..f79ee08d
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/mstoreMemExp.json
@@ -0,0 +1,37 @@
+{
+ "mstoreMemExp" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/mstoreMemExpFiller.json",
+ "sourceHash" : "eb43769a562c8a34bcb776fd312cc723bf2e8f4e64c75d7d3e36451760d9fd44"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x01f4153d80",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x60f1630fffffff52",
+ "data" : "0x",
+ "gas" : "0x01f4153d80",
+ "gasPrice" : "0x01",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x60f1630fffffff52",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/mstoreWordToBigError.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/mstoreWordToBigError.json
new file mode 100644
index 00000000..8409845b
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/mstoreWordToBigError.json
@@ -0,0 +1,52 @@
+{
+ "mstoreWordToBigError" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/mstoreWordToBigErrorFiller.json",
+ "sourceHash" : "25c31b75a7912e1384ff3347dc511c5d1b384e6f40cfb0dffaa65176abcc1613"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x01f4153d80",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600152600151600155",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "gas" : "0x013868",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600152600151600155",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x01" : "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600152600151600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/mstore_mload0.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/mstore_mload0.json
new file mode 100644
index 00000000..d3f3871d
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/mstore_mload0.json
@@ -0,0 +1,52 @@
+{
+ "mstore_mload0" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/mstore_mload0Filler.json",
+ "sourceHash" : "f3bd75c796896dcdbf77a7b2af45f3299ebe20db7e30d22031edc990bffb0416"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x6017600052600051600155",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "gas" : "0x01386b",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x6017600052600051600155",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x01" : "0x17"
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x6017600052600051600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/pc0.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/pc0.json
new file mode 100644
index 00000000..20b578ca
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/pc0.json
@@ -0,0 +1,51 @@
+{
+ "pc0" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/pc0Filler.json",
+ "sourceHash" : "824c240179768ed6999ca7357c185b25d2368e5526cde066fa103caa26fe8dea"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x58600055",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "gas" : "0x017313",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x58600055",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x58600055",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/pc1.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/pc1.json
new file mode 100644
index 00000000..21c3580d
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/pc1.json
@@ -0,0 +1,52 @@
+{
+ "pc1" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/pc1Filler.json",
+ "sourceHash" : "5e897dc9ac93e7c8c0502f846914c81cacb26796ab75d517dd862fc1f193256c"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x60ff60005558600055",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "gas" : "0x0124ed",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x60ff60005558600055",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x05"
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x60ff60005558600055",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/pop0.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/pop0.json
new file mode 100644
index 00000000..9fc77914
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/pop0.json
@@ -0,0 +1,52 @@
+{
+ "pop0" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/pop0Filler.json",
+ "sourceHash" : "46af5c256e1cdc6525f63332c78c39e0583ad9afe06e29a1a2cad8efcc801fd4"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x6002600360045055",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "gas" : "0x013875",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x6002600360045055",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x03" : "0x02"
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x6002600360045055",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/pop1.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/pop1.json
new file mode 100644
index 00000000..40f9bb43
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/pop1.json
@@ -0,0 +1,37 @@
+{
+ "pop1" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/pop1Filler.json",
+ "sourceHash" : "f87d71b88a272f122f6ea9dbd4680f8b4bf659a1b2bae4634398e6ecdcc9f487"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x5060026003600455",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x5060026003600455",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/return1.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/return1.json
new file mode 100644
index 00000000..99038e11
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/return1.json
@@ -0,0 +1,37 @@
+{
+ "return1" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/return1Filler.json",
+ "sourceHash" : "fe0798e0775da11e784482b44b51322ad70f4deaa8ce8643841257d3abee2e1f"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x6001620f4240f3",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x6001620f4240f3",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/return2.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/return2.json
new file mode 100644
index 00000000..627a8746
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/return2.json
@@ -0,0 +1,51 @@
+{
+ "return2" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/return2Filler.json",
+ "sourceHash" : "dbf688e0c2f5f4907b91cf9d71f3dc94ccbdcd3153ece4d2017e0367c0f0ef66"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x6001608052600060805111601b57600160005260206000f3602b565b602760005260206000f360026080525b",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "gas" : "0x01865f",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x0000000000000000000000000000000000000000000000000000000000000027",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x6001608052600060805111601b57600160005260206000f3602b565b602760005260206000f360026080525b",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x6001608052600060805111601b57600160005260206000f3602b565b602760005260206000f360026080525b",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/sha3MemExp.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/sha3MemExp.json
new file mode 100644
index 00000000..b6961869
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/sha3MemExp.json
@@ -0,0 +1,37 @@
+{
+ "sha3MemExp" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/sha3MemExpFiller.json",
+ "sourceHash" : "6672d6b321654fc8397f1a89903d0fb859013f50a4483c33e7b14b08ba490886"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x01f4153d80",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x60ff630fffffff20",
+ "data" : "0x",
+ "gas" : "0x01f4153d80",
+ "gasPrice" : "0x01",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x60ff630fffffff20",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/sstore_load_0.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/sstore_load_0.json
new file mode 100644
index 00000000..c44a6a82
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/sstore_load_0.json
@@ -0,0 +1,54 @@
+{
+ "sstore_load_0" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/sstore_load_0Filler.json",
+ "sourceHash" : "371f51e169fa8f7740cef83f469ff5f02034d301d027b0267cd999c9ea5ca633"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x60ff60005560ee600a55600054601455",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "gas" : "0x9bfc",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x60ff60005560ee600a55600054601455",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0xff",
+ "0x0a" : "0xee",
+ "0x14" : "0xff"
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x60ff60005560ee600a55600054601455",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/sstore_load_1.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/sstore_load_1.json
new file mode 100644
index 00000000..8e0d2d30
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/sstore_load_1.json
@@ -0,0 +1,53 @@
+{
+ "sstore_load_1" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/sstore_load_1Filler.json",
+ "sourceHash" : "28c5c7cfbcf28dd967743a82487d71c5d17eca75a90f019d227970c0ff927155"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x60ff60005560ee600a55606454601455",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "gas" : "0xd694",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x60ff60005560ee600a55606454601455",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0xff",
+ "0x0a" : "0xee"
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x60ff60005560ee600a55606454601455",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/sstore_load_2.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/sstore_load_2.json
new file mode 100644
index 00000000..a64cd12f
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/sstore_load_2.json
@@ -0,0 +1,37 @@
+{
+ "sstore_load_2" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/sstore_load_2Filler.json",
+ "sourceHash" : "6eeaf23d94ef3fc20edf8997eea5636ef20031039916c445404cfbe6ed8fbd42"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x60ff60005560ee60015560dd600255600154600a55600254601455",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x60ff60005560ee60015560dd600255600154600a55600254601455",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/sstore_underflow.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/sstore_underflow.json
new file mode 100644
index 00000000..ba3e6e28
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/sstore_underflow.json
@@ -0,0 +1,37 @@
+{
+ "sstore_underflow" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/sstore_underflowFiller.json",
+ "sourceHash" : "805b307827e4870e9e3bf9655a71a4ca5c327223280c4c3125522d053732de4b"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x600155",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/stack_loop.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/stack_loop.json
new file mode 100644
index 00000000..48ca5d11
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/stack_loop.json
@@ -0,0 +1,37 @@
+{
+ "stack_loop" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/stack_loopFiller.json",
+ "sourceHash" : "10cdba5fde4ef3d4d21af05732cf685986623a9055ef0d62dfb00f2a415e9264"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x60015b6001810380600257600053600153600253600353600453600553600653600753600853600953596000f3",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x60015b6001810380600257600053600153600253600353600453600553600653600753600853600953596000f3",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/stackjump1.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/stackjump1.json
new file mode 100644
index 00000000..1d36c705
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/stackjump1.json
@@ -0,0 +1,51 @@
+{
+ "stackjump1" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/stackjump1Filler.json",
+ "sourceHash" : "21d7234c731f6e2e771b45ce8ba46f258fcfee3c1c1f9060d5246302ef5f151e"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x6004600660096014565b600a03600052596000f35b60005201600956",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "gas" : "0x018662",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x0000000000000000000000000000000000000000000000000000000000000000",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x6004600660096014565b600a03600052596000f35b60005201600956",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x6004600660096014565b600a03600052596000f35b60005201600956",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/swapAt52becameMstore.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/swapAt52becameMstore.json
new file mode 100644
index 00000000..74f61efb
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/swapAt52becameMstore.json
@@ -0,0 +1,37 @@
+{
+ "swapAt52becameMstore" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/swapAt52becameMstoreFiller.json",
+ "sourceHash" : "b014aac7021775f56b763921bf12a663ca35c4aa230888cd7908edfa705b1413"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x600260035255",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x600260035255",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/when.json b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/when.json
new file mode 100644
index 00000000..60805343
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmIOandFlowOperations/when.json
@@ -0,0 +1,51 @@
+{
+ "when" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmIOandFlowOperations/whenFiller.json",
+ "sourceHash" : "18527242394f1a6921ffb94f5938e5c13a8dc892cb123edf424d17c32be5140d"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x600060011115600e57600d6080525b",
+ "data" : "0x",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "gas" : "0x01866e",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x600060011115600e57600d6080525b",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x600060011115600e57600d6080525b",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmRandomTest/201503102320PYTHON.json b/tests/laser/evm_testsuite/VMTests/vmRandomTest/201503102320PYTHON.json
new file mode 100644
index 00000000..b79202fb
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmRandomTest/201503102320PYTHON.json
@@ -0,0 +1,37 @@
+{
+ "201503102320PYTHON" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmRandomTest/201503102320PYTHONFiller.json",
+ "sourceHash" : "38aa9ba7f7836987852734619b0192d42434bd7106da17663d5fc85d81a1e6cf"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x012c",
+ "currentTimestamp" : "0x02"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x434342444244454597",
+ "data" : "0x",
+ "gas" : "0x2710",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x434342444244454597",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmRandomTest/201503110206PYTHON.json b/tests/laser/evm_testsuite/VMTests/vmRandomTest/201503110206PYTHON.json
new file mode 100644
index 00000000..2bcf8621
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmRandomTest/201503110206PYTHON.json
@@ -0,0 +1,37 @@
+{
+ "201503110206PYTHON" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmRandomTest/201503110206PYTHONFiller.json",
+ "sourceHash" : "ad34ff6291ab537633ab5e7163537b24617cc4edb2f45eac65bed9d2c009cfc3"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x012c",
+ "currentTimestamp" : "0x02"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x4045404145454441343987ff3735043055",
+ "data" : "0x",
+ "gas" : "0x2710",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x4045404145454441343987ff3735043055",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmRandomTest/201503110219PYTHON.json b/tests/laser/evm_testsuite/VMTests/vmRandomTest/201503110219PYTHON.json
new file mode 100644
index 00000000..cfa04863
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmRandomTest/201503110219PYTHON.json
@@ -0,0 +1,37 @@
+{
+ "201503110219PYTHON" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmRandomTest/201503110219PYTHONFiller.json",
+ "sourceHash" : "93dd23cbf213b07ac96a1fdfc826f41475452fea6da2e4f8d3f5d206e9a1adb9"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x012c",
+ "currentTimestamp" : "0x02"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x4040459143404144809759886d608f",
+ "data" : "0x",
+ "gas" : "0x2710",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x4040459143404144809759886d608f",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmRandomTest/201503110346PYTHON_PUSH24.json b/tests/laser/evm_testsuite/VMTests/vmRandomTest/201503110346PYTHON_PUSH24.json
new file mode 100644
index 00000000..3283a003
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmRandomTest/201503110346PYTHON_PUSH24.json
@@ -0,0 +1,51 @@
+{
+ "201503110346PYTHON_PUSH24" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmRandomTest/201503110346PYTHON_PUSH24Filler.json",
+ "sourceHash" : "953cb389f468c0d45697c57895679d7675ab43de963ad34a0ee547b8d27d10c8"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x012c",
+ "currentTimestamp" : "0x02"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x7745414245403745f31387900a8d55",
+ "data" : "0x",
+ "gas" : "0x2710",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "gas" : "0x270d",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x7745414245403745f31387900a8d55",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x7745414245403745f31387900a8d55",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmRandomTest/201503111844PYTHON.json b/tests/laser/evm_testsuite/VMTests/vmRandomTest/201503111844PYTHON.json
new file mode 100644
index 00000000..da88a5f7
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmRandomTest/201503111844PYTHON.json
@@ -0,0 +1,51 @@
+{
+ "201503111844PYTHON" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmRandomTest/201503111844PYTHONFiller.json",
+ "sourceHash" : "a8049871a173837bf8fbfab3352baf9bb9e33d0ffa2bd20ba6246a70d9c1b165"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x012c",
+ "currentTimestamp" : "0x02"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x65424555",
+ "data" : "0x",
+ "gas" : "0x2710",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "gas" : "0x270d",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x65424555",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x65424555",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmRandomTest/201503112218PYTHON.json b/tests/laser/evm_testsuite/VMTests/vmRandomTest/201503112218PYTHON.json
new file mode 100644
index 00000000..69c008e9
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmRandomTest/201503112218PYTHON.json
@@ -0,0 +1,37 @@
+{
+ "201503112218PYTHON" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmRandomTest/201503112218PYTHONFiller.json",
+ "sourceHash" : "6fc205d30fd7493b6e120e18c91e1e41f6fe334b94abadbac37d2817066ebccb"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x012c",
+ "currentTimestamp" : "0x02"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x4041",
+ "data" : "0x",
+ "gas" : "0x2710",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x4041",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmSystemOperations/TestNameRegistrator.json b/tests/laser/evm_testsuite/VMTests/vmSystemOperations/TestNameRegistrator.json
new file mode 100644
index 00000000..058fa0e5
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmSystemOperations/TestNameRegistrator.json
@@ -0,0 +1,52 @@
+{
+ "TestNameRegistrator" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmSystemOperations/TestNameRegistratorFiller.json",
+ "sourceHash" : "7e0e4bcbcbe8bcaf9a8535e65d4c6665db752910953b5eafc63da8f7cdff20b7"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x6000355415600957005b60203560003555",
+ "data" : "0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffafffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0de0b6b3a7640000"
+ },
+ "gas" : "0x01382b",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x",
+ "post" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x6000355415600957005b60203560003555",
+ "nonce" : "0x00",
+ "storage" : {
+ "0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa" : "0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa"
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x6000355415600957005b60203560003555",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmSystemOperations/return0.json b/tests/laser/evm_testsuite/VMTests/vmSystemOperations/return0.json
new file mode 100644
index 00000000..eb51c4f7
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmSystemOperations/return0.json
@@ -0,0 +1,52 @@
+{
+ "return0" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmSystemOperations/return0Filler.json",
+ "sourceHash" : "1cd2b9480f1f5bdd82e8026b6342008ef84d318c3f9f173eae7d09e50eaf26b3"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x989680",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "caller" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "code" : "0x603760005360005160005560016000f3",
+ "data" : "0xaa",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "value" : "0x17"
+ },
+ "gas" : "0x013865",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x37",
+ "post" : {
+ "0xcd1722f3947def4cf144679da39c4c32bdc35681" : {
+ "balance" : "0x17",
+ "code" : "0x603760005360005160005560016000f3",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x3700000000000000000000000000000000000000000000000000000000000000"
+ }
+ }
+ },
+ "pre" : {
+ "0xcd1722f3947def4cf144679da39c4c32bdc35681" : {
+ "balance" : "0x17",
+ "code" : "0x603760005360005160005560016000f3",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmSystemOperations/return1.json b/tests/laser/evm_testsuite/VMTests/vmSystemOperations/return1.json
new file mode 100644
index 00000000..08051849
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmSystemOperations/return1.json
@@ -0,0 +1,52 @@
+{
+ "return1" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmSystemOperations/return1Filler.json",
+ "sourceHash" : "5cd716a8e8d460b10e0dc1b3d5b6394f0c388e0e36246bf124478b0cb86a1f76"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x989680",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "caller" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "code" : "0x603760005360005160005560026000f3",
+ "data" : "0xaa",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "value" : "0x17"
+ },
+ "gas" : "0x013865",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x3700",
+ "post" : {
+ "0xcd1722f3947def4cf144679da39c4c32bdc35681" : {
+ "balance" : "0x17",
+ "code" : "0x603760005360005160005560026000f3",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x3700000000000000000000000000000000000000000000000000000000000000"
+ }
+ }
+ },
+ "pre" : {
+ "0xcd1722f3947def4cf144679da39c4c32bdc35681" : {
+ "balance" : "0x17",
+ "code" : "0x603760005360005160005560026000f3",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmSystemOperations/return2.json b/tests/laser/evm_testsuite/VMTests/vmSystemOperations/return2.json
new file mode 100644
index 00000000..d1103b4f
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmSystemOperations/return2.json
@@ -0,0 +1,52 @@
+{
+ "return2" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmSystemOperations/return2Filler.json",
+ "sourceHash" : "4181cbf262c1dc2cdc186e007ec6c13466bd031b190b07874b1177a00717deeb"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x989680",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "caller" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "code" : "0x603760005360005160005560216000f3",
+ "data" : "0xaa",
+ "gas" : "0x0186a0",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "value" : "0x17"
+ },
+ "gas" : "0x013862",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x370000000000000000000000000000000000000000000000000000000000000000",
+ "post" : {
+ "0xcd1722f3947def4cf144679da39c4c32bdc35681" : {
+ "balance" : "0x17",
+ "code" : "0x603760005360005160005560216000f3",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x3700000000000000000000000000000000000000000000000000000000000000"
+ }
+ }
+ },
+ "pre" : {
+ "0xcd1722f3947def4cf144679da39c4c32bdc35681" : {
+ "balance" : "0x17",
+ "code" : "0x603760005360005160005560216000f3",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmSystemOperations/suicide0.json b/tests/laser/evm_testsuite/VMTests/vmSystemOperations/suicide0.json
new file mode 100644
index 00000000..ae80e8f6
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmSystemOperations/suicide0.json
@@ -0,0 +1,58 @@
+{
+ "suicide0" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmSystemOperations/suicide0Filler.json",
+ "sourceHash" : "56c8766e8a1687dfe807b1e8f2d0454267f432c7e3035ff5fa9c27a2d594739d"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x989680",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x33ff",
+ "data" : "0x",
+ "gas" : "0x03e8",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0186a0"
+ },
+ "gas" : "0x03e6",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x",
+ "post" : {
+ "0xcd1722f3947def4cf144679da39c4c32bdc35681" : {
+ "balance" : "0x152d02c7e14af6800017",
+ "code" : "0x6000355415600957005b60203560003555",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x33ff",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xcd1722f3947def4cf144679da39c4c32bdc35681" : {
+ "balance" : "0x17",
+ "code" : "0x6000355415600957005b60203560003555",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmSystemOperations/suicideNotExistingAccount.json b/tests/laser/evm_testsuite/VMTests/vmSystemOperations/suicideNotExistingAccount.json
new file mode 100644
index 00000000..ecf5d3bc
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmSystemOperations/suicideNotExistingAccount.json
@@ -0,0 +1,65 @@
+{
+ "suicideNotExistingAccount" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmSystemOperations/suicideNotExistingAccountFiller.json",
+ "sourceHash" : "ba450a40efb62a9fb6e16e3bced0afde8d0b08b9c0f78979f35fc45b9de72816"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x989680",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x73aa1722f3947def4cf144679da39c4c32bdc35681ff",
+ "data" : "0x",
+ "gas" : "0x03e8",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0186a0"
+ },
+ "gas" : "0x03e5",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x",
+ "post" : {
+ "0xaa1722f3947def4cf144679da39c4c32bdc35681" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xcd1722f3947def4cf144679da39c4c32bdc35681" : {
+ "balance" : "0x17",
+ "code" : "0x6000355415600957005b60203560003555",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x73aa1722f3947def4cf144679da39c4c32bdc35681ff",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xcd1722f3947def4cf144679da39c4c32bdc35681" : {
+ "balance" : "0x17",
+ "code" : "0x6000355415600957005b60203560003555",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/VMTests/vmSystemOperations/suicideSendEtherToMe.json b/tests/laser/evm_testsuite/VMTests/vmSystemOperations/suicideSendEtherToMe.json
new file mode 100644
index 00000000..7a8f19b8
--- /dev/null
+++ b/tests/laser/evm_testsuite/VMTests/vmSystemOperations/suicideSendEtherToMe.json
@@ -0,0 +1,58 @@
+{
+ "suicideSendEtherToMe" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "testeth 1.5.0.dev2-52+commit.d419e0a2",
+ "lllcversion" : "Version: 0.4.26-develop.2018.9.19+commit.785cbf40.Linux.g++",
+ "source" : "src/VMTestsFiller/vmSystemOperations/suicideSendEtherToMeFiller.json",
+ "sourceHash" : "0cf005812e9c99dc87bdd8463a9849a0164a9e02b3d09eaab228267d6c8c703e"
+ },
+ "callcreates" : [
+ ],
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x989680",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01"
+ },
+ "exec" : {
+ "address" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0x30ff",
+ "data" : "0x",
+ "gas" : "0x03e8",
+ "gasPrice" : "0x5af3107a4000",
+ "origin" : "0xcd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "0x0186a0"
+ },
+ "gas" : "0x03e6",
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
+ "out" : "0x",
+ "post" : {
+ "0xcd1722f3947def4cf144679da39c4c32bdc35681" : {
+ "balance" : "0x17",
+ "code" : "0x6000355415600957005b60203560003555",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x152d02c7e14af6800000",
+ "code" : "0x30ff",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xcd1722f3947def4cf144679da39c4c32bdc35681" : {
+ "balance" : "0x17",
+ "code" : "0x6000355415600957005b60203560003555",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/laser/evm_testsuite/evm_test.py b/tests/laser/evm_testsuite/evm_test.py
index 22a48070..381438cb 100644
--- a/tests/laser/evm_testsuite/evm_test.py
+++ b/tests/laser/evm_testsuite/evm_test.py
@@ -16,6 +16,7 @@ from z3 import ExprRef, simplify
evm_test_dir = Path(__file__).parent / "VMTests"
+
test_types = [
"vmArithmeticTest",
"vmBitwiseLogicOperation",
@@ -23,7 +24,39 @@ test_types = [
"vmPushDupSwapTest",
"vmTests",
"vmSha3Test",
+ "vmSystemOperations",
+ "vmRandomTest",
+ "vmIOandFlowOperations",
+]
+
+tests_with_gas_support = ["gas0", "gas1"]
+tests_with_block_number_support = [
+ "BlockNumberDynamicJumpi0",
+ "BlockNumberDynamicJumpi1",
+ "BlockNumberDynamicJump0_jumpdest2",
+ "DynamicJumpPathologicalTest0",
+ "BlockNumberDynamicJumpifInsidePushWithJumpDest",
+ "BlockNumberDynamicJumpiAfterStop",
+ "BlockNumberDynamicJumpifInsidePushWithoutJumpDest",
+ "BlockNumberDynamicJump0_jumpdest0",
+ "BlockNumberDynamicJumpi1_jumpdest",
+ "BlockNumberDynamicJumpiOutsideBoundary",
+ "DynamicJumpJD_DependsOnJumps1",
+]
+tests_with_log_support = ["log1MemExp"]
+tests_not_relevent = [
+ "loop_stacklimit_1020", # We won't be looping till 1020 as we have a max_depth
+ "loop_stacklimit_1021",
]
+tests_to_resolve = ["jumpTo1InstructionafterJump", "sstore_load_2", "jumpi_at_the_end"]
+ignored_test_names = (
+ tests_with_gas_support
+ + tests_with_log_support
+ + tests_with_block_number_support
+ + tests_with_block_number_support
+ + tests_not_relevent
+ + tests_to_resolve
+)
def load_test_data(designations):
@@ -80,16 +113,20 @@ def test_vmtest(
gas_used: int,
post_condition: dict,
) -> None:
+
# Arrange
- if test_name == "gasprice":
+ if test_name in ignored_test_names:
return
world_state = WorldState()
for address, details in pre_condition.items():
- account = Account(address)
+ account = Account(address, concrete_storage=True)
account.code = Disassembly(details["code"][2:])
account.nonce = int(details["nonce"], 16)
+ for key, value in details["storage"].items():
+ account.storage[int(key, 16)] = int(value, 16)
+
world_state.put_account(account)
account.set_balance(int(details["balance"], 16))
@@ -123,16 +160,12 @@ def test_vmtest(
assert all(map(lambda g: g[0] <= g[1], gas_min_max))
assert any(gas_ranges)
- if any((v in test_name for v in ["error", "oog"])) and post_condition == {}:
+ if post_condition == {}:
# no more work to do if error happens or out of gas
assert len(laser_evm.open_states) == 0
else:
assert len(laser_evm.open_states) == 1
world_state = laser_evm.open_states[0]
- model = get_model(
- next(iter(laser_evm.nodes.values())).states[0].mstate.constraints,
- enforce_execution_time=False,
- )
for address, details in post_condition.items():
account = world_state[symbol_factory.BitVecVal(int(address, 16), 256)]
@@ -143,6 +176,7 @@ def test_vmtest(
for index, value in details["storage"].items():
expected = int(value, 16)
actual = account.storage[int(index, 16)]
+
if isinstance(actual, Expression):
actual = actual.value
actual = 1 if actual is True else 0 if actual is False else actual
diff --git a/tests/laser/state/mstate_test.py b/tests/laser/state/mstate_test.py
index 86795589..c21b3159 100644
--- a/tests/laser/state/mstate_test.py
+++ b/tests/laser/state/mstate_test.py
@@ -1,4 +1,5 @@
import pytest
+from ethereum import utils
from mythril.laser.smt import simplify, symbol_factory
from mythril.laser.ethereum.state.machine_state import MachineState
@@ -22,7 +23,9 @@ def test_memory_extension(initial_size, start, extension_size):
# Assert
assert machine_state.memory_size == len(machine_state.memory)
- assert machine_state.memory_size == max(initial_size, start + extension_size)
+ assert machine_state.memory_size == max(
+ initial_size, (utils.ceil32(start + extension_size) // 32) * 32
+ )
stack_pop_too_many_test_data = [(0, 1), (0, 2), (5, 1), (5, 10)]
diff --git a/tests/report_test.py b/tests/report_test.py
index e83f3d67..73554880 100644
--- a/tests/report_test.py
+++ b/tests/report_test.py
@@ -17,7 +17,8 @@ def _fix_path(text):
def _fix_debug_data(json_str):
read_json = json.loads(json_str)
for issue in read_json["issues"]:
- issue["debug"] = ""
+ issue["tx_sequence"] = ""
+
return json.dumps(read_json, sort_keys=True, indent=4)
@@ -25,6 +26,7 @@ def _add_jsonv2_stubs(json_str):
read_json = json.loads(json_str)
for issue in read_json[0]["issues"]:
issue["extra"]["discoveryTime"] = ""
+ issue["extra"]["testCase"] = ""
return json.dumps(read_json, sort_keys=True, indent=4)
diff --git a/tests/testdata/outputs_expected/calls.sol.o.graph.html b/tests/testdata/outputs_expected/calls.sol.o.graph.html
index 0884c542..0614f7da 100644
--- a/tests/testdata/outputs_expected/calls.sol.o.graph.html
+++ b/tests/testdata/outputs_expected/calls.sol.o.graph.html
@@ -24,8 +24,8 @@
@@ -59,4 +59,4 @@
});
-