Skip to content

Releases: crytic/medusa

v1.3.1

22 Aug 18:23
929651d
Compare
Choose a tag to compare

This marks a bug release of medusa. This version has bug fixes for issues related to automated library linking and event management.

What's Changed

  • Filter coverage report using the coverageExclusions configuration option by @elopez in #663

Bug Fixes

  • Fix issue with capturing events while tracing by @elopez in #675
  • Fix deployment order when predeploys and auto-linking are both used by @samalws-tob in #658
  • Fix library linking issue in the HTML coverage report by @anishnaik in #671

New Contributors

Full Changelog: v1.3.0...v1.3.1

v1.3.0

17 Jul 20:38
1a73165
Compare
Choose a tag to compare

This marks a minor release of medusa. This version brings significant performance improvements, support for [email protected], pruning of corpus elements, and rich support for external libraries.

We have improved the coverage tracking mechanism and reduced the number of state writes required, which brings a marked improvement in medusa's speed.

We now support the ability to prune corpus elements using the PruneFrequency configuration option. Pruning corpus elements aids in managing the overall corpus size and improves the likelihood that each element in the corpus aids in improving the coverage of the system.

Finally, since external libraries are now fully supported, users no longer have to use the PredeployedContracts configuration option or pass the --compile-libraries flag to crytic-compile.

What's Changed

Bug Fixes

  • Synchronize writes while running commands to avoid data race by @samalws-tob in #624

Full Changelog: v1.2.1...v1.3.0

v1.2.1

28 Mar 14:51
ef1f31d
Compare
Choose a tag to compare

This marks a minor release of medusa. Version 1.2.1 brings a patch that allows users to install medusa using go install.

Bug Fixes

Full Changelog: v1.2.0...v1.2.1

v1.2.0

27 Mar 20:54
4ea8356
Compare
Choose a tag to compare

This marks a minor release of medusa. Version 1.2.0 has a variety of new features, including the introduction of some very needed cheatcodes (startPrank, stopPrank, and getCode), verbosity levels for execution traces, and revert reports. Additionally, we have made significant improvements to the HTML coverage reports to improve user experience. Finally, we have migrated to branch coverage-guided fuzzing which, according to our internal benchmarking results, significantly outperforms PC coverage-guided fuzzing.

The installation process is now simpler than ever. Users across all operating systems can now run go install github.com/crytic/medusa@latest to download medusa!

What's Changed

  • Support for startPrank and stopPrank cheatcodes by @Xenomega in #594
  • Support for getCode cheatcode by @0xZRA in #593
  • Add verbosity levels to execution traces by @priyankabose in #601
  • Migrate from PC-based coverage to branch-based coverage by @samalws-tob in #585
  • Introduction of revert reports for easier harness debugging by @bsamuels453 in #466
  • Add file explorer and search capabilities to HTML coverage reports by @anishnaik in #588
  • Support specifying target contract balances using hex, base-10, and scientific notation by @0xZRA in #580
  • medusa-geth module path refactor by @Xenomega in #584

New Contributors

Full Changelog: v1.1.1...v1.2.0

v1.1.1

16 Feb 21:32
881ce76
Compare
Choose a tag to compare

This marks a minor release of medusa. Version 1.1.1 fixes two critical bugs: an out-of-memory leak that occurs during corpus initialization and a race condition due to concurrent reads and writes on coverage maps.

What's Changed

Bug Fixes

Full Changelog: v1.1.0...v1.1.1

v1.1.0

05 Feb 21:57
5da71bf
Compare
Choose a tag to compare

This marks a minor release of medusa. Version 1.1.0 introduces a few critical bug fixes and some minor feature additions.

What's Changed

  • Allow users to specify additional arguments while running slither @anishnaik in #554
  • Add --rpc-url and --rpc-block flags by @anishnaik in #557
  • Add "Collapse all" and "Expand all" buttons to the HTML coverage report by @Xenomega in #302
  • Deprecation of the difficulty cheatcode which is now a no-op by @anishnaik in #564
  • Introduction of the prevrandao cheatcode by @anishnaik in #564
  • Improvements to logging during call sequence shrinking by @anishnaik in #564

Bug Fixes

  • Hotfix for a non-deterministic panic that was triggered with the introduction of on-chain fuzzing by @bsamuels453 in #560
  • Fix issues related to using VM cheatcodes by @anishnaik in #564
  • Fix panic that occurred in optimization mode by @anishnaik in #564
  • Fix issues related to context management and cancellations by @anishnaik in #564

Full Changelog: v1.0.0...v1.1.0

v1.0.0

02 Feb 23:06
9acfe0f
Compare
Choose a tag to compare

This is medusa's first major release. It includes many powerful features and important bug fixes. The biggest update is the introduction of on-chain fuzzing! medusa can now run starting with an existing state provided by an external RPC service (Infura, Alchemy, local node, etc). This enables users to speed up the fuzzing setup when using already deployed contracts. Please note that the on-chain fuzzing capability is in "experimental mode" and will continue to improve over the next few releases.

Additional features include integration with Slither for improved value generation, capturing transaction return values for improved value generation, efficient shrinking during optimization mode, and support for the label cheatcode.

What's Changed

Bug Fixes

  • Fix warp to allow for the setting of a starting timestamp by @anishnaik in #499
  • Fix duplication bug in program counter coverage by @0xalpharush in #485
  • Fix execution tracing during failed contract deployments by @anishnaik in #538
  • Fix weighting of corpus items to use timestamp to favor 'hardest-to-discover' inputs by @0xalpharush in #383
  • Improve error logging for arithmetic overflows and underflows by @hexshire in #536
  • Fix error handling during corpus initialization by @MukulKolpe in #537

New Contributors

Full Changelog: v0.1.8...v1.0.0

v0.1.8

15 Oct 20:11
c58a72f
Compare
Choose a tag to compare

This marks a minor release of medusa. Note that this version has no new features or bug fixes from the previous version (v0.1.7). A new release had to be made due to a bug in the CI of medusa that prevented the CI artifacts for the release from being built correctly (#406).

v0.1.7

15 Oct 19:15
47fdfd8
Compare
Choose a tag to compare

This marks a minor release of medusa. Version 0.1.7 brings a variety of critical bug fixes, adds support for LCOV reports, and has optimizations that improves coverage tracking.

What's Changed

Bug Fixes

  • Fix a missing initcode size override (#483 ) by @anishnaik
  • Fix panic during execution tracing (#457 ) by @anishnaik
  • Fix bug related to initial contract balances when using predeployed contracts (#461 ) by @0xalpharush
  • Fix bug that prevented deployed addresses from being added to the value set (#488 ) by @smonicas

New Contributors

Full Changelog: v0.1.6...v0.1.7

v0.1.6

02 Aug 18:30
54532f1
Compare
Choose a tag to compare

This marks a minor release of medusa. Version 0.1.6 brings a variety of critical bug fixes related to coverage tracking, coverage reporting, and execution tracing.

Bug Fixes

  • Fix regression in coverage reports for constructors (#412)
  • Fix panic while execution tracing cheatcode execution (#411)
  • Fixed source unit Iookup and coverage reporting due to changes made to Foundry's compilation artifacts (#427)
  • Reduce bias in weighted method selection that was omitting some methods (#427)

Full Changelog: v0.1.5...v0.1.6