mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-25 17:00:36 -09:00
GP-6445: functional remote tests for dbgeng & x64dbg GP-6445: more progress? GP-6445: untested GP-445: first pass (gdb) GP-6445: gdb connector tests workingGP-6445: gdb+lldb connectors test workingGP-6445: x64dbg connector test
23 lines
398 B
Plaintext
23 lines
398 B
Plaintext
python
|
|
def try_import():
|
|
try:
|
|
import ghidragdb
|
|
except Exception as e:
|
|
gdb.execute("exit(253)")
|
|
end
|
|
|
|
|
|
set pagination off
|
|
set confirm off
|
|
show version
|
|
python try_import()
|
|
set architecture $OPT_ARCH
|
|
set endian $OPT_ENDIAN
|
|
file '$OPT_TARGET_IMG'
|
|
set args $OPT_TARGET_ARGS
|
|
ghidra trace connect 'localhost:$OPT_REMOTE_PORT'
|
|
ghidra trace start
|
|
ghidra trace sync-enable
|
|
$OPT_START_CMD
|
|
set confirm on
|