Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assembler simplification (pending state removal) #133

Merged
merged 19 commits into from
Jan 26, 2024
Merged
Show file tree
Hide file tree
Changes from 13 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion etk-analyze/src/bin/ecfg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ fn run() -> Result<(), Error> {
let blocks = separator
.take()
.into_iter()
.chain(separator.finish().into_iter())
.chain(separator.finish())
.map(|x| AnnotatedBlock::annotate(&x));

let mut cfg = ControlFlowGraph::new(blocks);
Expand Down
18 changes: 14 additions & 4 deletions etk-asm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,31 +1,41 @@
[package]
name = "etk-asm"
version = "0.4.0-dev"
authors = ["Sam Wilson <sam.wilson@mesh.xyz>", "lightclient <lightclient@protonmail.com>"]
authors = [
"Sam Wilson <sam.wilson@mesh.xyz>",
"lightclient <lightclient@protonmail.com>",
]
license = "MIT OR Apache-2.0"
edition = "2018"
description = "EVM Toolkit assembler"
homepage = "https://quilt.github.io/etk"
repository = "https://github.com/quilt/etk"
readme = "README.md"
keywords = ["etk", "ethereum", "assembler"]
categories = ["cryptography::cryptocurrencies", "command-line-utilities", "development-tools", "compilers"]
categories = [
"cryptography::cryptocurrencies",
"command-line-utilities",
"development-tools",
"compilers",
]

[features]
cli = ["clap", "etk-cli"]
backtraces = [ "snafu/backtraces", "etk-ops/backtraces" ]
backtraces = ["snafu/backtraces", "etk-ops/backtraces"]

[dependencies]
etk-ops = { path = "../etk-ops", version = "0.4.0-dev" }
etk-cli = { optional = true, path = "../etk-cli", version = "0.4.0-dev" }
hex = "0.4.3"
num-bigint = "0.4"
num-traits = "0.2.17"
pest = "2.1.3"
pest_derive = "2.1"
rand = "0.8.5"
sha3 = "0.10.1"
clap = { optional = true, version = "3.1", features = ["derive"] }
snafu = { version = "0.7.1", default-features = false, features = [ "std" ] }
snafu = { version = "0.7.1", default-features = false, features = ["std"] }
indexmap = "2.1.0"

[dev-dependencies]
assert_matches = "1.5.0"
Expand Down
Loading
Loading