Skip to content

Commit

Permalink
Update Dependencies (#815)
Browse files Browse the repository at this point in the history
  • Loading branch information
Swatinem authored Sep 27, 2023
1 parent e96f555 commit 8528070
Show file tree
Hide file tree
Showing 18 changed files with 275 additions and 327 deletions.
546 changes: 244 additions & 302 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion examples/addr2line/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ publish = false

[dependencies]
anyhow = "1.0.32"
clap = "3.1.0"
clap = "4.4.5"
symbolic = { path = "../../symbolic", features = ["demangle"] }
3 changes: 1 addition & 2 deletions examples/addr2line/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,7 @@ In the second, addr2line reads hexadecimal addresses from standard input, and pr
.arg(
Arg::new("addrs")
.required(true)
.takes_value(true)
.multiple_values(true)
.action(clap::ArgAction::Append)
.value_parser(ValueParser::new(parse_addr))
.help("Addresses to be translated."),
)
Expand Down
2 changes: 1 addition & 1 deletion examples/debuginfo_debug/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ publish = false

[dependencies]
anyhow = "1.0.32"
clap = "3.1.0"
clap = "4.4.5"
symbolic = { path = "../../symbolic", features = ["demangle"] }
2 changes: 1 addition & 1 deletion examples/dump_cfi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ publish = false

[dependencies]
anyhow = "1.0.32"
clap = "3.1.0"
clap = "4.4.5"
symbolic = { path = "../../symbolic", features = ["cfi"] }
2 changes: 1 addition & 1 deletion examples/dump_sources/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ publish = false
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
clap = "3.1.0"
clap = "4.4.5"
symbolic = { path = "../../symbolic" }
8 changes: 4 additions & 4 deletions examples/minidump_stackwalk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ publish = false

[dependencies]
async-trait = "0.1.53"
clap = "3.1.0"
minidump = "0.17.0"
minidump-processor = "0.17.0"
minidump-unwind = "0.17.0"
clap = "4.4.5"
minidump = "0.18.0"
minidump-processor = "0.18.0"
minidump-unwind = "0.18.0"
symbolic = { path = "../../symbolic", features = ["symcache", "demangle", "cfi"] }
thiserror = "1.0.31"
tokio = {version = "1.18.1", features = ["macros", "rt"] }
Expand Down
2 changes: 1 addition & 1 deletion examples/object_debug/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ publish = false
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
clap = "3.1.0"
clap = "4.4.5"
symbolic = { path = "../../symbolic" }
2 changes: 1 addition & 1 deletion examples/sourcemapcache_debug/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ publish = false

[dependencies]
anyhow = "1.0.32"
clap = "3.1.0"
clap = "4.4.5"
symbolic = { path = "../../symbolic", features = ["sourcemapcache"] }
tracing = "0.1.36"
tracing-subscriber = { version = "0.3.15", features = ["env-filter"] }
2 changes: 1 addition & 1 deletion examples/symcache_debug/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ publish = false

[dependencies]
anyhow = "1.0.32"
clap = "3.1.0"
clap = "4.4.5"
symbolic = { path = "../../symbolic", features = ["symcache", "demangle", "il2cpp"] }
2 changes: 1 addition & 1 deletion examples/unreal_engine_crash/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ publish = false
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
clap = "3.1.0"
clap = "4.4.5"
symbolic = { path = "../../symbolic", features = ["unreal"] }
2 changes: 1 addition & 1 deletion symbolic-cabi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ crate-type = ["cdylib"]

[dependencies]
proguard = { version = "5.0.2", features = ["uuid"] }
sourcemap = "6.2.3"
sourcemap = "7.0.0"
symbolic = { version = "12.4.1", path = "../symbolic", features = ["cfi", "debuginfo", "sourcemapcache", "symcache"] }
tempfile = "3.4.0"
2 changes: 1 addition & 1 deletion symbolic-common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ serde = ["dep:serde", "debugid/serde"]

[dependencies]
debugid = "0.8.0"
memmap2 = "0.5.10"
memmap2 = "0.8.0"
stable_deref_trait = "1.2.0"
serde = { version = "1.0.154", optional = true, features = ["derive"] }
uuid = "1.3.0"
Expand Down
4 changes: 2 additions & 2 deletions symbolic-debuginfo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,11 @@ smallvec = { version = "1.10.0", optional = true }
symbolic-common = { version = "12.4.1", path = "../symbolic-common" }
symbolic-ppdb = { version = "12.4.1", path = "../symbolic-ppdb", optional = true }
thiserror = "1.0.39"
wasmparser = { version = "0.102.0", optional = true }
wasmparser = { version = "0.113.2", optional = true }
zip = { version = "0.6.4", optional = true, default-features = false, features = ["deflate"] }

[dev-dependencies]
criterion = { version = "0.4.0", features = ["html_reports"] }
criterion = { version = "0.5.1", features = ["html_reports"] }
insta = { version = "1.28.0", features = ["yaml"] }
tempfile = "3.4.0"
similar-asserts = "1.4.2"
Expand Down
11 changes: 9 additions & 2 deletions symbolic-debuginfo/src/wasm/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
use super::WasmError;
use crate::base::{ObjectKind, Symbol};
use wasmparser::{
FuncValidatorAllocations, NameSectionReader, Payload, TypeRef, Validator, WasmFeatures,
FuncValidatorAllocations, NameSectionReader, Payload, RecGroup, StructuralType, SubType,
TypeRef, Validator, WasmFeatures,
};

#[derive(Default)]
Expand Down Expand Up @@ -91,7 +92,13 @@ impl<'data> super::WasmObject<'data> {
func_sigs.resize(tsr.count() as usize, false);

for (i, ty) in tsr.into_iter().enumerate() {
if matches!(ty?, wasmparser::Type::Func(_)) {
if matches!(
ty?,
RecGroup::Single(SubType {
structural_type: StructuralType::Func(_),
..
})
) {
func_sigs.set(i, true);
}
}
Expand Down
2 changes: 1 addition & 1 deletion symbolic-ppdb/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ exclude = ["tests/**/*"]
all-features = true

[dependencies]
indexmap = "1.9.2"
indexmap = "2.0.0"
symbolic-common = { version = "12.4.1", path = "../symbolic-common" }
watto = { version = "0.1.0", features = ["writer", "strings"] }
thiserror = "1.0.39"
Expand Down
6 changes: 3 additions & 3 deletions symbolic-sourcemapcache/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ A fast lookup cache for JavaScript Source Maps.
edition = "2021"

[dependencies]
itertools = "0.10.5"
js-source-scopes = "0.3.2"
sourcemap = "6.2.3"
itertools = "0.11.0"
js-source-scopes = "0.4.0"
sourcemap = "7.0.0"
symbolic-common = { version = "12.4.1", path = "../symbolic-common" }
thiserror = "1.0.39"
tracing = "0.1.37"
Expand Down
2 changes: 1 addition & 1 deletion symbolic-symcache/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ watto = { version = "0.1.0", features = ["writer", "strings"] }

[dev-dependencies]
insta = { version = "1.28.0", features = ["yaml"] }
criterion = "0.4.0"
criterion = "0.5.1"
symbolic-testutils = { path = "../symbolic-testutils" }
similar-asserts = "1.4.2"

Expand Down

0 comments on commit 8528070

Please sign in to comment.