Notebook

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
  1. 修改函数返回值

File must be ${/v:$xx} format and start with upper case
@"" is literal string identifier;
pt can't work with gc;

bp kernel32!CreateFileW "		
	aS /mu ${/v:$File} poi(@esp+4);
	.block{					
		.if($spat(@\"${$File}\",\"*1.txt*\")){
			ad ${/v:$File};						
			pt \"r @eax = -1;g\";
		}.else{			
			ad ${/v:$File};
			gc;
		}
	}
"

  



posted on 2013-09-10 20:23  quick help  阅读(154)  评论(0)    收藏  举报