mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-06 03:50:02 +02:00
GP-0: Fix forgotten Client() description parameter.
This commit is contained in:
parent
f0f5b8f2a4
commit
0d03ce2f14
3 changed files with 5 additions and 4 deletions
|
@ -174,7 +174,7 @@ def ghidra_trace_listen(address='0.0.0.0:0'):
|
|||
c, (chost, cport) = s.accept()
|
||||
s.close()
|
||||
print("Connection from {}:{}\n".format(chost, cport))
|
||||
STATE.client = Client(c, "TBD", methods.REGISTRY)
|
||||
STATE.client = Client(c, "dbgeng.dll", methods.REGISTRY)
|
||||
except ValueError:
|
||||
raise RuntimeError("port must be numeric")
|
||||
|
||||
|
|
|
@ -240,7 +240,8 @@ def ghidra_trace_listen(address=None, *, is_mi, **kwargs):
|
|||
c, (chost, cport) = s.accept()
|
||||
s.close()
|
||||
gdb.write("Connection from {}:{}\n".format(chost, cport))
|
||||
STATE.client = Client(c, "TBD", methods.REGISTRY)
|
||||
STATE.client = Client(
|
||||
c, "gdb-" + util.GDB_VERSION.full, methods.REGISTRY)
|
||||
except ValueError:
|
||||
raise gdb.GdbError("port must be numeric")
|
||||
|
||||
|
|
|
@ -191,7 +191,7 @@ def ghidra_trace_connect(debugger, command, result, internal_dict):
|
|||
try:
|
||||
c = socket.socket()
|
||||
c.connect((host, int(port)))
|
||||
STATE.client = Client(c, "TBD", methods.REGISTRY)
|
||||
STATE.client = Client(c, "lldb-" + util.LLDB_VERSION.full, methods.REGISTRY)
|
||||
except ValueError:
|
||||
raise RuntimeError("port must be numeric")
|
||||
|
||||
|
@ -228,7 +228,7 @@ def ghidra_trace_listen(debugger, command, result, internal_dict):
|
|||
c, (chost, cport) = s.accept()
|
||||
s.close()
|
||||
print("Connection from {}:{}\n".format(chost, cport))
|
||||
STATE.client = Client(c, "TBD", methods.REGISTRY)
|
||||
STATE.client = Client(c, "lldb-" + util.LLDB_VERSION.full, methods.REGISTRY)
|
||||
except ValueError:
|
||||
raise RuntimeError("port must be numeric")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue