Skip to content

Commit

Permalink
Multiplication overflow detection for integer width > 64 bits (#988)
Browse files Browse the repository at this point in the history
* mul overflow > 64 bits

Signed-off-by: salaheldinsoliman <[email protected]>
  • Loading branch information
salaheldinsoliman authored Sep 5, 2022
1 parent e3f0653 commit a78b61a
Show file tree
Hide file tree
Showing 11 changed files with 1,268 additions and 118 deletions.
6 changes: 4 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ cc = "1.0"

[dependencies]
regex = "1"
num-bigint = "0.4"
rand = "0.8"
num-bigint = { version = "0.4", features = ["rand"]}
num-traits = "0.2"
num-integer = "0.1.44"
parity-wasm = "0.45"
Expand Down Expand Up @@ -56,7 +57,8 @@ num-derive = "0.3"
parity-scale-codec = "3.1"
ethabi = "17.0"
wasmi = "0.11"
rand = "0.7"
# rand version 0.7 is needed for ed25519_dalek::keypair::generate, used in solana_tests/signature_verify.rs
rand_07 = { package = "rand", version = "0.7" }
sha2 = "0.10"
# solana_rbpf makes api changes in patch versions
solana_rbpf = "=0.2.32"
Expand Down
Loading

0 comments on commit a78b61a

Please sign in to comment.