mirror of
https://github.com/qilingframework/qiling.git
synced 2026-10-12 02:21:40 +00:00
38 lines
438 B
Plaintext
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
|