Windb实践之Script Command
1、输出参数
.echo The first argument is ${$arg1}. .echo The fifth argument is ${$arg5}. .echo The fourth argument is ${$arg4}.
2、执行脚本的前缀说明,在索引的文章里面有。
3、伪寄存器
0:000> r $t0=7 //赋值 0:000> r $t1=128 0:000> ? @$t0+@$t1 //计算,MASM表达式结构 Evaluate expression: 135 = 00000000`00000087 0:000> ?? @$t0+@$t1 //计算,C++表达式结构 unsigned int64 0n135 //10进制显示 0:000> n base is 10 0:000> n 16 //换进制 base is 16 0:000> ?? @$t0+@$t1 unsigned int64 0x87 //16进制显示 0:000> r? $t15 = * (UNICODE_STRING*) 0x12ffbc