Initial commit

This commit is contained in:
2025-04-12 08:26:23 +08:00
commit aa66855054
57 changed files with 1702 additions and 0 deletions

6
test_case/in/1.in Normal file
View File

@@ -0,0 +1,6 @@
../sdb
si
load ./hello
si
si
cont

9
test_case/in/2.in Normal file
View File

@@ -0,0 +1,9 @@
../sdb ./hello
break 0x401005
break 40102b
info break
si
si
cont
info reg
cont

14
test_case/in/3.in Normal file
View File

@@ -0,0 +1,14 @@
../sdb ./guess
break 0x4010de
cont
1
patch 0x4010e8 0x9090 2
si
info break
delete 0
break 0x4010ea
delete 0
info break
cont
patch 0x402015 0x4e49570a 4
cont

9
test_case/in/4.in Normal file
View File

@@ -0,0 +1,9 @@
../sdb ./hello
break 0x401005
break 40102b
cont
syscall
syscall
syscall
syscall
syscall

13
test_case/in/h1.in Normal file
View File

@@ -0,0 +1,13 @@
../sdb ./game
break 401005
break 401009
info break
syscall
syscall
delete 0
cont
2
break 401005
info break
cont
2

9
test_case/in/h2.in Normal file
View File

@@ -0,0 +1,9 @@
../sdb ./game
break 401005
cont
patch 40101a 0x02f88348 4
cont
1
patch 40101a 0x01f88348 4
cont
1

6
test_case/in/h3.in Normal file
View File

@@ -0,0 +1,6 @@
../sdb
si
load ./deep
si
si
cont

9
test_case/in/h4.in Normal file
View File

@@ -0,0 +1,9 @@
../sdb ./deep
break 401136
break 40113d
info break
si
si
cont
info reg
cont

12
test_case/in/h5.in Normal file
View File

@@ -0,0 +1,12 @@
../sdb ./deep
break 40109c
info break
break 401031
info break
delete 0
info break
delete 3
info break
cont
info break
cont

9
test_case/in/h6.in Normal file
View File

@@ -0,0 +1,9 @@
../sdb ./game
break 0x4010f1
syscall
syscall
syscall
syscall
3
syscall
syscall