Skip to content

hangs upon execution #20

@nolash

Description

@nolash

compiling the following with solc --optimize --bin-runtime

pragma solidity ^0.4.11;

contract Simple {
	bytes32 public v;
	function set(bytes32 _v) {
		v = _v;
	}
}

bytecode:

606060405263ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416637c2efcba81146046578063db80813f146068575b600080fd5b3415605057600080fd5b6056607d565b60405190815260200160405180910390f35b3415607257600080fd5b607b6004356083565b005b60005481565b60008190555b505600a165627a7a72305820645352c019aae26da402b9c2edac41e0989caf52f865879af82a9646ae1f3f9c0029

I then try:

evmdis -log <binfile>
evmdis -log <bytecode>

The command hangs till I manually SIGINT.


I try:

cat <binfile> | evmdis -log

I get:

2017/08/03 09:24:35 Entering block at 0 with stack height 0
# Stack: []
0x0	STOP()

I also tried solc --optimize --bin and evmdis -ctor -log, same results.


My setup:

  • evmdis: 1abeda0
  • solc: 0.4.14-develop.2017.7.27+commit.16ca1eea.Linux.g++
  • gcc/g++: 7.1.1
  • linux: 4.11.3-1-ARCH

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions