// Get address of the name
// This function works only with regular names
// from - linear address where the name is used
// if not applicable, then should be BADADDR
// name - any name in the program or NULL
// returns: address of the name or BADADDR
//
函数原型
idaman ea_t ida_export get_name_ea(ea_t from, const char *name); // Get address by name
2)获取用于表达式名称的引用地址
// from=引用名称的操作码地址
// to=名称引用地址
// 返回:作为操作码名称的引用地址
//
// Get address of the name used in the expression for the address
// from - address of the operand which references to the address
// to - the referenced address
// returns: address of the name used to represent the operand
// Get address of the name
// This function works only with regular names
// from - linear address where the name is used
// if not applicable, then should be BADADDR
// name - any name in the program or NULL
// returns: address of the name or BADADDR
//
函数原型
idaman ea_t ida_export get_name_ea(ea_t from, const char *name); // Get address by name
2)获取用于表达式名称的引用地址
// from=引用名称的操作码地址
// to=名称引用地址
// 返回:作为操作码名称的引用地址
//
// Get address of the name used in the expression for the address
// from - address of the operand which references to the address
// to - the referenced address
// returns: address of the name used to represent the operand