Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatibility issues with python 3.13.1 #190

Open
hhlp opened this issue Jan 3, 2025 · 1 comment
Open

Incompatibility issues with python 3.13.1 #190

hhlp opened this issue Jan 3, 2025 · 1 comment

Comments

@hhlp
Copy link

hhlp commented Jan 3, 2025

I've got this warning every peda start:

/home/hhlp/.peda/peda.py:161: SyntaxWarning: invalid escape sequence '\['
  p = re.compile("(.*)\[(.*)\]")  # DWORD PTR [esi+eax*1]
/home/hhlp/.peda/peda.py:384: SyntaxWarning: invalid escape sequence '\s'
  p = re.compile(".*exec file:\s*`target:(.*)'")
/home/hhlp/.peda/peda.py:386: SyntaxWarning: invalid escape sequence '\s'
  p = re.compile(".*exec file:\s*`(.*)'")
/home/hhlp/.peda/peda.py:594: SyntaxWarning: invalid escape sequence '\d'
  p = re.compile("^(\d*)\s*(.*breakpoint)\s*(keep|del)\s*(y|n)\s*(0x[^ ]*)\s*(.*)")
/home/hhlp/.peda/peda.py:598: SyntaxWarning: invalid escape sequence '\d'
  p = re.compile("^(\d*)\s*(.*point)\s*(keep|del)\s*(y|n)\s*(.*)")
/home/hhlp/.peda/peda.py:611: SyntaxWarning: invalid escape sequence '\d'
  m = re.match("in.*at(.*:\d*)", what)
/home/hhlp/.peda/peda.py:640: SyntaxWarning: invalid escape sequence '\d'
  m = re.match("^(\d*).*", line)
/home/hhlp/.peda/peda.py:969: SyntaxWarning: invalid escape sequence '\s'
  p = re.compile("\s*(0x[^ ]*).*?:\s*([^ ]*)\s*(.*)")
/home/hhlp/.peda/peda.py:971: SyntaxWarning: invalid escape sequence '\s'
  p = re.compile("(.*?)\s*<.*?>\s*([^ ]*)\s*(.*)")
/home/hhlp/.peda/peda.py:990: SyntaxWarning: invalid escape sequence '\['
  p = re.compile(".*mov.*\[esp(.*)\],")
/home/hhlp/.peda/peda.py:1022: SyntaxWarning: invalid escape sequence '\s'
  p = re.compile(":\s*([^ ]*)\s*(.*),")
/home/hhlp/.peda/peda.py:1170: SyntaxWarning: invalid escape sequence '\s'
  p = re.compile(".*?:\s*(.*)")
/home/hhlp/.peda/peda.py:1246: SyntaxWarning: invalid escape sequence '\s'
  p = re.compile(".*?:\s*[^ ]*\s*(.* PTR ).*(0x[^ ]*)")
/home/hhlp/.peda/peda.py:1249: SyntaxWarning: invalid escape sequence '\s'
  p = re.compile(".*?:\s.*\s(0x[^ ]*|\w+)")
/home/hhlp/.peda/peda.py:1258: SyntaxWarning: invalid escape sequence '\s'
  p = re.compile(".*?:\s*[^ ]*\s*(.* PTR ).*\[(.*)\]")
/home/hhlp/.peda/peda.py:1491: SyntaxWarning: invalid escape sequence '\S'
  pattern = re.compile("^([0-9a-f]+)-([0-9a-f]+) ([-rwxps]+)(?: \S+){3} *(.*)$", re.MULTILINE)
/home/hhlp/.peda/peda.py:2094: SyntaxWarning: invalid escape sequence '\s'
  p = re.compile(".*?0x[^ ]*?\s(.*)")
/home/hhlp/.peda/peda.py:2112: SyntaxWarning: invalid escape sequence '\s'
  p = re.compile(".*?0x[^ ]*?\s(.*)")
/home/hhlp/.peda/peda.py:2205: SyntaxWarning: invalid escape sequence '\S'
  p = re.compile("Entry point: (\S*)")
/home/hhlp/.peda/peda.py:2233: SyntaxWarning: invalid escape sequence '\S'
  p = re.compile("^ *\S+ +(0x[^-]+)->(0x[^ ]+) at (\S+): +(\S+) +(.*)$", re.M)
/home/hhlp/.peda/peda.py:2307: SyntaxWarning: invalid escape sequence '\s'
  m = re.findall(".*(0x[^ ]*)\s*%s" % re.escape(symname), out)
/home/hhlp/.peda/peda.py:2407: SyntaxWarning: invalid escape sequence '\['
  p = re.compile("^ *\[ *\d*\] +(\S+) +\S+ +(\S+) +\S+ +(\S*)(.*)$", re.M)
/home/hhlp/.peda/peda.py:2465: SyntaxWarning: invalid escape sequence '\s'
  p = re.compile("[^\n]*\s*(0x[^ ]*) - (0x[^ ]*) is (\.[^ ]*) in (.*)")
/home/hhlp/.peda/peda.py:2671: SyntaxWarning: invalid escape sequence '\ '
  if re.search(re.escape(asmcode).replace("\ ", ".*").replace("\?", ".*"), asmcode_rs) \
/home/hhlp/.peda/peda.py:2671: SyntaxWarning: invalid escape sequence '\?'
  if re.search(re.escape(asmcode).replace("\ ", ".*").replace("\?", ".*"), asmcode_rs) \
/home/hhlp/.peda/peda.py:2822: SyntaxWarning: invalid escape sequence '\ '
  pattern = re.compile(b'|'.join(JMPCALL).replace(b' ', b'\ '))
/home/hhlp/.peda/peda.py:3426: SyntaxWarning: invalid escape sequence '\['
  m = re.search(".*\[(.*)\]|.*?s:(0x[^ ]*)", exp)
/home/hhlp/.peda/peda.py:3532: SyntaxWarning: invalid escape sequence '\['
  sock = re.search("socket:\[(.*)\]", rpath)
/home/hhlp/.peda/peda.py:3542: SyntaxWarning: invalid escape sequence '\s'
  ppid = re.search("PPid:\s*([^\s]*)", status).group(1)
/home/hhlp/.peda/peda.py:3544: SyntaxWarning: invalid escape sequence '\s'
  uid = re.search("Uid:\s*([^\n]*)", status).group(1)
/home/hhlp/.peda/peda.py:3546: SyntaxWarning: invalid escape sequence '\s'
  gid = re.search("Gid:\s*([^\n]*)", status).group(1)
/home/hhlp/.peda/peda.py:4159: SyntaxWarning: invalid escape sequence '\s'
  p = re.compile(".*?:\s*[^ ]*\s*([^,]*),(.*)")
/home/hhlp/.peda/peda.py:58: SyntaxWarning: "is" with 'int' literal. Did you mean "=="?
  if sys.version_info.major is 3:
/home/hhlp/.peda/peda.py:5878: SyntaxWarning: "is" with 'int' literal. Did you mean "=="?
  if pyversion is 2:
/home/hhlp/.peda/peda.py:5880: SyntaxWarning: "is" with 'int' literal. Did you mean "=="?
  if pyversion is 3:
/home/hhlp/.peda/peda.py:5889: SyntaxWarning: "is" with 'int' literal. Did you mean "=="?
  if pyversion is 2:
/home/hhlp/.peda/peda.py:5891: SyntaxWarning: "is" with 'int' literal. Did you mean "=="?
  if pyversion is 3:
/home/hhlp/.peda/peda.py:5900: SyntaxWarning: "is" with 'int' literal. Did you mean "=="?
  if pyversion is 2:
/home/hhlp/.peda/peda.py:5902: SyntaxWarning: "is" with 'int' literal. Did you mean "=="?
  if pyversion is 3:

Regards.,

@hhlp hhlp changed the title Incompatibility issues with pytjon 3.13.1 Incompatibility issues with python 3.13.1 Jan 3, 2025
@hhlp
Copy link
Author

hhlp commented Jan 3, 2025

related issue

#177

Pull request waiting for merging:

#179

@longld could you please make something for aproval?

Regards.,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant