diff options
| author | Rusty Wagner <rusty.wagner@gmail.com> | 2024-03-14 13:48:38 -0400 |
|---|---|---|
| committer | Rusty Wagner <rusty.wagner@gmail.com> | 2024-03-14 22:22:59 -0400 |
| commit | 2bff146870679690be54f00f9299ad7b521bab57 (patch) | |
| tree | a5b80d343b194fdd2e7cb075f4441fe3fbd24d57 | |
| parent | 6e04c943e75ebdfbc6e940d0aa3d88a54b4c264b (diff) | |
Update to Rust 1.76
| -rw-r--r-- | arch/riscv/Cargo.lock | 4 | ||||
| -rw-r--r-- | docs/about/open-source.md | 54 | ||||
| -rw-r--r-- | rust/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | rust/Cargo.lock | 667 | ||||
| -rw-r--r-- | rust/Cargo.toml | 2 | ||||
| -rw-r--r-- | rust/README.md | 13 | ||||
| -rw-r--r-- | rust/binaryninjacore-sys/Cargo.toml | 2 | ||||
| -rw-r--r-- | rust/examples/decompile/Cargo.toml | 2 | ||||
| -rw-r--r-- | rust/examples/dwarf/dwarf_export/Cargo.toml | 4 | ||||
| -rw-r--r-- | rust/examples/dwarf/dwarf_import/Cargo.toml | 4 | ||||
| -rw-r--r-- | rust/examples/dwarf/dwarfdump/Cargo.toml | 2 | ||||
| -rw-r--r-- | rust/examples/dwarf/shared/Cargo.toml | 2 | ||||
| -rw-r--r-- | rust/examples/minidump/Cargo.toml | 5 | ||||
| -rw-r--r-- | rust/src/lib.rs | 2 |
14 files changed, 382 insertions, 383 deletions
diff --git a/arch/riscv/Cargo.lock b/arch/riscv/Cargo.lock index b98a9faa..8f5cf8ba 100644 --- a/arch/riscv/Cargo.lock +++ b/arch/riscv/Cargo.lock @@ -47,9 +47,9 @@ dependencies = [ [[package]] name = "bindgen" -version = "0.66.1" +version = "0.68.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2b84e06fc203107bfbad243f4aba2af864eb7db3b1cf46ea0a023b0b433d2a7" +checksum = "726e4313eb6ec35d2730258ad4e15b547ee75d6afaa1361a922e78e59b7d8078" dependencies = [ "bitflags", "cexpr", diff --git a/docs/about/open-source.md b/docs/about/open-source.md index b71813bd..9b7d18a7 100644 --- a/docs/about/open-source.md +++ b/docs/about/open-source.md @@ -71,13 +71,19 @@ The previous tools are used in the generation of our documentation, but are not - [core-foundation] ([core-foundation license] - APACHE 2.0 / MIT) - [cpufeatures] ([cpufeatures license] - APACHE 2.0 / MIT) - [crc32fast] ([crc32fast license] - APACHE 2.0 / MIT) + - [crypto-common] ([crypto-common license] - APACHE 2.0 / MIT) - [ctr] ([ctr license] - APACHE 2.0 / MIT) - [cty] ([cty license] - APACHE 2.0 / MIT) - [curl-sys] ([curl-sys license] - MIT) - [curl] ([curl license] - MIT) + - [data-encoding] ([data-encoding license] - MIT) + - [deranged] ([deranged license] - MIT) + - [derive_more] ([derive_more license] - MIT) - [digest] ([digest license] - APACHE 2.0 / MIT) - [either] ([either license] - APACHE 2.0 / MIT) - [encoding_rs] ([encoding_rs license] - APACHE 2.0 / MIT / BSD 3-Clause) + - [equivalent] ([equivalent license] - APACHE 2.0 / MIT) + - [errno] ([errno license] - APACHE 2.0 / MIT) - [fallible-iterator] ([fallible-iterator license] - APACHE 2.0 / MIT) - [flate2] ([flate2 license] - APACHE 2.0 / MIT) - [fnv] ([fnv license] - APACHE 2.0 / MIT) @@ -150,6 +156,7 @@ The previous tools are used in the generation of our documentation, but are not - [pin-utils] ([pin-utils license] - APACHE 2.0 / MIT) - [pkg-config] ([pkg-config license] - APACHE 2.0 / MIT) - [polyval] ([polyval license] - APACHE 2.0 / MIT) + - [powerfmt] ([powerfmt license] - MIT) - [ppv-lite86] ([ppv-lite86 license] - APACHE 2.0 / MIT) - [prettyplease] ([prettyplease license] - APACHE 2.0 / MIT) - [proc-macro-hack] ([proc-macro-hack license] - APACHE 2.0 / MIT) @@ -168,12 +175,16 @@ The previous tools are used in the generation of our documentation, but are not - [ring] ([ring license] - ISC / MIT) - [rot13] ([rot13 license] - APACHE 2.0 / MIT) - [rustc-hash] ([rustc-hash license] - APACHE 2.0 / MIT) + - [rustix] ([rustix license] - APACHE 2.0 / MIT) - [rustls] ([rustls license] - APACHE 2.0 / MIT / ISC) - [rustls-native-certs] ([rustls-native-certs license] - APACHE 2.0 / MIT / ISC) - [rustls-pemfile] ([rustls-pemfile license] - APACHE 2.0 / MIT / ISC) + - [rustls-webpki] ([rustls-webpki license] - MIT) + - [ruzstd] ([ruzstd license] - MIT) - [ryu] ([ryu license] - Apache 2.0 / BSL 1) - [scroll] ([scroll license] - MIT) - [sct] ([sct license] - APACHE 2.0 / MIT / ISC) + - [search] ([search license] - MIT) - [secrets] ([secrets license] - APACHE 2.0 / MIT) - [security-framework-sys] ([security-framework-sys license] - APACHE 2.0 / MIT) - [security-framework] ([security-framework license] - APACHE 2.0 / MIT) @@ -185,13 +196,17 @@ The previous tools are used in the generation of our documentation, but are not - [shlex] ([shlex license] - APACHE 2.0 / MIT) - [slab] ([slab license] - MIT) - [socket2] ([socket2 license] - APACHE 2.0 / MIT) + - [spin] ([spin license] - MIT) - [stable_deref_trait] ([stable_deref_trait license] - APACHE 2.0 / MIT) - [static_assertions] ([static_assertions license] - APACHE 2.0 / MIT) - [subtle] ([subtle license] - BSD 3-Clause) - [syn] ([syn license] - APACHE 2.0 / MIT) + - [sync_wrapper] ([sync_wrapper license] - APACHE 2.0) + - [system-configuration] ([system-configuration license] - APACHE 2.0 / MIT) - [thiserror] ([thiserror license] - APACHE 2.0 / MIT) - [thiserror-impl] ([thiserror-impl license] - APACHE 2.0 / MIT) - [time] ([time license] - APACHE 2.0 / MIT) + - [time-core] ([time-core license] - MIT) - [tinyvec] ([tinyvec license] - APACHE 2.0 / MIT / ZLIB) - [tinyvec_macros] ([tinyvec_macros license] - APACHE 2.0 / MIT / ZLIB) - [tokio] ([tokio license] - MIT) @@ -204,6 +219,7 @@ The previous tools are used in the generation of our documentation, but are not - [tracing-core] ([tracing-core license] - MIT) - [try-lock] ([try-lock license] - MIT) - [tungstenite] ([tungstenite license] - APACHE 2.0 / MIT) + - [twox-hash] ([twox-hash license] - MIT) - [typenum] ([typenum license] - APACHE 2.0 / MIT) - [unicase] ([unicase license] - APACHE 2.0 / MIT) - [unicode-bidi] ([unicode-bidi license] - APACHE 2.0 / MIT) @@ -221,8 +237,10 @@ The previous tools are used in the generation of our documentation, but are not - [want] ([want license] - MIT) - [webpki] ([webpki license] - ISC) - [webpki-roots] ([webpki-roots license] - MPL 2.0) + - [websocket] ([websocket license] - MIT) - [which] ([which license] - MIT) - [x509-signature] ([x509-signature license] - APACHE 2.0 / MIT) + - [zerocopy] ([zerocopy license] - APACHE 2.0 / MIT) * Other - [yasm] ([yasm license] - 2-clause BSD) used for assembling x86 and x64 @@ -400,6 +418,8 @@ Please note that we offer no support for running Binary Ninja with modified Qt l [cpufeatures license]: https://github.com/RustCrypto/utils/blob/master/cpufeatures/LICENSE-MIT [crc32fast]: https://github.com/srijs/rust-crc32fast [crc32fast license]: https://github.com/srijs/rust-crc32fast/blob/master/LICENSE-MIT +[crypto-common]: https://github.com/RustCrypto/traits/tree/master/crypto-common +[crypto-common license]: https://github.com/RustCrypto/traits/blob/master/crypto-common/LICENSE-MIT [ctr]: https://github.com/RustCrypto/block-modes/tree/master/ctr [ctr license]: https://github.com/RustCrypto/block-modes/blob/master/ctr/LICENSE-MIT [cty]: https://github.com/japaric/cty @@ -408,12 +428,22 @@ Please note that we offer no support for running Binary Ninja with modified Qt l [curl-sys license]: https://github.com/alexcrichton/curl-rust/blob/main/LICENSE [curl]: https://github.com/alexcrichton/curl-rust [curl license]: https://github.com/alexcrichton/curl-rust/blob/main/LICENSE +[data-encoding]: https://github.com/ia0/data-encoding +[data-encoding license]: https://github.com/ia0/data-encoding/blob/main/LICENSE +[deranged]: https://github.com/jhpratt/deranged +[deranged license]: https://github.com/jhpratt/deranged/blob/main/LICENSE-MIT +[derive_more]: https://github.com/JelteF/derive_more +[derive_more license]: https://github.com/JelteF/derive_more/blob/master/LICENSE [digest]: https://github.com/RustCrypto/traits/tree/master/digest [digest license]: https://github.com/RustCrypto/traits/blob/master/digest/LICENSE-MIT [either]: https://github.com/bluss/either [either license]: https://github.com/bluss/either/blob/master/LICENSE-MIT [encoding_rs]: https://github.com/hsivonen/encoding_rs [encoding_rs license]: https://github.com/hsivonen/encoding_rs/blob/master/LICENSE-MIT +[equivalent]: https://github.com/cuviper/equivalent +[equivalent license]: https://github.com/indexmap-rs/equivalent/blob/master/LICENSE-MIT +[errno]: https://github.com/lambda-fairy/rust-errno +[errno license]: https://github.com/lambda-fairy/rust-errno/blob/main/LICENSE-MIT [fallible-iterator]: https://github.com/sfackler/rust-fallible-iterator [fallible-iterator license]: https://github.com/sfackler/rust-fallible-iterator/blob/master/LICENSE-MIT [flate2]: https://github.com/rust-lang/flate2-rs @@ -560,6 +590,8 @@ Please note that we offer no support for running Binary Ninja with modified Qt l [pkg-config license]: https://github.com/rust-lang/pkg-config-rs/blob/master/LICENSE-MIT [polyval]: https://github.com/RustCrypto/universal-hashes/tree/master/polyval [polyval license]: https://github.com/RustCrypto/universal-hashes/blob/master/polyval/LICENSE-MIT +[powerfmt]: https://github.com/jhpratt/powerfmt +[powerfmt license]: https://github.com/jhpratt/powerfmt/blob/main/LICENSE-MIT [ppv-lite86]: https://github.com/cryptocorrosion/cryptocorrosion [ppv-lite86 license]: https://github.com/cryptocorrosion/cryptocorrosion/blob/master/LICENSE-MIT [prettyplease]: https://github.com/dtolnay/prettyplease @@ -596,18 +628,26 @@ Please note that we offer no support for running Binary Ninja with modified Qt l [rot13 license]: https://github.com/marekventur/rust-rot13/blob/master/LICENSE-MIT [rustc-hash]: https://github.com/rust-lang-nursery/rustc-hash [rustc-hash license]: https://github.com/rust-lang/rustc-hash/blob/master/LICENSE-MIT +[rustix]: https://github.com/bytecodealliance/rustix +[rustix license]: https://github.com/bytecodealliance/rustix/blob/main/LICENSE-MIT [rustls]: https://github.com/rustls/rustls [rustls license]: https://github.com/rustls/rustls/blob/main/LICENSE [rustls-native-certs]: https://github.com/ctz/rustls-native-certs [rustls-native-certs license]: https://github.com/rustls/rustls-native-certs/blob/main/LICENSE [rustls-pemfile]: https://github.com/rustls/pemfile [rustls-pemfile license]: https://github.com/rustls/pemfile/blob/main/LICENSE +[rustls-webpki]: https://github.com/rustls/webpki +[rustls-webpki license]: https://github.com/rustls/webpki/blob/main/LICENSE +[ruzstd]: https://github.com/KillingSpark/zstd-rs +[ruzstd license]: https://github.com/KillingSpark/zstd-rs/blob/master/LICENSE [ryu]: https://github.com/dtolnay/ryu [ryu license]: https://github.com/dtolnay/ryu/blob/master/LICENSE-APACHE [scroll]: https://github.com/m4b/scroll [scroll license]: https://github.com/m4b/scroll/blob/master/LICENSE [sct]: https://github.com/ctz/sct.rs [sct license]: https://github.com/rustls/sct.rs/blob/main/LICENSE-MIT +[search]: https://github.com/ValuONE/search +[search license]: http://opensource.org/licenses/mit-license.php [secrets]: https://github.com/stouset/secrets [secrets license]: https://github.com/stouset/secrets/blob/master/LICENSE-MIT [security-framework-sys]: https://github.com/kornelski/rust-security-framework @@ -630,6 +670,8 @@ Please note that we offer no support for running Binary Ninja with modified Qt l [slab license]: https://github.com/tokio-rs/slab/blob/master/LICENSE [socket2]: https://github.com/rust-lang/socket2 [socket2 license]: https://github.com/rust-lang/socket2/blob/master/LICENSE-MIT +[spin]: https://github.com/mvdnes/spin-rs +[spin license]: https://github.com/mvdnes/spin-rs/blob/master/LICENSE [stable_deref_trait]: https://github.com/storyyeller/stable_deref_trait [stable_deref_trait license]: https://github.com/Storyyeller/stable_deref_trait/blob/master/LICENSE-MIT [static_assertions]: https://github.com/nvzqz/static-assertions-rs @@ -638,12 +680,18 @@ Please note that we offer no support for running Binary Ninja with modified Qt l [subtle license]: https://github.com/dalek-cryptography/subtle/blob/main/LICENSE [syn]: https://github.com/dtolnay/syn [syn license]: https://github.com/dtolnay/syn/blob/master/LICENSE-MIT +[sync_wrapper]: https://github.com/Actyx/sync_wrapper +[sync_wrapper license]: https://github.com/Actyx/sync_wrapper/blob/master/LICENSE +[system-configuration]: https://github.com/mullvad/system-configuration-rs +[system-configuration license]: https://github.com/mullvad/system-configuration-rs/blob/main/system-configuration/LICENSE-MIT [thiserror]: https://github.com/dtolnay/thiserror [thiserror license]: https://github.com/dtolnay/thiserror/blob/master/LICENSE-MIT [thiserror-impl]: https://github.com/dtolnay/thiserror/tree/master/impl [thiserror-impl license]: https://github.com/dtolnay/thiserror/blob/master/LICENSE-MIT [time]: https://github.com/time-rs/time [time license]: https://github.com/time-rs/time/blob/main/LICENSE-MIT +[time-core]: https://github.com/time-rs/time +[time-core license]: https://github.com/time-rs/time/blob/main/LICENSE-MIT [tinyvec]: https://github.com/Lokathor/tinyvec [tinyvec license]: https://github.com/Lokathor/tinyvec/blob/main/LICENSE-MIT.md [tinyvec_macros]: https://github.com/Soveu/tinyvec_macros @@ -668,6 +716,8 @@ Please note that we offer no support for running Binary Ninja with modified Qt l [try-lock license]: https://github.com/seanmonstar/try-lock/blob/master/LICENSE [tungstenite]: https://github.com/snapview/tungstenite-rs [tungstenite license]: https://github.com/snapview/tungstenite-rs/blob/master/LICENSE-MIT +[twox-hash]: https://github.com/shepmaster/twox-hash +[twox-hash license]: https://github.com/shepmaster/twox-hash/blob/main/LICENSE.txt [typenum]: https://github.com/paholg/typenum [typenum license]: https://github.com/paholg/typenum/blob/main/LICENSE-MIT [unicase]: https://github.com/seanmonstar/unicase @@ -702,7 +752,11 @@ Please note that we offer no support for running Binary Ninja with modified Qt l [webpki license]: https://github.com/briansmith/webpki/blob/main/LICENSE [webpki-roots]: https://github.com/rustls/webpki-roots [webpki-roots license]: https://github.com/rustls/webpki-roots/blob/main/webpki-roots/LICENSE +[websocket]: https://github.com/websockets-rs/rust-websocket +[websocket license]: https://github.com/websockets-rs/rust-websocket/blob/master/LICENSE [which]: https://github.com/harryfei/which-rs.git [which license]: https://github.com/harryfei/which-rs/blob/master/LICENSE.txt [x509-signature]: https://github.com/paritytech/x509-signature [x509-signature license]: https://github.com/paritytech/x509-signature/blob/master/LICENSE-MIT +[zerocopy]: https://github.com/google/zerocopy +[zerocopy license]: https://github.com/google/zerocopy/blob/main/LICENSE-MIT diff --git a/rust/CMakeLists.txt b/rust/CMakeLists.txt index c46d9909..e17a3ac0 100644 --- a/rust/CMakeLists.txt +++ b/rust/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13 FATAL_ERROR) project(rust_api) -set(CARGO_API_VERSION stable-2022-12-15) +set(CARGO_API_VERSION 1.76.0) file(GLOB RUST_API_SOURCES CONFIGURE_DEPENDS ../binaryninjacore.h diff --git a/rust/Cargo.lock b/rust/Cargo.lock index c81b1aac..b57255e0 100644 --- a/rust/Cargo.lock +++ b/rust/Cargo.lock @@ -10,59 +10,68 @@ checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" [[package]] name = "ahash" -version = "0.8.3" +version = "0.8.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c99f64d1e06488f620f932677e24bc6e2897582980441ae90a671415bd7ec2f" +checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011" dependencies = [ "cfg-if", "once_cell", "version_check", + "zerocopy", +] + +[[package]] +name = "aho-corasick" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b2969dcb958b36655471fc61f7e416fa76033bdd4bfed0678d8fee1e2d07a1f0" +dependencies = [ + "memchr", ] [[package]] name = "anstream" -version = "0.3.2" +version = "0.6.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ca84f3628370c59db74ee214b3263d58f9aadd9b4fe7e711fd87dc452b7f163" +checksum = "d96bd03f33fe50a863e394ee9718a706f988b9079b20c3784fb726e7678b62fb" dependencies = [ "anstyle", "anstyle-parse", "anstyle-query", "anstyle-wincon", "colorchoice", - "is-terminal", "utf8parse", ] [[package]] name = "anstyle" -version = "1.0.1" +version = "1.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a30da5c5f2d5e72842e00bcb57657162cdabef0931f40e2deb9b4140440cecd" +checksum = "8901269c6307e8d93993578286ac0edf7f195079ffff5ebdeea6a59ffb7e36bc" [[package]] name = "anstyle-parse" -version = "0.2.1" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "938874ff5980b03a87c5524b3ae5b59cf99b1d6bc836848df7bc5ada9643c333" +checksum = "c75ac65da39e5fe5ab759307499ddad880d724eed2f6ce5b5e8a26f4f387928c" dependencies = [ "utf8parse", ] [[package]] name = "anstyle-query" -version = "1.0.0" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ca11d4be1bab0c8bc8734a9aa7bf4ee8316d462a08c6ac5052f888fef5b494b" +checksum = "e28923312444cdd728e4738b3f9c9cac739500909bb3d3c94b43551b16517648" dependencies = [ "windows-sys", ] [[package]] name = "anstyle-wincon" -version = "1.0.1" +version = "3.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "180abfa45703aebe0093f79badacc01b8fd4ea2e35118747e5811127f926e188" +checksum = "1cd54b81ec8d6180e24654d0b371ad22fc3dd083b6ff8ba325b72e00c87660a7" dependencies = [ "anstyle", "windows-sys", @@ -70,9 +79,9 @@ dependencies = [ [[package]] name = "autocfg" -version = "1.0.1" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a" +checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" [[package]] name = "basic_script" @@ -101,11 +110,11 @@ dependencies = [ [[package]] name = "bindgen" -version = "0.66.1" +version = "0.68.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2b84e06fc203107bfbad243f4aba2af864eb7db3b1cf46ea0a023b0b433d2a7" +checksum = "726e4313eb6ec35d2730258ad4e15b547ee75d6afaa1361a922e78e59b7d8078" dependencies = [ - "bitflags 2.3.3", + "bitflags", "cexpr", "clang-sys", "lazy_static", @@ -118,27 +127,21 @@ dependencies = [ "regex", "rustc-hash", "shlex", - "syn 2.0.25", + "syn 2.0.52", "which", ] [[package]] name = "bitflags" -version = "1.3.2" +version = "2.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" +checksum = "ed570934406eb16438a4e976b1b4500774099c13b8cb96eec99f620f05090ddf" [[package]] -name = "bitflags" -version = "2.3.3" +name = "byteorder" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "630be753d4e58660abd17930c71b647fe46c27ea6b63cc59e1e3851406972e42" - -[[package]] -name = "cc" -version = "1.0.79" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f" +checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "cexpr" @@ -157,9 +160,9 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "clang-sys" -version = "1.2.0" +version = "1.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "853eda514c284c2287f4bf20ae614f8781f40a81d32ecda6e91449304dfe077c" +checksum = "67523a3b4be3ce1989d607a828d036249522dd9c1c8de7f4dd2dae43a37369d1" dependencies = [ "glob", "libc", @@ -168,20 +171,19 @@ dependencies = [ [[package]] name = "clap" -version = "4.3.11" +version = "4.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1640e5cc7fb47dbb8338fd471b105e7ed6c3cb2aeb00c2e067127ffd3764a05d" +checksum = "b230ab84b0ffdf890d5a10abdbc8b83ae1c4918275daea1ab8801f71536b2651" dependencies = [ "clap_builder", "clap_derive", - "once_cell", ] [[package]] name = "clap_builder" -version = "4.3.11" +version = "4.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "98c59138d527eeaf9b53f35a77fcc1fad9d883116070c63d5de1c7dc7b00c72b" +checksum = "ae129e2e766ae0ec03484e609954119f123cc1fe650337e155d03b022f24f7b4" dependencies = [ "anstream", "anstyle", @@ -191,21 +193,21 @@ dependencies = [ [[package]] name = "clap_derive" -version = "4.3.2" +version = "4.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8cd2b2a819ad6eec39e8f1d6b53001af1e5469f8c177579cdaeb313115b825f" +checksum = "307bc0538d5f0f83b8248db3087aa92fe504e4691294d0c96c0eabc33f47ba47" dependencies = [ "heck", "proc-macro2", "quote", - "syn 2.0.25", + "syn 2.0.52", ] [[package]] name = "clap_lex" -version = "0.5.0" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2da6da31387c7e4ef160ffab6d5e7f00c42626fe39aea70a7b0f1773f7dd6c1b" +checksum = "98cc8fbded0c607b7ba9dd60cd98df59af97e84d24e49c8557331cfc26d301ce" [[package]] name = "colorchoice" @@ -215,56 +217,37 @@ checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" [[package]] name = "crc32fast" -version = "1.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d" -dependencies = [ - "cfg-if", -] - -[[package]] -name = "crossbeam-channel" -version = "0.5.1" +version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06ed27e177f16d65f0f0c22a213e17c696ace5dd64b14258b52f9417ccb52db4" +checksum = "b3855a8a784b474f333699ef2bbca9db2c4a1f6d9088a90a2d25b1eb53111eaa" dependencies = [ "cfg-if", - "crossbeam-utils", ] [[package]] name = "crossbeam-deque" -version = "0.8.0" +version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94af6efb46fef72616855b036a624cf27ba656ffc9be1b9a3c931cfc7749a9a9" +checksum = "613f8cc01fe9cf1a3eb3d7f488fd2fa8388403e97039e2f73692932e291a770d" dependencies = [ - "cfg-if", "crossbeam-epoch", "crossbeam-utils", ] [[package]] name = "crossbeam-epoch" -version = "0.9.5" +version = "0.9.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ec02e091aa634e2c3ada4a392989e7c3116673ef0ac5b72232439094d73b7fd" +checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e" dependencies = [ - "cfg-if", "crossbeam-utils", - "lazy_static", - "memoffset", - "scopeguard", ] [[package]] name = "crossbeam-utils" -version = "0.8.5" +version = "0.8.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d82cfc11ce7f2c3faef78d8a684447b40d503d9681acebed6cb728d45940c4db" -dependencies = [ - "cfg-if", - "lazy_static", -] +checksum = "248e3bacc7dc6baa3b21e405ee045c3047101a49145e7e9eca583ab4c2ca5345" [[package]] name = "debugid" @@ -284,6 +267,26 @@ dependencies = [ ] [[package]] +name = "deranged" +version = "0.3.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4" +dependencies = [ + "powerfmt", +] + +[[package]] +name = "derive_more" +version = "0.99.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4fb810d30a7c1953f91334de7244731fc3f3c10d7fe163338a35b9f640960321" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] name = "dwarf_export" version = "0.1.0" dependencies = [ @@ -322,117 +325,46 @@ dependencies = [ [[package]] name = "either" -version = "1.6.1" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457" +checksum = "11157ac094ffbdde99aa67b23417ebdd801842852b500e395a45a9c0aac03e4a" [[package]] -name = "encoding" -version = "0.2.33" +name = "encoding_rs" +version = "0.8.33" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b0d943856b990d12d3b55b359144ff341533e516d94098b1d3fc1ac666d36ec" +checksum = "7268b386296a025e474d5140678f75d6de9493ae55a5d709eeb9dd08149945e1" dependencies = [ - "encoding-index-japanese", - "encoding-index-korean", - "encoding-index-simpchinese", - "encoding-index-singlebyte", - "encoding-index-tradchinese", -] - -[[package]] -name = "encoding-index-japanese" -version = "1.20141219.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04e8b2ff42e9a05335dbf8b5c6f7567e5591d0d916ccef4e0b1710d32a0d0c91" -dependencies = [ - "encoding_index_tests", -] - -[[package]] -name = "encoding-index-korean" -version = "1.20141219.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dc33fb8e6bcba213fe2f14275f0963fd16f0a02c878e3095ecfdf5bee529d81" -dependencies = [ - "encoding_index_tests", -] - -[[package]] -name = "encoding-index-simpchinese" -version = "1.20141219.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d87a7194909b9118fc707194baa434a4e3b0fb6a5a757c73c3adb07aa25031f7" -dependencies = [ - "encoding_index_tests", -] - -[[package]] -name = "encoding-index-singlebyte" -version = "1.20141219.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3351d5acffb224af9ca265f435b859c7c01537c0849754d3db3fdf2bfe2ae84a" -dependencies = [ - "encoding_index_tests", -] - -[[package]] -name = "encoding-index-tradchinese" -version = "1.20141219.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd0e20d5688ce3cab59eb3ef3a2083a5c77bf496cb798dc6fcdb75f323890c18" -dependencies = [ - "encoding_index_tests", + "cfg-if", ] [[package]] -name = "encoding_index_tests" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a246d82be1c9d791c5dfde9a2bd045fc3cbba3fa2b11ad558f27d01712f00569" - -[[package]] -name = "enum-primitive-derive" -version = "0.2.2" +name = "equivalent" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c375b9c5eadb68d0a6efee2999fef292f45854c3444c86f09d8ab086ba942b0e" -dependencies = [ - "num-traits", - "quote", - "syn 1.0.109", -] +checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" [[package]] name = "errno" -version = "0.3.1" +version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4bcfec3a70f97c962c307b2d2c56e358cf1d00b558d74262b5f929ee8cc7e73a" +checksum = "a258e46cdc063eb8519c00b9fc845fc47bcfca4130e2f08e88665ceda8474245" dependencies = [ - "errno-dragonfly", "libc", "windows-sys", ] [[package]] -name = "errno-dragonfly" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf" -dependencies = [ - "cc", - "libc", -] - -[[package]] name = "fallible-iterator" -version = "0.2.0" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7" +checksum = "2acce4a10f12dc2fb14a218589d4f1f62ef011b2d0cc4b3cb1bba8e94da14649" [[package]] name = "flate2" -version = "1.0.25" +version = "1.0.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8a2db397cb1c8772f31494cb8917e48cd1e64f0fa7efac59fbd741a0a8ce841" +checksum = "46303f565772937ffe1d394a4fac6f411c6013172fadde9dcdb1e147a086940e" dependencies = [ "crc32fast", "miniz_oxide", @@ -447,9 +379,9 @@ dependencies = [ [[package]] name = "gimli" -version = "0.27.2" +version = "0.28.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad0a93d233ebf96623465aad4046a8d3aa4da22d4f4beba5388838c8a434bbb4" +checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253" dependencies = [ "fallible-iterator", "indexmap", @@ -458,21 +390,15 @@ dependencies = [ [[package]] name = "glob" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574" - -[[package]] -name = "hashbrown" -version = "0.12.3" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" +checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" [[package]] name = "hashbrown" -version = "0.13.2" +version = "0.14.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" +checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604" dependencies = [ "ahash", ] @@ -484,21 +410,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" [[package]] -name = "hermit-abi" -version = "0.1.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" -dependencies = [ - "libc", -] - -[[package]] -name = "hermit-abi" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "443144c8cdadd93ebf52ddb4056d257f5b52c04d3c804e657d19eb73fc33668b" - -[[package]] name = "hlil_lifter" version = "0.1.0" dependencies = [ @@ -513,31 +424,29 @@ dependencies = [ ] [[package]] -name = "indexmap" -version = "1.9.3" +name = "home" +version = "0.5.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" +checksum = "e3d1354bf6b7235cb4a0576c2619fd4ed18183f689b12b006a0ee7329eeff9a5" dependencies = [ - "autocfg", - "hashbrown 0.12.3", + "windows-sys", ] [[package]] -name = "is-terminal" -version = "0.4.9" +name = "indexmap" +version = "2.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb0889898416213fab133e1d33a0e5858a48177452750691bde3666d0fdbaf8b" +checksum = "7b0b929d511467233429c45a44ac1dcaa21ba0f5ba11e4879e6ed28ddb4f9df4" dependencies = [ - "hermit-abi 0.3.2", - "rustix", - "windows-sys", + "equivalent", + "hashbrown", ] [[package]] name = "itoa" -version = "1.0.6" +version = "1.0.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "453ad9f582a441959e5f0d088b02ce04cfe8d51a8eaf077f12ac6d3e94164ca6" +checksum = "b1a46d1a171d865aa5f83f92695765caa047a9b4cbae2cbf37dbd613a793fd4c" [[package]] name = "lazy_static" @@ -553,40 +462,37 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" [[package]] name = "libc" -version = "0.2.147" +version = "0.2.153" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3" +checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd" [[package]] name = "libloading" -version = "0.7.0" +version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f84d96438c15fcd6c3f244c8fce01d1e2b9c6b5623e9c711dc9286d8fc92d6a" +checksum = "0c2a198fb6b0eada2a8df47933734e6d35d350665a33a3593d7164fa52c75c19" dependencies = [ "cfg-if", - "winapi", + "windows-targets", ] [[package]] name = "linux-raw-sys" -version = "0.4.3" +version = "0.4.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09fc20d2ca12cb9f044c93e3bd6d32d523e6e2ec3db4f7b2939cd99026ecd3f0" +checksum = "01cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539c" [[package]] name = "log" -version = "0.4.17" +version = "0.4.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e" -dependencies = [ - "cfg-if", -] +checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c" [[package]] name = "memchr" -version = "2.5.0" +version = "2.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" +checksum = "523dc4f511e55ab87b694dc30d0f820d60906ef06413f93d4d7a1385599cc149" [[package]] name = "memmap2" @@ -598,22 +504,13 @@ dependencies = [ ] [[package]] -name = "memoffset" -version = "0.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59accc507f1338036a0477ef61afdae33cde60840f4dfe481319ce3ad116ddf9" -dependencies = [ - "autocfg", -] - -[[package]] name = "minidump" -version = "0.15.2" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94e5cd2ca4f6b85c6c7fb41ae0aebe0b443a6c0558876f1d779c7236d42417cf" +checksum = "e20da5c0aab8b6d683d8a15ca70db468d3f6ddfe38269837c22c7bab7ba2627c" dependencies = [ "debugid", - "encoding", + "encoding_rs", "memmap2", "minidump-common", "num-traits", @@ -627,13 +524,13 @@ dependencies = [ [[package]] name = "minidump-common" -version = "0.15.2" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "694717103b2c15f8c16ddfaec1333fe15673bc22b10ffa6164427415701974ba" +checksum = "6b23ab3a13de24f89fa3060579288f142ac4d138d37eec8a398ba59b0ca4d577" dependencies = [ - "bitflags 1.3.2", + "bitflags", "debugid", - "enum-primitive-derive", + "num-derive", "num-traits", "range-map", "scroll", @@ -647,7 +544,6 @@ dependencies = [ "binaryninja", "log", "minidump", - "time", ] [[package]] @@ -658,9 +554,9 @@ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" [[package]] name = "miniz_oxide" -version = "0.6.2" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b275950c28b37e794e8c55d88aeb5e139d0ce23fdbbeda68f8d7174abdf9e8fa" +checksum = "9d811f3e15f28568be3407c8e7fdb6514c1cda3cb30683f15b6a1a1dc4ea14a7" dependencies = [ "adler", ] @@ -681,60 +577,59 @@ dependencies = [ [[package]] name = "nom" -version = "7.1.1" +version = "7.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8903e5a29a317527874d0402f867152a3d21c908bb0b933e416c65e301d4c36" +checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a" dependencies = [ "memchr", "minimal-lexical", ] [[package]] -name = "num-traits" -version = "0.2.15" +name = "num-conv" +version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcd" -dependencies = [ - "autocfg", -] +checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" [[package]] -name = "num_cpus" -version = "1.13.0" +name = "num-derive" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05499f3756671c15885fee9034446956fff3f243d6077b91e5767df161f766b3" +checksum = "ed3955f1a9c7c0c15e092f9c887db08b1fc683305fdf6eb6684f22555355e202" dependencies = [ - "hermit-abi 0.1.19", - "libc", + "proc-macro2", + "quote", + "syn 2.0.52", ] [[package]] -name = "num_threads" -version = "0.1.6" +name = "num-traits" +version = "0.2.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2819ce041d2ee131036f4fc9d6ae7ae125a3a40e97ba64d04fe799ad9dabbb44" +checksum = "da0df0e5185db44f69b44f26786fe401b6c293d1907744beaa7fa62b2e5a517a" dependencies = [ - "libc", + "autocfg", ] [[package]] name = "object" -version = "0.30.3" +version = "0.32.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea86265d3d3dcb6a27fc51bd29a4bf387fae9d2986b823079d4986af253eb439" +checksum = "a6a622008b6e321afc04970976f62ee297fdbaa6f95318ca343e3eebb9648441" dependencies = [ "crc32fast", "flate2", - "hashbrown 0.13.2", + "hashbrown", "indexmap", "memchr", + "ruzstd", ] [[package]] name = "once_cell" -version = "1.17.1" +version = "1.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7e5500299e16ebb147ae15a00a942af264cf3688f47923b8fc2cd5858f23ad3" +checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" [[package]] name = "peeking_take_while" @@ -744,34 +639,40 @@ checksum = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099" [[package]] name = "pin-project-lite" -version = "0.2.9" +version = "0.2.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8afb450f006bf6385ca15ef45d71d2288452bc3683ce2e2cacc0d18e4be60b58" + +[[package]] +name = "powerfmt" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0a7ae3ac2f1173085d398531c705756c94a4c56843785df85a60c1a0afac116" +checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" [[package]] name = "prettyplease" -version = "0.2.10" +version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92139198957b410250d43fad93e630d956499a625c527eda65175c8680f83387" +checksum = "a41cf62165e97c7f814d2221421dbb9afcbcdb0a88068e5ea206e19951c2cbb5" dependencies = [ "proc-macro2", - "syn 2.0.25", + "syn 2.0.52", ] [[package]] name = "proc-macro2" -version = "1.0.64" +version = "1.0.79" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78803b62cbf1f46fde80d7c0e803111524b9877184cfe7c3033659490ac7a7da" +checksum = "e835ff2298f5721608eb1a980ecaee1aef2c132bf95ecc026a11b7bf3c01c02e" dependencies = [ "unicode-ident", ] [[package]] name = "quote" -version = "1.0.29" +version = "1.0.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "573015e8ab27661678357f27dc26460738fd2b6c86e46f386fde94cb5d913105" +checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef" dependencies = [ "proc-macro2", ] @@ -787,43 +688,52 @@ dependencies = [ [[package]] name = "rayon" -version = "1.5.1" +version = "1.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c06aca804d41dbc8ba42dfd964f0d01334eceb64314b9ecf7c5fad5188a06d90" +checksum = "e4963ed1bc86e4f3ee217022bd855b297cef07fb9eac5dfa1f788b220b49b3bd" dependencies = [ - "autocfg", - "crossbeam-deque", "either", "rayon-core", ] [[package]] name = "rayon-core" -version = "1.9.1" +version = "1.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d78120e2c850279833f1dd3582f730c4ab53ed95aeaaaa862a2a5c71b1656d8e" +checksum = "1465873a3dfdaa8ae7cb14b4383657caab0b3e8a0aa9ae8e04b044854c8dfce2" dependencies = [ - "crossbeam-channel", "crossbeam-deque", "crossbeam-utils", - "lazy_static", - "num_cpus", ] [[package]] name = "regex" -version = "1.5.4" +version = "1.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b62dbe01f0b06f9d8dc7d49e05a0785f153b00b2c227856282f671e0318c9b15" +dependencies = [ + "aho-corasick", + "memchr", + "regex-automata", + "regex-syntax", +] + +[[package]] +name = "regex-automata" +version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d07a8629359eb56f1e2fb1652bb04212c072a87ba68546a04065d525673ac461" +checksum = "86b83b8b9847f9bf95ef68afb0b8e6cdb80f498442f5179a29fad448fcc1eaea" dependencies = [ + "aho-corasick", + "memchr", "regex-syntax", ] [[package]] name = "regex-syntax" -version = "0.6.25" +version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f497285884f3fcff424ffc933e56d7cbca511def0c9831a7f9b5f6153e3cc89b" +checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f" [[package]] name = "rustc-hash" @@ -833,11 +743,11 @@ checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" [[package]] name = "rustix" -version = "0.38.4" +version = "0.38.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a962918ea88d644592894bc6dc55acc6c0956488adcebbfb6e273506b7fd6e5" +checksum = "6ea3e1a662af26cd7a3ba09c0297a31af215563ecf42817c98df621387f4e949" dependencies = [ - "bitflags 2.3.3", + "bitflags", "errno", "libc", "linux-raw-sys", @@ -845,10 +755,15 @@ dependencies = [ ] [[package]] -name = "scopeguard" -version = "1.1.0" +name = "ruzstd" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" +checksum = "58c4eb8a81997cf040a091d1f7e1938aeab6749d3a0dfa73af43cdc32393483d" +dependencies = [ + "byteorder", + "derive_more", + "twox-hash", +] [[package]] name = "scroll" @@ -861,36 +776,50 @@ dependencies = [ [[package]] name = "scroll_derive" -version = "0.11.0" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bdbda6ac5cd1321e724fa9cee216f3a61885889b896f073b8f82322789c5250e" +checksum = "1db149f81d46d2deba7cd3c50772474707729550221e69588478ebf9ada425ae" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.52", ] [[package]] name = "serde" -version = "1.0.159" +version = "1.0.197" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c04e8343c3daeec41f58990b9d77068df31209f2af111e059e9fe9646693065" +checksum = "3fb1c873e1b9b056a4dc4c0c198b24c3ffa059243875552b2bd0933b1aee4ce2" +dependencies = [ + "serde_derive", +] + +[[package]] +name = "serde_derive" +version = "1.0.197" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7eb0b34b42edc17f6b7cac84a52a1c5f0e1bb2227e997ca9011ea3dd34e8610b" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.52", +] [[package]] name = "shlex" -version = "1.0.0" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42a568c8f2cd051a4d283bd6eb0343ac214c1b0f1ac19f93e1175b2dee38c73d" +checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" [[package]] name = "smart-default" -version = "0.6.0" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "133659a15339456eeeb07572eb02a91c91e9815e9cbc89566944d2c8d3efdbf6" +checksum = "0eb01866308440fc64d6c44d9e86c5cc17adfe33c4d6eed55da9145044d0ffc1" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.52", ] [[package]] @@ -900,10 +829,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] +name = "static_assertions" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" + +[[package]] name = "strsim" -version = "0.10.0" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" +checksum = "5ee073c9e4cd00e28217186dbe12796d692868f432bf2e97ee73bed0c56dfa01" [[package]] name = "syn" @@ -918,9 +853,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.25" +version = "2.0.52" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15e3fc8c0c74267e2df136e5e5fb656a464158aa57624053375eb9c8c6e25ae2" +checksum = "b699d15b36d1f02c3e7c69f8ffef53de37aefae075d8488d4ba1a7788d574a07" dependencies = [ "proc-macro2", "quote", @@ -936,33 +871,34 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.40" +version = "1.0.58" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "978c9a314bd8dc99be594bc3c175faaa9794be04a5a5e153caba6915336cebac" +checksum = "03468839009160513471e86a034bb2c5c0e4baae3b43f79ffc55c4a5427b3297" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.40" +version = "1.0.58" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9456a42c5b0d803c8cd86e73dd7cc9edd429499f37a3550d286d5e86720569f" +checksum = "c61f3ba182994efc43764a46c018c347bc492c79f024e705f46567b418f6d4f7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.25", + "syn 2.0.52", ] [[package]] name = "time" -version = "0.3.16" +version = "0.3.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fab5c8b9980850e06d92ddbe3ab839c062c801f3927c0fb8abd6fc8e918fbca" +checksum = "c8248b6521bb14bc45b4067159b9b6ad792e2d6d754d6c41fb50e29fefe38749" dependencies = [ + "deranged", "itoa", - "libc", - "num_threads", + "num-conv", + "powerfmt", "serde", "time-core", "time-macros", @@ -970,26 +906,26 @@ dependencies = [ [[package]] name = "time-core" -version = "0.1.0" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e153e1f1acaef8acc537e68b44906d2db6436e2b35ac2c6b42640fff91f00fd" +checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" [[package]] name = "time-macros" -version = "0.2.5" +version = "0.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "65bb801831d812c562ae7d2bfb531f26e66e4e1f6b17307ba4149c5064710e5b" +checksum = "7ba3a3ef41e6672a2f0f001392bb5dcd3ff0a9992d618ca761a11c3121547774" dependencies = [ + "num-conv", "time-core", ] [[package]] name = "tracing" -version = "0.1.37" +version = "0.1.40" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ce8c33a8d48bd45d624a6e523445fd21ec13d3653cd51f681abf67418f54eb8" +checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef" dependencies = [ - "cfg-if", "log", "pin-project-lite", "tracing-attributes", @@ -998,29 +934,39 @@ dependencies = [ [[package]] name = "tracing-attributes" -version = "0.1.23" +version = "0.1.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4017f8f45139870ca7e672686113917c71c7a6e02d4924eda67186083c03081a" +checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.52", ] [[package]] name = "tracing-core" -version = "0.1.30" +version = "0.1.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24eb03ba0eab1fd845050058ce5e616558e8f8d8fca633e6b163fe25c797213a" +checksum = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54" dependencies = [ "once_cell", ] [[package]] +name = "twox-hash" +version = "1.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675" +dependencies = [ + "cfg-if", + "static_assertions", +] + +[[package]] name = "unicode-ident" -version = "1.0.1" +version = "1.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5bd2fe26506023ed7b5e1e315add59d6f584c621d037f9368fea9cfb988f368c" +checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" [[package]] name = "utf8parse" @@ -1030,9 +976,9 @@ checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a" [[package]] name = "uuid" -version = "1.3.0" +version = "1.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1674845326ee10d37ca60470760d4288a6f80f304007d92e5c53bab78c9cfd79" +checksum = "f00cc9702ca12d3c81455259621e676d0f7251cec66a21e98fe2e9a37db93b2a" [[package]] name = "version_check" @@ -1042,51 +988,30 @@ checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" [[package]] name = "which" -version = "4.2.5" +version = "4.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c4fb54e6113b6a8772ee41c3404fb0301ac79604489467e0a9ce1f3e97c24ae" +checksum = "87ba24419a2078cd2b0f2ede2691b6c66d8e47836da3b6db8265ebad47afbfc7" dependencies = [ "either", - "lazy_static", - "libc", -] - -[[package]] -name = "winapi" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" -dependencies = [ - "winapi-i686-pc-windows-gnu", - "winapi-x86_64-pc-windows-gnu", + "home", + "once_cell", + "rustix", ] [[package]] -name = "winapi-i686-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" - -[[package]] -name = "winapi-x86_64-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" - -[[package]] name = "windows-sys" -version = "0.48.0" +version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" +checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" dependencies = [ "windows-targets", ] [[package]] name = "windows-targets" -version = "0.48.1" +version = "0.52.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05d4b17490f70499f20b9e791dcf6a299785ce8af4d709018206dc5b4953e95f" +checksum = "7dd37b7e5ab9018759f893a1952c9420d060016fc19a472b4bb20d1bdd694d1b" dependencies = [ "windows_aarch64_gnullvm", "windows_aarch64_msvc", @@ -1099,42 +1024,62 @@ dependencies = [ [[package]] name = "windows_aarch64_gnullvm" -version = "0.48.0" +version = "0.52.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc" +checksum = "bcf46cf4c365c6f2d1cc93ce535f2c8b244591df96ceee75d8e83deb70a9cac9" [[package]] name = "windows_aarch64_msvc" -version = "0.48.0" +version = "0.52.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3" +checksum = "da9f259dd3bcf6990b55bffd094c4f7235817ba4ceebde8e6d11cd0c5633b675" [[package]] name = "windows_i686_gnu" -version = "0.48.0" +version = "0.52.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241" +checksum = "b474d8268f99e0995f25b9f095bc7434632601028cf86590aea5c8a5cb7801d3" [[package]] name = "windows_i686_msvc" -version = "0.48.0" +version = "0.52.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00" +checksum = "1515e9a29e5bed743cb4415a9ecf5dfca648ce85ee42e15873c3cd8610ff8e02" [[package]] name = "windows_x86_64_gnu" -version = "0.48.0" +version = "0.52.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1" +checksum = "5eee091590e89cc02ad514ffe3ead9eb6b660aedca2183455434b93546371a03" [[package]] name = "windows_x86_64_gnullvm" -version = "0.48.0" +version = "0.52.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953" +checksum = "77ca79f2451b49fa9e2af39f0747fe999fcda4f5e241b2898624dca97a1f2177" [[package]] name = "windows_x86_64_msvc" -version = "0.48.0" +version = "0.52.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32b752e52a2da0ddfbdbcc6fceadfeede4c939ed16d13e648833a61dfb611ed8" + +[[package]] +name = "zerocopy" +version = "0.7.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "74d4d3961e53fa4c9a25a8637fc2bfaf2595b3d3ae34875568a5cf64787716be" +dependencies = [ + "zerocopy-derive", +] + +[[package]] +name = "zerocopy-derive" +version = "0.7.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a" +checksum = "9ce1b18ccd8e73a9321186f97e46f9f04b778851177567b1975109d26a08d2a6" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.52", +] diff --git a/rust/Cargo.toml b/rust/Cargo.toml index cd3287d4..02efc79b 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -11,7 +11,7 @@ noexports = [] lazy_static = "1.4.0" log = "0.4" libc = "0.2" -rayon = { version = "1.0", optional = true } +rayon = { version = "1.8", optional = true } binaryninjacore-sys = { path = "binaryninjacore-sys" } [workspace] diff --git a/rust/README.md b/rust/README.md index d2f7f1cc..b6016a62 100644 --- a/rust/README.md +++ b/rust/README.md @@ -4,7 +4,7 @@ > :warning: **These bindings are in a very early beta, only have partial support for the core APIs and are still actively under development. Compatibility _will_ break and conventions _will_ change! They are being used for core Binary Ninja features however, so we expect much of what is already there to be reliable enough to build on, just don't be surprised if your plugins/scripts need to hit a moving target.** -> :warning: This project runs on Rust version `stable-2022-12-15` +> :warning: This project runs on Rust version `1.76.0` ## Contributing @@ -15,9 +15,9 @@ Add a "Contributing" section to the Rust API readme ## Dependencies -Having BinaryNinja installed (and your license registered) -Clang -Rust +Having BinaryNinja installed (and your license registered) +Clang +Rust ## How to use @@ -46,8 +46,9 @@ See the `./examples/`. Plugin registration commands are in `binaryninja::comman binaryninja = { git = "https://github.com/Vector35/binaryninja-api.git", branch = "dev"} ``` -All standalone binaries need to provide a `build.rs`. -See [`examples/template`](examples/template) for details. +All standalone binaries should call both `binaryninja::headless::init()` and `binaryninja::headless::shutdown()`. +All standalone binaries need to provide a `build.rs`. +See [`examples/template`](examples/template) for details. ## Docs diff --git a/rust/binaryninjacore-sys/Cargo.toml b/rust/binaryninjacore-sys/Cargo.toml index 83e9b39c..95d21beb 100644 --- a/rust/binaryninjacore-sys/Cargo.toml +++ b/rust/binaryninjacore-sys/Cargo.toml @@ -5,4 +5,4 @@ authors = ["Ryan Snyder <ryan@vector35.com>", "Kyle Martin <kyle@vector35.com>"] build = "build.rs" [build-dependencies] -bindgen = "^0.66" +bindgen = "^0.68" diff --git a/rust/examples/decompile/Cargo.toml b/rust/examples/decompile/Cargo.toml index 3c3cbb3e..09c510f6 100644 --- a/rust/examples/decompile/Cargo.toml +++ b/rust/examples/decompile/Cargo.toml @@ -6,5 +6,5 @@ edition = "2021" [dependencies] binaryninja = {path="../../"} -clap = { version = "4.3", features = ["derive"] } +clap = { version = "4.4", features = ["derive"] } diff --git a/rust/examples/dwarf/dwarf_export/Cargo.toml b/rust/examples/dwarf/dwarf_export/Cargo.toml index 022d3e00..5f537c69 100644 --- a/rust/examples/dwarf/dwarf_export/Cargo.toml +++ b/rust/examples/dwarf/dwarf_export/Cargo.toml @@ -8,6 +8,6 @@ crate-type = ["cdylib"] [dependencies] binaryninja = {path="../../../"} -gimli = "^0.27" +gimli = "^0.28" log = "^0.4" -object = { version = "0.30.3", features = ["write"] } +object = { version = "0.32.1", features = ["write"] } diff --git a/rust/examples/dwarf/dwarf_import/Cargo.toml b/rust/examples/dwarf/dwarf_import/Cargo.toml index 07605991..c8cea44a 100644 --- a/rust/examples/dwarf/dwarf_import/Cargo.toml +++ b/rust/examples/dwarf/dwarf_import/Cargo.toml @@ -10,5 +10,5 @@ crate-type = ["cdylib"] [dependencies] dwarfreader = { path = "../shared/" } binaryninja = { path = "../../../" } -gimli = "0.27" -log = "0.4.17" +gimli = "0.28" +log = "0.4.20" diff --git a/rust/examples/dwarf/dwarfdump/Cargo.toml b/rust/examples/dwarf/dwarfdump/Cargo.toml index 1d3411a0..0ede6afb 100644 --- a/rust/examples/dwarf/dwarfdump/Cargo.toml +++ b/rust/examples/dwarf/dwarfdump/Cargo.toml @@ -10,4 +10,4 @@ crate-type = ["cdylib"] [dependencies] dwarfreader = { path = "../shared/" } binaryninja = {path="../../../"} -gimli = "0.27" +gimli = "0.28" diff --git a/rust/examples/dwarf/shared/Cargo.toml b/rust/examples/dwarf/shared/Cargo.toml index 9cbd5a22..521a705e 100644 --- a/rust/examples/dwarf/shared/Cargo.toml +++ b/rust/examples/dwarf/shared/Cargo.toml @@ -6,4 +6,4 @@ edition = "2021" [dependencies] binaryninja = {path="../../../"} -gimli = "0.27" +gimli = "0.28" diff --git a/rust/examples/minidump/Cargo.toml b/rust/examples/minidump/Cargo.toml index b002271d..3e54fd6c 100644 --- a/rust/examples/minidump/Cargo.toml +++ b/rust/examples/minidump/Cargo.toml @@ -8,6 +8,5 @@ crate-type = ["cdylib"] [dependencies] binaryninja = {path="../../"} -log = "0.4.17" -minidump = "0.15.2" -time = "=0.3.16" # Remove this when we update from stable-2022-12-15 - it's pinning a dependency that requires a more recent version of rustc +log = "0.4.20" +minidump = "0.18.0" diff --git a/rust/src/lib.rs b/rust/src/lib.rs index c1ba83c7..8424cb59 100644 --- a/rust/src/lib.rs +++ b/rust/src/lib.rs @@ -35,7 +35,7 @@ //! //! > ⚠️ **These bindings are in a very early beta, only have partial support for the core APIs and are still actively under development. Compatibility _will_ break and conventions _will_ change! They are being used for core Binary Ninja features however, so we expect much of what is already there to be reliable enough to build on, just don't be surprised if your plugins/scripts need to hit a moving target.** //! -//! > ⚠️ This project runs on Rust version `stable-2022-12-15` +//! > ⚠️ This project runs on Rust version `1.76.0` //! //! --- //! |
