Skip to content

Commit

Permalink
Add support for reading zstd compressed ELF debug section
Browse files Browse the repository at this point in the history
  • Loading branch information
Swatinem committed Jun 3, 2024
1 parent 2767e21 commit ab63d26
Show file tree
Hide file tree
Showing 8 changed files with 172 additions and 62 deletions.
116 changes: 83 additions & 33 deletions Cargo.lock

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

41 changes: 22 additions & 19 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
[workspace]
resolver = "2"
members = [
"symbolic*",
"examples/*",
]
members = ["symbolic*", "examples/*"]

[workspace.dependencies]
anyhow = "1.0.32"
Expand All @@ -18,11 +15,17 @@ criterion = { version = "0.5.1", features = ["html_reports"] }
debugid = "0.8.0"
dmsort = "1.0.2"
elementtree = "1.2.3"
elsa = "1.8.0"
elsa = "1.8.0"
fallible-iterator = "0.3.0"
flate2 = { version = "1.0.25" , default-features = false, features = ["rust_backend"] }
gimli = { version = "0.29.0" , default-features = false, features = ["read", "std", "fallible-iterator"] }
goblin = { version = "0.8.0" , default-features = false }
flate2 = { version = "1.0.25", default-features = false, features = [
"rust_backend",
] }
gimli = { version = "0.30.0", default-features = false, features = [
"read",
"std",
"fallible-iterator",
] }
goblin = { version = "0.8.0", default-features = false }
indexmap = "2.0.0"
insta = { version = "1.28.0", features = ["yaml"] }
itertools = "0.13.0"
Expand All @@ -33,16 +36,16 @@ minidump = "0.21.0"
minidump-processor = "0.21.0"
minidump-unwind = "0.21.0"
msvc-demangler = "0.10.0"
nom = "7.1.3"
nom-supreme = "0.8.0"
once_cell = "1.17.1"
parking_lot = "0.12.1"
pdb-addr2line = "0.10.4"
nom = "7.1.3"
nom-supreme = "0.8.0"
once_cell = "1.17.1"
parking_lot = "0.12.1"
pdb-addr2line = "0.10.4"
proguard = { version = "5.4.0", features = ["uuid"] }
regex = "1.7.1"
regex = "1.7.1"
rustc-demangle = "0.1.21"
# keep this in sync with whatever version `goblin` uses
scroll = "0.12.0"
scroll = "0.12.0"
serde = { version = "1.0.171", features = ["derive"] }
serde_json = "1.0.102"
similar-asserts = "1.4.2"
Expand All @@ -55,7 +58,7 @@ symbolic-common = { version = "12.8.0", path = "symbolic-common" }
symbolic-debuginfo = { version = "12.8.0", path = "symbolic-debuginfo" }
symbolic-demangle = { version = "12.8.0", path = "symbolic-demangle" }
symbolic-il2cpp = { version = "12.8.0", path = "symbolic-il2cpp" }
symbolic-ppdb = { version = "12.8.0", path = "symbolic-ppdb" }
symbolic-ppdb = { version = "12.8.0", path = "symbolic-ppdb" }
symbolic-sourcemapcache = { version = "12.8.0", path = "symbolic-sourcemapcache" }
symbolic-symcache = { version = "12.8.0", path = "symbolic-symcache" }
symbolic-testutils = { path = "symbolic-testutils" }
Expand All @@ -68,9 +71,10 @@ tracing = "0.1.34"
tracing-subscriber = "0.3.11"
uuid = "1.3.0"
walkdir = "2.3.1"
wasmparser = "0.208.1"
wasmparser = "0.209.1"
watto = { version = "0.1.0", features = ["writer", "strings"] }
zip = { version = "1.3.1" , default-features = false, features = ["deflate"] }
zip = { version = "2.1.2", default-features = false, features = ["deflate"] }
zstd = { version = "0.13.1" }


[profile.release]
Expand All @@ -79,4 +83,3 @@ lto = true

[profile.bench]
debug = true

2 changes: 2 additions & 0 deletions symbolic-debuginfo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ elf = [
"goblin/elf64",
"goblin/std",
"scroll",
"zstd",
]
# Mach-o processing
macho = [
Expand Down Expand Up @@ -110,6 +111,7 @@ symbolic-ppdb = { workspace = true, optional = true }
thiserror = { workspace = true }
wasmparser = { workspace = true, optional = true }
zip = { workspace = true, optional = true }
zstd = { workspace = true, optional = true }

[dev-dependencies]
criterion = { workspace = true }
Expand Down
Loading

0 comments on commit ab63d26

Please sign in to comment.