openmp-check-execstack
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Wed, 18 Dec 2024 09:01:43 +0000 (10:01 +0100)
committerSylvestre Ledru <sylvestre@debian.org>
Wed, 18 Dec 2024 09:01:43 +0000 (10:01 +0100)
===================================================================

Gbp-Pq: Topic openmp
Gbp-Pq: Name openmp-check-execstack.diff

openmp/runtime/tools/check-execstack.py

index 9c36bd229329368e5681c43061cb6a1eebaf7e75..891faf8cb445dc8fe849cf9e37ecc85f1831d641 100644 (file)
@@ -30,7 +30,7 @@ def is_stack_executable_readelf(library):
         error("{}: Not stack segment found".format(library))
     if len(stack_lines) > 1:
         error("{}: More than one stack segment found".format(library))
-    h = r"0x[0-9a-fA-F]+"
+    h = r"0(?:x[0-9a-f]+)"
     m = re.search(
         r"((GNU_)?STACK)\s+({0})\s+({0})\s+({0})\s+({0})\s+({0})"
         " ([R ][W ][E ])".format(h),