Skip to content

Commit

Permalink
Merge pull request #6 from trailofbits/dev/version-0.7.0
Browse files Browse the repository at this point in the history
Update to version 0.7.0
  • Loading branch information
fegge authored Nov 29, 2022
2 parents 2fb4126 + 1ffee5a commit 72d74e4
Show file tree
Hide file tree
Showing 25 changed files with 1,073 additions and 207 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.vscode
/target
/examples
33 changes: 33 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Release Notes


## v0.7.0 (2022-11-29)


### Features

- New analysis pass (`unconstrained-less-than`) that detects uses of the
Circomlib `LessThan` template where the input signals are not constrained
to be less than the bit size passed to `LessThan`.
- New analysis pass (`unconstrained-division`) that detects signal assignments
containing division, where the divisor is not constrained to be non-zero.
- New analysis pass (`bn128-specific-circuits`) that detects uses of Circomlib
templates with hard-coded BN128-specific constants together with a custom curve like BLS12-381 or Goldilocks.
- New analysis pass (`under-constrained-signal`) that detects intermediate
signals which do not occur in at least two separate constraints.
- Rule name is now included in Sarif output. (The rule name is now also
displayed by the VSCode Sarif extension.)
- Improved parsing error messages.


### Bug Fixes

- Fixed an issue during value propagation where values would be propagated to
arrays by mistake.
- Fixed an issue in the `nonstrict-binary-conversion` analysis pass where
some instantiations of `Num2Bits` and `Bits2Num` would not be detected.
- Fixed an issue where the maximum degree of switch expressions were evaluated
incorrectly.
- Previous versions could take a very long time to complete value and degree
propagation. These analyses are now time boxed and will exit if the analysis
takes more than 10 seconds to complete.
Loading

0 comments on commit 72d74e4

Please sign in to comment.