Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ida-evm failed to analyze bytecode #3

Open
JsHuang opened this issue Aug 2, 2018 · 1 comment
Open

ida-evm failed to analyze bytecode #3

JsHuang opened this issue Aug 2, 2018 · 1 comment

Comments

@JsHuang
Copy link

JsHuang commented Aug 2, 2018

ida-evm failed to analyze evm bytecode as bleow:
6060604052361561004a576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168063a035b1fe1461028a578063cb4774c4146102b0575b6102885b6000600060006000734e6a1c57cdbfd97e8efe831f8f4418b1f2a09e6e9350736090a6e47849629b7245dfa1ca21d94cd15878ef9250829150601460015481151561009557fe5b0490508373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051809050600060405180830381858888f1935050505015156100d857fe5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc82600154039081150290604051809050600060405180830381858888f19350505050151561013e57fe5b8173ffffffffffffffffffffffffffffffffffffffff166379ce9fac600060405180828054600181600116156101000203166002900480156101b75780601f106101955761010080835404028352918201916101b7565b820191906000526020600020905b8154815290600101906020018083116101a3575b50509150506040518091039020600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518363ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018083600019166000191681526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200192505050600060405180830381600087803b151561027057fe5b6102c65a03f1151561027e57fe5b5050505b50505050565b005b341561029257fe5b61029a610349565b6040518082815260200191505060405180910390f35b34156102b857fe5b6102c061034f565b604051808060200182810382528381815181526020019150805190602001908083836000831461030f575b80518252602083111561030f576020820191506020810190506020830392506102eb565b505050905090810190601f16801561033b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b60015481565b60008054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156103e55780601f106103ba576101008083540402835291602001916103e5565b820191906000526020600020905b8154815290600101906020018083116103c857829003601f168201915b5050505050815600a165627a7a72305820672c8a53b31689c05614491e5352dd3b781f31d1f370067a5f65c109a4bd2f180029

when loaded , ida-evm only get a single big block.

@AlexiousLu
Copy link

You need to translate it into BINARY format, that is \x60\x60\x60\x40\x52.....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants