Cyfrin / aderyn

Aderyn 🦜 Rust-based Solidity AST analyzer.
https://docs.cyfrin.io/
GNU General Public License v2.0
414 stars 62 forks source link

Aderyn crashes when update check fails #751

Closed aryankaushik11 closed 1 month ago

aryankaushik11 commented 1 month ago

A fatal compiler bug occurs when running Aderyn after vulnerabilities are detected. The report is successfully generated in report.md, but an error interrupts the process with a "Fatal compiler bug!" message. This didn't happen in the previous versions I used.

To Reproduce Steps to reproduce the behavior: This error showed up for all of the smart contracts on which I tried to run the code for.

Expected behavior Expected behavior The report should be generated successfully without a fatal error.

Screenshots image

Desktop (please complete the following information):

Latikesh22 commented 1 month ago

Issue Description:

I am running a script to scan smart contracts located in a specified folder sequentially. The initial scans proceed without issue, and I successfully receive the report.md file for each contract. However, after processing approximately 10 to 15 contracts, I encounter a recurring error as noted in the above section.

Environment:

I would appreciate any insights or suggestions to resolve this issue. Thank you for your assistance.

TilakMaddy commented 1 month ago

You can add this flag --skip-update-check and it won't error

Latikesh22 commented 1 month ago

Thank you for your assistance; the solution is now working. I appreciate your support.