Giter Site home page Giter Site logo

pluto's Introduction

pluto

The experiment data is available in this repository, and we will open-source our code after publication.

pluto's People

Contributors

plutoanalyzer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

pluto's Issues

When I run the 'python3 pluto.py -ru https://gist.githubusercontent.com/loiluu/d0eb34d473e421df12b38c12a7423a61/raw/2415b3fb782f5d286777e0bcebc57812ce3786da/puzzle.sol' command, the following error occurs. How can I solve it?

WARNING:root:You are using an untested version of z3. 4.5.1 is the officially tested version
WARNING:root:You are using evm version 1.10.11. The supported version is 1.7.3
WARNING:root:You are using solc version 0.4.25, The latest supported version is 0.4.19
INFO:root:contract remote_contract.sol:Puzzle:
INFO:symExec: ============ Results ===========
Traceback (most recent call last):
File "pluto.py", line 232, in
main()
File "pluto.py", line 227, in main
exit_code = analyze_solidity()
File "pluto.py", line 114, in analyze_solidity
results, exit_code = run_solidity_analysis(inputs)
File "pluto.py", line 89, in run_solidity_analysis
result, return_code = symExec.run(disasm_file=inp['disasm_file'], bin_disasm_file=inp['bin_disasm_file'], all_contracts=inputs, source_map=inp['source_map'], source_file=inp['source'])
File "/home/c402/lu_test/pluto/PlutoTool/symExec.py", line 2918, in run
analyze(is_printLog)
File "/home/c402/lu_test/pluto/PlutoTool/symExec.py", line 2889, in analyze
run_build_cfg_and_analyze(timeout_cb, is_printLog)
File "/home/c402/lu_test/pluto/PlutoTool/symExec.py", line 2846, in run_build_cfg_and_analyze
build_cfg_and_analyze(is_printLog)
File "/home/c402/lu_test/pluto/PlutoTool/symExec.py", line 395, in build_cfg_and_analyze
collect_vertices(tokens)
File "/home/c402/lu_test/pluto/PlutoTool/symExec.py", line 510, in collect_vertices
idx = mapping_non_push_instruction(current_line_content, current_ins_address, idx, positions, length) if g_src_map else None
File "/home/c402/lu_test/pluto/PlutoTool/symExec.py", line 450, in mapping_non_push_instruction
raise Exception("Source map error")
Exception: Source map error

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.