这表明函数地址将是下一个指令的地址。
This indicates that the function's address will be the address of the next instruction.
这些有助于在分析堆栈时找到全局数据和函数地址。
These help in locating global data and function addresses while analyzing stacks.
使用Addr2line 将函数地址解析为函数名
Resolving function addresses to function names with Addr2line
编译器用正确的函数地址初始化这些虚函数表。
The compiler initializes these tables with the correct function addresses.
你可以很好地废弃的函数名(指针)来获取函数地址。
You can very well dereference the function name (which is a pointer) to obtain the function at that address.
回到成员函数地址的二进制世界里,让我们回溯到C++高层级里。
Moving back from the binary world of member function addresses, let's get back to the higher levels of C++.
一个有效的进程地址(导入函数地址),如果失败挂钩自已成功地获取了地址。
A valid proc address (import function address), if the failure hook succeeded in getting the address itself.
你甚至能够设置一个指针表,里面放置接口的函数地址,返回出来这个表的地址来用。
You could even set up a table of Pointers with the addresses of the functions of the interface, and return the address of a pointer to this table.
如果您找到一个函数地址范围包含了失败的指令地址,那么这个范围的消息就会说明可能引入错误的方法。
If you find a function address range that covers the failing instruction address, the message for that range indicates the method where the error was likely introduced.
在代码部分,定义了一个函数地址,方法同上述定义全局变量的相同——只需在它们的名称之后跟上一个冒号。
In the code section, you define a function's address the same way you defined addresses for global variables above — just put their name followed by a colon.
要获得 CU 的行缓冲的每一行,我们需要检查低位地址匹配以找到函数的第一行的行号。
For each line in the line buffer for a CU, we need to check for the low address match to find the first line number.
然后,您可以将库装入到您的地址空间中并使用函数指针调用方法。
You could then load the library into your address space and call the methods using function Pointers.
但在调用分析函数时,又应该怎样处理所提供的地址呢?
But when the profiling functions are called, what do you do with the addresses that are provided?
在这些分析函数中,您可以记录下地址对,以供以后再进行分析使用。
Within these profiling functions, you can record the address pairs for later analysis.
该函数简单检查地址可能是在用户空间,而不是内核。
This function simply checks that the address is likely in user space, not in the kernel.
所以该指令会将链接寄存器(存有返回地址)存储到调用函数堆栈框架的恰当位置。
So this instruction stores the link register (which holds the return address) into the proper location in the calling function's stack frame.
这个函数原型中,它指的意思地址。
但是理解任何内核的最关键要素是内核的映射,它提供符号信息(比如函数、变量以及它们的地址)。
But an important element of understanding any kernel is the map of the kernel, which provides symbol information (such as functions and variables as well as their addresses).
包含函数的返回地址。
EFAULT:函数参数之一引用了无效的地址。
EFAULT — One of the function arguments refers to an invalid address.
其中一方面是,您不能事先预计某个函数在调用时的确切地址!
One is that you can't predict in advance at which address a function will really be when it's called!
需要向函数传递变量的地址而不是变量的值。
You would have to pass the variables' addresses to the function rather than the variables' values.
您有很多选择,但是为了简便起见,可以将这个地址简单地写入一个文件,要注意哪个地址是函数的入口地址,哪个地址是函数的出口地址(参见清单2)。
You have many options, but for the sake of simplicity, just write the addresses to a file, noting which addresses are function entry and which are exit (see Listing 2).
如果前缀是E,那么这个地址就是一个函数的入口地址(也就是说,您正在调用这个函数)。
If the prefix is an e, the address is a function entry address (that is, this function was called).
如果指定level为1,那么就是请求进行调用的函数的返回地址,依此类推。
If you specify a level of 1, you are requesting the return address of the calling function (and so on).
使用此动态生成的令牌和指定的数据源并提供地址来调用findaddress函数。
Use this dynamically generated token and specified data source with the address to invoke the findAddress function.
例如,如果指定level为0,那么就是请求当前函数的返回地址。
For example, if you specify a level of 0, you are requesting the return address of the current function.
由于我们只是跳转到同一个函数,所以返回地址和旧的%ebp是相同的,栈的大小也不会改变。
Because we are just jumping into the same function, the return address and old % ebp will be the same and the stack size won't change.
convert _ to_upper函数接受任意字符的地址,转换为大写并将其存储回去,不返回任何东西。
The convert_to_upper function takes the address of an arbitrary character, converts it to uppercase, and then stores it back and returns nothing.
convert _ to_upper函数接受任意字符的地址,转换为大写并将其存储回去,不返回任何东西。
The convert_to_upper function takes the address of an arbitrary character, converts it to uppercase, and then stores it back and returns nothing.
应用推荐