ida-evm icon indicating copy to clipboard operation
ida-evm copied to clipboard

Windows 10 - 3 error pop-ups

Open loveTSloveNET opened this issue 3 years ago • 3 comments

Hello Sir!

Just copied and pasted the py files on the folders image and image

And when loading a example contract am getting a error image

here the example contract am using: 0x0786b701Fef3bf2676556f5128cF7429ee53a9ef.evm and inside this file i just pasted the following hex code: 0x606060405236156100885763ffffffff60e060020a600035041663146901db81146100ee5780631e0018d6146101005780633ccfd60b1461012c57806364ae44511461013e57806373ad468a14610168578063773041ce1461018a5780638da5cb5b146101a8578063c19d93fb146101d4578063ec8ac4d814610208578063f2fde38b14610226575b6100ec5b60025430600160a060020a03163111156100a65760006000fd5b60408051348152600160a060020a033316602082015281517f33e36c5037a4834b94e805648de1a58578badec436cfbd0679b82ca91603f40d929181900390910190a15b565b005b34156100f657fe5b6100ec610244565b005b341561010857fe5b6101106102a2565b60408051600160a060020a039092168252519081900360200190f35b341561013457fe5b6100ec6102b1565b005b341561014657fe5b61015460ff60043516610365565b604080519115158252519081900360200190f35b341561017057fe5b61017861038d565b60408051918252519081900360200190f35b341561019257fe5b6100ec600160a060020a0360043516610393565b005b34156101b057fe5b610110610417565b60408051600160a060020a039092168252519081900360200190f35b34156101dc57fe5b6101e4610426565b604051808260028111156101f457fe5b60ff16815260200191505060405180910390f35b341561021057fe5b6100ec600160a060020a036004351661042f565b005b341561022e57fe5b6100ec600160a060020a0360043516610513565b005b60005433600160a060020a039081169116146102605760006000fd5b600380546002919060ff19166001835b02179055506040517f1b0ba14d0d88ac936babe67c6ed402959bc2a548d8521436f4f27a29be3f619a90600090a15b5b565b600154600160a060020a031681565b6000805433600160a060020a039081169116146102ce5760006000fd5b6001805b60035460ff1660028111156102e357fe5b14156102ef5760006000fd5b600154604051600160a060020a03308116319450919091169083156108fc029084906000818181858888f19350505050151561032b5760006000fd5b6040805183815290517fca4bd5135a11e3fc146ac22d75f0d2eae9b6c61b6fa3eb6724a456b311ad72d39181900360200190a15b5b505b50565b600081600281111561037357fe5b60035460ff16600281111561038457fe5b1490505b919050565b60025481565b60005433600160a060020a039081169116146103af5760006000fd5b60015460408051600160a060020a039283168152918316602083015280517fc204b28865760f18aa0ef147ee25573d2dba9f208385c8aa65fb79150978fb6d9281900390910190a160018054600160a060020a031916600160a060020a0383161790555b5b50565b600054600160a060020a031681565b60035460ff1681565b6000805433600160a060020a0390811691161461044c5760006000fd5b61046230600160a060020a03163160025461055f565b6001546040805160e360020a631d91589b028152600160a060020a03928316600482015290519293509084169163ec8ac4d8918491602480830192600092919082900301818588803b15156104b357fe5b6125ee5a03f115156104c157fe5b5050600380546001935090915060ff191682805b02179055506040805182815290517f9237e61b939e9e5141705f9a758c9804d596ad248ce04d74983b3b76b27a61569181900360200190a15b5b5050565b60005433600160a060020a0390811691161461052f5760006000fd5b600160a060020a038116156103625760008054600160a060020a031916600160a060020a0383161790555b5b5b50565b600081831061056e5781610570565b825b90505b929150505600a165627a7a72305820037ab0f723c495390cc346235cd357a14daefc89854fb67f1ca558a5f8a537c90029

if i push ok and ok, does not load the contract correctly image

and image

and then image

can't select the py file image

Any hints? thanks

this is what i was expecting to see instead: image

am using Windows 10 and python 3.9 image

Thanks! And amazing repo! View more images

😎🙏

loveTSloveNET avatar Jan 27 '22 04:01 loveTSloveNET

Seems like i have to change the settings on IDA to use python 2 instead

loveTSloveNET avatar Jan 27 '22 13:01 loveTSloveNET

image

On my IDA 7.0 it works on IDA7.5 it gives me the option to switch between python versions, and it starts with python 3

loveTSloveNET avatar Jan 27 '22 13:01 loveTSloveNET

Hey, you are correct. This plugin hasn't been updated to use python3 or the new cpu architecture APIs introduced a few versions ago. It is likely not compatible with anything newer than IDA 7.2 or so. We don't have immediate plans to update the plugin, but always welcome any pull requests.

computerality avatar Feb 09 '22 22:02 computerality