随笔分类 - IDC脚本
IDA
摘要://枚举导出的函数//#include static main(){ auto entrypoints,i,ord,addr,name,purged,file,fd; file = AskFile(1,"*.idt","Select IDT save file"); //打开文件对话框 fd = f...
阅读全文
摘要://遍历一个函数在程序中的所有交叉引用//#include static main(){ list_callers("_memset"); list_callers("_sprintf");}static list_callers(bad_func){ auto func,addr,xref,sou...
阅读全文
摘要://枚举一个函数里的所有调用//#include static main(){ auto func,end,target,inst,name,flags,xref; flags = SEARCH_DOWN | SEARCH_NEXT; func = GetFunctionAttr(ScreenEA(...
阅读全文
摘要://枚举光标当前所在位置的函数包含的指令的数量//#include static main(){ auto func,end,count,inst; func = GetFunctionAttr(ScreenEA(),FUNCATTR_START); //获取包含光标位置的起始地址 if(func ...
阅读全文
摘要://遍历出数据库中每一个函数,并打印出函数的基本信息,函数起始和结束地址、局部变量大小、参数大小、参数数量//#include static main(){ auto addr,end,args,locals,frame,firstArg,name,ret; addr = 0; for(addr =...
阅读全文

浙公网安备 33010602011771号