From faa130aaec814e3a0d6293a3d1b36b31a3429494 Mon Sep 17 00:00:00 2001 From: edef Date: Sun, 31 Jul 2022 02:25:23 +0000 Subject: ripple/minitrace: handle anonymous mappings Change-Id: I70ff40a1714f5f43c31106c23e23d37ea1104669 --- ripple/minitrace/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ripple/minitrace/src/main.rs b/ripple/minitrace/src/main.rs index 811f6a9..3857b77 100644 --- a/ripple/minitrace/src/main.rs +++ b/ripple/minitrace/src/main.rs @@ -154,7 +154,7 @@ impl Process { .. } in &mut mappings { - if pathname.starts_with('[') && pathname.ends_with(']') { + if pathname == "" || (pathname.starts_with('[') && pathname.ends_with(']')) { // these won't exist in map_files continue; } -- cgit 1.4.1