You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As in issue title I could not recover the function names of smart contracts written in Solidity 0.5.4
First I tried with my own complex smart contracts, but in all cases only one 'function' - 0x40 was recognised even if smart contract had multiple functions.
I went for a simpler contract
contract SimpleStore {
function set(uint _value) public {
value = _value;
}
function get() public view returns (uint) {
return value;
}
uint value;
}
First issue is that you are providing the constructor to Ethersplay, so that's what you're seeing as the function named 0x40. Per the README, you should run solc --bin-runtime file.sol to output just the runtime bytecode if that's what you want to look at in Ethersplay.
The second issue is actually an issue with evm_cfg_builder, which Ethersplay gets its CFG info from, so we should probably open a ticket on that repo.
As in issue title I could not recover the function names of smart contracts written in Solidity 0.5.4
First I tried with my own complex smart contracts, but in all cases only one 'function' - 0x40 was recognised even if smart contract had multiple functions.
I went for a simpler contract
Bytecode:
And the result was the same - functions
set
andget
were not recognised.I'm operating on OSX version of binary ninja.
The text was updated successfully, but these errors were encountered: