|
@@ -109,6 +109,24 @@ Hello
|
109
|
109
|
asmsh@0x7f6e312e5022 >
|
110
|
110
|
</pre>
|
111
|
111
|
|
|
112
|
+@subsection example_loop Make a loop and use commands
|
|
113
|
+
|
|
114
|
+<pre>
|
|
115
|
+asmsh@0x7f3020bec000 > .regs \%rbx
|
|
116
|
+rbx: 0000000000000000
|
|
117
|
+asmsh@0x7f3020bec000 > mov $6, \%rcx
|
|
118
|
+asmsh@0x7f3020bec005 > add $0xb, \%rbx
|
|
119
|
+asmsh@0x7f3020bec009 > loop . -4
|
|
120
|
+asmsh@0x7f3020bec005 > .bytecode loop . -4
|
|
121
|
+loop . -4 = ( 2 Bytes) e2fa.... ........ ........ ......
|
|
122
|
+asmsh@0x7f3020bec005 > .breakpoint . + 6
|
|
123
|
+INFO: Set breakpoint @ 00007F3020BEC00B
|
|
124
|
+asmsh@0x7f3020bec005 > .run
|
|
125
|
+INFO: Breakpoint 00007f3020bec00b reached
|
|
126
|
+asmsh@0x7f3020bec00b > .regs \%rbx
|
|
127
|
+rbx: 0000000000000042
|
|
128
|
+</pre>
|
|
129
|
+
|
112
|
130
|
@section TODO TODOLIST
|
113
|
131
|
|
114
|
132
|
@todo Implement command for memory read/dump
|