?? userload.idc
字號:
//
// Add-on to Award450.idc (c) 1999 by Alexey Kulentsov
// Run Award450 automatically on loading BIOS image
//
// User manual:
//
// 1. Copy userload.idc and award450.idc to IDC\ directory if IDA
// 2. IDA -bF000 mainbios.bin
//
#define USERLOAD_IDC 1
#define dateloc 0xFFFF5L
#define isnum(A) ((A)>='0' && (A)<='9')
static userload(input_file,real_file,filetype)
{ auto error;
if(filetype!=FT_BIN) return 0;
if(isLoaded(dateloc ) && isnum(Byte(dateloc ))
&& isLoaded(dateloc+1) && isnum(Byte(dateloc+1))
&& isLoaded(dateloc+2) && Byte(dateloc+2)=='/'
&& isLoaded(dateloc+3) && isnum(Byte(dateloc+3))
&& isLoaded(dateloc+4) && isnum(Byte(dateloc+4))
&& isLoaded(dateloc+5) && Byte(dateloc+5)=='/'
&& isLoaded(dateloc+6) && isnum(Byte(dateloc+6))
&& isLoaded(dateloc+7) && isnum(Byte(dateloc+7))
)
{
Message("Image of Main BIOS loaded - running Award450.idc...\n");
error=Compile(GetIdaDirectory()+"\\IDC\\award450.idc");
if(error=="")
{ main();
return 1;
}else Message(error);
}
return 0;
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -