-
Notifications
You must be signed in to change notification settings - Fork 130
Open
Description
/usr/share/pwngdb/pwngdb.py:406: SyntaxWarning: invalid escape sequence '\.'
data = re.search(".*libc.*\.so",infomap)
/usr/share/pwngdb/pwngdb.py:416: SyntaxWarning: invalid escape sequence '\.'
data = re.search(".*ld.*\.so",infomap)
/usr/share/pwngdb/pwngdb.py:426: SyntaxWarning: invalid escape sequence '\]'
data = re.search(".*heap\]",infomap)
/usr/share/pwngdb/pwngdb.py:610: SyntaxWarning: invalid escape sequence '\%'
print("The index of format argument : %d (\"\%%%d$p\")" % (idx,idx - 1))
/usr/share/pwngdb/pwngdb.py:614: SyntaxWarning: invalid escape sequence '\%'
print("The index of format argument : %d (\"\%%%d$p\")" % (idx,idx - 1))
/usr/share/pwngdb/angelheap/angelheap.py:371: SyntaxWarning: invalid escape sequence '\.'
data = re.search(".*libc-.*\.so",infomap)
Since Python3.12, a backslash-character pair that is not a valid escape sequence now generates a SyntaxWarning, instead of DeprecationWarning. It can be fixed by using raw strings.
e.g. data = re.search(r".*libc.*\.so",infomap)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels