行业解决方案查看所有行业解决方案
IDA 用于解决软件行业的关键问题。
发布时间:2022-10-15 14: 48: 52
An IDC function always returns a value.There are 2 kinds of functions:
-built-in functions
-user-defined functions
A user-defined function is declared this way:
static func(arg1,arg2,arg3)
{
statements...
}
It is not necessary to specify the parameter types because all necessary type conversions are performed automatically.
By default all function arguments are passed by value,except:
-objects are always passed by reference
-functions are always passed by reference
-it is possible to pass a variable by reference using the&operator
If the function to call does not exist,IDA tries to resolve the name using the debugged program labels.If it succeeds,an dbg_appcall is performed.
中文翻译如下:
IDC函数始终返回一个值。有两种类型的函数:
●内置函数
●用户定义函数
用户定义函数的声明方式为:
static func(arg1,arg2,arg3)
{
statements...
}
不需要指定参数类型,因为所有必要的类型转换都会自动执行。
●默认情况下,所有函数参数都按值传递,除了:对象始终通过引用传递
●函数始终通过引用传递
●可以使用&运算符将变量按引用传递
如果要调用的函数不存在,则IDA会尝试使用被调试程序的标签解析名称。如果成功,则执行dbg_appcall。
展开阅读全文
︾