about summary refs log tree commit diff stats
path: root/miasm/arch/x86/arch.py
diff options
context:
space:
mode:
authorserpilliere <serpilliere@users.noreply.github.com>2024-01-07 22:48:37 +0100
committerGitHub <noreply@github.com>2024-01-07 22:48:37 +0100
commit3a2fb2472c0e8e01f84ed29be29a929775ed07ab (patch)
tree17718031046a1e912072db057993b478aa0ce06e /miasm/arch/x86/arch.py
parente9dee4eb5e8b8dc0b81e22598b754c8df29f1674 (diff)
parent2bf07ad1eb835e12b4b3dbaf42f71adf888a8cc1 (diff)
downloadfocaccia-miasm-3a2fb2472c0e8e01f84ed29be29a929775ed07ab.tar.gz
focaccia-miasm-3a2fb2472c0e8e01f84ed29be29a929775ed07ab.zip
Merge pull request #1464 from mrexodia/python312
Python 3.12 support
Diffstat (limited to 'miasm/arch/x86/arch.py')
-rw-r--r--miasm/arch/x86/arch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm/arch/x86/arch.py b/miasm/arch/x86/arch.py
index dabd0c82..c5ff9b63 100644
--- a/miasm/arch/x86/arch.py
+++ b/miasm/arch/x86/arch.py
@@ -428,7 +428,7 @@ def offsize(p):
 
 
 def get_prefix(s):
-    g = re.search('(\S+)(\s+)', s)
+    g = re.search(r'(\S+)(\s+)', s)
     if not g:
         return None, s
     prefix, b = g.groups()