mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-10-20 18:56:17 +00:00
Supported `polkadot-sdk` rev: `2603` ### Changed - Updated `LLVM` from `21.1.8` to LLVM `22.1.4` ### Added - Support for solc v0.8.35. ### Fixed - A constant folding bug causing incorrect translation of a signed remainder edge case. The affected pattern (Solidity % or Yul smod): - SREM over the two constant operands `type(int256).min` and `-1`. - At least one of the two constants needs folding (i.e. not just `type(int256).min % -1`), and is written specifically such that solc doesn't fold but LLVM does, resulting in UB (signed-overflow). - Fix `mulmod` returning out-of-range result for large moduli. --------- Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com>
38 lines
940 B
TOML
38 lines
940 B
TOML
[package]
|
|
name = "revive-llvm-builder"
|
|
description = "revive LLVM compiler framework builder"
|
|
authors = [
|
|
"Oleksandr Zarudnyi <a.zarudnyy@matterlabs.dev>",
|
|
"Anton Baliasnikov <aba@matterlabs.dev>",
|
|
"Cyrill Leutwiler <cyrill@parity.io>",
|
|
]
|
|
version = "1.2.0"
|
|
license.workspace = true
|
|
edition.workspace = true
|
|
repository.workspace = true
|
|
|
|
[[bin]]
|
|
name = "revive-llvm"
|
|
path = "src/revive_llvm/main.rs"
|
|
|
|
[lib]
|
|
doctest = false
|
|
|
|
[dependencies]
|
|
clap = { workspace = true, features = ["help", "std", "derive"] }
|
|
anyhow = { workspace = true }
|
|
num_cpus = { workspace = true }
|
|
fs_extra = { workspace = true }
|
|
path-slash = { workspace = true }
|
|
regex = { workspace = true }
|
|
downloader = { workspace = true }
|
|
tar = { workspace = true }
|
|
flate2 = { workspace = true }
|
|
env_logger = { workspace = true }
|
|
log = { workspace = true }
|
|
which = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
assert_cmd = { workspace = true }
|
|
assert_fs = { workspace = true }
|