From ee24441ed8e233e77f9658412d6f7ca135bbbc5b Mon Sep 17 00:00:00 2001 From: Arpad Borsos Date: Mon, 16 Oct 2023 15:37:10 +0200 Subject: [PATCH 01/11] Update dependencies and fix clippy (#817) --- Cargo.lock | 213 ++++++++++----------- symbolic-debuginfo/src/function_builder.rs | 4 +- symbolic-symcache/src/lookup.rs | 2 +- 3 files changed, 104 insertions(+), 115 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 39d07687b..11c12424b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -38,9 +38,9 @@ checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" [[package]] name = "aho-corasick" -version = "1.1.1" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea5d730647d4fadd988536d06fecce94b7b4f2a7efdae548f1cf4b63205518ab" +checksum = "b2969dcb958b36655471fc61f7e416fa76033bdd4bfed0678d8fee1e2d07a1f0" dependencies = [ "memchr", ] @@ -68,9 +68,9 @@ checksum = "4b46cbb362ab8752921c97e041f5e366ee6297bd428a31275b9fcf1e380f7299" [[package]] name = "anstream" -version = "0.5.0" +version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1f58811cfac344940f1a400b6e6231ce35171f614f26439e80f8c1465c5cc0c" +checksum = "2ab91ebe16eb252986481c5b62f6098f3b698a45e34b5b98200cf20dd2484a44" dependencies = [ "anstyle", "anstyle-parse", @@ -82,15 +82,15 @@ dependencies = [ [[package]] name = "anstyle" -version = "1.0.3" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b84bf0a05bbb2a83e5eb6fa36bb6e87baa08193c35ff52bbf6b38d8af2890e46" +checksum = "7079075b41f533b8c61d2a4d073c4676e1f8b249ff94a393b0595db304e0dd87" [[package]] name = "anstyle-parse" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "938874ff5980b03a87c5524b3ae5b59cf99b1d6bc836848df7bc5ada9643c333" +checksum = "317b9a89c1868f5ea6ff1d9539a69f45dffc21ce321ac1fd1160dfa48c8e2140" dependencies = [ "utf8parse", ] @@ -106,9 +106,9 @@ dependencies = [ [[package]] name = "anstyle-wincon" -version = "2.1.0" +version = "3.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58f54d10c6dfa51283a066ceab3ec1ab78d13fae00aa49243a45e4571fb79dfd" +checksum = "f0699d10d2f4d628a98ee7b57b289abbc98ff3bad977cb3152709d4bf2330628" dependencies = [ "anstyle", "windows-sys 0.48.0", @@ -152,9 +152,9 @@ dependencies = [ [[package]] name = "async-trait" -version = "0.1.73" +version = "0.1.74" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc00ceb34980c03614e35a3a4e218276a0a824e911d07651cd0d858a51e8c0f0" +checksum = "a66537f1bb974b254c98ed142ff995236e81b9d0fe4db0575f46612cb15eb0f9" dependencies = [ "proc-macro2", "quote", @@ -205,9 +205,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" -version = "2.4.0" +version = "2.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4682ae6287fcf752ecaabbfcc7b6f9b72aa33933dc23a554d853aea8eea8635" +checksum = "327762f6e5a765692301e5bb513e0d9fef63be86bbc14528052b1cd3e6f03e07" [[package]] name = "breakpad-symbols" @@ -255,9 +255,9 @@ checksum = "7f30e7476521f6f8af1a1c4c0b8cc94f0bee37d91763d0ca2665f299b6cd8aec" [[package]] name = "byteorder" -version = "1.4.3" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" +checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "bytes" @@ -340,18 +340,18 @@ checksum = "b0fc239e0f6cb375d2402d48afb92f76f5404fd1df208a41930ec81eda078bea" [[package]] name = "clap" -version = "4.4.5" +version = "4.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "824956d0dca8334758a5b7f7e50518d66ea319330cbceedcf76905c2f6ab30e3" +checksum = "d04704f56c2cde07f43e8e2c154b43f216dc5c92fc98ada720177362f953b956" dependencies = [ "clap_builder", ] [[package]] name = "clap_builder" -version = "4.4.5" +version = "4.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "122ec64120a49b4563ccaedcbea7818d069ed8e9aa6d829b82d8a4128936b2ab" +checksum = "0e231faeaca65ebd1ea3c737966bf858971cd38c3849107aa3ea7de90a804e45" dependencies = [ "anstream", "anstyle", @@ -528,9 +528,12 @@ dependencies = [ [[package]] name = "deranged" -version = "0.3.8" +version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2696e8a945f658fd14dc3b87242e6b80cd0f36ff04ea560fa39082368847946" +checksum = "0f32d04922c60427da6f9fef14d042d9edddef64cb9d4ce0d64d0685fbeb1fd3" +dependencies = [ + "powerfmt", +] [[package]] name = "dmsort" @@ -602,25 +605,14 @@ checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" [[package]] name = "errno" -version = "0.3.3" +version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "136526188508e25c6fef639d7927dfb3e0e3084488bf202267829cf7fc23dbdd" +checksum = "ac3e13f66a2f95e32a39eaa81f6b95d42878ca0e1db0c7543723dfe12557e860" dependencies = [ - "errno-dragonfly", "libc", "windows-sys 0.48.0", ] -[[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" @@ -641,9 +633,9 @@ checksum = "25cbce373ec4653f1a01a31e8a5e5ec0c622dc27ff9c4e6606eefef5cbbed4a5" [[package]] name = "flate2" -version = "1.0.27" +version = "1.0.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6c98ee8095e9d1dcbf2fcc6d95acccb90d1c81db1e44725c6a984b1dbdfb010" +checksum = "46303f565772937ffe1d394a4fac6f411c6013172fadde9dcdb1e147a086940e" dependencies = [ "crc32fast", "miniz_oxide", @@ -658,15 +650,6 @@ dependencies = [ "percent-encoding", ] -[[package]] -name = "frame-dedupe" -version = "0.1.0" -dependencies = [ - "indexmap 1.9.3", - "serde", - "serde_json", -] - [[package]] name = "from_variant" version = "0.1.6" @@ -756,9 +739,9 @@ checksum = "eabb4a44450da02c90444cf74558da904edde8fb4e9035a9a6a4e15445af0bd7" [[package]] name = "hashbrown" -version = "0.14.0" +version = "0.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c6201b9ff9fd90a5a3bac2e56a830d0caa509576f0e503818ee82c181b3437a" +checksum = "7dfda62a12f55daeae5015f81b0baea145391cb4520f86c248fc615d72640d12" [[package]] name = "hermit-abi" @@ -813,9 +796,9 @@ checksum = "0cfe9645a18782869361d9c8732246be7b410ad4e919d3609ebabdac00ba12c3" [[package]] name = "indexmap" -version = "2.0.0" +version = "2.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d5477fe2230a79769d8dc68e0eabf5437907c0457a5614a9e8dddb67f65eb65d" +checksum = "8adf3ddd720272c6ea8bf59463c04e0f93d0bbf7c5439b691bca2987e0270897" dependencies = [ "equivalent", "hashbrown", @@ -832,9 +815,9 @@ dependencies = [ [[package]] name = "insta" -version = "1.32.0" +version = "1.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3e02c584f4595792d09509a94cdb92a3cef7592b1eb2d9877ee6f527062d0ea" +checksum = "5d64600be34b2fcfc267740a243fa7744441bb4947a619ac4e5bb6507f35fbfc" dependencies = [ "console", "lazy_static", @@ -945,9 +928,9 @@ checksum = "884e2677b40cc8c339eaefcb701c32ef1fd2493d71118dc0ca4b6a736c93bd67" [[package]] name = "libc" -version = "0.2.148" +version = "0.2.149" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9cdc71e17332e86d2e1d38c1f99edcb6288ee11b815fb1a4b049eaa2114d369b" +checksum = "a08173bc88b7955d1b3145aa561539096c421ac8debde8cbc3612ec635fee29b" [[package]] name = "linked-hash-map" @@ -957,9 +940,9 @@ checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f" [[package]] name = "linux-raw-sys" -version = "0.4.7" +version = "0.4.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a9bad9f94746442c783ca431b22403b519cd7fbeed0533fdd6328b2f2212128" +checksum = "da2479e8c062e40bf0066ffa0bc823de0a9368974af99c9f6df941d2c231e03f" [[package]] name = "lock_api" @@ -994,9 +977,9 @@ checksum = "4facc753ae494aeb6e3c22f839b158aebd4f9270f55cd3c79906c45476c47ab4" [[package]] name = "memchr" -version = "2.6.3" +version = "2.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f232d6ef707e1956a43342693d2a31e72989554d58299d7a88738cc95b0d35c" +checksum = "f665ee40bc4a3c5590afb1e9677db74a508659dfd71e126420da8274909a0167" [[package]] name = "memmap2" @@ -1050,7 +1033,7 @@ version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6b23ab3a13de24f89fa3060579288f142ac4d138d37eec8a398ba59b0ca4d577" dependencies = [ - "bitflags 2.4.0", + "bitflags 2.4.1", "debugid", "num-derive", "num-traits", @@ -1220,9 +1203,9 @@ dependencies = [ [[package]] name = "num-derive" -version = "0.4.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e6a0fd4f737c707bd9086cc16c925f294943eb62eb71499e9fd4cf71f8b9f4e" +checksum = "cfb77679af88f8b125209d354a202862602672222e7f2313fdd6dc349bad4712" dependencies = [ "proc-macro2", "quote", @@ -1241,9 +1224,9 @@ dependencies = [ [[package]] name = "num-traits" -version = "0.2.16" +version = "0.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f30b0abd723be7e2ffca1272140fac1a2f084c77ec3e123c192b66af1ee9e6c2" +checksum = "39e3200413f237f41ab11ad6d161bc7239c84dcb631773ccd7de3dfe4b5c267c" dependencies = [ "autocfg", ] @@ -1438,6 +1421,12 @@ dependencies = [ "syn", ] +[[package]] +name = "powerfmt" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" + [[package]] name = "ppv-lite86" version = "0.2.17" @@ -1452,9 +1441,9 @@ checksum = "925383efa346730478fb4838dbe9137d2a47675ad789c546d150a6e1dd4ab31c" [[package]] name = "proc-macro2" -version = "1.0.67" +version = "1.0.69" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d433d9f1a3e8c1263d9456598b16fec66f4acc9a74dacffd35c7bb09b3a1328" +checksum = "134c189feb4956b20f6f547d2cf727d4c0fe06722b20a0eec87ed445a97f92da" dependencies = [ "unicode-ident", ] @@ -1577,14 +1566,14 @@ dependencies = [ [[package]] name = "regex" -version = "1.9.5" +version = "1.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "697061221ea1b4a94a624f67d0ae2bfe4e22b8a17b6a192afb11046542cc8c47" +checksum = "aaac441002f822bc9705a681810a4dd2963094b9ca0ddc41cb963a4c189189ea" dependencies = [ "aho-corasick", "memchr", - "regex-automata 0.3.8", - "regex-syntax 0.7.5", + "regex-automata 0.4.2", + "regex-syntax 0.8.2", ] [[package]] @@ -1598,13 +1587,13 @@ dependencies = [ [[package]] name = "regex-automata" -version = "0.3.8" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2f401f4955220693b56f8ec66ee9c78abffd8d1c4f23dc41a23839eb88f0795" +checksum = "5011c7e263a695dc8ca064cddb722af1be54e517a280b12a5356f98366899e5d" dependencies = [ "aho-corasick", "memchr", - "regex-syntax 0.7.5", + "regex-syntax 0.8.2", ] [[package]] @@ -1615,9 +1604,9 @@ checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" [[package]] name = "regex-syntax" -version = "0.7.5" +version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dbb5fb1acd8a1a18b3dd5be62d25485eb770e05afb408a9627d14d451bae12da" +checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f" [[package]] name = "rustc-demangle" @@ -1642,11 +1631,11 @@ dependencies = [ [[package]] name = "rustix" -version = "0.38.14" +version = "0.38.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "747c788e9ce8e92b12cd485c49ddf90723550b654b32508f979b71a7b1ecda4f" +checksum = "745ecfa778e66b2b63c88a61cb36e0eea109e803b0b86bf9879fbc77c70e86ed" dependencies = [ - "bitflags 2.4.0", + "bitflags 2.4.1", "errno", "libc", "linux-raw-sys", @@ -1711,9 +1700,9 @@ dependencies = [ [[package]] name = "semver" -version = "1.0.19" +version = "1.0.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad977052201c6de01a8ef2aa3378c4bd23217a056337d1d6da40468d267a4fb0" +checksum = "836fa6a3e1e547f9a2c4040802ec865b5d85f4014efe00555d7090a3dcaa1090" [[package]] name = "semver-parser" @@ -1723,18 +1712,18 @@ checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" [[package]] name = "serde" -version = "1.0.188" +version = "1.0.189" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf9e0fcba69a370eed61bcf2b728575f726b50b55cba78064753d708ddc7549e" +checksum = "8e422a44e74ad4001bdc8eede9a4570ab52f71190e9c076d14369f38b9200537" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.188" +version = "1.0.189" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4eca7ac642d82aa35b60049a6eccb4be6be75e599bd2e9adb5f875a737654af2" +checksum = "1e48d1f918009ce3145511378cf68d613e3b3d9137d67272562080d68a2b32d5" dependencies = [ "proc-macro2", "quote", @@ -1760,9 +1749,9 @@ checksum = "ae1a47186c03a32177042e55dbc5fd5aee900b8e0069a8d70fba96a9375cd012" [[package]] name = "sharded-slab" -version = "0.1.4" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "900fba806f70c630b0a382d0d825e17a0f19fcd059a2ade1ff237bcddf446b31" +checksum = "f40ca3c46823713e0d4209592e8d6e826aa57e928f09752619fc696c499637f6" dependencies = [ "lazy_static", ] @@ -1789,9 +1778,9 @@ dependencies = [ [[package]] name = "similar" -version = "2.2.1" +version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "420acb44afdae038210c99e69aae24109f32f15500aa708e81d46c9f29d55fcf" +checksum = "2aeaf503862c419d66959f5d7ca015337d864e9c49485d771b732e2a20453597" dependencies = [ "bstr", "unicode-segmentation", @@ -1963,9 +1952,9 @@ dependencies = [ [[package]] name = "swc_common" -version = "0.32.1" +version = "0.32.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c84742fc22df1c293da5354c1cc8a5b45a045e9dc941005c1fd9cb4e9bdabc1" +checksum = "0eef62cc9409135ad6770ca4d52aa443ee8367d5322a5c7cab4c0eb96644a6ee" dependencies = [ "ast_node", "better_scoped_tls", @@ -1989,11 +1978,11 @@ dependencies = [ [[package]] name = "swc_ecma_ast" -version = "0.109.1" +version = "0.109.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e063a1614daed3ea8be56e5dd8edb17003409088d2fc9ce4aca3378879812607" +checksum = "1df3fdd0752abca14a106322b4db96f954274adfb1fbef387866691ea4bc6fe4" dependencies = [ - "bitflags 2.4.0", + "bitflags 2.4.1", "is-macro", "num-bigint", "scoped-tls", @@ -2005,9 +1994,9 @@ dependencies = [ [[package]] name = "swc_ecma_parser" -version = "0.140.0" +version = "0.140.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c968599841fcecfdc2e490188ad93251897a1bb912882547e6889e14a368399" +checksum = "316c11593fc4f52a81446fae0e1f1d32836c00f546eb80405024c04cd5f8bec6" dependencies = [ "either", "num-bigint", @@ -2025,9 +2014,9 @@ dependencies = [ [[package]] name = "swc_ecma_visit" -version = "0.95.1" +version = "0.95.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2774848b306e17fa280c598ecb192cc2c72a1163942b02d48606514336e9e7c5" +checksum = "2decba8d98d8ecb241e3a75df568bb3818c657adeef7bc2025335a1efbd92d60" dependencies = [ "num-bigint", "swc_atoms", @@ -2275,9 +2264,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.37" +version = "2.0.38" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7303ef2c05cd654186cb250d29049a24840ca25d2747c25c0381c8d9e2f582e8" +checksum = "e96b79aaa137db8f61e26363a0c9b47d8b4ec75da28b7d1d614c2303e232408b" dependencies = [ "proc-macro2", "quote", @@ -2329,12 +2318,13 @@ dependencies = [ [[package]] name = "time" -version = "0.3.29" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "426f806f4089c493dcac0d24c29c01e2c38baf8e30f1b716ee37e83d200b18fe" +checksum = "c4a34ab300f2dee6e562c10a046fc05e358b29f9bf92277f30c3c8d82275f6f5" dependencies = [ "deranged", "itoa", + "powerfmt", "serde", "time-core", "time-macros", @@ -2382,9 +2372,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.32.0" +version = "1.33.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17ed6077ed6cd6c74735e21f37eb16dc3935f96878b1fe961074089cc80893f9" +checksum = "4f38200e3ef7995e5ef13baec2f432a6da0aa9ac495b2c0e8f3b7eec2c92d653" dependencies = [ "backtrace", "pin-project-lite", @@ -2404,11 +2394,10 @@ dependencies = [ [[package]] name = "tracing" -version = "0.1.37" +version = "0.1.39" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ce8c33a8d48bd45d624a6e523445fd21ec13d3653cd51f681abf67418f54eb8" +checksum = "ee2ef2af84856a50c1d430afce2fdded0a4ec7eda868db86409b4543df0797f9" dependencies = [ - "cfg-if", "log", "pin-project-lite", "tracing-attributes", @@ -2417,9 +2406,9 @@ dependencies = [ [[package]] name = "tracing-attributes" -version = "0.1.26" +version = "0.1.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f4f31f56159e98206da9efd823404b79b6ef3143b4a7ab76e67b1751b25a4ab" +checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ "proc-macro2", "quote", @@ -2428,9 +2417,9 @@ dependencies = [ [[package]] name = "tracing-core" -version = "0.1.31" +version = "0.1.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0955b8137a1df6f1a2e9a37d8a6656291ff0297c1a97c24e0d8425fe2312f79a" +checksum = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54" dependencies = [ "once_cell", "valuable", @@ -2638,12 +2627,12 @@ checksum = "ca6ad05a4870b2bf5fe995117d3728437bd27d7cd5f06f13c17443ef369775a1" [[package]] name = "wasmparser" -version = "0.113.2" +version = "0.113.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fd0d44fab0bd78404e352f3399324eef76516a4580b52bc9031c60f064e98f3" +checksum = "286049849b5a5bd09a8773171be96824afabffc7cc3df6caaf33a38db6cd07ae" dependencies = [ "indexmap", - "semver 1.0.19", + "semver 1.0.20", ] [[package]] diff --git a/symbolic-debuginfo/src/function_builder.rs b/symbolic-debuginfo/src/function_builder.rs index 169e1c7e6..af1ff4fd7 100644 --- a/symbolic-debuginfo/src/function_builder.rs +++ b/symbolic-debuginfo/src/function_builder.rs @@ -1,4 +1,4 @@ -//! Contains [`FunctionBuilder`], which can be used to create a [`Function`](crate::base::Function) +//! Contains [`FunctionBuilder`], which can be used to create a [`Function`] //! with inlinees and line records in the right structure. use std::{cmp::Reverse, collections::BinaryHeap}; @@ -239,7 +239,7 @@ struct FunctionBuilderInlinee<'s> { /// Implement ordering in DFS order, i.e. first by address and then by depth. impl<'s> PartialOrd for FunctionBuilderInlinee<'s> { fn partial_cmp(&self, other: &Self) -> Option { - (self.address, self.depth).partial_cmp(&(other.address, other.depth)) + Some(self.cmp(other)) } } diff --git a/symbolic-symcache/src/lookup.rs b/symbolic-symcache/src/lookup.rs index cc563536d..e7635d750 100644 --- a/symbolic-symcache/src/lookup.rs +++ b/symbolic-symcache/src/lookup.rs @@ -21,7 +21,7 @@ impl<'data> SymCache<'data> { let source_location_start = (self.source_locations.len() - self.ranges.len()) as u32; let mut source_location_idx = match self.ranges.binary_search_by_key(&addr, |r| r.0) { Ok(idx) => source_location_start + idx as u32, - Err(idx) if idx == 0 => u32::MAX, + Err(0) => u32::MAX, Err(idx) => source_location_start + idx as u32 - 1, }; From 79eb75b60c739ae892835dba1049b1e10304723d Mon Sep 17 00:00:00 2001 From: Arpad Borsos Date: Tue, 24 Oct 2023 12:36:36 +0200 Subject: [PATCH 02/11] Update proguard and add `remap_method` fn (#818) This function allows best-effort remapping of classes and methods without line info. --- CHANGELOG.md | 4 ++++ Cargo.lock | 4 ++-- py/symbolic/proguard.py | 19 ++++++++++++++++++ py/tests/test_proguard.py | 5 +++++ symbolic-cabi/Cargo.toml | 4 ++-- symbolic-cabi/include/symbolic.h | 9 ++++++++- symbolic-cabi/src/proguard.rs | 33 ++++++++++++++++++++++++++++++++ symbolic-common/Cargo.toml | 3 +-- symbolic/Cargo.toml | 2 +- symbolic/README.md | 2 -- symbolic/src/lib.rs | 2 +- 11 files changed, 76 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fb9eb9f82..b4e1e4b29 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ - Emit a MODULE record for PE files ([#814](https://github.com/getsentry/symbolic/pull/814)) +**Features** + +- Update proguard and add `remap_method` fn ([#818](https://github.com/getsentry/symbolic/pull/818)) + ## 12.4.1 **Fixes** diff --git a/Cargo.lock b/Cargo.lock index 11c12424b..0168869e8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1450,9 +1450,9 @@ dependencies = [ [[package]] name = "proguard" -version = "5.0.2" +version = "5.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "98cbb571529b37a9001d7ecc050983191399270c42b6c1293d43da748f281c23" +checksum = "1766d401c716ab2d5ddc832468b420e4c51e37c4491ea94fd856ef652664a8d3" dependencies = [ "lazy_static", "uuid", diff --git a/py/symbolic/proguard.py b/py/symbolic/proguard.py index f0490bd7f..a2c04fb3c 100644 --- a/py/symbolic/proguard.py +++ b/py/symbolic/proguard.py @@ -1,4 +1,5 @@ from __future__ import annotations +from typing import Tuple import uuid as uuid_mod @@ -55,6 +56,24 @@ def remap_class(self, klass: str) -> str | None: ) return decode_str(klass, free=True) or None + def remap_method(self, klass: str, method: str) -> Tuple[str, str] | None: + """Remaps the given class name.""" + result = self._methodcall( + lib.symbolic_proguardmapper_remap_method, + encode_str(klass), + encode_str(method), + ) + + try: + output = ( + decode_str(result.frames[0].class_name, free=False), + decode_str(result.frames[0].method, free=False), + ) + finally: + rustcall(lib.symbolic_proguardmapper_result_free, ffi.addressof(result)) + + return output if len(output[0]) > 0 and len(output[1]) > 0 else None + def remap_frame(self, klass: str, method: str, line: int) -> list[JavaStackFrame]: """Remaps the stackframe, given its class, method and line.""" result = self._methodcall( diff --git a/py/tests/test_proguard.py b/py/tests/test_proguard.py index 0fcf6be3e..1b92d6b31 100644 --- a/py/tests/test_proguard.py +++ b/py/tests/test_proguard.py @@ -13,6 +13,11 @@ def test_mapper(res_path): == "android.support.constraint.ConstraintLayout$LayoutParams" ) + assert mapper.remap_method("android.support.constraint.a.b", "f") == ( + "android.support.constraint.solver.ArrayRow", + "pickRowVariable", + ) + remapped = mapper.remap_frame("android.support.constraint.a.b", "a", 116) assert len(remapped) == 1 assert remapped[0].class_name == "android.support.constraint.solver.ArrayRow" diff --git a/symbolic-cabi/Cargo.toml b/symbolic-cabi/Cargo.toml index a3e9ce02e..640e781ce 100644 --- a/symbolic-cabi/Cargo.toml +++ b/symbolic-cabi/Cargo.toml @@ -10,7 +10,7 @@ homepage = "https://github.com/getsentry/symbolic" repository = "https://github.com/getsentry/symbolic" description = """ C interface wrapper for symbolic, a library to symbolicate and process stack -traces from native applications, minidumps, minified JavaScripts or ProGuard +traces from native applications, minidumps, minified JavaScript or ProGuard optimized Android apps. """ edition = "2021" @@ -20,7 +20,7 @@ publish = false crate-type = ["cdylib"] [dependencies] -proguard = { version = "5.0.2", features = ["uuid"] } +proguard = { version = "5.1.0", features = ["uuid"] } sourcemap = "7.0.0" symbolic = { version = "12.4.1", path = "../symbolic", features = ["cfi", "debuginfo", "sourcemapcache", "symcache"] } tempfile = "3.4.0" diff --git a/symbolic-cabi/include/symbolic.h b/symbolic-cabi/include/symbolic.h index ed218f7d4..fa739693d 100644 --- a/symbolic-cabi/include/symbolic.h +++ b/symbolic-cabi/include/symbolic.h @@ -3,7 +3,7 @@ #ifndef SYMBOLIC_H_INCLUDED #define SYMBOLIC_H_INCLUDED -/* Generated with cbindgen:0.24.3 */ +/* Generated with cbindgen:0.24.5 */ /* Warning, this file is autogenerated. Do not modify this manually. */ @@ -520,6 +520,13 @@ struct SymbolicProguardRemapResult symbolic_proguardmapper_remap_frame(const str struct SymbolicStr symbolic_proguardmapper_remap_class(const struct SymbolicProguardMapper *mapper, const struct SymbolicStr *class_); +/** + * Remaps a class name. + */ +struct SymbolicProguardRemapResult symbolic_proguardmapper_remap_method(const struct SymbolicProguardMapper *mapper, + const struct SymbolicStr *class_, + const struct SymbolicStr *method); + /** * Returns the UUID of a proguard mapping file. */ diff --git a/symbolic-cabi/src/proguard.rs b/symbolic-cabi/src/proguard.rs index 66bde8809..3d3b627fe 100644 --- a/symbolic-cabi/src/proguard.rs +++ b/symbolic-cabi/src/proguard.rs @@ -117,6 +117,39 @@ ffi_fn! { } } +ffi_fn! { + /// Remaps a class name. + unsafe fn symbolic_proguardmapper_remap_method( + mapper: *const SymbolicProguardMapper, + class: *const SymbolicStr, + method: *const SymbolicStr, + ) -> Result { + let mapper = &SymbolicProguardMapper::as_rust(mapper).inner.get().mapper; + + let class = (*class).as_str(); + let method = (*method).as_str(); + + let (remapped_class, remapped_method) = + mapper.remap_method(class, method).unwrap_or_default(); + + let mut frames = vec![SymbolicJavaStackFrame { + class_name: remapped_class.to_owned().into(), + method: remapped_method.to_owned().into(), + file: "".to_owned().into(), + line: 0, + }]; + + frames.shrink_to_fit(); + let rv = SymbolicProguardRemapResult { + frames: frames.as_mut_ptr(), + len: frames.len(), + }; + std::mem::forget(frames); + + Ok(rv) + } +} + ffi_fn! { /// Returns the UUID of a proguard mapping file. unsafe fn symbolic_proguardmapper_get_uuid( diff --git a/symbolic-common/Cargo.toml b/symbolic-common/Cargo.toml index 1cf2930bb..12336017b 100644 --- a/symbolic-common/Cargo.toml +++ b/symbolic-common/Cargo.toml @@ -12,8 +12,7 @@ repository = "https://github.com/getsentry/symbolic" readme = "README.md" description = """ Common types and utilities for symbolic, a library to symbolicate and process -stack traces from native applications, minidumps, minified JavaScripts or -ProGuard optimized Android apps. +stack traces from native applications, minidumps or minified JavaScript. """ edition = "2021" diff --git a/symbolic/Cargo.toml b/symbolic/Cargo.toml index a657096d7..b07f37ce1 100644 --- a/symbolic/Cargo.toml +++ b/symbolic/Cargo.toml @@ -12,7 +12,7 @@ repository = "https://github.com/getsentry/symbolic" readme = "README.md" description = """ A library to symbolicate and process stack traces from native applications, -minidumps, Unreal Engine 4, minified JavaScripts or ProGuard optimized Android apps. +minidumps, Unreal Engine 4 or minified JavaScript. """ edition = "2021" diff --git a/symbolic/README.md b/symbolic/README.md index bc4ca275f..6a70955ac 100644 --- a/symbolic/README.md +++ b/symbolic/README.md @@ -26,7 +26,6 @@ Symbolic provides the following functionality: - Basic token mapping - Heuristics to find original function names based on minified sources - Indexed sourcemap to sourcemap merging -- Proguard function mappings - Minidump / Breakpad processing - Generate Breakpad symbol files from Mach, ELF and PDBs - Process Minidumps to retrieve stack traces @@ -48,7 +47,6 @@ of the features: - **`minidump`**: Rust bindings for the Breakpad Minidump processor. Additionally, this includes facilities to extract stack unwinding information (sometimes called CFI) from object files. This feature requires a C++11 compiler on the PATH. -- **`proguard`**: Processing of Proguard mapping files to look up mangled Java function paths. - **`sourcemap`**: Processing and expansion of JavaScript source maps, as well as lookups for minified function names. - **`symcache`**: An optimized, platform-independent storage for common debugging information. diff --git a/symbolic/src/lib.rs b/symbolic/src/lib.rs index 4e84bf8d8..45f60450c 100644 --- a/symbolic/src/lib.rs +++ b/symbolic/src/lib.rs @@ -18,7 +18,7 @@ //! - Objective C / Objective C++ //! - Rust //! - Swift -//! - JavaScript sourcemap expansion (vie `symbolic-cabi` only, use `sourcemap` crate instead) +//! - JavaScript sourcemap expansion (via `symbolic-cabi` only, use `sourcemap` crate instead) //! - Proguard function mappings (via `symbolic-cabi` only, use `proguard` crate instead) //! - Breakpad processing //! - Generate Breakpad symbol files from Mach, ELF and PDBs From 8cf4140d7df46cadae214e1ca74d209870811aa6 Mon Sep 17 00:00:00 2001 From: getsentry-bot Date: Tue, 24 Oct 2023 10:42:52 +0000 Subject: [PATCH 03/11] release: 12.5.0 --- CHANGELOG.md | 2 +- examples/addr2line/Cargo.toml | 2 +- examples/debuginfo_debug/Cargo.toml | 2 +- examples/dump_cfi/Cargo.toml | 2 +- examples/dump_sources/Cargo.toml | 2 +- examples/minidump_stackwalk/Cargo.toml | 2 +- examples/object_debug/Cargo.toml | 2 +- examples/sourcemapcache_debug/Cargo.toml | 2 +- examples/symcache_debug/Cargo.toml | 2 +- examples/unreal_engine_crash/Cargo.toml | 2 +- symbolic-cabi/Cargo.toml | 4 ++-- symbolic-cfi/Cargo.toml | 6 +++--- symbolic-common/Cargo.toml | 2 +- symbolic-debuginfo/Cargo.toml | 6 +++--- symbolic-debuginfo/fuzz/Cargo.toml | 2 +- symbolic-demangle/Cargo.toml | 4 ++-- symbolic-il2cpp/Cargo.toml | 6 +++--- symbolic-ppdb/Cargo.toml | 4 ++-- symbolic-ppdb/fuzz/Cargo.toml | 2 +- symbolic-sourcemapcache/Cargo.toml | 4 ++-- symbolic-symcache/Cargo.toml | 8 ++++---- symbolic-testutils/Cargo.toml | 2 +- symbolic-unreal/Cargo.toml | 2 +- symbolic/Cargo.toml | 20 ++++++++++---------- 24 files changed, 46 insertions(+), 46 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b4e1e4b29..833eca5b5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## Unreleased +## 12.5.0 **Internal** diff --git a/examples/addr2line/Cargo.toml b/examples/addr2line/Cargo.toml index ac2013d43..dee980e9f 100644 --- a/examples/addr2line/Cargo.toml +++ b/examples/addr2line/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "addr2line" -version = "12.4.1" +version = "12.5.0" authors = ["Jan Michael Auer "] edition = "2021" publish = false diff --git a/examples/debuginfo_debug/Cargo.toml b/examples/debuginfo_debug/Cargo.toml index b59c101e7..04f9d0547 100644 --- a/examples/debuginfo_debug/Cargo.toml +++ b/examples/debuginfo_debug/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "debuginfo_debug" -version = "12.4.1" +version = "12.5.0" authors = ["Markus Stange "] edition = "2021" publish = false diff --git a/examples/dump_cfi/Cargo.toml b/examples/dump_cfi/Cargo.toml index 62ad70972..6fe1ea00f 100644 --- a/examples/dump_cfi/Cargo.toml +++ b/examples/dump_cfi/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dump_cfi" -version = "12.4.1" +version = "12.5.0" authors = ["Jan Michael Auer "] edition = "2021" publish = false diff --git a/examples/dump_sources/Cargo.toml b/examples/dump_sources/Cargo.toml index 9de46689e..12218fc88 100644 --- a/examples/dump_sources/Cargo.toml +++ b/examples/dump_sources/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dump_sources" -version = "12.4.1" +version = "12.5.0" authors = ["Jan Michael Auer "] edition = "2021" publish = false diff --git a/examples/minidump_stackwalk/Cargo.toml b/examples/minidump_stackwalk/Cargo.toml index 6fe7fbe74..0f11fd984 100644 --- a/examples/minidump_stackwalk/Cargo.toml +++ b/examples/minidump_stackwalk/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "minidump_stackwalk" -version = "12.4.1" +version = "12.5.0" authors = ["Jan Michael Auer "] edition = "2021" publish = false diff --git a/examples/object_debug/Cargo.toml b/examples/object_debug/Cargo.toml index 4375c47f9..237dc8b82 100644 --- a/examples/object_debug/Cargo.toml +++ b/examples/object_debug/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "object_debug" -version = "12.4.1" +version = "12.5.0" authors = ["Jan Michael Auer "] edition = "2021" publish = false diff --git a/examples/sourcemapcache_debug/Cargo.toml b/examples/sourcemapcache_debug/Cargo.toml index 7cc2f59a5..8a112eb1a 100644 --- a/examples/sourcemapcache_debug/Cargo.toml +++ b/examples/sourcemapcache_debug/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sourcemapcache_debug" -version = "12.4.1" +version = "12.5.0" authors = ["Sentry "] edition = "2021" publish = false diff --git a/examples/symcache_debug/Cargo.toml b/examples/symcache_debug/Cargo.toml index 9fdade872..84e8f57da 100644 --- a/examples/symcache_debug/Cargo.toml +++ b/examples/symcache_debug/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symcache_debug" -version = "12.4.1" +version = "12.5.0" authors = ["Jan Michael Auer "] edition = "2021" publish = false diff --git a/examples/unreal_engine_crash/Cargo.toml b/examples/unreal_engine_crash/Cargo.toml index d784f46fd..481ff2e80 100644 --- a/examples/unreal_engine_crash/Cargo.toml +++ b/examples/unreal_engine_crash/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "unreal_engine_crash" -version = "12.4.1" +version = "12.5.0" authors = ["Jan Michael Auer "] edition = "2021" publish = false diff --git a/symbolic-cabi/Cargo.toml b/symbolic-cabi/Cargo.toml index 640e781ce..8ea5437ef 100644 --- a/symbolic-cabi/Cargo.toml +++ b/symbolic-cabi/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-cabi" -version = "12.4.1" +version = "12.5.0" license = "MIT" authors = [ "Armin Ronacher ", @@ -22,5 +22,5 @@ crate-type = ["cdylib"] [dependencies] proguard = { version = "5.1.0", features = ["uuid"] } sourcemap = "7.0.0" -symbolic = { version = "12.4.1", path = "../symbolic", features = ["cfi", "debuginfo", "sourcemapcache", "symcache"] } +symbolic = { version = "12.5.0", path = "../symbolic", features = ["cfi", "debuginfo", "sourcemapcache", "symcache"] } tempfile = "3.4.0" diff --git a/symbolic-cfi/Cargo.toml b/symbolic-cfi/Cargo.toml index 25f8421d4..582e65686 100644 --- a/symbolic-cfi/Cargo.toml +++ b/symbolic-cfi/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-cfi" -version = "12.4.1" +version = "12.5.0" license = "MIT" authors = [ "Armin Ronacher ", @@ -15,8 +15,8 @@ A library to process call frame information edition = "2021" [dependencies] -symbolic-common = { version = "12.4.1", path = "../symbolic-common" } -symbolic-debuginfo = { version = "12.4.1", path = "../symbolic-debuginfo" } +symbolic-common = { version = "12.5.0", path = "../symbolic-common" } +symbolic-debuginfo = { version = "12.5.0", path = "../symbolic-debuginfo" } thiserror = "1.0.39" [dev-dependencies] diff --git a/symbolic-common/Cargo.toml b/symbolic-common/Cargo.toml index 12336017b..c58646fc3 100644 --- a/symbolic-common/Cargo.toml +++ b/symbolic-common/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-common" -version = "12.4.1" +version = "12.5.0" license = "MIT" authors = [ "Armin Ronacher ", diff --git a/symbolic-debuginfo/Cargo.toml b/symbolic-debuginfo/Cargo.toml index 7bbfd43f1..931f38d1f 100644 --- a/symbolic-debuginfo/Cargo.toml +++ b/symbolic-debuginfo/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-debuginfo" -version = "12.4.1" +version = "12.5.0" license = "MIT" authors = [ "Armin Ronacher ", @@ -99,8 +99,8 @@ scroll = { version = "0.11.0", optional = true } serde = { version = "1.0.154", features = ["derive"] } serde_json = { version = "1.0.94", optional = true } 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 } +symbolic-common = { version = "12.5.0", path = "../symbolic-common" } +symbolic-ppdb = { version = "12.5.0", path = "../symbolic-ppdb", optional = true } thiserror = "1.0.39" wasmparser = { version = "0.113.2", optional = true } zip = { version = "0.6.4", optional = true, default-features = false, features = ["deflate"] } diff --git a/symbolic-debuginfo/fuzz/Cargo.toml b/symbolic-debuginfo/fuzz/Cargo.toml index 7ff7aa87c..2c2938388 100644 --- a/symbolic-debuginfo/fuzz/Cargo.toml +++ b/symbolic-debuginfo/fuzz/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-debuginfo-fuzz" -version = "12.4.1" +version = "12.5.0" authors = ["Automatically generated"] publish = false edition = "2021" diff --git a/symbolic-demangle/Cargo.toml b/symbolic-demangle/Cargo.toml index 0efe39a56..54d122fb8 100644 --- a/symbolic-demangle/Cargo.toml +++ b/symbolic-demangle/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-demangle" -version = "12.4.1" +version = "12.5.0" license = "MIT" authors = [ "Armin Ronacher ", @@ -34,7 +34,7 @@ swift = ["cc"] cpp_demangle = { version = "0.4.1", optional = true } msvc-demangler = { version = "0.9.0", optional = true } rustc-demangle = { version = "0.1.21", optional = true } -symbolic-common = { version = "12.4.1", path = "../symbolic-common" } +symbolic-common = { version = "12.5.0", path = "../symbolic-common" } [build-dependencies] cc = { version = "1.0.79", optional = true } diff --git a/symbolic-il2cpp/Cargo.toml b/symbolic-il2cpp/Cargo.toml index c187d197b..2061ef290 100644 --- a/symbolic-il2cpp/Cargo.toml +++ b/symbolic-il2cpp/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-il2cpp" -version = "12.4.1" +version = "12.5.0" license = "MIT" authors = ["Sentry "] documentation = "https://docs.rs/symbolic-il2cpp" @@ -14,5 +14,5 @@ edition = "2021" [dependencies] indexmap = "2.0.0" serde_json = "1.0.94" -symbolic-common = { version = "12.4.1", path = "../symbolic-common" } -symbolic-debuginfo = { version = "12.4.1", path = "../symbolic-debuginfo" } +symbolic-common = { version = "12.5.0", path = "../symbolic-common" } +symbolic-debuginfo = { version = "12.5.0", path = "../symbolic-debuginfo" } diff --git a/symbolic-ppdb/Cargo.toml b/symbolic-ppdb/Cargo.toml index 9c69e148b..bf854eb9b 100644 --- a/symbolic-ppdb/Cargo.toml +++ b/symbolic-ppdb/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-ppdb" -version = "12.4.1" +version = "12.5.0" license = "MIT" authors = [ "Sebastian Zivota ", @@ -21,7 +21,7 @@ all-features = true [dependencies] indexmap = "2.0.0" -symbolic-common = { version = "12.4.1", path = "../symbolic-common" } +symbolic-common = { version = "12.5.0", path = "../symbolic-common" } watto = { version = "0.1.0", features = ["writer", "strings"] } thiserror = "1.0.39" uuid = "1.3.0" diff --git a/symbolic-ppdb/fuzz/Cargo.toml b/symbolic-ppdb/fuzz/Cargo.toml index 24aaac66b..f0b23ef2b 100644 --- a/symbolic-ppdb/fuzz/Cargo.toml +++ b/symbolic-ppdb/fuzz/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-ppdb-fuzz" -version = "12.4.1" +version = "12.5.0" authors = ["Automatically generated"] publish = false edition = "2021" diff --git a/symbolic-sourcemapcache/Cargo.toml b/symbolic-sourcemapcache/Cargo.toml index 0e9ed67d6..5bf908acc 100644 --- a/symbolic-sourcemapcache/Cargo.toml +++ b/symbolic-sourcemapcache/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-sourcemapcache" -version = "12.4.1" +version = "12.5.0" license = "MIT" authors = ["Sentry "] documentation = "https://docs.rs/symbolic-sourcemapcache" @@ -15,7 +15,7 @@ edition = "2021" itertools = "0.11.0" js-source-scopes = "0.4.0" sourcemap = "7.0.0" -symbolic-common = { version = "12.4.1", path = "../symbolic-common" } +symbolic-common = { version = "12.5.0", path = "../symbolic-common" } thiserror = "1.0.39" tracing = "0.1.37" watto = { version = "0.1.0", features = ["writer", "strings"] } diff --git a/symbolic-symcache/Cargo.toml b/symbolic-symcache/Cargo.toml index 33354acce..a36a8b21d 100644 --- a/symbolic-symcache/Cargo.toml +++ b/symbolic-symcache/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-symcache" -version = "12.4.1" +version = "12.5.0" license = "MIT" authors = [ "Armin Ronacher ", @@ -23,9 +23,9 @@ exclude = [ all-features = true [dependencies] -symbolic-common = { version = "12.4.1", path = "../symbolic-common" } -symbolic-debuginfo = { version = "12.4.1", path = "../symbolic-debuginfo" } -symbolic-il2cpp = { version = "12.4.1", path = "../symbolic-il2cpp", optional = true } +symbolic-common = { version = "12.5.0", path = "../symbolic-common" } +symbolic-debuginfo = { version = "12.5.0", path = "../symbolic-debuginfo" } +symbolic-il2cpp = { version = "12.5.0", path = "../symbolic-il2cpp", optional = true } thiserror = "1.0.39" indexmap = "2.0.0" tracing = "0.1.37" diff --git a/symbolic-testutils/Cargo.toml b/symbolic-testutils/Cargo.toml index a00090f7a..0629241da 100644 --- a/symbolic-testutils/Cargo.toml +++ b/symbolic-testutils/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-testutils" -version = "12.4.1" +version = "12.5.0" license = "MIT" edition = "2021" publish = false diff --git a/symbolic-unreal/Cargo.toml b/symbolic-unreal/Cargo.toml index a0a27be50..6da52c01e 100644 --- a/symbolic-unreal/Cargo.toml +++ b/symbolic-unreal/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-unreal" -version = "12.4.1" +version = "12.5.0" license = "MIT" authors = [ "Armin Ronacher ", diff --git a/symbolic/Cargo.toml b/symbolic/Cargo.toml index b07f37ce1..6f8fce5df 100644 --- a/symbolic/Cargo.toml +++ b/symbolic/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic" -version = "12.4.1" +version = "12.5.0" license = "MIT" authors = [ "Armin Ronacher ", @@ -34,12 +34,12 @@ unreal = ["symbolic-unreal"] unreal-serde = ["unreal", "common-serde", "symbolic-unreal/serde"] [dependencies] -symbolic-cfi = { version = "12.4.1", path = "../symbolic-cfi", optional = true } -symbolic-common = { version = "12.4.1", path = "../symbolic-common" } -symbolic-debuginfo = { version = "12.4.1", path = "../symbolic-debuginfo", optional = true } -symbolic-demangle = { version = "12.4.1", path = "../symbolic-demangle", optional = true } -symbolic-il2cpp = { version = "12.4.1", path = "../symbolic-il2cpp", optional = true } -symbolic-ppdb = { version = "12.4.1", path = "../symbolic-ppdb", optional = true } -symbolic-sourcemapcache = { version = "12.4.1", path = "../symbolic-sourcemapcache", optional = true } -symbolic-symcache = { version = "12.4.1", path = "../symbolic-symcache", optional = true } -symbolic-unreal = { version = "12.4.1", path = "../symbolic-unreal", optional = true } +symbolic-cfi = { version = "12.5.0", path = "../symbolic-cfi", optional = true } +symbolic-common = { version = "12.5.0", path = "../symbolic-common" } +symbolic-debuginfo = { version = "12.5.0", path = "../symbolic-debuginfo", optional = true } +symbolic-demangle = { version = "12.5.0", path = "../symbolic-demangle", optional = true } +symbolic-il2cpp = { version = "12.5.0", path = "../symbolic-il2cpp", optional = true } +symbolic-ppdb = { version = "12.5.0", path = "../symbolic-ppdb", optional = true } +symbolic-sourcemapcache = { version = "12.5.0", path = "../symbolic-sourcemapcache", optional = true } +symbolic-symcache = { version = "12.5.0", path = "../symbolic-symcache", optional = true } +symbolic-unreal = { version = "12.5.0", path = "../symbolic-unreal", optional = true } From 8e51b6e016e5fdb7373c0d45726863c747509fc1 Mon Sep 17 00:00:00 2001 From: Francesco Vigliaturo Date: Mon, 13 Nov 2023 17:01:08 +0100 Subject: [PATCH 04/11] ref: refactor rust bindings to support optional parameters for StackFrame (#820) * Refactor rust bindings to support optional parameters for StackFrame --- CHANGELOG.md | 8 ++++++ Cargo.lock | 46 ++++++++++++++++---------------- py/symbolic/proguard.py | 13 +++++++-- symbolic-cabi/Cargo.toml | 2 +- symbolic-cabi/include/symbolic.h | 6 +++-- symbolic-cabi/src/proguard.rs | 10 ++++++- 6 files changed, 56 insertions(+), 29 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 833eca5b5..cd880c77c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +**Internal** + +**Features** + +- Add support for `parameters` param in the `remap_frame` to allow deobfuscation when line is not available ([#820](https://github.com/getsentry/symbolic/pull/820)) + +**Fixes** + ## 12.5.0 **Internal** diff --git a/Cargo.lock b/Cargo.lock index 0168869e8..8e1192d12 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -23,7 +23,7 @@ dependencies = [ [[package]] name = "addr2line" -version = "12.4.1" +version = "12.5.0" dependencies = [ "anyhow", "clap", @@ -519,7 +519,7 @@ dependencies = [ [[package]] name = "debuginfo_debug" -version = "12.4.1" +version = "12.5.0" dependencies = [ "anyhow", "clap", @@ -543,7 +543,7 @@ checksum = "f0bc8fbe9441c17c9f46f75dfe27fa1ddb6c68a461ccaed0481419219d4f10d3" [[package]] name = "dump_cfi" -version = "12.4.1" +version = "12.5.0" dependencies = [ "anyhow", "clap", @@ -552,7 +552,7 @@ dependencies = [ [[package]] name = "dump_sources" -version = "12.4.1" +version = "12.5.0" dependencies = [ "clap", "symbolic", @@ -1080,7 +1080,7 @@ dependencies = [ [[package]] name = "minidump_stackwalk" -version = "12.4.1" +version = "12.5.0" dependencies = [ "async-trait", "clap", @@ -1242,7 +1242,7 @@ dependencies = [ [[package]] name = "object_debug" -version = "12.4.1" +version = "12.5.0" dependencies = [ "clap", "symbolic", @@ -1450,9 +1450,9 @@ dependencies = [ [[package]] name = "proguard" -version = "5.1.0" +version = "5.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1766d401c716ab2d5ddc832468b420e4c51e37c4491ea94fd856ef652664a8d3" +checksum = "c0a4fc2794b6ee3ae207c36fb970a591e590dc6e1d36444f1de135529b285d88" dependencies = [ "lazy_static", "uuid", @@ -1857,7 +1857,7 @@ dependencies = [ [[package]] name = "sourcemapcache_debug" -version = "12.4.1" +version = "12.5.0" dependencies = [ "anyhow", "clap", @@ -2076,7 +2076,7 @@ dependencies = [ [[package]] name = "symbolic" -version = "12.4.1" +version = "12.5.0" dependencies = [ "symbolic-cfi", "symbolic-common", @@ -2091,7 +2091,7 @@ dependencies = [ [[package]] name = "symbolic-cabi" -version = "12.4.1" +version = "12.5.0" dependencies = [ "proguard", "sourcemap", @@ -2101,7 +2101,7 @@ dependencies = [ [[package]] name = "symbolic-cfi" -version = "12.4.1" +version = "12.5.0" dependencies = [ "insta", "similar-asserts", @@ -2113,7 +2113,7 @@ dependencies = [ [[package]] name = "symbolic-common" -version = "12.4.1" +version = "12.5.0" dependencies = [ "debugid", "memmap2 0.8.0", @@ -2127,7 +2127,7 @@ dependencies = [ [[package]] name = "symbolic-debuginfo" -version = "12.4.1" +version = "12.5.0" dependencies = [ "criterion", "debugid", @@ -2162,7 +2162,7 @@ dependencies = [ [[package]] name = "symbolic-demangle" -version = "12.4.1" +version = "12.5.0" dependencies = [ "cc", "cpp_demangle", @@ -2174,7 +2174,7 @@ dependencies = [ [[package]] name = "symbolic-il2cpp" -version = "12.4.1" +version = "12.5.0" dependencies = [ "indexmap", "serde_json", @@ -2184,7 +2184,7 @@ dependencies = [ [[package]] name = "symbolic-ppdb" -version = "12.4.1" +version = "12.5.0" dependencies = [ "flate2", "indexmap", @@ -2200,7 +2200,7 @@ dependencies = [ [[package]] name = "symbolic-sourcemapcache" -version = "12.4.1" +version = "12.5.0" dependencies = [ "itertools 0.11.0", "js-source-scopes", @@ -2214,7 +2214,7 @@ dependencies = [ [[package]] name = "symbolic-symcache" -version = "12.4.1" +version = "12.5.0" dependencies = [ "criterion", "indexmap", @@ -2231,11 +2231,11 @@ dependencies = [ [[package]] name = "symbolic-testutils" -version = "12.4.1" +version = "12.5.0" [[package]] name = "symbolic-unreal" -version = "12.4.1" +version = "12.5.0" dependencies = [ "anylog", "bytes", @@ -2255,7 +2255,7 @@ dependencies = [ [[package]] name = "symcache_debug" -version = "12.4.1" +version = "12.5.0" dependencies = [ "anyhow", "clap", @@ -2511,7 +2511,7 @@ checksum = "e51733f11c9c4f72aa0c160008246859e340b00807569a0da0e7a1079b27ba85" [[package]] name = "unreal_engine_crash" -version = "12.4.1" +version = "12.5.0" dependencies = [ "clap", "symbolic", diff --git a/py/symbolic/proguard.py b/py/symbolic/proguard.py index a2c04fb3c..0ab5d1edf 100644 --- a/py/symbolic/proguard.py +++ b/py/symbolic/proguard.py @@ -19,12 +19,18 @@ class JavaStackFrame: def __init__( - self, class_name: str, method: str, line: int, file: str | None = None + self, + class_name: str, + method: str, + line: int, + file: str | None = None, + parameters: str | None = None, ) -> None: self.class_name = class_name self.method = method self.file = file or None self.line = line + self.parameters = parameters class ProguardMapper(RustObject): @@ -74,13 +80,16 @@ def remap_method(self, klass: str, method: str) -> Tuple[str, str] | None: return output if len(output[0]) > 0 and len(output[1]) > 0 else None - def remap_frame(self, klass: str, method: str, line: int) -> list[JavaStackFrame]: + def remap_frame( + self, klass: str, method: str, line: int, parameters: str = "" + ) -> list[JavaStackFrame]: """Remaps the stackframe, given its class, method and line.""" result = self._methodcall( lib.symbolic_proguardmapper_remap_frame, encode_str(klass), encode_str(method), line, + encode_str(parameters), ) frames = [] diff --git a/symbolic-cabi/Cargo.toml b/symbolic-cabi/Cargo.toml index 8ea5437ef..56cdbc6a3 100644 --- a/symbolic-cabi/Cargo.toml +++ b/symbolic-cabi/Cargo.toml @@ -20,7 +20,7 @@ publish = false crate-type = ["cdylib"] [dependencies] -proguard = { version = "5.1.0", features = ["uuid"] } +proguard = { version = "5.3.0", features = ["uuid"] } sourcemap = "7.0.0" symbolic = { version = "12.5.0", path = "../symbolic", features = ["cfi", "debuginfo", "sourcemapcache", "symcache"] } tempfile = "3.4.0" diff --git a/symbolic-cabi/include/symbolic.h b/symbolic-cabi/include/symbolic.h index fa739693d..87506e8ac 100644 --- a/symbolic-cabi/include/symbolic.h +++ b/symbolic-cabi/include/symbolic.h @@ -3,7 +3,7 @@ #ifndef SYMBOLIC_H_INCLUDED #define SYMBOLIC_H_INCLUDED -/* Generated with cbindgen:0.24.5 */ +/* Generated with cbindgen:0.26.0 */ /* Warning, this file is autogenerated. Do not modify this manually. */ @@ -167,6 +167,7 @@ typedef struct SymbolicJavaStackFrame { struct SymbolicStr method; struct SymbolicStr file; uintptr_t line; + struct SymbolicStr parameters; } SymbolicJavaStackFrame; /** @@ -512,7 +513,8 @@ void symbolic_proguardmapper_free(struct SymbolicProguardMapper *mapper); struct SymbolicProguardRemapResult symbolic_proguardmapper_remap_frame(const struct SymbolicProguardMapper *mapper, const struct SymbolicStr *class_, const struct SymbolicStr *method, - uintptr_t line); + uintptr_t line, + const struct SymbolicStr *parameters); /** * Remaps a class name. diff --git a/symbolic-cabi/src/proguard.rs b/symbolic-cabi/src/proguard.rs index 3d3b627fe..bc46db070 100644 --- a/symbolic-cabi/src/proguard.rs +++ b/symbolic-cabi/src/proguard.rs @@ -15,6 +15,7 @@ pub struct SymbolicJavaStackFrame { pub method: SymbolicStr, pub file: SymbolicStr, pub line: usize, + pub parameters: SymbolicStr, } /// The result of remapping a Stack Frame. @@ -80,9 +81,14 @@ ffi_fn! { class: *const SymbolicStr, method: *const SymbolicStr, line: usize, + parameters: *const SymbolicStr, ) -> Result { let mapper = &SymbolicProguardMapper::as_rust(mapper).inner.get().mapper; - let frame = StackFrame::new((*class).as_str(), (*method).as_str(), line); + let frame = if (*parameters).len > 0 { + StackFrame::with_parameters((*class).as_str(), (*method).as_str(), (*parameters).as_str()) + } else { + StackFrame::new((*class).as_str(), (*method).as_str(), line) + }; let mut frames: Vec<_> = mapper.remap_frame(&frame).map(|frame| { SymbolicJavaStackFrame { @@ -90,6 +96,7 @@ ffi_fn! { method: frame.method().to_owned().into(), file: frame.file().unwrap_or("").to_owned().into(), line: frame.line(), + parameters: frame.parameters().unwrap_or("").to_owned().into(), } }).collect(); @@ -137,6 +144,7 @@ ffi_fn! { method: remapped_method.to_owned().into(), file: "".to_owned().into(), line: 0, + parameters: "".to_owned().into(), }]; frames.shrink_to_fit(); From 43fc6ea469f48be7f19a48032c46640e33058750 Mon Sep 17 00:00:00 2001 From: getsentry-bot Date: Tue, 14 Nov 2023 08:34:56 +0000 Subject: [PATCH 05/11] release: 12.6.0 --- CHANGELOG.md | 6 ++++++ examples/addr2line/Cargo.toml | 2 +- examples/debuginfo_debug/Cargo.toml | 2 +- examples/dump_cfi/Cargo.toml | 2 +- examples/dump_sources/Cargo.toml | 2 +- examples/minidump_stackwalk/Cargo.toml | 2 +- examples/object_debug/Cargo.toml | 2 +- examples/sourcemapcache_debug/Cargo.toml | 2 +- examples/symcache_debug/Cargo.toml | 2 +- examples/unreal_engine_crash/Cargo.toml | 2 +- symbolic-cabi/Cargo.toml | 4 ++-- symbolic-cfi/Cargo.toml | 6 +++--- symbolic-common/Cargo.toml | 2 +- symbolic-debuginfo/Cargo.toml | 6 +++--- symbolic-debuginfo/fuzz/Cargo.toml | 2 +- symbolic-demangle/Cargo.toml | 4 ++-- symbolic-il2cpp/Cargo.toml | 6 +++--- symbolic-ppdb/Cargo.toml | 4 ++-- symbolic-ppdb/fuzz/Cargo.toml | 2 +- symbolic-sourcemapcache/Cargo.toml | 4 ++-- symbolic-symcache/Cargo.toml | 8 ++++---- symbolic-testutils/Cargo.toml | 2 +- symbolic-unreal/Cargo.toml | 2 +- symbolic/Cargo.toml | 20 ++++++++++---------- 24 files changed, 51 insertions(+), 45 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cd880c77c..56d034b5b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,12 @@ **Fixes** +## 12.6.0 + +### Various fixes & improvements + +- ref: refactor rust bindings to support optional parameters for StackFrame (#820) by @viglia + ## 12.5.0 **Internal** diff --git a/examples/addr2line/Cargo.toml b/examples/addr2line/Cargo.toml index dee980e9f..7d84dcbf8 100644 --- a/examples/addr2line/Cargo.toml +++ b/examples/addr2line/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "addr2line" -version = "12.5.0" +version = "12.6.0" authors = ["Jan Michael Auer "] edition = "2021" publish = false diff --git a/examples/debuginfo_debug/Cargo.toml b/examples/debuginfo_debug/Cargo.toml index 04f9d0547..be1e06248 100644 --- a/examples/debuginfo_debug/Cargo.toml +++ b/examples/debuginfo_debug/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "debuginfo_debug" -version = "12.5.0" +version = "12.6.0" authors = ["Markus Stange "] edition = "2021" publish = false diff --git a/examples/dump_cfi/Cargo.toml b/examples/dump_cfi/Cargo.toml index 6fe1ea00f..5bb6d968c 100644 --- a/examples/dump_cfi/Cargo.toml +++ b/examples/dump_cfi/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dump_cfi" -version = "12.5.0" +version = "12.6.0" authors = ["Jan Michael Auer "] edition = "2021" publish = false diff --git a/examples/dump_sources/Cargo.toml b/examples/dump_sources/Cargo.toml index 12218fc88..0653ab9b6 100644 --- a/examples/dump_sources/Cargo.toml +++ b/examples/dump_sources/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dump_sources" -version = "12.5.0" +version = "12.6.0" authors = ["Jan Michael Auer "] edition = "2021" publish = false diff --git a/examples/minidump_stackwalk/Cargo.toml b/examples/minidump_stackwalk/Cargo.toml index 0f11fd984..4d4cbfb14 100644 --- a/examples/minidump_stackwalk/Cargo.toml +++ b/examples/minidump_stackwalk/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "minidump_stackwalk" -version = "12.5.0" +version = "12.6.0" authors = ["Jan Michael Auer "] edition = "2021" publish = false diff --git a/examples/object_debug/Cargo.toml b/examples/object_debug/Cargo.toml index 237dc8b82..6a620d8e1 100644 --- a/examples/object_debug/Cargo.toml +++ b/examples/object_debug/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "object_debug" -version = "12.5.0" +version = "12.6.0" authors = ["Jan Michael Auer "] edition = "2021" publish = false diff --git a/examples/sourcemapcache_debug/Cargo.toml b/examples/sourcemapcache_debug/Cargo.toml index 8a112eb1a..75affeaa4 100644 --- a/examples/sourcemapcache_debug/Cargo.toml +++ b/examples/sourcemapcache_debug/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sourcemapcache_debug" -version = "12.5.0" +version = "12.6.0" authors = ["Sentry "] edition = "2021" publish = false diff --git a/examples/symcache_debug/Cargo.toml b/examples/symcache_debug/Cargo.toml index 84e8f57da..dde9ff8f2 100644 --- a/examples/symcache_debug/Cargo.toml +++ b/examples/symcache_debug/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symcache_debug" -version = "12.5.0" +version = "12.6.0" authors = ["Jan Michael Auer "] edition = "2021" publish = false diff --git a/examples/unreal_engine_crash/Cargo.toml b/examples/unreal_engine_crash/Cargo.toml index 481ff2e80..c76c23ef5 100644 --- a/examples/unreal_engine_crash/Cargo.toml +++ b/examples/unreal_engine_crash/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "unreal_engine_crash" -version = "12.5.0" +version = "12.6.0" authors = ["Jan Michael Auer "] edition = "2021" publish = false diff --git a/symbolic-cabi/Cargo.toml b/symbolic-cabi/Cargo.toml index 56cdbc6a3..62d02fd6a 100644 --- a/symbolic-cabi/Cargo.toml +++ b/symbolic-cabi/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-cabi" -version = "12.5.0" +version = "12.6.0" license = "MIT" authors = [ "Armin Ronacher ", @@ -22,5 +22,5 @@ crate-type = ["cdylib"] [dependencies] proguard = { version = "5.3.0", features = ["uuid"] } sourcemap = "7.0.0" -symbolic = { version = "12.5.0", path = "../symbolic", features = ["cfi", "debuginfo", "sourcemapcache", "symcache"] } +symbolic = { version = "12.6.0", path = "../symbolic", features = ["cfi", "debuginfo", "sourcemapcache", "symcache"] } tempfile = "3.4.0" diff --git a/symbolic-cfi/Cargo.toml b/symbolic-cfi/Cargo.toml index 582e65686..30effa157 100644 --- a/symbolic-cfi/Cargo.toml +++ b/symbolic-cfi/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-cfi" -version = "12.5.0" +version = "12.6.0" license = "MIT" authors = [ "Armin Ronacher ", @@ -15,8 +15,8 @@ A library to process call frame information edition = "2021" [dependencies] -symbolic-common = { version = "12.5.0", path = "../symbolic-common" } -symbolic-debuginfo = { version = "12.5.0", path = "../symbolic-debuginfo" } +symbolic-common = { version = "12.6.0", path = "../symbolic-common" } +symbolic-debuginfo = { version = "12.6.0", path = "../symbolic-debuginfo" } thiserror = "1.0.39" [dev-dependencies] diff --git a/symbolic-common/Cargo.toml b/symbolic-common/Cargo.toml index c58646fc3..f86341fc5 100644 --- a/symbolic-common/Cargo.toml +++ b/symbolic-common/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-common" -version = "12.5.0" +version = "12.6.0" license = "MIT" authors = [ "Armin Ronacher ", diff --git a/symbolic-debuginfo/Cargo.toml b/symbolic-debuginfo/Cargo.toml index 931f38d1f..1ca464d9c 100644 --- a/symbolic-debuginfo/Cargo.toml +++ b/symbolic-debuginfo/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-debuginfo" -version = "12.5.0" +version = "12.6.0" license = "MIT" authors = [ "Armin Ronacher ", @@ -99,8 +99,8 @@ scroll = { version = "0.11.0", optional = true } serde = { version = "1.0.154", features = ["derive"] } serde_json = { version = "1.0.94", optional = true } smallvec = { version = "1.10.0", optional = true } -symbolic-common = { version = "12.5.0", path = "../symbolic-common" } -symbolic-ppdb = { version = "12.5.0", path = "../symbolic-ppdb", optional = true } +symbolic-common = { version = "12.6.0", path = "../symbolic-common" } +symbolic-ppdb = { version = "12.6.0", path = "../symbolic-ppdb", optional = true } thiserror = "1.0.39" wasmparser = { version = "0.113.2", optional = true } zip = { version = "0.6.4", optional = true, default-features = false, features = ["deflate"] } diff --git a/symbolic-debuginfo/fuzz/Cargo.toml b/symbolic-debuginfo/fuzz/Cargo.toml index 2c2938388..bb5251e56 100644 --- a/symbolic-debuginfo/fuzz/Cargo.toml +++ b/symbolic-debuginfo/fuzz/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-debuginfo-fuzz" -version = "12.5.0" +version = "12.6.0" authors = ["Automatically generated"] publish = false edition = "2021" diff --git a/symbolic-demangle/Cargo.toml b/symbolic-demangle/Cargo.toml index 54d122fb8..8f699d70c 100644 --- a/symbolic-demangle/Cargo.toml +++ b/symbolic-demangle/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-demangle" -version = "12.5.0" +version = "12.6.0" license = "MIT" authors = [ "Armin Ronacher ", @@ -34,7 +34,7 @@ swift = ["cc"] cpp_demangle = { version = "0.4.1", optional = true } msvc-demangler = { version = "0.9.0", optional = true } rustc-demangle = { version = "0.1.21", optional = true } -symbolic-common = { version = "12.5.0", path = "../symbolic-common" } +symbolic-common = { version = "12.6.0", path = "../symbolic-common" } [build-dependencies] cc = { version = "1.0.79", optional = true } diff --git a/symbolic-il2cpp/Cargo.toml b/symbolic-il2cpp/Cargo.toml index 2061ef290..cd66c3cea 100644 --- a/symbolic-il2cpp/Cargo.toml +++ b/symbolic-il2cpp/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-il2cpp" -version = "12.5.0" +version = "12.6.0" license = "MIT" authors = ["Sentry "] documentation = "https://docs.rs/symbolic-il2cpp" @@ -14,5 +14,5 @@ edition = "2021" [dependencies] indexmap = "2.0.0" serde_json = "1.0.94" -symbolic-common = { version = "12.5.0", path = "../symbolic-common" } -symbolic-debuginfo = { version = "12.5.0", path = "../symbolic-debuginfo" } +symbolic-common = { version = "12.6.0", path = "../symbolic-common" } +symbolic-debuginfo = { version = "12.6.0", path = "../symbolic-debuginfo" } diff --git a/symbolic-ppdb/Cargo.toml b/symbolic-ppdb/Cargo.toml index bf854eb9b..1d6d683aa 100644 --- a/symbolic-ppdb/Cargo.toml +++ b/symbolic-ppdb/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-ppdb" -version = "12.5.0" +version = "12.6.0" license = "MIT" authors = [ "Sebastian Zivota ", @@ -21,7 +21,7 @@ all-features = true [dependencies] indexmap = "2.0.0" -symbolic-common = { version = "12.5.0", path = "../symbolic-common" } +symbolic-common = { version = "12.6.0", path = "../symbolic-common" } watto = { version = "0.1.0", features = ["writer", "strings"] } thiserror = "1.0.39" uuid = "1.3.0" diff --git a/symbolic-ppdb/fuzz/Cargo.toml b/symbolic-ppdb/fuzz/Cargo.toml index f0b23ef2b..e242bc52d 100644 --- a/symbolic-ppdb/fuzz/Cargo.toml +++ b/symbolic-ppdb/fuzz/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-ppdb-fuzz" -version = "12.5.0" +version = "12.6.0" authors = ["Automatically generated"] publish = false edition = "2021" diff --git a/symbolic-sourcemapcache/Cargo.toml b/symbolic-sourcemapcache/Cargo.toml index 5bf908acc..72a0c46d2 100644 --- a/symbolic-sourcemapcache/Cargo.toml +++ b/symbolic-sourcemapcache/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-sourcemapcache" -version = "12.5.0" +version = "12.6.0" license = "MIT" authors = ["Sentry "] documentation = "https://docs.rs/symbolic-sourcemapcache" @@ -15,7 +15,7 @@ edition = "2021" itertools = "0.11.0" js-source-scopes = "0.4.0" sourcemap = "7.0.0" -symbolic-common = { version = "12.5.0", path = "../symbolic-common" } +symbolic-common = { version = "12.6.0", path = "../symbolic-common" } thiserror = "1.0.39" tracing = "0.1.37" watto = { version = "0.1.0", features = ["writer", "strings"] } diff --git a/symbolic-symcache/Cargo.toml b/symbolic-symcache/Cargo.toml index a36a8b21d..9ab1e1865 100644 --- a/symbolic-symcache/Cargo.toml +++ b/symbolic-symcache/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-symcache" -version = "12.5.0" +version = "12.6.0" license = "MIT" authors = [ "Armin Ronacher ", @@ -23,9 +23,9 @@ exclude = [ all-features = true [dependencies] -symbolic-common = { version = "12.5.0", path = "../symbolic-common" } -symbolic-debuginfo = { version = "12.5.0", path = "../symbolic-debuginfo" } -symbolic-il2cpp = { version = "12.5.0", path = "../symbolic-il2cpp", optional = true } +symbolic-common = { version = "12.6.0", path = "../symbolic-common" } +symbolic-debuginfo = { version = "12.6.0", path = "../symbolic-debuginfo" } +symbolic-il2cpp = { version = "12.6.0", path = "../symbolic-il2cpp", optional = true } thiserror = "1.0.39" indexmap = "2.0.0" tracing = "0.1.37" diff --git a/symbolic-testutils/Cargo.toml b/symbolic-testutils/Cargo.toml index 0629241da..deaa3aeae 100644 --- a/symbolic-testutils/Cargo.toml +++ b/symbolic-testutils/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-testutils" -version = "12.5.0" +version = "12.6.0" license = "MIT" edition = "2021" publish = false diff --git a/symbolic-unreal/Cargo.toml b/symbolic-unreal/Cargo.toml index 6da52c01e..d246faaa1 100644 --- a/symbolic-unreal/Cargo.toml +++ b/symbolic-unreal/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-unreal" -version = "12.5.0" +version = "12.6.0" license = "MIT" authors = [ "Armin Ronacher ", diff --git a/symbolic/Cargo.toml b/symbolic/Cargo.toml index 6f8fce5df..32feae962 100644 --- a/symbolic/Cargo.toml +++ b/symbolic/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic" -version = "12.5.0" +version = "12.6.0" license = "MIT" authors = [ "Armin Ronacher ", @@ -34,12 +34,12 @@ unreal = ["symbolic-unreal"] unreal-serde = ["unreal", "common-serde", "symbolic-unreal/serde"] [dependencies] -symbolic-cfi = { version = "12.5.0", path = "../symbolic-cfi", optional = true } -symbolic-common = { version = "12.5.0", path = "../symbolic-common" } -symbolic-debuginfo = { version = "12.5.0", path = "../symbolic-debuginfo", optional = true } -symbolic-demangle = { version = "12.5.0", path = "../symbolic-demangle", optional = true } -symbolic-il2cpp = { version = "12.5.0", path = "../symbolic-il2cpp", optional = true } -symbolic-ppdb = { version = "12.5.0", path = "../symbolic-ppdb", optional = true } -symbolic-sourcemapcache = { version = "12.5.0", path = "../symbolic-sourcemapcache", optional = true } -symbolic-symcache = { version = "12.5.0", path = "../symbolic-symcache", optional = true } -symbolic-unreal = { version = "12.5.0", path = "../symbolic-unreal", optional = true } +symbolic-cfi = { version = "12.6.0", path = "../symbolic-cfi", optional = true } +symbolic-common = { version = "12.6.0", path = "../symbolic-common" } +symbolic-debuginfo = { version = "12.6.0", path = "../symbolic-debuginfo", optional = true } +symbolic-demangle = { version = "12.6.0", path = "../symbolic-demangle", optional = true } +symbolic-il2cpp = { version = "12.6.0", path = "../symbolic-il2cpp", optional = true } +symbolic-ppdb = { version = "12.6.0", path = "../symbolic-ppdb", optional = true } +symbolic-sourcemapcache = { version = "12.6.0", path = "../symbolic-sourcemapcache", optional = true } +symbolic-symcache = { version = "12.6.0", path = "../symbolic-symcache", optional = true } +symbolic-unreal = { version = "12.6.0", path = "../symbolic-unreal", optional = true } From 1b82961ba58e1b0a01da682c46076b2cdf99c308 Mon Sep 17 00:00:00 2001 From: Francesco Vigliaturo Date: Fri, 17 Nov 2023 14:41:17 +0100 Subject: [PATCH 06/11] fix empty parameters list issue (#821) * Fix empty parameters list issue --- CHANGELOG.md | 2 ++ Cargo.lock | 42 ++++++++++++++++---------------- py/symbolic/proguard.py | 11 ++++++--- symbolic-cabi/include/symbolic.h | 3 ++- symbolic-cabi/src/proguard.rs | 3 ++- 5 files changed, 35 insertions(+), 26 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 56d034b5b..95ac09daa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,8 @@ **Fixes** +- Fix empty parameters list issue ([#821](https://github.com/getsentry/symbolic/pull/821)) + ## 12.6.0 ### Various fixes & improvements diff --git a/Cargo.lock b/Cargo.lock index 8e1192d12..84613ce5e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -23,7 +23,7 @@ dependencies = [ [[package]] name = "addr2line" -version = "12.5.0" +version = "12.6.0" dependencies = [ "anyhow", "clap", @@ -519,7 +519,7 @@ dependencies = [ [[package]] name = "debuginfo_debug" -version = "12.5.0" +version = "12.6.0" dependencies = [ "anyhow", "clap", @@ -543,7 +543,7 @@ checksum = "f0bc8fbe9441c17c9f46f75dfe27fa1ddb6c68a461ccaed0481419219d4f10d3" [[package]] name = "dump_cfi" -version = "12.5.0" +version = "12.6.0" dependencies = [ "anyhow", "clap", @@ -552,7 +552,7 @@ dependencies = [ [[package]] name = "dump_sources" -version = "12.5.0" +version = "12.6.0" dependencies = [ "clap", "symbolic", @@ -1080,7 +1080,7 @@ dependencies = [ [[package]] name = "minidump_stackwalk" -version = "12.5.0" +version = "12.6.0" dependencies = [ "async-trait", "clap", @@ -1242,7 +1242,7 @@ dependencies = [ [[package]] name = "object_debug" -version = "12.5.0" +version = "12.6.0" dependencies = [ "clap", "symbolic", @@ -1857,7 +1857,7 @@ dependencies = [ [[package]] name = "sourcemapcache_debug" -version = "12.5.0" +version = "12.6.0" dependencies = [ "anyhow", "clap", @@ -2076,7 +2076,7 @@ dependencies = [ [[package]] name = "symbolic" -version = "12.5.0" +version = "12.6.0" dependencies = [ "symbolic-cfi", "symbolic-common", @@ -2091,7 +2091,7 @@ dependencies = [ [[package]] name = "symbolic-cabi" -version = "12.5.0" +version = "12.6.0" dependencies = [ "proguard", "sourcemap", @@ -2101,7 +2101,7 @@ dependencies = [ [[package]] name = "symbolic-cfi" -version = "12.5.0" +version = "12.6.0" dependencies = [ "insta", "similar-asserts", @@ -2113,7 +2113,7 @@ dependencies = [ [[package]] name = "symbolic-common" -version = "12.5.0" +version = "12.6.0" dependencies = [ "debugid", "memmap2 0.8.0", @@ -2127,7 +2127,7 @@ dependencies = [ [[package]] name = "symbolic-debuginfo" -version = "12.5.0" +version = "12.6.0" dependencies = [ "criterion", "debugid", @@ -2162,7 +2162,7 @@ dependencies = [ [[package]] name = "symbolic-demangle" -version = "12.5.0" +version = "12.6.0" dependencies = [ "cc", "cpp_demangle", @@ -2174,7 +2174,7 @@ dependencies = [ [[package]] name = "symbolic-il2cpp" -version = "12.5.0" +version = "12.6.0" dependencies = [ "indexmap", "serde_json", @@ -2184,7 +2184,7 @@ dependencies = [ [[package]] name = "symbolic-ppdb" -version = "12.5.0" +version = "12.6.0" dependencies = [ "flate2", "indexmap", @@ -2200,7 +2200,7 @@ dependencies = [ [[package]] name = "symbolic-sourcemapcache" -version = "12.5.0" +version = "12.6.0" dependencies = [ "itertools 0.11.0", "js-source-scopes", @@ -2214,7 +2214,7 @@ dependencies = [ [[package]] name = "symbolic-symcache" -version = "12.5.0" +version = "12.6.0" dependencies = [ "criterion", "indexmap", @@ -2231,11 +2231,11 @@ dependencies = [ [[package]] name = "symbolic-testutils" -version = "12.5.0" +version = "12.6.0" [[package]] name = "symbolic-unreal" -version = "12.5.0" +version = "12.6.0" dependencies = [ "anylog", "bytes", @@ -2255,7 +2255,7 @@ dependencies = [ [[package]] name = "symcache_debug" -version = "12.5.0" +version = "12.6.0" dependencies = [ "anyhow", "clap", @@ -2511,7 +2511,7 @@ checksum = "e51733f11c9c4f72aa0c160008246859e340b00807569a0da0e7a1079b27ba85" [[package]] name = "unreal_engine_crash" -version = "12.5.0" +version = "12.6.0" dependencies = [ "clap", "symbolic", diff --git a/py/symbolic/proguard.py b/py/symbolic/proguard.py index 0ab5d1edf..ac5b9fbe8 100644 --- a/py/symbolic/proguard.py +++ b/py/symbolic/proguard.py @@ -1,5 +1,5 @@ from __future__ import annotations -from typing import Tuple +from typing import Optional, Tuple import uuid as uuid_mod @@ -81,7 +81,11 @@ def remap_method(self, klass: str, method: str) -> Tuple[str, str] | None: return output if len(output[0]) > 0 and len(output[1]) > 0 else None def remap_frame( - self, klass: str, method: str, line: int, parameters: str = "" + self, + klass: str, + method: str, + line: int, + parameters: Optional[str] = None, ) -> list[JavaStackFrame]: """Remaps the stackframe, given its class, method and line.""" result = self._methodcall( @@ -89,7 +93,8 @@ def remap_frame( encode_str(klass), encode_str(method), line, - encode_str(parameters), + encode_str("" if parameters is None else parameters), + parameters is not None, ) frames = [] diff --git a/symbolic-cabi/include/symbolic.h b/symbolic-cabi/include/symbolic.h index 87506e8ac..d723a84bf 100644 --- a/symbolic-cabi/include/symbolic.h +++ b/symbolic-cabi/include/symbolic.h @@ -514,7 +514,8 @@ struct SymbolicProguardRemapResult symbolic_proguardmapper_remap_frame(const str const struct SymbolicStr *class_, const struct SymbolicStr *method, uintptr_t line, - const struct SymbolicStr *parameters); + const struct SymbolicStr *parameters, + bool use_parameters); /** * Remaps a class name. diff --git a/symbolic-cabi/src/proguard.rs b/symbolic-cabi/src/proguard.rs index bc46db070..b4d3fc28e 100644 --- a/symbolic-cabi/src/proguard.rs +++ b/symbolic-cabi/src/proguard.rs @@ -82,9 +82,10 @@ ffi_fn! { method: *const SymbolicStr, line: usize, parameters: *const SymbolicStr, + use_parameters: bool, ) -> Result { let mapper = &SymbolicProguardMapper::as_rust(mapper).inner.get().mapper; - let frame = if (*parameters).len > 0 { + let frame = if use_parameters { StackFrame::with_parameters((*class).as_str(), (*method).as_str(), (*parameters).as_str()) } else { StackFrame::new((*class).as_str(), (*method).as_str(), line) From 83681b94504eac316e06c599f5b56f8a1cbe40ca Mon Sep 17 00:00:00 2001 From: getsentry-bot Date: Fri, 17 Nov 2023 13:50:24 +0000 Subject: [PATCH 07/11] release: 12.7.0 --- CHANGELOG.md | 6 ++++++ examples/addr2line/Cargo.toml | 2 +- examples/debuginfo_debug/Cargo.toml | 2 +- examples/dump_cfi/Cargo.toml | 2 +- examples/dump_sources/Cargo.toml | 2 +- examples/minidump_stackwalk/Cargo.toml | 2 +- examples/object_debug/Cargo.toml | 2 +- examples/sourcemapcache_debug/Cargo.toml | 2 +- examples/symcache_debug/Cargo.toml | 2 +- examples/unreal_engine_crash/Cargo.toml | 2 +- symbolic-cabi/Cargo.toml | 4 ++-- symbolic-cfi/Cargo.toml | 6 +++--- symbolic-common/Cargo.toml | 2 +- symbolic-debuginfo/Cargo.toml | 6 +++--- symbolic-debuginfo/fuzz/Cargo.toml | 2 +- symbolic-demangle/Cargo.toml | 4 ++-- symbolic-il2cpp/Cargo.toml | 6 +++--- symbolic-ppdb/Cargo.toml | 4 ++-- symbolic-ppdb/fuzz/Cargo.toml | 2 +- symbolic-sourcemapcache/Cargo.toml | 4 ++-- symbolic-symcache/Cargo.toml | 8 ++++---- symbolic-testutils/Cargo.toml | 2 +- symbolic-unreal/Cargo.toml | 2 +- symbolic/Cargo.toml | 20 ++++++++++---------- 24 files changed, 51 insertions(+), 45 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 95ac09daa..cd00a3d26 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,12 @@ - Fix empty parameters list issue ([#821](https://github.com/getsentry/symbolic/pull/821)) +## 12.7.0 + +### Various fixes & improvements + +- fix empty parameters list issue (#821) by @viglia + ## 12.6.0 ### Various fixes & improvements diff --git a/examples/addr2line/Cargo.toml b/examples/addr2line/Cargo.toml index 7d84dcbf8..79aab35ee 100644 --- a/examples/addr2line/Cargo.toml +++ b/examples/addr2line/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "addr2line" -version = "12.6.0" +version = "12.7.0" authors = ["Jan Michael Auer "] edition = "2021" publish = false diff --git a/examples/debuginfo_debug/Cargo.toml b/examples/debuginfo_debug/Cargo.toml index be1e06248..1e497c0de 100644 --- a/examples/debuginfo_debug/Cargo.toml +++ b/examples/debuginfo_debug/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "debuginfo_debug" -version = "12.6.0" +version = "12.7.0" authors = ["Markus Stange "] edition = "2021" publish = false diff --git a/examples/dump_cfi/Cargo.toml b/examples/dump_cfi/Cargo.toml index 5bb6d968c..60937a2da 100644 --- a/examples/dump_cfi/Cargo.toml +++ b/examples/dump_cfi/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dump_cfi" -version = "12.6.0" +version = "12.7.0" authors = ["Jan Michael Auer "] edition = "2021" publish = false diff --git a/examples/dump_sources/Cargo.toml b/examples/dump_sources/Cargo.toml index 0653ab9b6..99a9474a9 100644 --- a/examples/dump_sources/Cargo.toml +++ b/examples/dump_sources/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dump_sources" -version = "12.6.0" +version = "12.7.0" authors = ["Jan Michael Auer "] edition = "2021" publish = false diff --git a/examples/minidump_stackwalk/Cargo.toml b/examples/minidump_stackwalk/Cargo.toml index 4d4cbfb14..4f22efb7a 100644 --- a/examples/minidump_stackwalk/Cargo.toml +++ b/examples/minidump_stackwalk/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "minidump_stackwalk" -version = "12.6.0" +version = "12.7.0" authors = ["Jan Michael Auer "] edition = "2021" publish = false diff --git a/examples/object_debug/Cargo.toml b/examples/object_debug/Cargo.toml index 6a620d8e1..20a5744fc 100644 --- a/examples/object_debug/Cargo.toml +++ b/examples/object_debug/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "object_debug" -version = "12.6.0" +version = "12.7.0" authors = ["Jan Michael Auer "] edition = "2021" publish = false diff --git a/examples/sourcemapcache_debug/Cargo.toml b/examples/sourcemapcache_debug/Cargo.toml index 75affeaa4..b9e3ef652 100644 --- a/examples/sourcemapcache_debug/Cargo.toml +++ b/examples/sourcemapcache_debug/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sourcemapcache_debug" -version = "12.6.0" +version = "12.7.0" authors = ["Sentry "] edition = "2021" publish = false diff --git a/examples/symcache_debug/Cargo.toml b/examples/symcache_debug/Cargo.toml index dde9ff8f2..167b2ab55 100644 --- a/examples/symcache_debug/Cargo.toml +++ b/examples/symcache_debug/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symcache_debug" -version = "12.6.0" +version = "12.7.0" authors = ["Jan Michael Auer "] edition = "2021" publish = false diff --git a/examples/unreal_engine_crash/Cargo.toml b/examples/unreal_engine_crash/Cargo.toml index c76c23ef5..731f4c22a 100644 --- a/examples/unreal_engine_crash/Cargo.toml +++ b/examples/unreal_engine_crash/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "unreal_engine_crash" -version = "12.6.0" +version = "12.7.0" authors = ["Jan Michael Auer "] edition = "2021" publish = false diff --git a/symbolic-cabi/Cargo.toml b/symbolic-cabi/Cargo.toml index 62d02fd6a..88ce52ab1 100644 --- a/symbolic-cabi/Cargo.toml +++ b/symbolic-cabi/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-cabi" -version = "12.6.0" +version = "12.7.0" license = "MIT" authors = [ "Armin Ronacher ", @@ -22,5 +22,5 @@ crate-type = ["cdylib"] [dependencies] proguard = { version = "5.3.0", features = ["uuid"] } sourcemap = "7.0.0" -symbolic = { version = "12.6.0", path = "../symbolic", features = ["cfi", "debuginfo", "sourcemapcache", "symcache"] } +symbolic = { version = "12.7.0", path = "../symbolic", features = ["cfi", "debuginfo", "sourcemapcache", "symcache"] } tempfile = "3.4.0" diff --git a/symbolic-cfi/Cargo.toml b/symbolic-cfi/Cargo.toml index 30effa157..6f8a1ef40 100644 --- a/symbolic-cfi/Cargo.toml +++ b/symbolic-cfi/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-cfi" -version = "12.6.0" +version = "12.7.0" license = "MIT" authors = [ "Armin Ronacher ", @@ -15,8 +15,8 @@ A library to process call frame information edition = "2021" [dependencies] -symbolic-common = { version = "12.6.0", path = "../symbolic-common" } -symbolic-debuginfo = { version = "12.6.0", path = "../symbolic-debuginfo" } +symbolic-common = { version = "12.7.0", path = "../symbolic-common" } +symbolic-debuginfo = { version = "12.7.0", path = "../symbolic-debuginfo" } thiserror = "1.0.39" [dev-dependencies] diff --git a/symbolic-common/Cargo.toml b/symbolic-common/Cargo.toml index f86341fc5..bc28f573e 100644 --- a/symbolic-common/Cargo.toml +++ b/symbolic-common/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-common" -version = "12.6.0" +version = "12.7.0" license = "MIT" authors = [ "Armin Ronacher ", diff --git a/symbolic-debuginfo/Cargo.toml b/symbolic-debuginfo/Cargo.toml index 1ca464d9c..2a036d7fb 100644 --- a/symbolic-debuginfo/Cargo.toml +++ b/symbolic-debuginfo/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-debuginfo" -version = "12.6.0" +version = "12.7.0" license = "MIT" authors = [ "Armin Ronacher ", @@ -99,8 +99,8 @@ scroll = { version = "0.11.0", optional = true } serde = { version = "1.0.154", features = ["derive"] } serde_json = { version = "1.0.94", optional = true } smallvec = { version = "1.10.0", optional = true } -symbolic-common = { version = "12.6.0", path = "../symbolic-common" } -symbolic-ppdb = { version = "12.6.0", path = "../symbolic-ppdb", optional = true } +symbolic-common = { version = "12.7.0", path = "../symbolic-common" } +symbolic-ppdb = { version = "12.7.0", path = "../symbolic-ppdb", optional = true } thiserror = "1.0.39" wasmparser = { version = "0.113.2", optional = true } zip = { version = "0.6.4", optional = true, default-features = false, features = ["deflate"] } diff --git a/symbolic-debuginfo/fuzz/Cargo.toml b/symbolic-debuginfo/fuzz/Cargo.toml index bb5251e56..535663e4e 100644 --- a/symbolic-debuginfo/fuzz/Cargo.toml +++ b/symbolic-debuginfo/fuzz/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-debuginfo-fuzz" -version = "12.6.0" +version = "12.7.0" authors = ["Automatically generated"] publish = false edition = "2021" diff --git a/symbolic-demangle/Cargo.toml b/symbolic-demangle/Cargo.toml index 8f699d70c..81caa0c80 100644 --- a/symbolic-demangle/Cargo.toml +++ b/symbolic-demangle/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-demangle" -version = "12.6.0" +version = "12.7.0" license = "MIT" authors = [ "Armin Ronacher ", @@ -34,7 +34,7 @@ swift = ["cc"] cpp_demangle = { version = "0.4.1", optional = true } msvc-demangler = { version = "0.9.0", optional = true } rustc-demangle = { version = "0.1.21", optional = true } -symbolic-common = { version = "12.6.0", path = "../symbolic-common" } +symbolic-common = { version = "12.7.0", path = "../symbolic-common" } [build-dependencies] cc = { version = "1.0.79", optional = true } diff --git a/symbolic-il2cpp/Cargo.toml b/symbolic-il2cpp/Cargo.toml index cd66c3cea..5811e24df 100644 --- a/symbolic-il2cpp/Cargo.toml +++ b/symbolic-il2cpp/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-il2cpp" -version = "12.6.0" +version = "12.7.0" license = "MIT" authors = ["Sentry "] documentation = "https://docs.rs/symbolic-il2cpp" @@ -14,5 +14,5 @@ edition = "2021" [dependencies] indexmap = "2.0.0" serde_json = "1.0.94" -symbolic-common = { version = "12.6.0", path = "../symbolic-common" } -symbolic-debuginfo = { version = "12.6.0", path = "../symbolic-debuginfo" } +symbolic-common = { version = "12.7.0", path = "../symbolic-common" } +symbolic-debuginfo = { version = "12.7.0", path = "../symbolic-debuginfo" } diff --git a/symbolic-ppdb/Cargo.toml b/symbolic-ppdb/Cargo.toml index 1d6d683aa..0545f88f2 100644 --- a/symbolic-ppdb/Cargo.toml +++ b/symbolic-ppdb/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-ppdb" -version = "12.6.0" +version = "12.7.0" license = "MIT" authors = [ "Sebastian Zivota ", @@ -21,7 +21,7 @@ all-features = true [dependencies] indexmap = "2.0.0" -symbolic-common = { version = "12.6.0", path = "../symbolic-common" } +symbolic-common = { version = "12.7.0", path = "../symbolic-common" } watto = { version = "0.1.0", features = ["writer", "strings"] } thiserror = "1.0.39" uuid = "1.3.0" diff --git a/symbolic-ppdb/fuzz/Cargo.toml b/symbolic-ppdb/fuzz/Cargo.toml index e242bc52d..a336b6041 100644 --- a/symbolic-ppdb/fuzz/Cargo.toml +++ b/symbolic-ppdb/fuzz/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-ppdb-fuzz" -version = "12.6.0" +version = "12.7.0" authors = ["Automatically generated"] publish = false edition = "2021" diff --git a/symbolic-sourcemapcache/Cargo.toml b/symbolic-sourcemapcache/Cargo.toml index 72a0c46d2..ab5e60daa 100644 --- a/symbolic-sourcemapcache/Cargo.toml +++ b/symbolic-sourcemapcache/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-sourcemapcache" -version = "12.6.0" +version = "12.7.0" license = "MIT" authors = ["Sentry "] documentation = "https://docs.rs/symbolic-sourcemapcache" @@ -15,7 +15,7 @@ edition = "2021" itertools = "0.11.0" js-source-scopes = "0.4.0" sourcemap = "7.0.0" -symbolic-common = { version = "12.6.0", path = "../symbolic-common" } +symbolic-common = { version = "12.7.0", path = "../symbolic-common" } thiserror = "1.0.39" tracing = "0.1.37" watto = { version = "0.1.0", features = ["writer", "strings"] } diff --git a/symbolic-symcache/Cargo.toml b/symbolic-symcache/Cargo.toml index 9ab1e1865..3c96239f1 100644 --- a/symbolic-symcache/Cargo.toml +++ b/symbolic-symcache/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-symcache" -version = "12.6.0" +version = "12.7.0" license = "MIT" authors = [ "Armin Ronacher ", @@ -23,9 +23,9 @@ exclude = [ all-features = true [dependencies] -symbolic-common = { version = "12.6.0", path = "../symbolic-common" } -symbolic-debuginfo = { version = "12.6.0", path = "../symbolic-debuginfo" } -symbolic-il2cpp = { version = "12.6.0", path = "../symbolic-il2cpp", optional = true } +symbolic-common = { version = "12.7.0", path = "../symbolic-common" } +symbolic-debuginfo = { version = "12.7.0", path = "../symbolic-debuginfo" } +symbolic-il2cpp = { version = "12.7.0", path = "../symbolic-il2cpp", optional = true } thiserror = "1.0.39" indexmap = "2.0.0" tracing = "0.1.37" diff --git a/symbolic-testutils/Cargo.toml b/symbolic-testutils/Cargo.toml index deaa3aeae..af70d2014 100644 --- a/symbolic-testutils/Cargo.toml +++ b/symbolic-testutils/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-testutils" -version = "12.6.0" +version = "12.7.0" license = "MIT" edition = "2021" publish = false diff --git a/symbolic-unreal/Cargo.toml b/symbolic-unreal/Cargo.toml index d246faaa1..1a7d7d9a6 100644 --- a/symbolic-unreal/Cargo.toml +++ b/symbolic-unreal/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-unreal" -version = "12.6.0" +version = "12.7.0" license = "MIT" authors = [ "Armin Ronacher ", diff --git a/symbolic/Cargo.toml b/symbolic/Cargo.toml index 32feae962..840fb77ab 100644 --- a/symbolic/Cargo.toml +++ b/symbolic/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic" -version = "12.6.0" +version = "12.7.0" license = "MIT" authors = [ "Armin Ronacher ", @@ -34,12 +34,12 @@ unreal = ["symbolic-unreal"] unreal-serde = ["unreal", "common-serde", "symbolic-unreal/serde"] [dependencies] -symbolic-cfi = { version = "12.6.0", path = "../symbolic-cfi", optional = true } -symbolic-common = { version = "12.6.0", path = "../symbolic-common" } -symbolic-debuginfo = { version = "12.6.0", path = "../symbolic-debuginfo", optional = true } -symbolic-demangle = { version = "12.6.0", path = "../symbolic-demangle", optional = true } -symbolic-il2cpp = { version = "12.6.0", path = "../symbolic-il2cpp", optional = true } -symbolic-ppdb = { version = "12.6.0", path = "../symbolic-ppdb", optional = true } -symbolic-sourcemapcache = { version = "12.6.0", path = "../symbolic-sourcemapcache", optional = true } -symbolic-symcache = { version = "12.6.0", path = "../symbolic-symcache", optional = true } -symbolic-unreal = { version = "12.6.0", path = "../symbolic-unreal", optional = true } +symbolic-cfi = { version = "12.7.0", path = "../symbolic-cfi", optional = true } +symbolic-common = { version = "12.7.0", path = "../symbolic-common" } +symbolic-debuginfo = { version = "12.7.0", path = "../symbolic-debuginfo", optional = true } +symbolic-demangle = { version = "12.7.0", path = "../symbolic-demangle", optional = true } +symbolic-il2cpp = { version = "12.7.0", path = "../symbolic-il2cpp", optional = true } +symbolic-ppdb = { version = "12.7.0", path = "../symbolic-ppdb", optional = true } +symbolic-sourcemapcache = { version = "12.7.0", path = "../symbolic-sourcemapcache", optional = true } +symbolic-symcache = { version = "12.7.0", path = "../symbolic-symcache", optional = true } +symbolic-unreal = { version = "12.7.0", path = "../symbolic-unreal", optional = true } From 6970909942af44aaadd2fc4d8c91133d6b3dd405 Mon Sep 17 00:00:00 2001 From: Arpad Borsos Date: Wed, 29 Nov 2023 11:59:27 +0100 Subject: [PATCH 08/11] Update crate dependencies (#822) In particular, this updates to `gimli:0.28.1`, which needs a manual `populate_abbreviations_cache` call to retain the current performance it has (aka, not OOM after spending a ton of time parsing duplicated abbreviations). As well as the usual churn related to `wasmparser`. --- CHANGELOG.md | 16 +- Cargo.lock | 372 +++++++++++++++---------- examples/minidump_stackwalk/Cargo.toml | 6 +- symbolic-common/Cargo.toml | 2 +- symbolic-debuginfo/Cargo.toml | 4 +- symbolic-debuginfo/src/dwarf.rs | 5 +- symbolic-debuginfo/src/wasm/parser.rs | 12 +- symbolic-sourcemapcache/Cargo.toml | 2 +- 8 files changed, 241 insertions(+), 178 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cd00a3d26..7f8dd47d4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,26 +1,22 @@ # Changelog +## Unreleased + **Internal** -**Features** +- Update crate dependencies, in particular `gimli` to fix performance/OOM problems related to duplicated abbreviations ([#822](https://github.com/getsentry/symbolic/pull/822)) -- Add support for `parameters` param in the `remap_frame` to allow deobfuscation when line is not available ([#820](https://github.com/getsentry/symbolic/pull/820)) +## 12.7.0 **Fixes** - Fix empty parameters list issue ([#821](https://github.com/getsentry/symbolic/pull/821)) -## 12.7.0 - -### Various fixes & improvements - -- fix empty parameters list issue (#821) by @viglia - ## 12.6.0 -### Various fixes & improvements +**Features** -- ref: refactor rust bindings to support optional parameters for StackFrame (#820) by @viglia +- Add support for `parameters` param in the `remap_frame` to allow deobfuscation when line is not available ([#820](https://github.com/getsentry/symbolic/pull/820)) ## 12.5.0 diff --git a/Cargo.lock b/Cargo.lock index 84613ce5e..543136d62 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -23,7 +23,7 @@ dependencies = [ [[package]] name = "addr2line" -version = "12.6.0" +version = "12.7.0" dependencies = [ "anyhow", "clap", @@ -211,9 +211,9 @@ checksum = "327762f6e5a765692301e5bb513e0d9fef63be86bbc14528052b1cd3e6f03e07" [[package]] name = "breakpad-symbols" -version = "0.18.0" +version = "0.19.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d74d84f4b64599b9ce996914673a5b4d60181c3895c7eb26369459ccc41fb37d" +checksum = "b002797414ffc34425bdf5b21a9e50d102013292625749eeba0a59923176ab05" dependencies = [ "async-trait", "cachemap2", @@ -340,18 +340,18 @@ checksum = "b0fc239e0f6cb375d2402d48afb92f76f5404fd1df208a41930ec81eda078bea" [[package]] name = "clap" -version = "4.4.6" +version = "4.4.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d04704f56c2cde07f43e8e2c154b43f216dc5c92fc98ada720177362f953b956" +checksum = "41fffed7514f420abec6d183b1d3acfd9099c79c3a10a06ade4f8203f1411272" dependencies = [ "clap_builder", ] [[package]] name = "clap_builder" -version = "4.4.6" +version = "4.4.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e231faeaca65ebd1ea3c737966bf858971cd38c3849107aa3ea7de90a804e45" +checksum = "63361bae7eef3771745f02d8d892bec2fee5f6e34af316ba556e7f97a7069ff1" dependencies = [ "anstream", "anstyle", @@ -361,9 +361,9 @@ dependencies = [ [[package]] name = "clap_lex" -version = "0.5.1" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd7cc57abe963c6d3b9d8be5b06ba7c8957a930305ca90304f24ef040aa6f961" +checksum = "702fc72eb24e5a1e48ce58027a675bc24edd52096d5397d4aea7c6dd9eca0bd1" [[package]] name = "colorchoice" @@ -503,9 +503,9 @@ dependencies = [ [[package]] name = "data-encoding" -version = "2.4.0" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2e66c9d817f1720209181c316d28635c050fa304f9c79e47a520882661b7308" +checksum = "7e962a19be5cfc3f3bf6dd8f61eb50107f356ad6270fbb3ed41476571db78be5" [[package]] name = "debugid" @@ -519,7 +519,7 @@ dependencies = [ [[package]] name = "debuginfo_debug" -version = "12.6.0" +version = "12.7.0" dependencies = [ "anyhow", "clap", @@ -543,7 +543,7 @@ checksum = "f0bc8fbe9441c17c9f46f75dfe27fa1ddb6c68a461ccaed0481419219d4f10d3" [[package]] name = "dump_cfi" -version = "12.6.0" +version = "12.7.0" dependencies = [ "anyhow", "clap", @@ -552,7 +552,7 @@ dependencies = [ [[package]] name = "dump_sources" -version = "12.6.0" +version = "12.7.0" dependencies = [ "clap", "symbolic", @@ -605,12 +605,12 @@ checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" [[package]] name = "errno" -version = "0.3.5" +version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac3e13f66a2f95e32a39eaa81f6b95d42878ca0e1db0c7543723dfe12557e860" +checksum = "a258e46cdc063eb8519c00b9fc845fc47bcfca4130e2f08e88665ceda8474245" dependencies = [ "libc", - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] @@ -643,9 +643,9 @@ dependencies = [ [[package]] name = "form_urlencoded" -version = "1.2.0" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a62bc1cf6f830c2ec14a513a9fb124d0a213a629668a4186f329db21fe045652" +checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456" dependencies = [ "percent-encoding", ] @@ -664,15 +664,15 @@ dependencies = [ [[package]] name = "futures-core" -version = "0.3.28" +version = "0.3.29" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4bca583b7e26f571124fe5b7561d49cb2868d79116cfa0eefce955557c6fee8c" +checksum = "eb1d22c66e66d9d72e1758f0bd7d4fd0bee04cad842ee34587d68c07e45d088c" [[package]] name = "futures-macro" -version = "0.3.28" +version = "0.3.29" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89ca545a94061b6365f2c7355b4b32bd20df3ff95f02da9329b34ccc3bd6ee72" +checksum = "53b153fd91e4b0147f4aced87be237c98248656bb01050b96bf3ee89220a8ddb" dependencies = [ "proc-macro2", "quote", @@ -681,15 +681,15 @@ dependencies = [ [[package]] name = "futures-task" -version = "0.3.28" +version = "0.3.29" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76d3d132be6c0e6aa1534069c705a74a5997a356c0dc2f86a47765e5617c5b65" +checksum = "efd193069b0ddadc69c46389b740bbccdd97203899b48d09c5f7969591d6bae2" [[package]] name = "futures-util" -version = "0.3.28" +version = "0.3.29" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26b01e40b772d54cf6c6d721c1d1abd0647a0106a12ecaa1c186273392a69533" +checksum = "a19526d624e703a3179b3d322efec918b6246ea0fa51d41124525f00f1cc8104" dependencies = [ "futures-core", "futures-macro", @@ -701,9 +701,9 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.2.10" +version = "0.2.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be4136b2a15dd319360be1c07d9933517ccf0be8f16bf62a3bee4f0d618df427" +checksum = "fe9006bed769170c11f845cf00c7c1e9092aeb3f268e007c3e760ac68008070f" dependencies = [ "cfg-if", "libc", @@ -712,9 +712,9 @@ dependencies = [ [[package]] name = "gimli" -version = "0.28.0" +version = "0.28.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fb8d784f27acf97159b40fc4db5ecd8aa23b9ad5ef69cdd136d3bc80665f0c0" +checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253" dependencies = [ "fallible-iterator 0.3.0", "stable_deref_trait", @@ -739,9 +739,9 @@ checksum = "eabb4a44450da02c90444cf74558da904edde8fb4e9035a9a6a4e15445af0bd7" [[package]] name = "hashbrown" -version = "0.14.1" +version = "0.14.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7dfda62a12f55daeae5015f81b0baea145391cb4520f86c248fc615d72640d12" +checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604" [[package]] name = "hermit-abi" @@ -751,16 +751,16 @@ checksum = "d77f7ec81a6d05a3abb01ab6eb7590f6083d08449fe5a1c8b1e620283546ccb7" [[package]] name = "iana-time-zone" -version = "0.1.57" +version = "0.1.58" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2fad5b825842d2b38bd206f3e81d6957625fd7f0a361e345c30e01a0ae2dd613" +checksum = "8326b86b6cff230b97d0d312a6c40a60726df3332e721f72a1b035f451663b20" dependencies = [ "android_system_properties", "core-foundation-sys", "iana-time-zone-haiku", "js-sys", "wasm-bindgen", - "windows", + "windows-core", ] [[package]] @@ -774,9 +774,9 @@ dependencies = [ [[package]] name = "idna" -version = "0.4.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d20d6b07bfbc108882d88ed8e37d39636dcc260e15e30c45e6ba089610b917c" +checksum = "634d9b1461af396cad843f47fdba5597a4f9e6ddd4bfb6ff5d85028c25cb12f6" dependencies = [ "unicode-bidi", "unicode-normalization", @@ -796,9 +796,9 @@ checksum = "0cfe9645a18782869361d9c8732246be7b410ad4e919d3609ebabdac00ba12c3" [[package]] name = "indexmap" -version = "2.0.2" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8adf3ddd720272c6ea8bf59463c04e0f93d0bbf7c5439b691bca2987e0270897" +checksum = "d530e1a18b1cb4c484e6e34556a0d948706958449fca0cab753d649f2bce3d1f" dependencies = [ "equivalent", "hashbrown", @@ -871,9 +871,9 @@ dependencies = [ [[package]] name = "itertools" -version = "0.11.0" +version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1c173a5686ce8bfa551b3563d0c2170bf24ca44da99c7ca4bfdab5418c3fe57" +checksum = "25db6b064527c5d482d0423354fcd07a89a2dfe07b67892e62411946db7f07b0" dependencies = [ "either", ] @@ -907,9 +907,9 @@ dependencies = [ [[package]] name = "js-sys" -version = "0.3.64" +version = "0.3.66" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5f195fe497f702db0f318b07fdd68edb16955aed830df8363d837542f8f935a" +checksum = "cee9c64da59eae3b50095c18d3e74f8b73c0b86d2792824ff01bbce68ba229ca" dependencies = [ "wasm-bindgen", ] @@ -928,9 +928,9 @@ checksum = "884e2677b40cc8c339eaefcb701c32ef1fd2493d71118dc0ca4b6a736c93bd67" [[package]] name = "libc" -version = "0.2.149" +version = "0.2.150" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a08173bc88b7955d1b3145aa561539096c421ac8debde8cbc3612ec635fee29b" +checksum = "89d92a4743f9a61002fae18374ed11e7973f530cb3a3255fb354818118b2203c" [[package]] name = "linked-hash-map" @@ -940,15 +940,15 @@ checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f" [[package]] name = "linux-raw-sys" -version = "0.4.10" +version = "0.4.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da2479e8c062e40bf0066ffa0bc823de0a9368974af99c9f6df941d2c231e03f" +checksum = "969488b55f8ac402214f3f5fd243ebb7206cf82de60d3172994707a4bcc2b829" [[package]] name = "lock_api" -version = "0.4.10" +version = "0.4.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1cc9717a20b1bb222f333e6a92fd32f7d8a18ddc5a3191a11af45dcbf4dcd16" +checksum = "3c168f8615b12bc01f9c17e2eb0cc07dcae1940121185446edc3744920e8ef45" dependencies = [ "autocfg", "scopeguard", @@ -983,18 +983,18 @@ checksum = "f665ee40bc4a3c5590afb1e9677db74a508659dfd71e126420da8274909a0167" [[package]] name = "memmap2" -version = "0.5.10" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83faa42c0a078c393f6b29d5db232d8be22776a891f8f56e5284faee4a20b327" +checksum = "43a5a03cefb0d953ec0be133036f14e109412fa594edc2f77227249db66cc3ed" dependencies = [ "libc", ] [[package]] name = "memmap2" -version = "0.8.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43a5a03cefb0d953ec0be133036f14e109412fa594edc2f77227249db66cc3ed" +checksum = "deaba38d7abf1d4cca21cc89e932e542ba2b9258664d2a9ef0e61512039c9375" dependencies = [ "libc", ] @@ -1010,13 +1010,13 @@ dependencies = [ [[package]] name = "minidump" -version = "0.18.0" +version = "0.19.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e20da5c0aab8b6d683d8a15ca70db468d3f6ddfe38269837c22c7bab7ba2627c" +checksum = "5c671544a05d0e8daa3018c8fb6687c11935c4ae8f122de8f2386c2896b4e9b8" dependencies = [ "debugid", "encoding_rs", - "memmap2 0.5.10", + "memmap2 0.8.0", "minidump-common", "num-traits", "range-map", @@ -1029,9 +1029,9 @@ dependencies = [ [[package]] name = "minidump-common" -version = "0.18.0" +version = "0.19.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b23ab3a13de24f89fa3060579288f142ac4d138d37eec8a398ba59b0ca4d577" +checksum = "3dbc11dfb55b3b7b5684fb16d98e0fc9d1e93a64d6b00bf383eabfc4541aaac2" dependencies = [ "bitflags 2.4.1", "debugid", @@ -1044,15 +1044,15 @@ dependencies = [ [[package]] name = "minidump-processor" -version = "0.18.0" +version = "0.19.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e402963e1997711e1cc491a35fc2c4a4822d4eb95d939e0401c72cb9faacb19f" +checksum = "76b49bde7c0ae9a7142c540c27c7fc29db2288fd9614f11a9ce57badeb74af43" dependencies = [ "async-trait", "breakpad-symbols", "debugid", "futures-util", - "memmap2 0.5.10", + "memmap2 0.8.0", "minidump", "minidump-common", "minidump-unwind", @@ -1066,9 +1066,9 @@ dependencies = [ [[package]] name = "minidump-unwind" -version = "0.18.0" +version = "0.19.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8bfe80a00f234a23ae2e42336e0b7e40d6b1c330712777bb7e2c7bebb6c3bf80" +checksum = "63aef4cd2e018881680b152296ae28e674242823faa1767b417b6669a1896cdc" dependencies = [ "async-trait", "breakpad-symbols", @@ -1080,7 +1080,7 @@ dependencies = [ [[package]] name = "minidump_stackwalk" -version = "12.6.0" +version = "12.7.0" dependencies = [ "async-trait", "clap", @@ -1242,7 +1242,7 @@ dependencies = [ [[package]] name = "object_debug" -version = "12.6.0" +version = "12.7.0" dependencies = [ "clap", "symbolic", @@ -1284,7 +1284,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" dependencies = [ "lock_api", - "parking_lot_core 0.9.8", + "parking_lot_core 0.9.9", ] [[package]] @@ -1303,13 +1303,13 @@ dependencies = [ [[package]] name = "parking_lot_core" -version = "0.9.8" +version = "0.9.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93f00c865fe7cabf650081affecd3871070f26767e7b2070a3ffae14c654b447" +checksum = "4c42a9226546d68acdd9c0a280d17ce19bfe27a46bf68784e4066115788d008e" dependencies = [ "cfg-if", "libc", - "redox_syscall 0.3.5", + "redox_syscall 0.4.1", "smallvec", "windows-targets 0.48.5", ] @@ -1341,9 +1341,9 @@ dependencies = [ [[package]] name = "percent-encoding" -version = "2.3.0" +version = "2.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b2a4787296e9989611394c33f193f676704af1686e70b8f8033ab5ba9a35a94" +checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" [[package]] name = "phf_generator" @@ -1441,9 +1441,9 @@ checksum = "925383efa346730478fb4838dbe9137d2a47675ad789c546d150a6e1dd4ab31c" [[package]] name = "proc-macro2" -version = "1.0.69" +version = "1.0.70" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "134c189feb4956b20f6f547d2cf727d4c0fe06722b20a0eec87ed445a97f92da" +checksum = "39278fbbf5fb4f646ce651690877f89d1c5811a3d4acb27700c1cb3cdb78fd3b" dependencies = [ "unicode-ident", ] @@ -1557,22 +1557,22 @@ dependencies = [ [[package]] name = "redox_syscall" -version = "0.3.5" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29" +checksum = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa" dependencies = [ "bitflags 1.3.2", ] [[package]] name = "regex" -version = "1.10.1" +version = "1.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aaac441002f822bc9705a681810a4dd2963094b9ca0ddc41cb963a4c189189ea" +checksum = "380b951a9c5e80ddfd6136919eef32310721aa4aacd4889a8d39124b026ab343" dependencies = [ "aho-corasick", "memchr", - "regex-automata 0.4.2", + "regex-automata 0.4.3", "regex-syntax 0.8.2", ] @@ -1587,9 +1587,9 @@ dependencies = [ [[package]] name = "regex-automata" -version = "0.4.2" +version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5011c7e263a695dc8ca064cddb722af1be54e517a280b12a5356f98366899e5d" +checksum = "5f804c7828047e88b2d32e2d7fe5a105da8ee3264f01902f796c8e067dc2483f" dependencies = [ "aho-corasick", "memchr", @@ -1631,9 +1631,9 @@ dependencies = [ [[package]] name = "rustix" -version = "0.38.19" +version = "0.38.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "745ecfa778e66b2b63c88a61cb36e0eea109e803b0b86bf9879fbc77c70e86ed" +checksum = "dc99bc2d4f1fed22595588a013687477aedf3cdcfb26558c559edb67b4d9b22e" dependencies = [ "bitflags 2.4.1", "errno", @@ -1712,18 +1712,18 @@ checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" [[package]] name = "serde" -version = "1.0.189" +version = "1.0.193" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e422a44e74ad4001bdc8eede9a4570ab52f71190e9c076d14369f38b9200537" +checksum = "25dd9975e68d0cb5aa1120c288333fc98731bd1dd12f561e468ea4728c042b89" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.189" +version = "1.0.193" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e48d1f918009ce3145511378cf68d613e3b3d9137d67272562080d68a2b32d5" +checksum = "43576ca501357b9b071ac53cdc7da8ef0cbd9493d8df094cd821777ea6e894d3" dependencies = [ "proc-macro2", "quote", @@ -1732,9 +1732,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.107" +version = "1.0.108" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b420ce6e3d8bd882e9b243c6eed35dbc9a6110c9769e74b584e0d68d1f20c65" +checksum = "3d1c7e3eac408d115102c4c24ad393e0821bb3a5df4d506a80f85f7a742a526b" dependencies = [ "itoa", "ryu", @@ -1813,9 +1813,9 @@ dependencies = [ [[package]] name = "smallvec" -version = "1.11.1" +version = "1.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "942b4a808e05215192e39f4ab80813e599068285906cc91aa64f923db842bd5a" +checksum = "4dccd0940a2dcdf68d092b8cbab7dc0ad8fa938bf95787e1b916b0e3d0e8e970" [[package]] name = "smart-default" @@ -1841,9 +1841,9 @@ dependencies = [ [[package]] name = "sourcemap" -version = "7.0.0" +version = "7.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dbecc42a2b6131acc3bf9a25c9fe4161dba438eb52131bba83c5d781b5b70be3" +checksum = "10da010a590ed2fa9ca8467b00ce7e9c5a8017742c0c09c45450efc172208c4b" dependencies = [ "data-encoding", "debugid", @@ -1857,7 +1857,7 @@ dependencies = [ [[package]] name = "sourcemapcache_debug" -version = "12.6.0" +version = "12.7.0" dependencies = [ "anyhow", "clap", @@ -2076,7 +2076,7 @@ dependencies = [ [[package]] name = "symbolic" -version = "12.6.0" +version = "12.7.0" dependencies = [ "symbolic-cfi", "symbolic-common", @@ -2091,7 +2091,7 @@ dependencies = [ [[package]] name = "symbolic-cabi" -version = "12.6.0" +version = "12.7.0" dependencies = [ "proguard", "sourcemap", @@ -2101,7 +2101,7 @@ dependencies = [ [[package]] name = "symbolic-cfi" -version = "12.6.0" +version = "12.7.0" dependencies = [ "insta", "similar-asserts", @@ -2113,10 +2113,10 @@ dependencies = [ [[package]] name = "symbolic-common" -version = "12.6.0" +version = "12.7.0" dependencies = [ "debugid", - "memmap2 0.8.0", + "memmap2 0.9.0", "serde", "similar-asserts", "stable_deref_trait", @@ -2127,7 +2127,7 @@ dependencies = [ [[package]] name = "symbolic-debuginfo" -version = "12.6.0" +version = "12.7.0" dependencies = [ "criterion", "debugid", @@ -2162,7 +2162,7 @@ dependencies = [ [[package]] name = "symbolic-demangle" -version = "12.6.0" +version = "12.7.0" dependencies = [ "cc", "cpp_demangle", @@ -2174,7 +2174,7 @@ dependencies = [ [[package]] name = "symbolic-il2cpp" -version = "12.6.0" +version = "12.7.0" dependencies = [ "indexmap", "serde_json", @@ -2184,7 +2184,7 @@ dependencies = [ [[package]] name = "symbolic-ppdb" -version = "12.6.0" +version = "12.7.0" dependencies = [ "flate2", "indexmap", @@ -2200,9 +2200,9 @@ dependencies = [ [[package]] name = "symbolic-sourcemapcache" -version = "12.6.0" +version = "12.7.0" dependencies = [ - "itertools 0.11.0", + "itertools 0.12.0", "js-source-scopes", "sourcemap", "symbolic-common", @@ -2214,7 +2214,7 @@ dependencies = [ [[package]] name = "symbolic-symcache" -version = "12.6.0" +version = "12.7.0" dependencies = [ "criterion", "indexmap", @@ -2231,11 +2231,11 @@ dependencies = [ [[package]] name = "symbolic-testutils" -version = "12.6.0" +version = "12.7.0" [[package]] name = "symbolic-unreal" -version = "12.6.0" +version = "12.7.0" dependencies = [ "anylog", "bytes", @@ -2255,7 +2255,7 @@ dependencies = [ [[package]] name = "symcache_debug" -version = "12.6.0" +version = "12.7.0" dependencies = [ "anyhow", "clap", @@ -2264,9 +2264,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.38" +version = "2.0.39" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e96b79aaa137db8f61e26363a0c9b47d8b4ec75da28b7d1d614c2303e232408b" +checksum = "23e78b90f2fcf45d3e842032ce32e3f2d1545ba6636271dcbf24fa306d87be7a" dependencies = [ "proc-macro2", "quote", @@ -2275,31 +2275,31 @@ dependencies = [ [[package]] name = "tempfile" -version = "3.8.0" +version = "3.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb94d2f3cc536af71caac6b6fcebf65860b347e7ce0cc9ebe8f70d3e521054ef" +checksum = "7ef1adac450ad7f4b3c28589471ade84f25f731a7a0fe30d71dfa9f60fd808e5" dependencies = [ "cfg-if", "fastrand", - "redox_syscall 0.3.5", + "redox_syscall 0.4.1", "rustix", "windows-sys 0.48.0", ] [[package]] name = "thiserror" -version = "1.0.49" +version = "1.0.50" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1177e8c6d7ede7afde3585fd2513e611227efd6481bd78d2e82ba1ce16557ed4" +checksum = "f9a7210f5c9a7156bb50aa36aed4c95afb51df0df00713949448cf9e97d382d2" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.49" +version = "1.0.50" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10712f02019e9288794769fba95cd6847df9874d49d871d062172f9dd41bc4cc" +checksum = "266b2e40bc00e5a6c09c3584011e08b06f123c00362c92b975ba9843aaaa14b8" dependencies = [ "proc-macro2", "quote", @@ -2372,9 +2372,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.33.0" +version = "1.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f38200e3ef7995e5ef13baec2f432a6da0aa9ac495b2c0e8f3b7eec2c92d653" +checksum = "d0c014766411e834f7af5b8f4cf46257aab4036ca95e9d2c144a10f59ad6f5b9" dependencies = [ "backtrace", "pin-project-lite", @@ -2383,9 +2383,9 @@ dependencies = [ [[package]] name = "tokio-macros" -version = "2.1.0" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "630bdcf245f78637c13ec01ffae6187cca34625e8c63150d424b59e55af2675e" +checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" dependencies = [ "proc-macro2", "quote", @@ -2394,9 +2394,9 @@ dependencies = [ [[package]] name = "tracing" -version = "0.1.39" +version = "0.1.40" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee2ef2af84856a50c1d430afce2fdded0a4ec7eda868db86409b4543df0797f9" +checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef" dependencies = [ "log", "pin-project-lite", @@ -2427,20 +2427,20 @@ dependencies = [ [[package]] name = "tracing-log" -version = "0.1.3" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78ddad33d2d10b1ed7eb9d1f518a5674713876e97e5bb9b7345a7984fbb4f922" +checksum = "ee855f1f400bd0e5c02d150ae5de3840039a3f54b025156404e34c23c03f47c3" dependencies = [ - "lazy_static", "log", + "once_cell", "tracing-core", ] [[package]] name = "tracing-subscriber" -version = "0.3.17" +version = "0.3.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30a651bc37f915e81f087d86e62a18eec5f79550c7faff886f7090b4ea757c77" +checksum = "ad0f048c97dbd9faa9b7df56362b8ebcaa52adb06b498c050d2f4e32f90a7a8b" dependencies = [ "matchers", "nu-ansi-term", @@ -2456,9 +2456,9 @@ dependencies = [ [[package]] name = "triomphe" -version = "0.1.9" +version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0eee8098afad3fb0c54a9007aab6804558410503ad676d4633f9c2559a00ac0f" +checksum = "d0c5a71827ac326072b6405552093e2ad2accd25a32fd78d4edc82d98c7f2409" dependencies = [ "serde", "stable_deref_trait", @@ -2511,7 +2511,7 @@ checksum = "e51733f11c9c4f72aa0c160008246859e340b00807569a0da0e7a1079b27ba85" [[package]] name = "unreal_engine_crash" -version = "12.6.0" +version = "12.7.0" dependencies = [ "clap", "symbolic", @@ -2519,9 +2519,9 @@ dependencies = [ [[package]] name = "url" -version = "2.4.1" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "143b538f18257fac9cad154828a57c6bf5157e1aa604d4816b5995bf6de87ae5" +checksum = "31e6302e3bb753d46e83516cae55ae196fc0c309407cf11ab35cc51a4c2a4633" dependencies = [ "form_urlencoded", "idna", @@ -2536,9 +2536,9 @@ checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a" [[package]] name = "uuid" -version = "1.4.1" +version = "1.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79daa5ed5740825c40b389c5e50312b9c86df53fccd33f281df655642b43869d" +checksum = "5e395fcf16a7a3d8127ec99782007af141946b4795001f876d54fb0d55978560" dependencies = [ "sha1_smol", ] @@ -2573,9 +2573,9 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "wasm-bindgen" -version = "0.2.87" +version = "0.2.89" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7706a72ab36d8cb1f80ffbf0e071533974a60d0a308d01a5d0375bf60499a342" +checksum = "0ed0d4f68a3015cc185aff4db9506a015f4b96f95303897bfa23f846db54064e" dependencies = [ "cfg-if", "wasm-bindgen-macro", @@ -2583,9 +2583,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-backend" -version = "0.2.87" +version = "0.2.89" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ef2b6d3c510e9625e5fe6f509ab07d66a760f0885d858736483c32ed7809abd" +checksum = "1b56f625e64f3a1084ded111c4d5f477df9f8c92df113852fa5a374dbda78826" dependencies = [ "bumpalo", "log", @@ -2598,9 +2598,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.87" +version = "0.2.89" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dee495e55982a3bd48105a7b947fd2a9b4a8ae3010041b9e0faab3f9cd028f1d" +checksum = "0162dbf37223cd2afce98f3d0785506dcb8d266223983e4b5b525859e6e182b2" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -2608,9 +2608,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.87" +version = "0.2.89" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54681b18a46765f095758388f2d0cf16eb8d4169b639ab575a8f5693af210c7b" +checksum = "f0eb82fcb7930ae6219a7ecfd55b217f5f0893484b7a13022ebb2b2bf20b5283" dependencies = [ "proc-macro2", "quote", @@ -2621,15 +2621,15 @@ dependencies = [ [[package]] name = "wasm-bindgen-shared" -version = "0.2.87" +version = "0.2.89" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca6ad05a4870b2bf5fe995117d3728437bd27d7cd5f06f13c17443ef369775a1" +checksum = "7ab9b36309365056cd639da3134bf87fa8f3d86008abf99e612384a6eecd459f" [[package]] name = "wasmparser" -version = "0.113.3" +version = "0.118.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "286049849b5a5bd09a8773171be96824afabffc7cc3df6caaf33a38db6cd07ae" +checksum = "ebbb91574de0011ded32b14db12777e7dd5e9ea2f9d7317a1ab51a9495c75924" dependencies = [ "indexmap", "semver 1.0.20", @@ -2647,9 +2647,9 @@ dependencies = [ [[package]] name = "web-sys" -version = "0.3.64" +version = "0.3.66" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b85cbef8c220a6abc02aefd892dfc0fc23afb1c6a426316ec33253a3877249b" +checksum = "50c24a44ec86bb68fbecd1b3efed7e85ea5621b39b35ef2766b66cd984f8010f" dependencies = [ "js-sys", "wasm-bindgen", @@ -2687,10 +2687,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" [[package]] -name = "windows" -version = "0.48.0" +name = "windows-core" +version = "0.51.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e686886bc078bc1b0b600cac0147aadb815089b6e4da64016cbd754b6342700f" +checksum = "f1f8cf84f35d2db49a46868f947758c7a1138116f7fac3bc844f43ade1292e64" dependencies = [ "windows-targets 0.48.5", ] @@ -2713,6 +2713,15 @@ dependencies = [ "windows-targets 0.48.5", ] +[[package]] +name = "windows-sys" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" +dependencies = [ + "windows-targets 0.52.0", +] + [[package]] name = "windows-targets" version = "0.42.2" @@ -2743,6 +2752,21 @@ dependencies = [ "windows_x86_64_msvc 0.48.5", ] +[[package]] +name = "windows-targets" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a18201040b24831fbb9e4eb208f8892e1f50a37feb53cc7ff887feb8f50e7cd" +dependencies = [ + "windows_aarch64_gnullvm 0.52.0", + "windows_aarch64_msvc 0.52.0", + "windows_i686_gnu 0.52.0", + "windows_i686_msvc 0.52.0", + "windows_x86_64_gnu 0.52.0", + "windows_x86_64_gnullvm 0.52.0", + "windows_x86_64_msvc 0.52.0", +] + [[package]] name = "windows_aarch64_gnullvm" version = "0.42.2" @@ -2755,6 +2779,12 @@ version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb7764e35d4db8a7921e09562a0304bf2f93e0a51bfccee0bd0bb0b666b015ea" + [[package]] name = "windows_aarch64_msvc" version = "0.42.2" @@ -2767,6 +2797,12 @@ version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" +[[package]] +name = "windows_aarch64_msvc" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbaa0368d4f1d2aaefc55b6fcfee13f41544ddf36801e793edbbfd7d7df075ef" + [[package]] name = "windows_i686_gnu" version = "0.42.2" @@ -2779,6 +2815,12 @@ version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" +[[package]] +name = "windows_i686_gnu" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a28637cb1fa3560a16915793afb20081aba2c92ee8af57b4d5f28e4b3e7df313" + [[package]] name = "windows_i686_msvc" version = "0.42.2" @@ -2791,6 +2833,12 @@ version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" +[[package]] +name = "windows_i686_msvc" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ffe5e8e31046ce6230cc7215707b816e339ff4d4d67c65dffa206fd0f7aa7b9a" + [[package]] name = "windows_x86_64_gnu" version = "0.42.2" @@ -2803,6 +2851,12 @@ version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" +[[package]] +name = "windows_x86_64_gnu" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d6fa32db2bc4a2f5abeacf2b69f7992cd09dca97498da74a151a3132c26befd" + [[package]] name = "windows_x86_64_gnullvm" version = "0.42.2" @@ -2815,6 +2869,12 @@ version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a657e1e9d3f514745a572a6846d3c7aa7dbe1658c056ed9c3344c4109a6949e" + [[package]] name = "windows_x86_64_msvc" version = "0.42.2" @@ -2827,6 +2887,12 @@ version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" +[[package]] +name = "windows_x86_64_msvc" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dff9641d1cd4be8d1a070daf9e3773c5f67e78b4d9d42263020c057706765c04" + [[package]] name = "yaml-rust" version = "0.4.5" diff --git a/examples/minidump_stackwalk/Cargo.toml b/examples/minidump_stackwalk/Cargo.toml index 4f22efb7a..0c8f08538 100644 --- a/examples/minidump_stackwalk/Cargo.toml +++ b/examples/minidump_stackwalk/Cargo.toml @@ -10,9 +10,9 @@ publish = false [dependencies] async-trait = "0.1.53" clap = "4.4.5" -minidump = "0.18.0" -minidump-processor = "0.18.0" -minidump-unwind = "0.18.0" +minidump = "0.19.1" +minidump-processor = "0.19.1" +minidump-unwind = "0.19.1" symbolic = { path = "../../symbolic", features = ["symcache", "demangle", "cfi"] } thiserror = "1.0.31" tokio = {version = "1.18.1", features = ["macros", "rt"] } diff --git a/symbolic-common/Cargo.toml b/symbolic-common/Cargo.toml index bc28f573e..24c748d5a 100644 --- a/symbolic-common/Cargo.toml +++ b/symbolic-common/Cargo.toml @@ -24,7 +24,7 @@ serde = ["dep:serde", "debugid/serde"] [dependencies] debugid = "0.8.0" -memmap2 = "0.8.0" +memmap2 = "0.9.0" stable_deref_trait = "1.2.0" serde = { version = "1.0.154", optional = true, features = ["derive"] } uuid = "1.3.0" diff --git a/symbolic-debuginfo/Cargo.toml b/symbolic-debuginfo/Cargo.toml index 2a036d7fb..6040eaa5d 100644 --- a/symbolic-debuginfo/Cargo.toml +++ b/symbolic-debuginfo/Cargo.toml @@ -85,7 +85,7 @@ elementtree = { version = "1.2.3", optional = true } elsa = { version = "1.8.0", optional = true } fallible-iterator = "0.3.0" flate2 = { version = "1.0.25", optional = true, default-features = false, features = ["rust_backend"] } -gimli = { version = "0.28.0", optional = true, default-features = false, features = ["read", "std", "fallible-iterator"] } +gimli = { version = "0.28.1", optional = true, default-features = false, features = ["read", "std", "fallible-iterator"] } goblin = { version = "0.7.1", optional = true, default-features = false } lazy_static = { version = "1.4.0", optional = true } once_cell = { version = "1.17.1", optional = true } @@ -102,7 +102,7 @@ smallvec = { version = "1.10.0", optional = true } symbolic-common = { version = "12.7.0", path = "../symbolic-common" } symbolic-ppdb = { version = "12.7.0", path = "../symbolic-ppdb", optional = true } thiserror = "1.0.39" -wasmparser = { version = "0.113.2", optional = true } +wasmparser = { version = "0.118.0", optional = true } zip = { version = "0.6.4", optional = true, default-features = false, features = ["deflate"] } [dev-dependencies] diff --git a/symbolic-debuginfo/src/dwarf.rs b/symbolic-debuginfo/src/dwarf.rs index 78c0cb5f7..ab8912f9e 100644 --- a/symbolic-debuginfo/src/dwarf.rs +++ b/symbolic-debuginfo/src/dwarf.rs @@ -19,7 +19,7 @@ use std::sync::Arc; use fallible_iterator::FallibleIterator; use gimli::read::{AttributeValue, Error as GimliError, Range}; -use gimli::{constants, DwarfFileType, UnitSectionOffset}; +use gimli::{constants, AbbreviationsCacheStrategy, DwarfFileType, UnitSectionOffset}; use once_cell::sync::OnceCell; use thiserror::Error; @@ -1131,7 +1131,7 @@ impl<'d> DwarfInfo<'d> { address_offset: i64, kind: ObjectKind, ) -> Result { - let inner = gimli::read::Dwarf { + let mut inner = gimli::read::Dwarf { abbreviations_cache: Default::default(), debug_abbrev: sections.debug_abbrev.to_gimli(), debug_addr: sections.debug_addr.to_gimli(), @@ -1150,6 +1150,7 @@ impl<'d> DwarfInfo<'d> { file_type: DwarfFileType::Main, sup: Default::default(), }; + inner.populate_abbreviations_cache(AbbreviationsCacheStrategy::Duplicates); // Prepare random access to unit headers. let headers = inner.units().collect::>()?; diff --git a/symbolic-debuginfo/src/wasm/parser.rs b/symbolic-debuginfo/src/wasm/parser.rs index c1e38c8de..5560b1290 100644 --- a/symbolic-debuginfo/src/wasm/parser.rs +++ b/symbolic-debuginfo/src/wasm/parser.rs @@ -3,8 +3,8 @@ use super::WasmError; use crate::base::{ObjectKind, Symbol}; use wasmparser::{ - FuncValidatorAllocations, NameSectionReader, Payload, RecGroup, StructuralType, SubType, - TypeRef, Validator, WasmFeatures, + CompositeType, FuncValidatorAllocations, NameSectionReader, Payload, SubType, TypeRef, + Validator, WasmFeatures, }; #[derive(Default)] @@ -93,11 +93,11 @@ impl<'data> super::WasmObject<'data> { for (i, ty) in tsr.into_iter().enumerate() { if matches!( - ty?, - RecGroup::Single(SubType { - structural_type: StructuralType::Func(_), + ty?.types(), + &[SubType { + composite_type: CompositeType::Func(_), .. - }) + }] ) { func_sigs.set(i, true); } diff --git a/symbolic-sourcemapcache/Cargo.toml b/symbolic-sourcemapcache/Cargo.toml index ab5e60daa..fe5e726ba 100644 --- a/symbolic-sourcemapcache/Cargo.toml +++ b/symbolic-sourcemapcache/Cargo.toml @@ -12,7 +12,7 @@ A fast lookup cache for JavaScript Source Maps. edition = "2021" [dependencies] -itertools = "0.11.0" +itertools = "0.12.0" js-source-scopes = "0.4.0" sourcemap = "7.0.0" symbolic-common = { version = "12.7.0", path = "../symbolic-common" } From 7bf64e49ea9c36c1042803ea42ea4eb59a4a1e2c Mon Sep 17 00:00:00 2001 From: getsentry-bot Date: Wed, 29 Nov 2023 11:03:52 +0000 Subject: [PATCH 09/11] release: 12.7.1 --- CHANGELOG.md | 2 +- examples/addr2line/Cargo.toml | 2 +- examples/debuginfo_debug/Cargo.toml | 2 +- examples/dump_cfi/Cargo.toml | 2 +- examples/dump_sources/Cargo.toml | 2 +- examples/minidump_stackwalk/Cargo.toml | 2 +- examples/object_debug/Cargo.toml | 2 +- examples/sourcemapcache_debug/Cargo.toml | 2 +- examples/symcache_debug/Cargo.toml | 2 +- examples/unreal_engine_crash/Cargo.toml | 2 +- symbolic-cabi/Cargo.toml | 4 ++-- symbolic-cfi/Cargo.toml | 6 +++--- symbolic-common/Cargo.toml | 2 +- symbolic-debuginfo/Cargo.toml | 6 +++--- symbolic-debuginfo/fuzz/Cargo.toml | 2 +- symbolic-demangle/Cargo.toml | 4 ++-- symbolic-il2cpp/Cargo.toml | 6 +++--- symbolic-ppdb/Cargo.toml | 4 ++-- symbolic-ppdb/fuzz/Cargo.toml | 2 +- symbolic-sourcemapcache/Cargo.toml | 4 ++-- symbolic-symcache/Cargo.toml | 8 ++++---- symbolic-testutils/Cargo.toml | 2 +- symbolic-unreal/Cargo.toml | 2 +- symbolic/Cargo.toml | 20 ++++++++++---------- 24 files changed, 46 insertions(+), 46 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7f8dd47d4..3a0ead2f5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## Unreleased +## 12.7.1 **Internal** diff --git a/examples/addr2line/Cargo.toml b/examples/addr2line/Cargo.toml index 79aab35ee..e1f961eaf 100644 --- a/examples/addr2line/Cargo.toml +++ b/examples/addr2line/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "addr2line" -version = "12.7.0" +version = "12.7.1" authors = ["Jan Michael Auer "] edition = "2021" publish = false diff --git a/examples/debuginfo_debug/Cargo.toml b/examples/debuginfo_debug/Cargo.toml index 1e497c0de..c4a84bf49 100644 --- a/examples/debuginfo_debug/Cargo.toml +++ b/examples/debuginfo_debug/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "debuginfo_debug" -version = "12.7.0" +version = "12.7.1" authors = ["Markus Stange "] edition = "2021" publish = false diff --git a/examples/dump_cfi/Cargo.toml b/examples/dump_cfi/Cargo.toml index 60937a2da..b19e92b27 100644 --- a/examples/dump_cfi/Cargo.toml +++ b/examples/dump_cfi/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dump_cfi" -version = "12.7.0" +version = "12.7.1" authors = ["Jan Michael Auer "] edition = "2021" publish = false diff --git a/examples/dump_sources/Cargo.toml b/examples/dump_sources/Cargo.toml index 99a9474a9..ce8b0ece1 100644 --- a/examples/dump_sources/Cargo.toml +++ b/examples/dump_sources/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dump_sources" -version = "12.7.0" +version = "12.7.1" authors = ["Jan Michael Auer "] edition = "2021" publish = false diff --git a/examples/minidump_stackwalk/Cargo.toml b/examples/minidump_stackwalk/Cargo.toml index 0c8f08538..891c7c85e 100644 --- a/examples/minidump_stackwalk/Cargo.toml +++ b/examples/minidump_stackwalk/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "minidump_stackwalk" -version = "12.7.0" +version = "12.7.1" authors = ["Jan Michael Auer "] edition = "2021" publish = false diff --git a/examples/object_debug/Cargo.toml b/examples/object_debug/Cargo.toml index 20a5744fc..1d5b7b910 100644 --- a/examples/object_debug/Cargo.toml +++ b/examples/object_debug/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "object_debug" -version = "12.7.0" +version = "12.7.1" authors = ["Jan Michael Auer "] edition = "2021" publish = false diff --git a/examples/sourcemapcache_debug/Cargo.toml b/examples/sourcemapcache_debug/Cargo.toml index b9e3ef652..60a49ed32 100644 --- a/examples/sourcemapcache_debug/Cargo.toml +++ b/examples/sourcemapcache_debug/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sourcemapcache_debug" -version = "12.7.0" +version = "12.7.1" authors = ["Sentry "] edition = "2021" publish = false diff --git a/examples/symcache_debug/Cargo.toml b/examples/symcache_debug/Cargo.toml index 167b2ab55..f78f402f9 100644 --- a/examples/symcache_debug/Cargo.toml +++ b/examples/symcache_debug/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symcache_debug" -version = "12.7.0" +version = "12.7.1" authors = ["Jan Michael Auer "] edition = "2021" publish = false diff --git a/examples/unreal_engine_crash/Cargo.toml b/examples/unreal_engine_crash/Cargo.toml index 731f4c22a..a3e65b2f1 100644 --- a/examples/unreal_engine_crash/Cargo.toml +++ b/examples/unreal_engine_crash/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "unreal_engine_crash" -version = "12.7.0" +version = "12.7.1" authors = ["Jan Michael Auer "] edition = "2021" publish = false diff --git a/symbolic-cabi/Cargo.toml b/symbolic-cabi/Cargo.toml index 88ce52ab1..c8838e1c9 100644 --- a/symbolic-cabi/Cargo.toml +++ b/symbolic-cabi/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-cabi" -version = "12.7.0" +version = "12.7.1" license = "MIT" authors = [ "Armin Ronacher ", @@ -22,5 +22,5 @@ crate-type = ["cdylib"] [dependencies] proguard = { version = "5.3.0", features = ["uuid"] } sourcemap = "7.0.0" -symbolic = { version = "12.7.0", path = "../symbolic", features = ["cfi", "debuginfo", "sourcemapcache", "symcache"] } +symbolic = { version = "12.7.1", path = "../symbolic", features = ["cfi", "debuginfo", "sourcemapcache", "symcache"] } tempfile = "3.4.0" diff --git a/symbolic-cfi/Cargo.toml b/symbolic-cfi/Cargo.toml index 6f8a1ef40..fe18090d6 100644 --- a/symbolic-cfi/Cargo.toml +++ b/symbolic-cfi/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-cfi" -version = "12.7.0" +version = "12.7.1" license = "MIT" authors = [ "Armin Ronacher ", @@ -15,8 +15,8 @@ A library to process call frame information edition = "2021" [dependencies] -symbolic-common = { version = "12.7.0", path = "../symbolic-common" } -symbolic-debuginfo = { version = "12.7.0", path = "../symbolic-debuginfo" } +symbolic-common = { version = "12.7.1", path = "../symbolic-common" } +symbolic-debuginfo = { version = "12.7.1", path = "../symbolic-debuginfo" } thiserror = "1.0.39" [dev-dependencies] diff --git a/symbolic-common/Cargo.toml b/symbolic-common/Cargo.toml index 24c748d5a..0f301eb33 100644 --- a/symbolic-common/Cargo.toml +++ b/symbolic-common/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-common" -version = "12.7.0" +version = "12.7.1" license = "MIT" authors = [ "Armin Ronacher ", diff --git a/symbolic-debuginfo/Cargo.toml b/symbolic-debuginfo/Cargo.toml index 6040eaa5d..ccbcc3e2a 100644 --- a/symbolic-debuginfo/Cargo.toml +++ b/symbolic-debuginfo/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-debuginfo" -version = "12.7.0" +version = "12.7.1" license = "MIT" authors = [ "Armin Ronacher ", @@ -99,8 +99,8 @@ scroll = { version = "0.11.0", optional = true } serde = { version = "1.0.154", features = ["derive"] } serde_json = { version = "1.0.94", optional = true } smallvec = { version = "1.10.0", optional = true } -symbolic-common = { version = "12.7.0", path = "../symbolic-common" } -symbolic-ppdb = { version = "12.7.0", path = "../symbolic-ppdb", optional = true } +symbolic-common = { version = "12.7.1", path = "../symbolic-common" } +symbolic-ppdb = { version = "12.7.1", path = "../symbolic-ppdb", optional = true } thiserror = "1.0.39" wasmparser = { version = "0.118.0", optional = true } zip = { version = "0.6.4", optional = true, default-features = false, features = ["deflate"] } diff --git a/symbolic-debuginfo/fuzz/Cargo.toml b/symbolic-debuginfo/fuzz/Cargo.toml index 535663e4e..448a0a900 100644 --- a/symbolic-debuginfo/fuzz/Cargo.toml +++ b/symbolic-debuginfo/fuzz/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-debuginfo-fuzz" -version = "12.7.0" +version = "12.7.1" authors = ["Automatically generated"] publish = false edition = "2021" diff --git a/symbolic-demangle/Cargo.toml b/symbolic-demangle/Cargo.toml index 81caa0c80..9bff22c27 100644 --- a/symbolic-demangle/Cargo.toml +++ b/symbolic-demangle/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-demangle" -version = "12.7.0" +version = "12.7.1" license = "MIT" authors = [ "Armin Ronacher ", @@ -34,7 +34,7 @@ swift = ["cc"] cpp_demangle = { version = "0.4.1", optional = true } msvc-demangler = { version = "0.9.0", optional = true } rustc-demangle = { version = "0.1.21", optional = true } -symbolic-common = { version = "12.7.0", path = "../symbolic-common" } +symbolic-common = { version = "12.7.1", path = "../symbolic-common" } [build-dependencies] cc = { version = "1.0.79", optional = true } diff --git a/symbolic-il2cpp/Cargo.toml b/symbolic-il2cpp/Cargo.toml index 5811e24df..1a23e3083 100644 --- a/symbolic-il2cpp/Cargo.toml +++ b/symbolic-il2cpp/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-il2cpp" -version = "12.7.0" +version = "12.7.1" license = "MIT" authors = ["Sentry "] documentation = "https://docs.rs/symbolic-il2cpp" @@ -14,5 +14,5 @@ edition = "2021" [dependencies] indexmap = "2.0.0" serde_json = "1.0.94" -symbolic-common = { version = "12.7.0", path = "../symbolic-common" } -symbolic-debuginfo = { version = "12.7.0", path = "../symbolic-debuginfo" } +symbolic-common = { version = "12.7.1", path = "../symbolic-common" } +symbolic-debuginfo = { version = "12.7.1", path = "../symbolic-debuginfo" } diff --git a/symbolic-ppdb/Cargo.toml b/symbolic-ppdb/Cargo.toml index 0545f88f2..58102b0ca 100644 --- a/symbolic-ppdb/Cargo.toml +++ b/symbolic-ppdb/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-ppdb" -version = "12.7.0" +version = "12.7.1" license = "MIT" authors = [ "Sebastian Zivota ", @@ -21,7 +21,7 @@ all-features = true [dependencies] indexmap = "2.0.0" -symbolic-common = { version = "12.7.0", path = "../symbolic-common" } +symbolic-common = { version = "12.7.1", path = "../symbolic-common" } watto = { version = "0.1.0", features = ["writer", "strings"] } thiserror = "1.0.39" uuid = "1.3.0" diff --git a/symbolic-ppdb/fuzz/Cargo.toml b/symbolic-ppdb/fuzz/Cargo.toml index a336b6041..4f13be8c4 100644 --- a/symbolic-ppdb/fuzz/Cargo.toml +++ b/symbolic-ppdb/fuzz/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-ppdb-fuzz" -version = "12.7.0" +version = "12.7.1" authors = ["Automatically generated"] publish = false edition = "2021" diff --git a/symbolic-sourcemapcache/Cargo.toml b/symbolic-sourcemapcache/Cargo.toml index fe5e726ba..4d242a7b3 100644 --- a/symbolic-sourcemapcache/Cargo.toml +++ b/symbolic-sourcemapcache/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-sourcemapcache" -version = "12.7.0" +version = "12.7.1" license = "MIT" authors = ["Sentry "] documentation = "https://docs.rs/symbolic-sourcemapcache" @@ -15,7 +15,7 @@ edition = "2021" itertools = "0.12.0" js-source-scopes = "0.4.0" sourcemap = "7.0.0" -symbolic-common = { version = "12.7.0", path = "../symbolic-common" } +symbolic-common = { version = "12.7.1", path = "../symbolic-common" } thiserror = "1.0.39" tracing = "0.1.37" watto = { version = "0.1.0", features = ["writer", "strings"] } diff --git a/symbolic-symcache/Cargo.toml b/symbolic-symcache/Cargo.toml index 3c96239f1..7e59c6e9b 100644 --- a/symbolic-symcache/Cargo.toml +++ b/symbolic-symcache/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-symcache" -version = "12.7.0" +version = "12.7.1" license = "MIT" authors = [ "Armin Ronacher ", @@ -23,9 +23,9 @@ exclude = [ all-features = true [dependencies] -symbolic-common = { version = "12.7.0", path = "../symbolic-common" } -symbolic-debuginfo = { version = "12.7.0", path = "../symbolic-debuginfo" } -symbolic-il2cpp = { version = "12.7.0", path = "../symbolic-il2cpp", optional = true } +symbolic-common = { version = "12.7.1", path = "../symbolic-common" } +symbolic-debuginfo = { version = "12.7.1", path = "../symbolic-debuginfo" } +symbolic-il2cpp = { version = "12.7.1", path = "../symbolic-il2cpp", optional = true } thiserror = "1.0.39" indexmap = "2.0.0" tracing = "0.1.37" diff --git a/symbolic-testutils/Cargo.toml b/symbolic-testutils/Cargo.toml index af70d2014..99a392403 100644 --- a/symbolic-testutils/Cargo.toml +++ b/symbolic-testutils/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-testutils" -version = "12.7.0" +version = "12.7.1" license = "MIT" edition = "2021" publish = false diff --git a/symbolic-unreal/Cargo.toml b/symbolic-unreal/Cargo.toml index 1a7d7d9a6..4f0eacd31 100644 --- a/symbolic-unreal/Cargo.toml +++ b/symbolic-unreal/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-unreal" -version = "12.7.0" +version = "12.7.1" license = "MIT" authors = [ "Armin Ronacher ", diff --git a/symbolic/Cargo.toml b/symbolic/Cargo.toml index 840fb77ab..06bdbe0b6 100644 --- a/symbolic/Cargo.toml +++ b/symbolic/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic" -version = "12.7.0" +version = "12.7.1" license = "MIT" authors = [ "Armin Ronacher ", @@ -34,12 +34,12 @@ unreal = ["symbolic-unreal"] unreal-serde = ["unreal", "common-serde", "symbolic-unreal/serde"] [dependencies] -symbolic-cfi = { version = "12.7.0", path = "../symbolic-cfi", optional = true } -symbolic-common = { version = "12.7.0", path = "../symbolic-common" } -symbolic-debuginfo = { version = "12.7.0", path = "../symbolic-debuginfo", optional = true } -symbolic-demangle = { version = "12.7.0", path = "../symbolic-demangle", optional = true } -symbolic-il2cpp = { version = "12.7.0", path = "../symbolic-il2cpp", optional = true } -symbolic-ppdb = { version = "12.7.0", path = "../symbolic-ppdb", optional = true } -symbolic-sourcemapcache = { version = "12.7.0", path = "../symbolic-sourcemapcache", optional = true } -symbolic-symcache = { version = "12.7.0", path = "../symbolic-symcache", optional = true } -symbolic-unreal = { version = "12.7.0", path = "../symbolic-unreal", optional = true } +symbolic-cfi = { version = "12.7.1", path = "../symbolic-cfi", optional = true } +symbolic-common = { version = "12.7.1", path = "../symbolic-common" } +symbolic-debuginfo = { version = "12.7.1", path = "../symbolic-debuginfo", optional = true } +symbolic-demangle = { version = "12.7.1", path = "../symbolic-demangle", optional = true } +symbolic-il2cpp = { version = "12.7.1", path = "../symbolic-il2cpp", optional = true } +symbolic-ppdb = { version = "12.7.1", path = "../symbolic-ppdb", optional = true } +symbolic-sourcemapcache = { version = "12.7.1", path = "../symbolic-sourcemapcache", optional = true } +symbolic-symcache = { version = "12.7.1", path = "../symbolic-symcache", optional = true } +symbolic-unreal = { version = "12.7.1", path = "../symbolic-unreal", optional = true } From 7d9a66ce71b1dd2d93d7d9ac85aad7d77b851d84 Mon Sep 17 00:00:00 2001 From: Francesco Vigliaturo Date: Thu, 30 Nov 2023 21:56:07 +0100 Subject: [PATCH 10/11] enhance: make mapping by params initialization optional (android deobfuscation) (#823) * Make parameter_mapping initialization (for android deobfuscation) optional --- CHANGELOG.md | 10 +++++++ Cargo.lock | 46 ++++++++++++++++---------------- py/symbolic/proguard.py | 8 ++++-- symbolic-cabi/Cargo.toml | 2 +- symbolic-cabi/include/symbolic.h | 3 ++- symbolic-cabi/src/proguard.rs | 9 +++++-- 6 files changed, 49 insertions(+), 29 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3a0ead2f5..1f9eee179 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## Unreleased + +**Internal** + +**Fixes** + +**Features** + +- Make mapping by params initialization optional ([#823](https://github.com/getsentry/symbolic/pull/823)) + ## 12.7.1 **Internal** diff --git a/Cargo.lock b/Cargo.lock index 543136d62..6f9cf9ab8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -23,7 +23,7 @@ dependencies = [ [[package]] name = "addr2line" -version = "12.7.0" +version = "12.7.1" dependencies = [ "anyhow", "clap", @@ -519,7 +519,7 @@ dependencies = [ [[package]] name = "debuginfo_debug" -version = "12.7.0" +version = "12.7.1" dependencies = [ "anyhow", "clap", @@ -543,7 +543,7 @@ checksum = "f0bc8fbe9441c17c9f46f75dfe27fa1ddb6c68a461ccaed0481419219d4f10d3" [[package]] name = "dump_cfi" -version = "12.7.0" +version = "12.7.1" dependencies = [ "anyhow", "clap", @@ -552,7 +552,7 @@ dependencies = [ [[package]] name = "dump_sources" -version = "12.7.0" +version = "12.7.1" dependencies = [ "clap", "symbolic", @@ -1080,7 +1080,7 @@ dependencies = [ [[package]] name = "minidump_stackwalk" -version = "12.7.0" +version = "12.7.1" dependencies = [ "async-trait", "clap", @@ -1242,7 +1242,7 @@ dependencies = [ [[package]] name = "object_debug" -version = "12.7.0" +version = "12.7.1" dependencies = [ "clap", "symbolic", @@ -1450,9 +1450,9 @@ dependencies = [ [[package]] name = "proguard" -version = "5.3.0" +version = "5.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0a4fc2794b6ee3ae207c36fb970a591e590dc6e1d36444f1de135529b285d88" +checksum = "02edf5746919e655cfec7b1accbfc889d76b80e5cf72ba4a4da8024b2c2ee1a6" dependencies = [ "lazy_static", "uuid", @@ -1857,7 +1857,7 @@ dependencies = [ [[package]] name = "sourcemapcache_debug" -version = "12.7.0" +version = "12.7.1" dependencies = [ "anyhow", "clap", @@ -2076,7 +2076,7 @@ dependencies = [ [[package]] name = "symbolic" -version = "12.7.0" +version = "12.7.1" dependencies = [ "symbolic-cfi", "symbolic-common", @@ -2091,7 +2091,7 @@ dependencies = [ [[package]] name = "symbolic-cabi" -version = "12.7.0" +version = "12.7.1" dependencies = [ "proguard", "sourcemap", @@ -2101,7 +2101,7 @@ dependencies = [ [[package]] name = "symbolic-cfi" -version = "12.7.0" +version = "12.7.1" dependencies = [ "insta", "similar-asserts", @@ -2113,7 +2113,7 @@ dependencies = [ [[package]] name = "symbolic-common" -version = "12.7.0" +version = "12.7.1" dependencies = [ "debugid", "memmap2 0.9.0", @@ -2127,7 +2127,7 @@ dependencies = [ [[package]] name = "symbolic-debuginfo" -version = "12.7.0" +version = "12.7.1" dependencies = [ "criterion", "debugid", @@ -2162,7 +2162,7 @@ dependencies = [ [[package]] name = "symbolic-demangle" -version = "12.7.0" +version = "12.7.1" dependencies = [ "cc", "cpp_demangle", @@ -2174,7 +2174,7 @@ dependencies = [ [[package]] name = "symbolic-il2cpp" -version = "12.7.0" +version = "12.7.1" dependencies = [ "indexmap", "serde_json", @@ -2184,7 +2184,7 @@ dependencies = [ [[package]] name = "symbolic-ppdb" -version = "12.7.0" +version = "12.7.1" dependencies = [ "flate2", "indexmap", @@ -2200,7 +2200,7 @@ dependencies = [ [[package]] name = "symbolic-sourcemapcache" -version = "12.7.0" +version = "12.7.1" dependencies = [ "itertools 0.12.0", "js-source-scopes", @@ -2214,7 +2214,7 @@ dependencies = [ [[package]] name = "symbolic-symcache" -version = "12.7.0" +version = "12.7.1" dependencies = [ "criterion", "indexmap", @@ -2231,11 +2231,11 @@ dependencies = [ [[package]] name = "symbolic-testutils" -version = "12.7.0" +version = "12.7.1" [[package]] name = "symbolic-unreal" -version = "12.7.0" +version = "12.7.1" dependencies = [ "anylog", "bytes", @@ -2255,7 +2255,7 @@ dependencies = [ [[package]] name = "symcache_debug" -version = "12.7.0" +version = "12.7.1" dependencies = [ "anyhow", "clap", @@ -2511,7 +2511,7 @@ checksum = "e51733f11c9c4f72aa0c160008246859e340b00807569a0da0e7a1079b27ba85" [[package]] name = "unreal_engine_crash" -version = "12.7.0" +version = "12.7.1" dependencies = [ "clap", "symbolic", diff --git a/py/symbolic/proguard.py b/py/symbolic/proguard.py index ac5b9fbe8..f3ec3c613 100644 --- a/py/symbolic/proguard.py +++ b/py/symbolic/proguard.py @@ -39,10 +39,14 @@ class ProguardMapper(RustObject): __dealloc_func__ = lib.symbolic_proguardmapper_free @classmethod - def open(cls, path: str) -> ProguardMapper: + def open(cls, path: str, initialize_param_mapping: bool = False) -> ProguardMapper: """Constructs a mapping file from a path.""" return cls._from_objptr( - rustcall(lib.symbolic_proguardmapper_open, encode_path(path)) + rustcall( + lib.symbolic_proguardmapper_open, + encode_path(path), + initialize_param_mapping, + ) ) @property diff --git a/symbolic-cabi/Cargo.toml b/symbolic-cabi/Cargo.toml index c8838e1c9..ac0affc4f 100644 --- a/symbolic-cabi/Cargo.toml +++ b/symbolic-cabi/Cargo.toml @@ -20,7 +20,7 @@ publish = false crate-type = ["cdylib"] [dependencies] -proguard = { version = "5.3.0", features = ["uuid"] } +proguard = { version = "5.4.0", features = ["uuid"] } sourcemap = "7.0.0" symbolic = { version = "12.7.1", path = "../symbolic", features = ["cfi", "debuginfo", "sourcemapcache", "symcache"] } tempfile = "3.4.0" diff --git a/symbolic-cabi/include/symbolic.h b/symbolic-cabi/include/symbolic.h index d723a84bf..ec666e300 100644 --- a/symbolic-cabi/include/symbolic.h +++ b/symbolic-cabi/include/symbolic.h @@ -500,7 +500,8 @@ struct SymbolicStr symbolic_normalize_debug_id(const struct SymbolicStr *debug_i /** * Creates a proguard mapping view from a path. */ -struct SymbolicProguardMapper *symbolic_proguardmapper_open(const char *path); +struct SymbolicProguardMapper *symbolic_proguardmapper_open(const char *path, + bool initialize_param_mapping); /** * Frees a proguard mapping view. diff --git a/symbolic-cabi/src/proguard.rs b/symbolic-cabi/src/proguard.rs index b4d3fc28e..02798312e 100644 --- a/symbolic-cabi/src/proguard.rs +++ b/symbolic-cabi/src/proguard.rs @@ -52,13 +52,18 @@ impl ForeignObject for SymbolicProguardMapper { ffi_fn! { /// Creates a proguard mapping view from a path. unsafe fn symbolic_proguardmapper_open( - path: *const c_char + path: *const c_char, + initialize_param_mapping: bool ) -> Result<*mut SymbolicProguardMapper> { let byteview = ByteView::open(CStr::from_ptr(path).to_str()?)?; let inner = SelfCell::new(byteview, |data| { let mapping = ProguardMapping::new(&*data); - let mapper = ProguardMapper::new(mapping.clone()); + let mapper = if !initialize_param_mapping { + ProguardMapper::new(mapping.clone()) + } else { + ProguardMapper::new_with_param_mapping(mapping.clone(), initialize_param_mapping) + }; Inner { mapping, mapper } }); From 032b134a3f45316bf37accd29712d832557e55af Mon Sep 17 00:00:00 2001 From: getsentry-bot Date: Fri, 1 Dec 2023 07:20:03 +0000 Subject: [PATCH 11/11] release: 12.8.0 --- CHANGELOG.md | 2 +- examples/addr2line/Cargo.toml | 2 +- examples/debuginfo_debug/Cargo.toml | 2 +- examples/dump_cfi/Cargo.toml | 2 +- examples/dump_sources/Cargo.toml | 2 +- examples/minidump_stackwalk/Cargo.toml | 2 +- examples/object_debug/Cargo.toml | 2 +- examples/sourcemapcache_debug/Cargo.toml | 2 +- examples/symcache_debug/Cargo.toml | 2 +- examples/unreal_engine_crash/Cargo.toml | 2 +- symbolic-cabi/Cargo.toml | 4 ++-- symbolic-cfi/Cargo.toml | 6 +++--- symbolic-common/Cargo.toml | 2 +- symbolic-debuginfo/Cargo.toml | 6 +++--- symbolic-debuginfo/fuzz/Cargo.toml | 2 +- symbolic-demangle/Cargo.toml | 4 ++-- symbolic-il2cpp/Cargo.toml | 6 +++--- symbolic-ppdb/Cargo.toml | 4 ++-- symbolic-ppdb/fuzz/Cargo.toml | 2 +- symbolic-sourcemapcache/Cargo.toml | 4 ++-- symbolic-symcache/Cargo.toml | 8 ++++---- symbolic-testutils/Cargo.toml | 2 +- symbolic-unreal/Cargo.toml | 2 +- symbolic/Cargo.toml | 20 ++++++++++---------- 24 files changed, 46 insertions(+), 46 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1f9eee179..d75bb90cb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## Unreleased +## 12.8.0 **Internal** diff --git a/examples/addr2line/Cargo.toml b/examples/addr2line/Cargo.toml index e1f961eaf..ea2948f59 100644 --- a/examples/addr2line/Cargo.toml +++ b/examples/addr2line/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "addr2line" -version = "12.7.1" +version = "12.8.0" authors = ["Jan Michael Auer "] edition = "2021" publish = false diff --git a/examples/debuginfo_debug/Cargo.toml b/examples/debuginfo_debug/Cargo.toml index c4a84bf49..82d135c47 100644 --- a/examples/debuginfo_debug/Cargo.toml +++ b/examples/debuginfo_debug/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "debuginfo_debug" -version = "12.7.1" +version = "12.8.0" authors = ["Markus Stange "] edition = "2021" publish = false diff --git a/examples/dump_cfi/Cargo.toml b/examples/dump_cfi/Cargo.toml index b19e92b27..5a156ca95 100644 --- a/examples/dump_cfi/Cargo.toml +++ b/examples/dump_cfi/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dump_cfi" -version = "12.7.1" +version = "12.8.0" authors = ["Jan Michael Auer "] edition = "2021" publish = false diff --git a/examples/dump_sources/Cargo.toml b/examples/dump_sources/Cargo.toml index ce8b0ece1..ca450032c 100644 --- a/examples/dump_sources/Cargo.toml +++ b/examples/dump_sources/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dump_sources" -version = "12.7.1" +version = "12.8.0" authors = ["Jan Michael Auer "] edition = "2021" publish = false diff --git a/examples/minidump_stackwalk/Cargo.toml b/examples/minidump_stackwalk/Cargo.toml index 891c7c85e..ed7b95765 100644 --- a/examples/minidump_stackwalk/Cargo.toml +++ b/examples/minidump_stackwalk/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "minidump_stackwalk" -version = "12.7.1" +version = "12.8.0" authors = ["Jan Michael Auer "] edition = "2021" publish = false diff --git a/examples/object_debug/Cargo.toml b/examples/object_debug/Cargo.toml index 1d5b7b910..7aceef75b 100644 --- a/examples/object_debug/Cargo.toml +++ b/examples/object_debug/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "object_debug" -version = "12.7.1" +version = "12.8.0" authors = ["Jan Michael Auer "] edition = "2021" publish = false diff --git a/examples/sourcemapcache_debug/Cargo.toml b/examples/sourcemapcache_debug/Cargo.toml index 60a49ed32..8b2b1fd57 100644 --- a/examples/sourcemapcache_debug/Cargo.toml +++ b/examples/sourcemapcache_debug/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sourcemapcache_debug" -version = "12.7.1" +version = "12.8.0" authors = ["Sentry "] edition = "2021" publish = false diff --git a/examples/symcache_debug/Cargo.toml b/examples/symcache_debug/Cargo.toml index f78f402f9..de1cf5332 100644 --- a/examples/symcache_debug/Cargo.toml +++ b/examples/symcache_debug/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symcache_debug" -version = "12.7.1" +version = "12.8.0" authors = ["Jan Michael Auer "] edition = "2021" publish = false diff --git a/examples/unreal_engine_crash/Cargo.toml b/examples/unreal_engine_crash/Cargo.toml index a3e65b2f1..5eed99195 100644 --- a/examples/unreal_engine_crash/Cargo.toml +++ b/examples/unreal_engine_crash/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "unreal_engine_crash" -version = "12.7.1" +version = "12.8.0" authors = ["Jan Michael Auer "] edition = "2021" publish = false diff --git a/symbolic-cabi/Cargo.toml b/symbolic-cabi/Cargo.toml index ac0affc4f..018ae82f9 100644 --- a/symbolic-cabi/Cargo.toml +++ b/symbolic-cabi/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-cabi" -version = "12.7.1" +version = "12.8.0" license = "MIT" authors = [ "Armin Ronacher ", @@ -22,5 +22,5 @@ crate-type = ["cdylib"] [dependencies] proguard = { version = "5.4.0", features = ["uuid"] } sourcemap = "7.0.0" -symbolic = { version = "12.7.1", path = "../symbolic", features = ["cfi", "debuginfo", "sourcemapcache", "symcache"] } +symbolic = { version = "12.8.0", path = "../symbolic", features = ["cfi", "debuginfo", "sourcemapcache", "symcache"] } tempfile = "3.4.0" diff --git a/symbolic-cfi/Cargo.toml b/symbolic-cfi/Cargo.toml index fe18090d6..355b3e7e4 100644 --- a/symbolic-cfi/Cargo.toml +++ b/symbolic-cfi/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-cfi" -version = "12.7.1" +version = "12.8.0" license = "MIT" authors = [ "Armin Ronacher ", @@ -15,8 +15,8 @@ A library to process call frame information edition = "2021" [dependencies] -symbolic-common = { version = "12.7.1", path = "../symbolic-common" } -symbolic-debuginfo = { version = "12.7.1", path = "../symbolic-debuginfo" } +symbolic-common = { version = "12.8.0", path = "../symbolic-common" } +symbolic-debuginfo = { version = "12.8.0", path = "../symbolic-debuginfo" } thiserror = "1.0.39" [dev-dependencies] diff --git a/symbolic-common/Cargo.toml b/symbolic-common/Cargo.toml index 0f301eb33..3d92c1545 100644 --- a/symbolic-common/Cargo.toml +++ b/symbolic-common/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-common" -version = "12.7.1" +version = "12.8.0" license = "MIT" authors = [ "Armin Ronacher ", diff --git a/symbolic-debuginfo/Cargo.toml b/symbolic-debuginfo/Cargo.toml index ccbcc3e2a..17f696f8b 100644 --- a/symbolic-debuginfo/Cargo.toml +++ b/symbolic-debuginfo/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-debuginfo" -version = "12.7.1" +version = "12.8.0" license = "MIT" authors = [ "Armin Ronacher ", @@ -99,8 +99,8 @@ scroll = { version = "0.11.0", optional = true } serde = { version = "1.0.154", features = ["derive"] } serde_json = { version = "1.0.94", optional = true } smallvec = { version = "1.10.0", optional = true } -symbolic-common = { version = "12.7.1", path = "../symbolic-common" } -symbolic-ppdb = { version = "12.7.1", path = "../symbolic-ppdb", optional = true } +symbolic-common = { version = "12.8.0", path = "../symbolic-common" } +symbolic-ppdb = { version = "12.8.0", path = "../symbolic-ppdb", optional = true } thiserror = "1.0.39" wasmparser = { version = "0.118.0", optional = true } zip = { version = "0.6.4", optional = true, default-features = false, features = ["deflate"] } diff --git a/symbolic-debuginfo/fuzz/Cargo.toml b/symbolic-debuginfo/fuzz/Cargo.toml index 448a0a900..ea17ccd1a 100644 --- a/symbolic-debuginfo/fuzz/Cargo.toml +++ b/symbolic-debuginfo/fuzz/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-debuginfo-fuzz" -version = "12.7.1" +version = "12.8.0" authors = ["Automatically generated"] publish = false edition = "2021" diff --git a/symbolic-demangle/Cargo.toml b/symbolic-demangle/Cargo.toml index 9bff22c27..b629e1888 100644 --- a/symbolic-demangle/Cargo.toml +++ b/symbolic-demangle/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-demangle" -version = "12.7.1" +version = "12.8.0" license = "MIT" authors = [ "Armin Ronacher ", @@ -34,7 +34,7 @@ swift = ["cc"] cpp_demangle = { version = "0.4.1", optional = true } msvc-demangler = { version = "0.9.0", optional = true } rustc-demangle = { version = "0.1.21", optional = true } -symbolic-common = { version = "12.7.1", path = "../symbolic-common" } +symbolic-common = { version = "12.8.0", path = "../symbolic-common" } [build-dependencies] cc = { version = "1.0.79", optional = true } diff --git a/symbolic-il2cpp/Cargo.toml b/symbolic-il2cpp/Cargo.toml index 1a23e3083..56d7a8a78 100644 --- a/symbolic-il2cpp/Cargo.toml +++ b/symbolic-il2cpp/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-il2cpp" -version = "12.7.1" +version = "12.8.0" license = "MIT" authors = ["Sentry "] documentation = "https://docs.rs/symbolic-il2cpp" @@ -14,5 +14,5 @@ edition = "2021" [dependencies] indexmap = "2.0.0" serde_json = "1.0.94" -symbolic-common = { version = "12.7.1", path = "../symbolic-common" } -symbolic-debuginfo = { version = "12.7.1", path = "../symbolic-debuginfo" } +symbolic-common = { version = "12.8.0", path = "../symbolic-common" } +symbolic-debuginfo = { version = "12.8.0", path = "../symbolic-debuginfo" } diff --git a/symbolic-ppdb/Cargo.toml b/symbolic-ppdb/Cargo.toml index 58102b0ca..954f5cfb2 100644 --- a/symbolic-ppdb/Cargo.toml +++ b/symbolic-ppdb/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-ppdb" -version = "12.7.1" +version = "12.8.0" license = "MIT" authors = [ "Sebastian Zivota ", @@ -21,7 +21,7 @@ all-features = true [dependencies] indexmap = "2.0.0" -symbolic-common = { version = "12.7.1", path = "../symbolic-common" } +symbolic-common = { version = "12.8.0", path = "../symbolic-common" } watto = { version = "0.1.0", features = ["writer", "strings"] } thiserror = "1.0.39" uuid = "1.3.0" diff --git a/symbolic-ppdb/fuzz/Cargo.toml b/symbolic-ppdb/fuzz/Cargo.toml index 4f13be8c4..01a23aa81 100644 --- a/symbolic-ppdb/fuzz/Cargo.toml +++ b/symbolic-ppdb/fuzz/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-ppdb-fuzz" -version = "12.7.1" +version = "12.8.0" authors = ["Automatically generated"] publish = false edition = "2021" diff --git a/symbolic-sourcemapcache/Cargo.toml b/symbolic-sourcemapcache/Cargo.toml index 4d242a7b3..ad0090189 100644 --- a/symbolic-sourcemapcache/Cargo.toml +++ b/symbolic-sourcemapcache/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-sourcemapcache" -version = "12.7.1" +version = "12.8.0" license = "MIT" authors = ["Sentry "] documentation = "https://docs.rs/symbolic-sourcemapcache" @@ -15,7 +15,7 @@ edition = "2021" itertools = "0.12.0" js-source-scopes = "0.4.0" sourcemap = "7.0.0" -symbolic-common = { version = "12.7.1", path = "../symbolic-common" } +symbolic-common = { version = "12.8.0", path = "../symbolic-common" } thiserror = "1.0.39" tracing = "0.1.37" watto = { version = "0.1.0", features = ["writer", "strings"] } diff --git a/symbolic-symcache/Cargo.toml b/symbolic-symcache/Cargo.toml index 7e59c6e9b..b895bb3b6 100644 --- a/symbolic-symcache/Cargo.toml +++ b/symbolic-symcache/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-symcache" -version = "12.7.1" +version = "12.8.0" license = "MIT" authors = [ "Armin Ronacher ", @@ -23,9 +23,9 @@ exclude = [ all-features = true [dependencies] -symbolic-common = { version = "12.7.1", path = "../symbolic-common" } -symbolic-debuginfo = { version = "12.7.1", path = "../symbolic-debuginfo" } -symbolic-il2cpp = { version = "12.7.1", path = "../symbolic-il2cpp", optional = true } +symbolic-common = { version = "12.8.0", path = "../symbolic-common" } +symbolic-debuginfo = { version = "12.8.0", path = "../symbolic-debuginfo" } +symbolic-il2cpp = { version = "12.8.0", path = "../symbolic-il2cpp", optional = true } thiserror = "1.0.39" indexmap = "2.0.0" tracing = "0.1.37" diff --git a/symbolic-testutils/Cargo.toml b/symbolic-testutils/Cargo.toml index 99a392403..3d4c5855e 100644 --- a/symbolic-testutils/Cargo.toml +++ b/symbolic-testutils/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-testutils" -version = "12.7.1" +version = "12.8.0" license = "MIT" edition = "2021" publish = false diff --git a/symbolic-unreal/Cargo.toml b/symbolic-unreal/Cargo.toml index 4f0eacd31..6adfaa857 100644 --- a/symbolic-unreal/Cargo.toml +++ b/symbolic-unreal/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic-unreal" -version = "12.7.1" +version = "12.8.0" license = "MIT" authors = [ "Armin Ronacher ", diff --git a/symbolic/Cargo.toml b/symbolic/Cargo.toml index 06bdbe0b6..e95b2bc57 100644 --- a/symbolic/Cargo.toml +++ b/symbolic/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "symbolic" -version = "12.7.1" +version = "12.8.0" license = "MIT" authors = [ "Armin Ronacher ", @@ -34,12 +34,12 @@ unreal = ["symbolic-unreal"] unreal-serde = ["unreal", "common-serde", "symbolic-unreal/serde"] [dependencies] -symbolic-cfi = { version = "12.7.1", path = "../symbolic-cfi", optional = true } -symbolic-common = { version = "12.7.1", path = "../symbolic-common" } -symbolic-debuginfo = { version = "12.7.1", path = "../symbolic-debuginfo", optional = true } -symbolic-demangle = { version = "12.7.1", path = "../symbolic-demangle", optional = true } -symbolic-il2cpp = { version = "12.7.1", path = "../symbolic-il2cpp", optional = true } -symbolic-ppdb = { version = "12.7.1", path = "../symbolic-ppdb", optional = true } -symbolic-sourcemapcache = { version = "12.7.1", path = "../symbolic-sourcemapcache", optional = true } -symbolic-symcache = { version = "12.7.1", path = "../symbolic-symcache", optional = true } -symbolic-unreal = { version = "12.7.1", path = "../symbolic-unreal", optional = true } +symbolic-cfi = { version = "12.8.0", path = "../symbolic-cfi", optional = true } +symbolic-common = { version = "12.8.0", path = "../symbolic-common" } +symbolic-debuginfo = { version = "12.8.0", path = "../symbolic-debuginfo", optional = true } +symbolic-demangle = { version = "12.8.0", path = "../symbolic-demangle", optional = true } +symbolic-il2cpp = { version = "12.8.0", path = "../symbolic-il2cpp", optional = true } +symbolic-ppdb = { version = "12.8.0", path = "../symbolic-ppdb", optional = true } +symbolic-sourcemapcache = { version = "12.8.0", path = "../symbolic-sourcemapcache", optional = true } +symbolic-symcache = { version = "12.8.0", path = "../symbolic-symcache", optional = true } +symbolic-unreal = { version = "12.8.0", path = "../symbolic-unreal", optional = true }