From d9362e4dd505a409776066b3d63bf82ea8f2a894 Mon Sep 17 00:00:00 2001 From: Travis Geiselbrecht Date: Sat, 7 Sep 2024 21:26:38 +0000 Subject: [PATCH] [arch][arm] update stackusage script for python3 The old regexp needed to be updated to remove a warning. --- arch/arm/stackusage | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/stackusage b/arch/arm/stackusage index d675b7e81..de1adf862 100755 --- a/arch/arm/stackusage +++ b/arch/arm/stackusage @@ -5,9 +5,9 @@ import re hexrule = re.compile("([0-9a-fA-F]+)") hex2byterule = re.compile("([0-9a-fA-F]{4})") -hexcolonrule = re.compile("([0-9a-fA-F]+)\:") -symbolrule = re.compile("<([\._a-zA-Z]+[\._0-9a-zA-Z]*)>:") -insrule = re.compile("([a-zA-Z][\.a-zA-Z]*)") +hexcolonrule = re.compile("([0-9a-fA-F]+):") +symbolrule = re.compile("<([._a-zA-Z]+[._0-9a-zA-Z]*)>:") +insrule = re.compile("([a-zA-Z][.a-zA-Z]*)") currsymbol = "" curraddress = 0