Skip to content

Conversation

@Deivitto
Copy link
Owner

@Deivitto Deivitto commented Aug 28, 2023

  • Fixing code command issues
  • Adding pyrometer installer
  • Isolation of multiple tools into single installers: brownie, manticore, etheno, embark.
  • Corrected issues regarding codehawks in issue_creator
  • Decreased 2GB the size of the docker image by using a multistage approach for foundry and heimdall
  • Improved echidna installer timing by using the approach shared by GalloDaSballo and created by agfviggiano at twitter
  • Improved usage of different tools by removing aliases and now using symbolic links, what allows users to use some commands in bash scripts
  • Added -code and -d options to issue creator and solc_docs
  • Changed some comments
  • Corrected some paths that didn't start at /home/whitehat
  • Changes into installer order
  • Changes in README.md
  • Added versions.sh to test all the available commands (first part are the default ones, last part are the ones from the installer)
  • Added more time to my agenda (^~^)

Added permalinks and removed wrapping functions
Added pyrometer installer
- Added a check_code_command_exists function that checks if the code command is available.
- Introduced use_code_explicitly to check for the -code option.
- Introduced disable_editor to handle the -d option.
- Added logic in the main function to determine the default editor based on the presence of the code command and the given options. If the code command is not found and the -code option is not explicitly provided, it defaults to using nano. If -d is provided, it won't launch any editor.
added descriptions
- Analyzer is no longer using an alias but symbolic link
- Added support for code and -d (to not display anything)
- Removed aliases and added symbolink links to the scripts
- Removed aliases for python3 to python3.9 and pip3 to python3.9 -m pip install
- added pyrometer 
- corrected comments
fixed bashrc issue with code
just latest for memory
- Added brownie reference
- Added pyrometer support
fix for a command not found
echdina explanation
- Separated advanced tob tools into etheno, manticore, embark and brownie
- Use of symbolic links rather than aliases
- Fixed some paths
- Added and reorder stuff to the installer (i.e option -h: add2 -h)
- Created versions.sh to check installed packages. Called it at add2 last option or bash ~/scripts/versions.sh:

    "forge --version"
    "slither --version"
    "issue -h"
    "cargo --version"
    "halmos --version"
    "heimdall --version"
    "python3.9 --version"
    "pip3 --version"
    "solc-select -h"
    "ganache --version"
    "truffle --version"
    "julia --version"
    "npm --version"
    "nvm ls"
    "yarn --version"
    "solc --version"
    "vyper --version"

# installer
    "certoraRun --version"
    "manticore --version"
    "etheno --version"
    "brownie --version"
    "certoraRun -h"
    "circom --version"
    "analyze4 -h"
    "nargo -h"
    "myth -h"
    "medusa --version"
    "pyrometer --version"
    "vyper --version"
    "ape -h"
    "evmasm -h"
    "pytest -h"
    "echidna --version"
    "medusa --version"
Removed brew installation:
Pros: faster
Cons: is getting a hardcoded version

# Initial comment code is working
echo "Installing brew and echidna..."
# Export keywords
export HOMEBREW_PREFIX="/home/linuxbrew/.linuxbrew"
export HOMEBREW_REPOSITORY="$HOMEBREW_PREFIX/Homebrew"
# Start brew installation
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" && \
(echo; echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"') >> /home/whitehat/.bashrc  && \
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" && \
# Use brew to install last version of echidna
brew install --HEAD echidna && \
# End configuration
brew postinstall echidna
# Source it
source ~/.bashrc
# Confirmation message
echo "Installation completed! Open a new bash or source ~/.bashrc in order to use echidna"
Removed stale comments
Added support for nvm in bash script
Removed stale comments
Updated the list of packages to check
- Decreased 2GB of memory by building in a multistage way both, foundry and heimdall binaries
Removed old comments and updated some others
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

Successfully merging this pull request may close these issues.

2 participants