Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This is a fatal bug in Aderyn, sorry! ----truly i feel i may be doing something wrong ? #785

Open
lockmeilluminati opened this issue Dec 20, 2024 · 6 comments

Comments

@lockmeilluminati
Copy link

rror: Fatal compiler bug!

This is a fatal bug in Aderyn, sorry!

Please report this crash to https://github.com/cyfrin/aderyn/issues/new and include this error message with your report.

Panic: aderyn_driver/src/lib.rs:34
called Result::unwrap() on an Err value: StripPrefixError(())
Aderyn version: 0.3.3
Operating system: linux

If you can also share your code and say what file you were editing or any
steps to reproduce the crash that would be a great help.

You may also want to try again with the ADERYN_LOG=trace environment
variable set.

Compiling 13 files with Solc 0.8.25+commit.b61c2a91.Linux.gcc
error: Fatal compiler bug!

This is a fatal bug in Aderyn, sorry!

Please report this crash to https://github.com/cyfrin/aderyn/issues/new and include this error message with your report.

Panic: aderyn_driver/src/lib.rs:34
called Result::unwrap() on an Err value: StripPrefixError(())
Aderyn version: 0.3.3
Operating system: linux

If you can also share your code and say what file you were editing or any
steps to reproduce the crash that would be a great help.

You may also want to try again with the ADERYN_LOG=trace environment
variable set.

Compiling 14 files with Solc 0.8.28+commit.7893614a.Linux.gcc
Compiling 2 files with Solc 0.5.8+commit.23d335f2.Linux.gcc
Compiling 3 files with Solc 0.6.4+commit.1dca32f3.Linux.gcc
robotics345@robotics345-Lenovo-ideapad-330-15IKB:/Aderyn/aderyn-contracts-playground/src$ ls
AbstractContract.sol
AderynIgnoreCustomDetectors.sol
AdminContract.sol
ArbitraryTransferFrom.sol
AssemblyExample.sol
AssertStateChange.sol
auditor_mode
BooleanEquality.sol
BuiltinSymbolShadow.sol
CacheArrayLength.sol
CallGraphTests.sol
Casting.sol
cloc
CompilerBugStorageSignedIntegerArray.sol
ConstantFuncsAssembly.sol
ConstantsLiterals.sol
ConstFuncChangeState.sol
ContractLocksEther.sol
ContractWithTodo.sol
CostlyOperationsInsideLoops.sol
Counter.sol
CrazyPragma.sol
DangerousStrictEquality1.sol
DangerousStrictEquality2.sol
DangerousUnaryOperator.sol
DeadCode.sol
DelegateCallWithoutAddressCheck.sol
DeletionNestedMappingStructureContract.sol
DeprecatedOZFunctions.sol
DivisionBeforeMultiplication.sol
DynamicArrayLengthAssignment.sol
EmptyBlocks.sol
EnumerableSetIteration.sol
eth2
ExperimentalEncoder.sol
FunctionInitializingState.sol
FunctionPointers.sol
FunctionSignatureCollision.sol
HugeConstants.sol
IgnoreEverything.sol
InconsistentUints.sol
IncorrectCaretOperator.sol
IncorrectERC20.sol
IncorrectERC721.sol
IncorrectShift.sol
inheritance
InternalFunctions.sol
KeccakContract.sol
LocalVariableShadow.sol
MissingInheritance.sol
MisusedBoolean.sol
MsgValueInLoop.sol
MultipleConstructorSchemes.sol
nested
nested_mappings
OnceModifierExample.sol
OutOfOrderRetryable.sol
parent_chain
PreDeclaredVarUsage.sol
PublicVariableReadInExternalContext.sol
RedundantStatements.sol
ReturnBomb.sol
reused_contract_name
RevertsAndRequriesInLoops.sol
RTLO.sol
SendEtherNoChecks.sol
StateShadowing.sol
StateVariableCouldBeDeclaredConstant.sol
StateVariablesManipulation.sol
StateVariables.sol
StorageConditionals.sol
StorageParameters.sol
T11sTranferer.sol
TautologicalCompare.sol
TautologyOrContradiction.sol
TestERC20.sol
Trump.sol
TxOriginUsedForAuth.sol
U2.sol
U3.sol
U4.sol
U5.sol
UncheckedCalls.sol
UncheckedReturn.sol
UncheckedSend.sol
UninitializedLocalVariables.sol
UninitializedStateVariable.sol
uniswap
UnprotectedInitialize.sol
UnsafeERC721Mint.sol
UnusedError.sol
UnusedImport.sol
UnusedStateVariables.sol
UsingSelfdestruct.sol
VoidConstructor.sol
WeakRandomness.sol
WrongOrderOfLayout.sol
YulReturn.sol
ZeroAddressCheck.sol
robotics345@robotics345-Lenovo-ideapad-330-15IKB:
/Aderyn/aderyn-contracts-playground/src$ aderyn UncheckedCalls.sol
WARNING: remappings.txt not found.
Root: "/home/robotics345/Aderyn/aderyn-contracts-playground/src/UncheckedCalls.sol", Src: None, Include: None, Exclude: None
Resolving sources versions by graph ...
Compiling 1 files with Solc 0.6.4+commit.1dca32f3.Linux.gcc
Os { code: 20, kind: NotADirectory, message: "Not a directory" }
error: Fatal compiler bug!

This is a fatal bug in Aderyn, sorry!

Please report this crash to https://github.com/cyfrin/aderyn/issues/new and include this error message with your report.

Panic: aderyn_driver/src/process_auto.rs:99
Error running solc command
Aderyn version: 0.3.3
Operating system: linux

If you can also share your code and say what file you were editing or any
steps to reproduce the crash that would be a great help.

You may also want to try again with the ADERYN_LOG=trace environment
variable set.

robotics345@robotics345-Lenovo-ideapad-330-15IKB:~/Aderyn/aderyn-contracts-playground/src$ cyfrinup

⠀⠀⠀⡠⠔⠂⠁⠀⠀⠀⠀⠀⠈⠐⡂⠀⠀ █████╗ ██████╗ ███████╗ ██████╗ ██╗ ██╗ ███╗ ██╗
⠀⡠⠀⠀⠀⠀⠀⡀⠀⠀⠀⠀⠀⠀⢈⣀⡀ ██╔══██╗ ██╔══██╗ ██╔════╝ ██╔══██╗ ╚██╗ ██╔╝ ████╗ ██║
⠰⠀⠀⠀⢠⢆⣤⣆⠀⠀⠤⠤⠄⢀⡀⠑⠀ ███████║ ██║ ██║ █████╗ ██████╔╝ ╚████╔╝ ██╔██╗ ██║
⡌⠊⠒⠠⡁⠈⠛⠋⡠⠊⠀⠠⠀⠀⠀⠀⠉ ██╔══██║ ██║ ██║ ██╔══╝ ██╔══██╗ ╚██╔╝ ██║╚██╗██║
⡅⠀⢀⣰⣧⠁⠀⠉⠀⠀⢀⠂⠀⠀⠀⠀⣠ ██║ ██║ ██████╔╝ ███████╗ ██║ ██║ ██║ ██║ ╚████║
⠇⣬⣿⣿⣿⠀⠀⠀⠀⠠⠂⠀⠀⠀⢄⣴⣿ ╚═╝ ╚═╝ ╚═════╝ ╚══════╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═══╝
⠈⠻⣗⡀⢡⢁⠀⢀⠔⠁⠀⠀⠀⢠⣿⣿⣿
⠀⠀⠀⠁⠈⡀⠒⠃⠀⠀⠀⠀⠀⠸⣿⣿⡿ A powerful Solidity static analyzer that takes a
⠀⠀⠀⠀⠀⠁⠀⠀⡀⠀⠀⠀⠀⡄⢸⠚⠃ bird's eye view over your smart contracts.
⠀⠀⠀⠀⠀⠇⠀⢠⠁⠀⡀⠀⢠⠀⡚⠀⠀
⠀⠀⠀⠀⠘⠀⠂⠀⡀⠔⡅⡠⠂⠉ Official Docs - https://docs.cyfrin.io/

                                    ᴘᴏᴡᴇʀᴇᴅ ʙʏ ᴄʏꜰʀɪɴ

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                             Dload  Upload   Total   Spent    Left  Speed

100 3964 100 3964 0 0 15903 0 --:--:-- --:--:-- --:--:-- 15919
cyfrinup: installing latest cyfrin tools
cyfrinup: downloading latest aderyn
######################################################################## 100.0%
cyfrinup: installed aderyn
cyfrinup: done
robotics345@robotics345-Lenovo-ideapad-330-15IKB:~/Aderyn/aderyn-contracts-playground/src$ aderyn
WARNING: remappings.txt not found.
Root: "/home/robotics345/Aderyn/aderyn-contracts-playground/src", Src: None, Include: None, Exclude: None
Resolving sources versions by graph ...
Compiling 13 files with Solc 0.4.22+commit.4cb486ee.Linux.gcc
Compiling 1 files with Solc 0.7.6+commit.7338295f.Linux.gcc
Compiling 4 files with Solc 0.5.0+commit.1d4f565a.Linux.gcc
Compiling 55 files with Solc 0.8.20+commit.a1b79de6.Linux.gcc
error: Fatal compiler bug!

This is a fatal bug in Aderyn, sorry!

Please report this crash to https://github.com/cyfrin/aderyn/issues/new and include this error message with your report.

Panic: aderyn_driver/src/lib.rs:34
called Result::unwrap() on an Err value: StripPrefixError(())
Aderyn version: 0.3.3
Operating system: linux

If you can also share your code and say what file you were editing or any
steps to reproduce the crash that would be a great help.

You may also want to try again with the ADERYN_LOG=trace environment
variable set.

Compiling 13 files with Solc 0.8.25+commit.b61c2a91.Linux.gcc
error: Fatal compiler bug!

This is a fatal bug in Aderyn, sorry!

Please report this crash to https://github.com/cyfrin/aderyn/issues/new and include this error message with your report.

Panic: aderyn_driver/src/lib.rs:34
called Result::unwrap() on an Err value: StripPrefixError(())
Aderyn version: 0.3.3
Operating system: linux

If you can also share your code and say what file you were editing or any
steps to reproduce the crash that would be a great help.

You may also want to try again with the ADERYN_LOG=trace environment
variable set.

Compiling 14 files with Solc 0.8.28+commit.7893614a.Linux.gcc
Compiling 45 files with Solc 0.8.19+commit.7dd6d404.Linux.gcc
error: Fatal compiler bug!

This is a fatal bug in Aderyn, sorry!

Please report this crash to https://github.com/cyfrin/aderyn/issues/new and include this error message with your report.

Panic: aderyn_driver/src/lib.rs:34
called Result::unwrap() on an Err value: StripPrefixError(())
Aderyn version: 0.3.3
Operating system: linux

If you can also share your code and say what file you were editing or any
steps to reproduce the crash that would be a great help.

You may also want to try again with the ADERYN_LOG=trace environment
variable set.

Compiling 2 files with Solc 0.5.8+commit.23d335f2.Linux.gcc
Compiling 3 files with Solc 0.6.4+commit.1dca32f3.Linux.gcc
Compiling 1 files with Solc 0.4.26+commit.4563c3fc.Linux.gcc
robotics345@robotics345-Lenovo-ideapad-330-15IKB:~/Aderyn/aderyn-contracts-playground/src$

@lockmeilluminati
Copy link
Author

fixed it robotics345@robotics345-Lenovo-ideapad-330-15IKB:$ cargo uninstall aderyn
error: package ID specification aderyn did not match any packages
robotics345@robotics345-Lenovo-ideapad-330-15IKB:
$ cyfrinup uninstall aderyn

⠀⠀⠀⡠⠔⠂⠁⠀⠀⠀⠀⠀⠈⠐⡂⠀⠀ █████╗ ██████╗ ███████╗ ██████╗ ██╗ ██╗ ███╗ ██╗
⠀⡠⠀⠀⠀⠀⠀⡀⠀⠀⠀⠀⠀⠀⢈⣀⡀ ██╔══██╗ ██╔══██╗ ██╔════╝ ██╔══██╗ ╚██╗ ██╔╝ ████╗ ██║
⠰⠀⠀⠀⢠⢆⣤⣆⠀⠀⠤⠤⠄⢀⡀⠑⠀ ███████║ ██║ ██║ █████╗ ██████╔╝ ╚████╔╝ ██╔██╗ ██║
⡌⠊⠒⠠⡁⠈⠛⠋⡠⠊⠀⠠⠀⠀⠀⠀⠉ ██╔══██║ ██║ ██║ ██╔══╝ ██╔══██╗ ╚██╔╝ ██║╚██╗██║
⡅⠀⢀⣰⣧⠁⠀⠉⠀⠀⢀⠂⠀⠀⠀⠀⣠ ██║ ██║ ██████╔╝ ███████╗ ██║ ██║ ██║ ██║ ╚████║
⠇⣬⣿⣿⣿⠀⠀⠀⠀⠠⠂⠀⠀⠀⢄⣴⣿ ╚═╝ ╚═╝ ╚═════╝ ╚══════╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═══╝
⠈⠻⣗⡀⢡⢁⠀⢀⠔⠁⠀⠀⠀⢠⣿⣿⣿
⠀⠀⠀⠁⠈⡀⠒⠃⠀⠀⠀⠀⠀⠸⣿⣿⡿ A powerful Solidity static analyzer that takes a
⠀⠀⠀⠀⠀⠁⠀⠀⡀⠀⠀⠀⠀⡄⢸⠚⠃ bird's eye view over your smart contracts.
⠀⠀⠀⠀⠀⠇⠀⢠⠁⠀⡀⠀⢠⠀⡚⠀⠀
⠀⠀⠀⠀⠘⠀⠂⠀⡀⠔⡅⡠⠂⠉ Official Docs - https://docs.cyfrin.io/

                                    ᴘᴏᴡᴇʀᴇᴅ ʙʏ ᴄʏꜰʀɪɴ

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                             Dload  Upload   Total   Spent    Left  Speed

100 3964 100 3964 0 0 11029 0 --:--:-- --:--:-- --:--:-- 11041
cyfrinup: installing latest cyfrin tools
cyfrinup: downloading latest aderyn
######################################################################## 100.0%
cyfrinup: installed aderyn
cyfrinup: done
robotics345@robotics345-Lenovo-ideapad-330-15IKB:$ aderyn GraphToken.sol
WARNING: remappings.txt not found.
GraphToken.sol does not exist!
robotics345@robotics345-Lenovo-ideapad-330-15IKB:
$ aderyn generate-mappings
WARNING: remappings.txt not found.
generate-mappings does not exist!
robotics345@robotics345-Lenovo-ideapad-330-15IKB:$ sudo apt-get update
sudo apt-get install build-essential
[sudo] password for robotics345:
Hit:1 http://us.archive.ubuntu.com/ubuntu jammy InRelease
Get:2 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
Get:3 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
Hit:5 https://ppa.launchpadcontent.net/ethereum/ethereum/ubuntu jammy InRelease
Get:6 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [2,006 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [2,252 kB]
Get:8 http://security.ubuntu.com/ubuntu jammy-security/main i386 Packages [576 kB]
Get:9 http://security.ubuntu.com/ubuntu jammy-security/main Translation-en [317 kB]
Get:10 http://security.ubuntu.com/ubuntu jammy-security/main amd64 DEP-11 Metadata [43.1 kB]
Get:11 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [2,711 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu jammy-updates/main i386 Packages [741 kB]
Get:13 http://security.ubuntu.com/ubuntu jammy-security/restricted Translation-en [472 kB]
Get:14 http://us.archive.ubuntu.com/ubuntu jammy-updates/main Translation-en [380 kB]
Get:15 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 DEP-11 Metadata [208 B]
Get:16 http://security.ubuntu.com/ubuntu jammy-security/universe i386 Packages [648 kB]
Get:17 http://us.archive.ubuntu.com/ubuntu jammy-updates/main amd64 DEP-11 Metadata [103 kB]
Get:18 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [958 kB]
Get:19 http://us.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [2,838 kB]
Get:20 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 DEP-11 Metadata [125 kB]
Get:21 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 DEP-11 Metadata [208 B]
Get:22 http://us.archive.ubuntu.com/ubuntu jammy-updates/restricted Translation-en [494 kB]
Get:23 http://us.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 DEP-11 Metadata [212 B]
Get:24 http://us.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1,181 kB]
Get:25 http://us.archive.ubuntu.com/ubuntu jammy-updates/universe i386 Packages [754 kB]
Get:26 http://us.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 DEP-11 Metadata [356 kB]
Get:27 http://us.archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 DEP-11 Metadata [940 B]
Get:28 http://us.archive.ubuntu.com/ubuntu jammy-backports/main amd64 DEP-11 Metadata [7,016 B]
Get:29 http://us.archive.ubuntu.com/ubuntu jammy-backports/restricted amd64 DEP-11 Metadata [212 B]
Get:30 http://us.archive.ubuntu.com/ubuntu jammy-backports/universe amd64 DEP-11 Metadata [17.7 kB]
Get:31 http://us.archive.ubuntu.com/ubuntu jammy-backports/multiverse amd64 DEP-11 Metadata [212 B]
Fetched 17.4 MB in 9s (2,010 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
build-essential is already the newest version (12.9ubuntu3).
build-essential set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 62 not upgraded.
robotics345@robotics345-Lenovo-ideapad-330-15IKB:
$ cargo install aderyn
Updating crates.io index
Downloaded aderyn v0.1.9
Downloaded 1 crate (32.7 KB) in 0.50s
Installing aderyn v0.1.9
Updating crates.io index
Locking 436 packages to latest compatible versions
Adding cyfrin-foundry-compilers v0.3.20-aderyn (available: v0.4.0)
Adding notify-debouncer-full v0.3.2 (available: v0.4.0)
Adding proptest v1.5.0 (available: v1.6.0)
Adding solang-parser v0.3.3 (available: v0.3.4)
Adding svm-rs v0.5.7 (available: v0.5.8)
Adding svm-rs-builds v0.5.7 (available: v0.5.8)
Downloaded darling_macro v0.14.4
Downloaded strum v0.25.0
Downloaded foundry-compilers-artifacts v0.8.0
Downloaded derive_builder_macro v0.12.0
Downloaded foundry-compilers-artifacts-vyper v0.8.0
Downloaded lazy-regex-proc_macros v3.3.0
Downloaded schemafy_core v0.6.0
Downloaded strum_macros v0.24.3
Downloaded crossbeam-deque v0.8.6
Downloaded strsim v0.10.0
Downloaded fastrlp v0.4.0
Downloaded alloy-sol-type-parser v0.7.7
Downloaded aderyn_driver v0.1.9
Downloaded notify-debouncer-full v0.3.2
Downloaded file-id v0.2.2
Downloaded home v0.5.11
Downloaded thiserror-impl v2.0.8
Downloaded foundry-compilers-core v0.8.0
Downloaded convert_case v0.4.0
Downloaded lazy-regex v3.3.0
Downloaded heck v0.4.1
Downloaded derive_builder v0.12.0
Downloaded csv-core v0.1.11
Downloaded serde-sarif v0.4.2
Downloaded schemafy_lib v0.6.0
Downloaded foldhash v0.1.4
Downloaded darling v0.14.4
Downloaded thiserror v2.0.8
Downloaded quinn-udp v0.5.9
Downloaded alloy-json-abi v0.7.7
Downloaded hyper-rustls v0.27.4
Downloaded uriparse v0.6.4
Downloaded prettytable v0.10.0
Downloaded derive_more v0.99.18
Downloaded foundry-compilers-artifacts-solc v0.8.0
Downloaded darling_core v0.14.4
Downloaded foundry-block-explorers v0.4.1
Downloaded crossbeam-utils v0.8.21
Downloaded alloy-primitives v0.7.7
Downloaded derive_builder_core v0.12.0
Downloaded encode_unicode v1.0.0
Downloaded cyfrin-foundry-config v0.2.1
Downloaded crossbeam-channel v0.5.14
Downloaded cc v1.2.5
Downloaded aderyn_core v0.1.9
Downloaded ruint v1.12.4
Downloaded hyper v1.5.2
Downloaded foundry-compilers v0.8.0
Downloaded itertools v0.12.1
Downloaded cyfrin-foundry-compilers v0.3.20-aderyn
Downloaded revm-primitives v5.0.0
Downloaded libc v0.2.169
Downloaded csv v1.3.1
Downloaded 53 crates (4.2 MB) in 10.27s
Compiling proc-macro2 v1.0.92
Compiling unicode-ident v1.0.14
Compiling libc v0.2.169
Compiling serde v1.0.216
Compiling autocfg v1.4.0
Compiling version_check v0.9.5
Compiling cfg-if v1.0.0
Compiling slab v0.4.9
Compiling memchr v2.7.4
Compiling quote v1.0.37
Compiling syn v2.0.90
Compiling shlex v1.3.0
Compiling cc v1.2.5
Compiling typenum v1.17.0
Compiling generic-array v0.14.7
Compiling fnv v1.0.7
Compiling itoa v1.0.14
Compiling httparse v1.9.5
Compiling serde_json v1.0.133
Compiling getrandom v0.2.15
Compiling smallvec v1.13.2
Compiling thiserror v1.0.69
Compiling ring v0.17.8
Compiling rustls v0.23.20
Compiling crunchy v0.2.2
Compiling stable_deref_trait v1.2.0
Compiling once_cell v1.20.2
Compiling hashbrown v0.15.2
Compiling tiny-keccak v2.0.2
Compiling equivalent v1.0.1
Compiling rustix v0.38.42
Compiling byteorder v1.5.0
Compiling pin-project-lite v0.2.15
Compiling futures-core v0.3.31
Compiling litemap v0.7.4
Compiling writeable v0.5.5
Compiling aho-corasick v1.1.3
Compiling synstructure v0.13.1
Compiling indexmap v2.7.0
Compiling futures-sink v0.3.31
Compiling cpufeatures v0.2.16
Compiling serde_derive v1.0.216
Compiling zerofrom-derive v0.1.5
Compiling yoke-derive v0.7.5
Compiling zerovec-derive v0.10.3
Compiling displaydoc v0.2.5
Compiling icu_provider_macros v1.5.0
Compiling zerocopy-derive v0.7.35
Compiling zerofrom v0.1.5
Compiling thiserror-impl v1.0.69
Compiling yoke v0.7.5
Compiling tracing-attributes v0.1.28
Compiling zerovec v0.10.4
Compiling zerocopy v0.7.35
Compiling tinystr v0.7.6
Compiling bytes v1.9.0
Compiling icu_locid v1.5.0
Compiling crossbeam-utils v0.8.21
Compiling regex-syntax v0.8.5
Compiling syn v1.0.109
Compiling semver v1.0.24
Compiling rustls-pki-types v1.10.1
Compiling icu_provider v1.5.0
Compiling regex-automata v0.4.9
Compiling ppv-lite86 v0.2.20
Compiling rand_core v0.6.4
Compiling socket2 v0.5.8
Compiling mio v1.0.3
Compiling lock_api v0.4.12
Compiling futures-io v0.3.31
Compiling ryu v1.0.18
Compiling futures-task v0.3.31
Compiling either v1.13.0
Compiling pin-utils v0.1.0
Compiling icu_locid_transform_data v1.5.0
Compiling parking_lot_core v0.9.10
Compiling icu_locid_transform v1.5.0
Compiling futures-util v0.3.31
Compiling http v1.2.0
Compiling regex v1.11.1
Compiling tokio v1.42.0
Compiling rand_chacha v0.3.1
Compiling const-hex v1.14.0
Compiling icu_collections v1.5.0
Compiling icu_properties_data v1.5.0
Compiling svm-rs v0.5.7
Compiling spin v0.9.8
Compiling untrusted v0.9.0
Compiling log v0.4.22
Compiling icu_properties v1.5.1
Compiling rand v0.8.5
Compiling http-body v1.0.1
Compiling alloy-rlp v0.3.10
Compiling utf16_iter v1.0.5
Compiling try-lock v0.2.5
Compiling siphasher v0.3.11
Compiling utf8_iter v1.0.4
Compiling write16 v1.0.0
Compiling icu_normalizer_data v1.5.0
Compiling ruint-macro v1.2.1
Compiling ruint v1.12.4
Compiling icu_normalizer v1.5.0
Compiling want v0.3.1
Compiling rustls-webpki v0.102.8
Compiling futures-channel v0.3.31
Compiling tracing-core v0.1.33
Compiling hex-literal v0.4.1
Compiling subtle v2.6.1
Compiling percent-encoding v2.3.1
Compiling bitflags v2.6.0
Compiling zeroize v1.8.1
Compiling form_urlencoded v1.2.1
Compiling tracing v0.1.41
Compiling hyper v1.5.2
Compiling idna_adapter v1.2.0
Compiling block-buffer v0.10.4
Compiling crypto-common v0.1.6
Compiling same-file v1.0.6
Compiling tower-service v0.3.3
Compiling convert_case v0.4.0
Compiling openssl-probe v0.1.5
Compiling unicode-xid v0.2.6
Compiling winnow v0.6.20
Compiling linux-raw-sys v0.4.14
Compiling derive_more v0.99.18
Compiling rustls-native-certs v0.8.1
Compiling hyper-util v0.1.10
Compiling walkdir v2.5.0
Compiling tokio-rustls v0.26.1
Compiling digest v0.10.7
Compiling idna v1.0.3
Compiling crossbeam-epoch v0.9.18
Compiling webpki-roots v0.26.7
Compiling dirs-sys-next v0.1.2
Compiling scopeguard v1.2.0
Compiling option-ext v0.2.0
Compiling dirs-sys v0.4.1
Compiling dirs-next v2.0.0
Compiling hyper-rustls v0.27.4
Compiling crossbeam-deque v0.8.6
Compiling url v2.5.4
Compiling alloy-primitives v0.7.7
Compiling serde_urlencoded v0.7.1
Compiling tokio-socks v0.5.2
Compiling http-body-util v0.1.2
Compiling rustls-pemfile v2.2.0
Compiling sync_wrapper v1.0.2
Compiling rayon-core v1.12.1
Compiling base64 v0.22.1
Compiling mime v0.3.17
Compiling fastrand v2.3.0
Compiling ipnet v2.10.1
Compiling tempfile v3.14.0
Compiling reqwest v0.12.9
Compiling parking_lot v0.12.3
Compiling term v0.7.0
Compiling dirs v5.0.1
Compiling sha2 v0.10.8
Compiling fs4 v0.9.1
Compiling phf_shared v0.10.0
Compiling precomputed-hash v0.1.1
Compiling new_debug_unreachable v1.0.6
Compiling bit-vec v0.6.3
Compiling rustversion v1.0.18
Compiling fixedbitset v0.4.2
Compiling yansi v1.0.1
Compiling petgraph v0.6.5
Compiling bit-set v0.5.3
Compiling string_cache v0.8.7
Compiling ascii-canvas v3.0.0
Compiling alloy-sol-type-parser v0.7.7
Compiling phf_shared v0.11.2
Compiling ena v0.14.3
Compiling itertools v0.11.0
Compiling memmap2 v0.9.5
Compiling path-slash v0.2.1
Compiling lalrpop-util v0.20.2
Compiling dunce v1.0.5
Compiling alloy-json-abi v0.7.7
Compiling lalrpop v0.20.2
Compiling phf_generator v0.11.2
Compiling rayon v1.10.0
Compiling md-5 v0.10.6
Compiling ident_case v1.0.1
Compiling build_const v0.2.2
Compiling anyhow v1.0.94
Compiling heck v0.5.0
Compiling strsim v0.10.0
Compiling svm-rs-builds v0.5.7
Compiling darling_core v0.14.4
Compiling phf_macros v0.11.2
Compiling lazy_static v1.5.0
Compiling darling_macro v0.14.4
Compiling phf v0.11.2
Compiling foundry-compilers-core v0.8.0
Compiling solang-parser v0.3.3
Compiling proc-macro2-diagnostics v0.10.1
Compiling prettyplease v0.2.25
Compiling paste v1.0.15
Compiling foundry-compilers-artifacts-solc v0.8.0
Compiling darling v0.14.4
Compiling Inflector v0.11.4
Compiling uriparse v0.6.4
Compiling strum_macros v0.26.4
Compiling derive_more-impl v1.0.0
Compiling schemafy_core v0.6.0
Compiling toml_datetime v0.6.8
Compiling serde_spanned v0.6.8
Compiling ahash v0.8.11
Compiling num-traits v0.2.19
Compiling radium v0.7.0
Compiling home v0.5.11
Compiling derive_more v1.0.0
Compiling toml_edit v0.22.22
Compiling foundry-compilers-artifacts-vyper v0.8.0
Compiling schemafy_lib v0.6.0
Compiling strum v0.26.3
Compiling derive_builder_core v0.12.0
Compiling auto_impl v1.2.0
Compiling num_enum_derive v0.7.3
Compiling bstr v1.11.1
Compiling uncased v0.9.10
Compiling tap v1.0.1
Compiling dyn-clone v1.0.17
Compiling eyre v0.6.12
Compiling wyz v0.5.1
Compiling num_enum v0.7.3
Compiling globset v0.4.15
Compiling serde-sarif v0.4.2
Compiling alloy-primitives v0.8.15
Compiling derive_builder_macro v0.12.0
Compiling toml v0.8.19
Compiling foundry-compilers-artifacts v0.8.0
Compiling pear_codegen v0.2.9
Compiling derivative v2.2.0
Compiling crossbeam-channel v0.5.14
Compiling itertools v0.13.0
Compiling csv-core v0.1.11
Compiling figment v0.10.19
Compiling inlinable_string v0.1.15
Compiling allocator-api2 v0.2.21
Compiling utf8parse v0.2.2
Compiling heck v0.4.1
Compiling funty v2.0.0
Compiling indenter v0.3.3
Compiling strum_macros v0.24.3
Compiling bitvec v1.0.1
Compiling foundry-compilers v0.8.0
Compiling anstyle-parse v0.2.6
Compiling hashbrown v0.14.5
Compiling pear v0.2.9
Compiling csv v1.3.1
Compiling num-integer v0.1.46
Compiling derive_builder v0.12.0
Compiling alloy-chains v0.1.48
Compiling lazy-regex-proc_macros v3.3.0
Compiling itertools v0.12.1
Compiling enumn v0.1.14
Compiling is-terminal v0.4.13
Compiling inotify-sys v0.1.5
Compiling unicode-width v0.1.14
Compiling anstyle v1.0.10
Compiling bitflags v1.3.2
Compiling strum v0.25.0
Compiling colorchoice v1.0.3
Compiling encode_unicode v1.0.0
Compiling anstyle-query v1.1.2
Compiling is_terminal_polyfill v1.70.1
Compiling cyfrin-foundry-compilers v0.3.20-aderyn
Compiling anstream v0.6.18
Compiling prettytable v0.10.0
Compiling inotify v0.9.6
Compiling revm-primitives v5.0.0
Compiling foundry-block-explorers v0.4.1
Compiling lazy-regex v3.3.0
Compiling num-bigint v0.4.6
Compiling ignore v0.4.23
Compiling serde_regex v1.1.0
Compiling mio v0.8.11
Compiling serde_repr v0.1.19
Compiling filetime v0.2.25
Compiling glob v0.3.1
Compiling strsim v0.11.1
Compiling number_prefix v0.4.0
Compiling clap_lex v0.7.4
Compiling cyfrin-foundry-config v0.2.1
Compiling clap_builder v4.5.23
Compiling notify v6.1.1
Compiling aderyn_core v0.1.9
Compiling clap_derive v4.5.18
Compiling file-id v0.2.2
Compiling notify-debouncer-full v0.3.2
Compiling clap v4.5.23
Compiling aderyn_driver v0.1.9
Compiling aderyn v0.1.9
Finished release profile [optimized] target(s) in 8m 04s
Installing /home/robotics345/.cargo/bin/aderyn
Installed package aderyn v0.1.9 (executable aderyn)
robotics345@robotics345-Lenovo-ideapad-330-15IKB:$ aderyn GraphToken.sol
WARNING: remappings.txt not found.
GraphToken.sol does not exist!
robotics345@robotics345-Lenovo-ideapad-330-15IKB:
$ ls
Aderyn Downloads Pictures solscan Videos
Desktop hello_foundry Public Templates
Documents Music snap 'the entire install'
robotics345@robotics345-Lenovo-ideapad-330-15IKB:$ ls
Aderyn Downloads Pictures solscan Videos
Desktop hello_foundry Public Templates
Documents Music snap 'the entire install'
robotics345@robotics345-Lenovo-ideapad-330-15IKB:
$ cd Aderyn/
robotics345@robotics345-Lenovo-ideapad-330-15IKB:/Aderyn$ ls
Aderyn aderyn-contracts-playground
robotics345@robotics345-Lenovo-ideapad-330-15IKB:
/Aderyn$ cd aderyn-contracts-playground/
robotics345@robotics345-Lenovo-ideapad-330-15IKB:/Aderyn/aderyn-contracts-playground$ ls
cache foundry.toml lib LICENSE out README.md report.md src
robotics345@robotics345-Lenovo-ideapad-330-15IKB:
/Aderyn/aderyn-contracts-playground$ aderyn
Root: "/home/robotics345/Aderyn/aderyn-contracts-playground", Src: Some(["src"]), Include: None, Exclude: Some(["test/", "script/", "lib/"])
Resolving sources versions by graph ...
Compiling 1 files with Solc 0.7.6+commit.7338295f.Linux.gcc
Compiling 1 files with Solc 0.4.26+commit.4563c3fc.Linux.gcc
Compiling 4 files with Solc 0.5.0+commit.1d4f565a.Linux.gcc
Compiling 13 files with Solc 0.4.22+commit.4cb486ee.Linux.gcc
Compiling 55 files with Solc 0.8.20+commit.a1b79de6.Linux.gcc
Compiling 45 files with Solc 0.8.19+commit.7dd6d404.Linux.gcc
Compiling 2 files with Solc 0.5.8+commit.23d335f2.Linux.gcc
Compiling 13 files with Solc 0.8.25+commit.b61c2a91.Linux.gcc
Compiling 3 files with Solc 0.6.4+commit.1dca32f3.Linux.gcc
Compiling 14 files with Solc 0.8.28+commit.7893614a.Linux.gcc
Get Detectors
Running 86 detectors
Detectors run, processing found issues
Found issues processed. Printing report
Report printed to report.md
robotics345@robotics345-Lenovo-ideapad-330-15IKB:/Aderyn/aderyn-contracts-playground$ ls
cache foundry.toml lib LICENSE out README.md report.md src
robotics345@robotics345-Lenovo-ideapad-330-15IKB:
/Aderyn/aderyn-contracts-playground$

@lockmeilluminati
Copy link
Author

to sum it um i ran" cargo install aderyn" ...now the command works round$ aderyn
Root: "/home/robotics345/Aderyn/aderyn-contracts-playground", Src: Some(["src"]), Include: None, Exclude: Some(["test/", "script/", "lib/"])
Resolving sources versions by graph ...
Compiling 1 files with Solc 0.7.6+commit.7338295f.Linux.gcc
Compiling 1 files with Solc 0.4.26+commit.4563c3fc.Linux.gcc
Compiling 4 files with Solc 0.5.0+commit.1d4f565a.Linux.gcc
Compiling 13 files with Solc 0.4.22+commit.4cb486ee.Linux.gcc
Compiling 55 files with Solc 0.8.20+commit.a1b79de6.Linux.gcc
Compiling 45 files with Solc 0.8.19+commit.7dd6d404.Linux.gcc
Compiling 2 files with Solc 0.5.8+commit.23d335f2.Linux.gcc
Compiling 13 files with Solc 0.8.25+commit.b61c2a91.Linux.gcc
Compiling 3 files with Solc 0.6.4+commit.1dca32f3.Linux.gcc
Compiling 14 files with Solc 0.8.28+commit.7893614a.Linux.gcc
Get Detectors
Running 86 detectors
Detectors run, processing found issues
Found issues processed. Printing report
Report printed to report.md

@lockmeilluminati
Copy link
Author

wait its not solved it does not work on single files im gonna try the docker version robotics345@robotics345-Lenovo-ideapad-330-15IKB:~/Aderyn/aderyn-contracts-playground/src$ aderyn UncheckedCalls.sol
WARNING: remappings.txt not found.
Root: "/home/robotics345/Aderyn/aderyn-contracts-playground/src/UncheckedCalls.sol", Src: None, Include: None, Exclude: None
Resolving sources versions by graph ...
Compiling 1 files with Solc 0.6.4+commit.1dca32f3.Linux.gcc
Os { code: 20, kind: NotADirectory, message: "Not a directory" }
error: Fatal compiler bug!

This is a fatal bug in Aderyn, sorry!

Please report this crash to https://github.com/cyfrin/aderyn/issues/new and include this error message with your report.

Panic: aderyn_driver/src/process_auto.rs:99
Error running solc command
Aderyn version: 0.3.3
Operating system: linux

If you can also share your code and say what file you were editing or any
steps to reproduce the crash that would be a great help.

You may also want to try again with the ADERYN_LOG=trace environment
variable set.

robotics345@robotics345-Lenovo-ideapad-330-15IKB:~/Aderyn/aderyn-contracts-playground/src$

@lockmeilluminati
Copy link
Author

botics345@robotics345-Lenovo-ideapad-330-15IKB:/Aderyn/aderyn-contracts-playground$ forge build
[⠊] Compiling...
No files changed, compilation skipped
robotics345@robotics345-Lenovo-ideapad-330-15IKB:
/Aderyn/aderyn-contracts-playground$ cargo install aderyn
Updating crates.io index
Ignored package aderyn v0.1.9 is already installed, use --force to override
robotics345@robotics345-Lenovo-ideapad-330-15IKB:/Aderyn/aderyn-contracts-playground$ forge build
[⠊] Compiling...
No files changed, compilation skipped
robotics345@robotics345-Lenovo-ideapad-330-15IKB:
/Aderyn/aderyn-contracts-playground$ aderyn
Root: "/home/robotics345/Aderyn/aderyn-contracts-playground", Src: Some(["src"]), Include: None, Exclude: Some(["test/", "script/", "lib/"])
Resolving sources versions by graph ...
Compiling 13 files with Solc 0.4.22+commit.4cb486ee.Linux.gcc
Compiling 1 files with Solc 0.7.6+commit.7338295f.Linux.gcc
Compiling 4 files with Solc 0.5.0+commit.1d4f565a.Linux.gcc
Compiling 1 files with Solc 0.4.26+commit.4563c3fc.Linux.gcc
Compiling 55 files with Solc 0.8.20+commit.a1b79de6.Linux.gcc
Compiling 45 files with Solc 0.8.19+commit.7dd6d404.Linux.gcc
Compiling 2 files with Solc 0.5.8+commit.23d335f2.Linux.gcc
Compiling 3 files with Solc 0.6.4+commit.1dca32f3.Linux.gcc
Compiling 13 files with Solc 0.8.25+commit.b61c2a91.Linux.gcc
Compiling 14 files with Solc 0.8.28+commit.7893614a.Linux.gcc
Get Detectors
Running 63 detectors
Detectors run, processing found issues
Found issues processed. Printing report
Report printed to report.md

NEW VERSION OF ADERYN AVAILABLE! Please run cyfrinup to upgrade.

| |
| Aderyn has been installed here using cargo, which is not |
| recommended for use. Please use the official install script |
| from the Aderyn repository to ensure the best experience: |
| https://github.com/Cyfrin/aderyn#installation |
| |

robotics345@robotics345-Lenovo-ideapad-330-15IKB:~/Aderyn/aderyn-contracts-playground$ cyfrinup

⠀⠀⠀⡠⠔⠂⠁⠀⠀⠀⠀⠀⠈⠐⡂⠀⠀ █████╗ ██████╗ ███████╗ ██████╗ ██╗ ██╗ ███╗ ██╗
⠀⡠⠀⠀⠀⠀⠀⡀⠀⠀⠀⠀⠀⠀⢈⣀⡀ ██╔══██╗ ██╔══██╗ ██╔════╝ ██╔══██╗ ╚██╗ ██╔╝ ████╗ ██║
⠰⠀⠀⠀⢠⢆⣤⣆⠀⠀⠤⠤⠄⢀⡀⠑⠀ ███████║ ██║ ██║ █████╗ ██████╔╝ ╚████╔╝ ██╔██╗ ██║
⡌⠊⠒⠠⡁⠈⠛⠋⡠⠊⠀⠠⠀⠀⠀⠀⠉ ██╔══██║ ██║ ██║ ██╔══╝ ██╔══██╗ ╚██╔╝ ██║╚██╗██║
⡅⠀⢀⣰⣧⠁⠀⠉⠀⠀⢀⠂⠀⠀⠀⠀⣠ ██║ ██║ ██████╔╝ ███████╗ ██║ ██║ ██║ ██║ ╚████║
⠇⣬⣿⣿⣿⠀⠀⠀⠀⠠⠂⠀⠀⠀⢄⣴⣿ ╚═╝ ╚═╝ ╚═════╝ ╚══════╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═══╝
⠈⠻⣗⡀⢡⢁⠀⢀⠔⠁⠀⠀⠀⢠⣿⣿⣿
⠀⠀⠀⠁⠈⡀⠒⠃⠀⠀⠀⠀⠀⠸⣿⣿⡿ A powerful Solidity static analyzer that takes a
⠀⠀⠀⠀⠀⠁⠀⠀⡀⠀⠀⠀⠀⡄⢸⠚⠃ bird's eye view over your smart contracts.
⠀⠀⠀⠀⠀⠇⠀⢠⠁⠀⡀⠀⢠⠀⡚⠀⠀
⠀⠀⠀⠀⠘⠀⠂⠀⡀⠔⡅⡠⠂⠉ Official Docs - https://docs.cyfrin.io/

                                    ᴘᴏᴡᴇʀᴇᴅ ʙʏ ᴄʏꜰʀɪɴ

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                             Dload  Upload   Total   Spent    Left  Speed

100 3964 100 3964 0 0 11126 0 --:--:-- --:--:-- --:--:-- 11166
cyfrinup: installing latest cyfrin tools
cyfrinup: downloading latest aderyn
######################################################################## 100.0%
cyfrinup: installed aderyn
cyfrinup: done
robotics345@robotics345-Lenovo-ideapad-330-15IKB:~/Aderyn/aderyn-contracts-playground$ aderyn
Root: "/home/robotics345/Aderyn/aderyn-contracts-playground", Src: Some(["src"]), Include: None, Exclude: Some(["test/", "script/", "lib/"])
Resolving sources versions by graph ...
Compiling 13 files with Solc 0.4.22+commit.4cb486ee.Linux.gcc
Compiling 1 files with Solc 0.7.6+commit.7338295f.Linux.gcc
Compiling 4 files with Solc 0.5.0+commit.1d4f565a.Linux.gcc
Compiling 55 files with Solc 0.8.20+commit.a1b79de6.Linux.gcc
Compiling 45 files with Solc 0.8.19+commit.7dd6d404.Linux.gcc
Compiling 2 files with Solc 0.5.8+commit.23d335f2.Linux.gcc
Compiling 3 files with Solc 0.6.4+commit.1dca32f3.Linux.gcc
Compiling 1 files with Solc 0.4.26+commit.4563c3fc.Linux.gcc
Compiling 13 files with Solc 0.8.25+commit.b61c2a91.Linux.gcc
Compiling 14 files with Solc 0.8.28+commit.7893614a.Linux.gcc
Get Detectors
Running 63 detectors
Detectors run, processing found issues
Found issues processed. Printing report
Report printed to report.md

NEW VERSION OF ADERYN AVAILABLE! Please run cyfrinup to upgrade.

| |
| Aderyn has been installed here using cargo, which is not |
| recommended for use. Please use the official install script |
| from the Aderyn repository to ensure the best experience: |
| https://github.com/Cyfrin/aderyn#installation |
| |

robotics345@robotics345-Lenovo-ideapad-330-15IKB:/Aderyn/aderyn-contracts-playground$ cargo uninstall aderyn
Removing /home/robotics345/.cargo/bin/aderyn
robotics345@robotics345-Lenovo-ideapad-330-15IKB:
/Aderyn/aderyn-contracts-playground$ cyfrinup

⠀⠀⠀⡠⠔⠂⠁⠀⠀⠀⠀⠀⠈⠐⡂⠀⠀ █████╗ ██████╗ ███████╗ ██████╗ ██╗ ██╗ ███╗ ██╗
⠀⡠⠀⠀⠀⠀⠀⡀⠀⠀⠀⠀⠀⠀⢈⣀⡀ ██╔══██╗ ██╔══██╗ ██╔════╝ ██╔══██╗ ╚██╗ ██╔╝ ████╗ ██║
⠰⠀⠀⠀⢠⢆⣤⣆⠀⠀⠤⠤⠄⢀⡀⠑⠀ ███████║ ██║ ██║ █████╗ ██████╔╝ ╚████╔╝ ██╔██╗ ██║
⡌⠊⠒⠠⡁⠈⠛⠋⡠⠊⠀⠠⠀⠀⠀⠀⠉ ██╔══██║ ██║ ██║ ██╔══╝ ██╔══██╗ ╚██╔╝ ██║╚██╗██║
⡅⠀⢀⣰⣧⠁⠀⠉⠀⠀⢀⠂⠀⠀⠀⠀⣠ ██║ ██║ ██████╔╝ ███████╗ ██║ ██║ ██║ ██║ ╚████║
⠇⣬⣿⣿⣿⠀⠀⠀⠀⠠⠂⠀⠀⠀⢄⣴⣿ ╚═╝ ╚═╝ ╚═════╝ ╚══════╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═══╝
⠈⠻⣗⡀⢡⢁⠀⢀⠔⠁⠀⠀⠀⢠⣿⣿⣿
⠀⠀⠀⠁⠈⡀⠒⠃⠀⠀⠀⠀⠀⠸⣿⣿⡿ A powerful Solidity static analyzer that takes a
⠀⠀⠀⠀⠀⠁⠀⠀⡀⠀⠀⠀⠀⡄⢸⠚⠃ bird's eye view over your smart contracts.
⠀⠀⠀⠀⠀⠇⠀⢠⠁⠀⡀⠀⢠⠀⡚⠀⠀
⠀⠀⠀⠀⠘⠀⠂⠀⡀⠔⡅⡠⠂⠉ Official Docs - https://docs.cyfrin.io/

                                    ᴘᴏᴡᴇʀᴇᴅ ʙʏ ᴄʏꜰʀɪɴ

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                             Dload  Upload   Total   Spent    Left  Speed

100 3964 100 3964 0 0 24114 0 --:--:-- --:--:-- --:--:-- 24170
cyfrinup: installing latest cyfrin tools
cyfrinup: downloading latest aderyn
######################################################################## 100.0%
cyfrinup: installed aderyn
cyfrinup: done
robotics345@robotics345-Lenovo-ideapad-330-15IKB:/Aderyn/aderyn-contracts-playground$ aderyn
bash: /home/robotics345/.cargo/bin/aderyn: No such file or directory
robotics345@robotics345-Lenovo-ideapad-330-15IKB:
/Aderyn/aderyn-contracts-playground$ forge build
[⠊] Compiling...
No files changed, compilation skipped
robotics345@robotics345-Lenovo-ideapad-330-15IKB:~/Aderyn/aderyn-contracts-playground$ cyfrinup

⠀⠀⠀⡠⠔⠂⠁⠀⠀⠀⠀⠀⠈⠐⡂⠀⠀ █████╗ ██████╗ ███████╗ ██████╗ ██╗ ██╗ ███╗ ██╗
⠀⡠⠀⠀⠀⠀⠀⡀⠀⠀⠀⠀⠀⠀⢈⣀⡀ ██╔══██╗ ██╔══██╗ ██╔════╝ ██╔══██╗ ╚██╗ ██╔╝ ████╗ ██║
⠰⠀⠀⠀⢠⢆⣤⣆⠀⠀⠤⠤⠄⢀⡀⠑⠀ ███████║ ██║ ██║ █████╗ ██████╔╝ ╚████╔╝ ██╔██╗ ██║
⡌⠊⠒⠠⡁⠈⠛⠋⡠⠊⠀⠠⠀⠀⠀⠀⠉ ██╔══██║ ██║ ██║ ██╔══╝ ██╔══██╗ ╚██╔╝ ██║╚██╗██║
⡅⠀⢀⣰⣧⠁⠀⠉⠀⠀⢀⠂⠀⠀⠀⠀⣠ ██║ ██║ ██████╔╝ ███████╗ ██║ ██║ ██║ ██║ ╚████║
⠇⣬⣿⣿⣿⠀⠀⠀⠀⠠⠂⠀⠀⠀⢄⣴⣿ ╚═╝ ╚═╝ ╚═════╝ ╚══════╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═══╝
⠈⠻⣗⡀⢡⢁⠀⢀⠔⠁⠀⠀⠀⢠⣿⣿⣿
⠀⠀⠀⠁⠈⡀⠒⠃⠀⠀⠀⠀⠀⠸⣿⣿⡿ A powerful Solidity static analyzer that takes a
⠀⠀⠀⠀⠀⠁⠀⠀⡀⠀⠀⠀⠀⡄⢸⠚⠃ bird's eye view over your smart contracts.
⠀⠀⠀⠀⠀⠇⠀⢠⠁⠀⡀⠀⢠⠀⡚⠀⠀
⠀⠀⠀⠀⠘⠀⠂⠀⡀⠔⡅⡠⠂⠉ Official Docs - https://docs.cyfrin.io/

                                    ᴘᴏᴡᴇʀᴇᴅ ʙʏ ᴄʏꜰʀɪɴ

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                             Dload  Upload   Total   Spent    Left  Speed

100 3964 100 3964 0 0 25378 0 --:--:-- --:--:-- --:--:-- 25410
cyfrinup: installing latest cyfrin tools
cyfrinup: downloading latest aderyn
######################################################################## 100.0%
cyfrinup: installed aderyn
cyfrinup: done
robotics345@robotics345-Lenovo-ideapad-330-15IKB:/Aderyn/aderyn-contracts-playground$ aderyn
bash: /home/robotics345/.cargo/bin/aderyn: No such file or directory
robotics345@robotics345-Lenovo-ideapad-330-15IKB:
/Aderyn/aderyn-contracts-playground$ aderyn --version
bash: /home/robotics345/.cargo/bin/aderyn: No such file or directory
robotics345@robotics345-Lenovo-ideapad-330-15IKB:~/Aderyn/aderyn-contracts-playground$ cyfrinup

⠀⠀⠀⡠⠔⠂⠁⠀⠀⠀⠀⠀⠈⠐⡂⠀⠀ █████╗ ██████╗ ███████╗ ██████╗ ██╗ ██╗ ███╗ ██╗
⠀⡠⠀⠀⠀⠀⠀⡀⠀⠀⠀⠀⠀⠀⢈⣀⡀ ██╔══██╗ ██╔══██╗ ██╔════╝ ██╔══██╗ ╚██╗ ██╔╝ ████╗ ██║
⠰⠀⠀⠀⢠⢆⣤⣆⠀⠀⠤⠤⠄⢀⡀⠑⠀ ███████║ ██║ ██║ █████╗ ██████╔╝ ╚████╔╝ ██╔██╗ ██║
⡌⠊⠒⠠⡁⠈⠛⠋⡠⠊⠀⠠⠀⠀⠀⠀⠉ ██╔══██║ ██║ ██║ ██╔══╝ ██╔══██╗ ╚██╔╝ ██║╚██╗██║
⡅⠀⢀⣰⣧⠁⠀⠉⠀⠀⢀⠂⠀⠀⠀⠀⣠ ██║ ██║ ██████╔╝ ███████╗ ██║ ██║ ██║ ██║ ╚████║
⠇⣬⣿⣿⣿⠀⠀⠀⠀⠠⠂⠀⠀⠀⢄⣴⣿ ╚═╝ ╚═╝ ╚═════╝ ╚══════╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═══╝
⠈⠻⣗⡀⢡⢁⠀⢀⠔⠁⠀⠀⠀⢠⣿⣿⣿
⠀⠀⠀⠁⠈⡀⠒⠃⠀⠀⠀⠀⠀⠸⣿⣿⡿ A powerful Solidity static analyzer that takes a
⠀⠀⠀⠀⠀⠁⠀⠀⡀⠀⠀⠀⠀⡄⢸⠚⠃ bird's eye view over your smart contracts.
⠀⠀⠀⠀⠀⠇⠀⢠⠁⠀⡀⠀⢠⠀⡚⠀⠀
⠀⠀⠀⠀⠘⠀⠂⠀⡀⠔⡅⡠⠂⠉ Official Docs - https://docs.cyfrin.io/

                                    ᴘᴏᴡᴇʀᴇᴅ ʙʏ ᴄʏꜰʀɪɴ

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                             Dload  Upload   Total   Spent    Left  Speed

100 3964 100 3964 0 0 26363 0 --:--:-- --:--:-- --:--:-- 26426
cyfrinup: installing latest cyfrin tools
cyfrinup: downloading latest aderyn
######################################################################## 100.0%
cyfrinup: installed aderyn
cyfrinup: done
robotics345@robotics345-Lenovo-ideapad-330-15IKB:/Aderyn/aderyn-contracts-playground$ aderyn --version
bash: /home/robotics345/.cargo/bin/aderyn: No such file or directory
robotics345@robotics345-Lenovo-ideapad-330-15IKB:
/Aderyn/aderyn-contracts-playground$ export PATH="$HOME/.cargo/bin:$PATH"
robotics345@robotics345-Lenovo-ideapad-330-15IKB:/Aderyn/aderyn-contracts-playground$ aderyn --version
aderyn 0.3.3
robotics345@robotics345-Lenovo-ideapad-330-15IKB:
/Aderyn/aderyn-contracts-playground$ aderyn
Root: "/home/robotics345/Aderyn/aderyn-contracts-playground", Src: Some(["src"]), Include: None, Exclude: Some(["test/", "script/", "lib/"])
Resolving sources versions by graph ...
Compiling 13 files with Solc 0.4.22+commit.4cb486ee.Linux.gcc
Compiling 55 files with Solc 0.8.20+commit.a1b79de6.Linux.gcc
Compiling 4 files with Solc 0.5.0+commit.1d4f565a.Linux.gcc
Compiling 1 files with Solc 0.7.6+commit.7338295f.Linux.gcc
Compiling 45 files with Solc 0.8.19+commit.7dd6d404.Linux.gcc
Compiling 2 files with Solc 0.5.8+commit.23d335f2.Linux.gcc
Compiling 3 files with Solc 0.6.4+commit.1dca32f3.Linux.gcc
Compiling 1 files with Solc 0.4.26+commit.4563c3fc.Linux.gcc
Compiling 13 files with Solc 0.8.25+commit.b61c2a91.Linux.gcc
Compiling 14 files with Solc 0.8.28+commit.7893614a.Linux.gcc
Get Detectors
Running 86 detectors
Detectors run, processing found issues
Found issues processed. Printing report
Report printed to report.md

@lockmeilluminati
Copy link
Author

the program will only work once you are in the folder showing these files round$ ls
Aderyn cache foundry.toml lib LICENSE out README.md report.md src

@lockmeilluminati
Copy link
Author

i should have never opened this , it was too easy to fix , well i posted my story on how to fix it all the commands i had to run to solve it , i messed up big time i thought i fixed it but i actually installed a prevous version the program actually told me im using the wrong version so instead of the cargo install had to use the commands suggested

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant