Skip to content

Releases: crytic/echidna

Echidna 2.3.0-RC2

12 Nov 07:59

Choose a tag to compare

Echidna 2.3.0-RC2 Pre-release
Pre-release

This release candidate pre-release is for benchmarking and testing latest features. Do not use it in production, wait for the upcoming final release instead.

What's Changed

New Contributors

Echidna 2.3.0-RC1

21 Oct 11:42

Choose a tag to compare

Echidna 2.3.0-RC1 Pre-release
Pre-release

This release candidate pre-release is for benchmarking and testing latest features. Do not use it in production, wait for the upcoming final release instead.

What's Changed

New Contributors

Echidna 2.2.7

21 Jul 14:39
e871c88

Choose a tag to compare

What's Changed

  • UI is now more responsive and can be scrolled using the keyboard (arrow keys, PgUp/Down, Tab)
  • Text mode now reports gas/s during a fuzzing campaign.
  • The docker container and static binaries are now also built for ARM Linux.
  • Users can now give a friendly name to a project through the config file and it will show in the UI.
  • Bugs squashed when shrinking, generating random integers, collecting contract addresses into the internal dictionary, and counting gas usage.
  • Echidna is now built with GHC 9.8.4
  • hevm has been upgraded to release/0.55.0
    • This hevm release includes multiple fixes and performance improvements, including a fix for multiple contract deployments under a prank.
    • Full hevm changelog: argotorg/hevm@037ff11...2931f09

Deprecation notice

Important

The following features will be removed from future Echidna releases. This will be the last release supporting:

  • Etheno integration, and the initialize configuration option
  • Gas estimation (estimateGas configuration option)
  • Concolic execution (symExecConcolic configuration option)

New Contributors

Full Changelog: v2.2.6...v2.2.7

Echidna 2.2.6

08 Jan 17:37
aff20b7

Choose a tag to compare

What's Changed

  • Users can now turn off the Slither integration with the disableSlither config option or the --disable-slither command-line flag (#1327).
    • This is only intended for development, and we do not recommend doing this as it degrades fuzzing efficiency.
    • Additionally, the UI now shows a visible warning when the Slither integration fails to execute for any reason.
  • More statistics on exit: Echidna now prints the total call count (#1328)
  • Precompiles now work correctly on Windows (#1333)
  • hevm has been upgraded to release/0.54.2 (#1331)
    • This hevm release includes fixes for prank and startPrank. Pranking now applies to contract creation, and startPrank behavior now matches Foundry's.
    • Full hevm changelog: argotorg/hevm@f1f45d3...037ff11

Full Changelog: v2.2.5...v2.2.6

Echidna 2.2.5

15 Oct 12:10
6d5ac38

Choose a tag to compare

What's Changed

  • Support Ethereum Cancun upgrade, including MCOPY (#1317, #1309, #1300)
  • Print a warning if an assert isn't hit in assert mode (#1110)
  • Add support for the vm.label cheatcode when printing call sequences (#1314)
  • Add support for other cheatcodes: startPrank, stopPrank, setEnv, and env{Bool,Uint,Int,Address,Bytes32,String,Bytes} (#1300)
  • Collect coverage during contract deployment (#1304)
  • Fix overflow behavior: overflows now revert the transaction, rather than causing Echidna to error (#1293)
  • Add documentation (#1298)

Full Changelog: v2.2.4...v2.2.5

Echidna 2.2.4

16 Jul 15:23
f8deef5

Choose a tag to compare

Echidna 2.2.4 is an exciting release that brings a host of improvements in fuzzing speed and user experience. This update:

  • Boosts performance through optimized shrinking and multicore fuzzing. Adjustments made to our multi-worker implementation will provide increased performance when multiple workers are in use, meaning you can now have a faster and more scalable fuzzing experience. Echidna will now by default run between one to four workers, based on the available CPU cores. While we have set an intelligent default logic, you can continue to manually control the number of workers with the workers config option or --workers CLI switch. Another welcome tweak is in the shrinking process where a single worker now handles a shrinking task to minimize contention.

  • Enhances user interface with handy shortcuts, added metrics, more informative messages, and clearer error responses. The new shortcuts allow for swiftly toggling the visibility of the tests and log panels (t and l). The newly introduced performance metric gas/s should be a more user-friendly indicator of execution performance than its predecessor calls/s. Expect insightful time measurements when saving coverage and an added message upon saving reproducers. Last but not least, we improved the error messages in various conditions, for better clarity and ease of understanding.

  • Adds initial support to TLOAD/TSTORE opcodes as we continue our work towards achieving full compatibility with Cancun. Note that other new opcodes from Cancun are still not supported, so we recommend working with solc 0.8.24 or older for the time being.

  • Introduces more configuration options including the ability to specify the Etherscan API key via the config file.

Take a peek at Echidna v2.2.4 in action fuzzing assert.sol:

Echidna 2.2.4 fuzzing the example in assert.sol

The full changelog is provided below:

Added

Fixed

Updated

New Contributors

Full Changelog: v2.2.3...v2.2.4

Echidna 2.2.3

04 Mar 13:59
fabd1ff

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.2.2...v2.2.3

Echidna 2.2.2

22 Jan 10:22
4ccee4b

Choose a tag to compare

What's Changed

  • Save corpus and reproducers continuously (#1167)
  • Deliver status information using server-sent events (#1131)
  • Performance improvements for coverage collection (#1160)
  • Make slither optional (#1159)
  • Rich trace printing (#1157)
  • Static builds and release workflow (#1133)
  • Re-enables using slither for vyper files (#1108)
  • Dependency updates (#1153, #1096, #1154)

Full Changelog: v2.2.1...v2.2.2

Echidna 2.2.1

20 Jul 16:23
21e6e52

Choose a tag to compare

What's Changed

  • Shanghai fork support with hevm 0.51.3 (#1090)
  • Fixed coverage collection for delegatecalls (#1083)
  • Added events to JSON output (#1069)
  • Changed event sequence to be displayed on new lines (#1079)
  • Improved "No tests found in ABI" error message (#1077)
  • Refactored code (#1070, #1074)

Full Changelog: v2.2.0...v2.2.1

Echidna 2.2.0

22 May 12:33
b57c840

Choose a tag to compare

Echidna 2.2.0 contains significant improvements to the fuzzing speed and UX:

  • Multicore fuzzing & optimized coverage collection. Those combined delivered up to 20x fuzzing speed improvement on a real-world internal benchmark. The number of workers can be configured with workers config option or --workers CLI switch. Echidna runs only one worker by default, but this might change in future releases.
  • Lcov support. It is output by default and can be controlled with the coverageFormats config option. This enables external coverage tools such as genhtml or VSCode plugins.
  • More configuration options. Added --timeout <seconds> CLI switch. RPC URL and block number can now be also specified in the config file for on-chain fuzzing.
  • UI improvements. Echidna now outputs an event log for any fuzzing breakthrough, such as new coverage. The interactive UI was significantly reworked to accommodate all the changes from this release (see the screenshot below).
Screenshot 2023-05-21 at 20 30 03

Note, we changed the way reverts are shown in coverage reports. Now, only the line where a revert happened is marked, instead of the whole path.

The full changelog:

Added

Changed