summary refs log tree commit diff
diff options
context:
space:
mode:
authoredef <edef@unfathomable.blue>2022-07-31 02:25:23 +0000
committeredef <edef@unfathomable.blue>2022-07-31 02:25:23 +0000
commitfaa130aaec814e3a0d6293a3d1b36b31a3429494 (patch)
tree63eb68272421f795a4654c92b291c090cb34dfaa
parent3eacf772994c05ece454c0899a32c4cf2afd4d59 (diff)
downloadunf-legacy-faa130aaec814e3a0d6293a3d1b36b31a3429494.tar.zst
ripple/minitrace: handle anonymous mappings
Change-Id: I70ff40a1714f5f43c31106c23e23d37ea1104669
-rw-r--r--ripple/minitrace/src/main.rs2
1 files changed, 1 insertions, 1 deletions
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;
 			}