So, in this function, we are using the back chain pointer, the link register save area, and one local variable.
所以,在这个函数中,我们使用了回链指针、链接寄存器保存区和一个本地变量。
Listing 1. Get file row pointer and initialize return variable.
列表1.获得文件行指针并初始化返回变量。
However, it is the interaction of these two functions and using a global pointer variable called namestr that causes both the leak and the dangling pointer.
然而,它是这两个函数的相互作用,利用一个全球性的指针变量叫做namestr,它会导致渗漏和不断摆动的指针。
When strdup is called in foo , the namestr variable value is overwritten, thereby losing the pointer to the memory allocated in main , and that causes the leak.
当strdup在foo中被调用,这个namestr变量值就会被覆写,从而丢失main中内存分配的指针,导致渗漏。
All subsequent arguments are accessed by adding the size of a dword variable to the stack pointer (that is, esp + 12, esp + 16, and so on).
在堆栈指针上加上双字变量的大小(即esp +12、esp +16等等),就可以访问所有后续参数。
In contrast, an OCG compiler has comprehensive information about every variable, register, and pointer throughout the entire program.
相反,OCG编译器对整个程序中的每个变量、寄存器以及指针信息都有全面的了解。
In this book we use the second style and place the * with the pointer variable name.
在本书中,我们将采用第二种声明风格:将符号* 紧贴着指针变量名放置。
Delegate is a reference pointer to a method. It allows us to treat method as a variable and pass method as a variable for a callback.
委托是一个方法的引用指针。它允许我们将方法作为一个变量并传递方法作为回调函数的一个变量。
However, the method copies a pointer to the selected function into a local variable, and then calls the function with the call method of the function object, rather than calling it directly.
但是,这个方法将所选函数的指针复制到一个局部变量中,然后用function对象的call方法调用这个函数。而不是直接调用它。
The function primarily used for this is pthread_cond_wait . It takes two arguments; the first is a pointer to a condition variable, and the second is a locked mutex.
函数pthread_cond_wait主要就是用于阻塞线程的,它有两个参数;第一个是一个指向条件变量的指针,第二个是一个锁定了的互斥量。
A pointer to a variable of this type is passed to the process_args function, and on return, the variable contains values obtained from arg processing.
指向该类型变量的指针被传递到process_args函数,返回该指针时,它包含从参数处理过程获得的值。
The analysis of pointer variable and inter procedure data is one of the key problem in the whole program analysis of nested language.
对指针变量以及过程间的数据的分析是嵌套式语言全程分析的关键问题之一。
If you have a pointer to a structure and the value of the pointer is correct, every member variable of the structure will show the correct value.
如果您有指向结构的指针而且指针的值是正确的,那么结构的每个成员变量都将显示正确值。
An array variable holds a pointer to the data constituting the array elements and the rank and length information, and an assignment copies only this pointer.
数组变量持有一个指针,它指向构成数组元素的数据及秩和长度信息,赋值语句仅复制此指针。
In order to statically analyze buffer overflow, efficient and precise pointer analysis must be performed to make certain what target buffer a pointer variable point to.
为了进行静态缓冲区溢出分析,必须首先进行高效而精确的指针分析,以确定指针可能指向的目标缓冲区。
This paper tentatively analyzes the realization mechanism of a reference type variable in C, and compares reference and pointer so as to deepen the comprehension of reference.
为准确理解C语言引用的本质,对C语言引用型变理的实现机制进行了初步探讨。
An array variable holds a pointer to an array object, which holds the array elements and the rank and length information.
数组变量保存指向数组对象的指针,而数组对象保存的是数组元素、秩和长度信息。
Both the variable type and the formal parameter type are some variety of pointer-to-wide char.
变量类型和形参类型均是某种指向宽字符的指针。
Both the variable type and the formal parameter type are some variety of pointer-to-wide char.
变量类型和形参类型均是某种指向宽字符的指针。
应用推荐