question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Enable configurable `solc --allow-paths` to accomodate non-standard imports

See original GitHub issue

The --truffle mode is unpleasant to work with, as it creates a huge amount of output. Source mappings are currently also much better when first applied to solidity files.

A more flexible option would be to create a config file like .mythrilrc, which would allow me to specify path mappings, similar to solc --allow-paths.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
muellerberndtcommented, Apr 25, 2018

For developers, mythril-cli will be superseded by mythjs, so I’ll make this part of the mythjs specs.

0reactions
maureliancommented, Apr 16, 2018

Assuming there is still interest in this being used as part of the dev process, rather than just auditing, I think a config file would be much better. That would simplify IDE integrations, and align with tools like linters, truffle, and scripting via NPM.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Import Path Resolution — Solidity 0.8.17 documentation
Paths used in imports must work the same way everywhere while the command-line ... Additional directories can be whitelisted using the --allow-paths option....
Read more >
Solidity Documentation - Read the Docs
Solidity is an object-oriented, high-level language for implementing smart contracts. Smart contracts are programs which govern the behaviour of accounts ...
Read more >
solc compiler --allow-paths fails - Ethereum Stack Exchange
I have a folder structure for storing the .sol files, the input JSON, and the compiled JSON output. No matter what variation I...
Read more >
flexcel-conceptual-docs-net.pdf - TMS Software
Or only allow paths that are children of the path of the main file, or maybe paths from an allowed list of paths....
Read more >
Format of solr.xml | Apache Solr Reference Guide 8.6.1
This section will describe the default solr.xml file included with Solr and how to modify it for your needs. For details on how...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found