Files
qiling/tests/qdb_scripts/arm.qdb
T
2025-04-01 18:59:28 +03:00

38 lines
438 B
Plaintext

# break on entry to main
b 0x000103fc
# break on call to puts
b 0x00010414
# run till main
c
# show stack entries
x/8xw $sp
# run till puts
c
# show argument passed to puts
info args 1
# show instructions passed call till end of function
x/4i ($pc + 4)
# step over call to puts
n
# show snapshot diff
info snapshot
# step backwards to start of main
p
p
# re-run till the end of program to test that nothing breaks
c
c
# quit
q