inline function的意思
inline function中文翻譯:
內聯函數
wrapper inline───包裝器內聯
inline skates───溜冰鞋
inline skating───直排輪;縱列式滑冰
stand inline───直列站立
function───n.功能;[數]函數;職責;盛大的集會;vi.運行;活動;行使職責
leveling function───調平功能
basic function───基本功能;[數]基本函數
clasper function───扣合器功能
function generator───信號(函數)發生器;信號[函數]發生器
Listing 3. Generated Code for an inline function in header file.───列表3 .在頭文件中為一個內聯函數所生成的代碼。
Listing 4. Generated Code for an inline function in body file.───列表4 .在實體文件中為一個內聯函數所生成的代碼。
This call actually compiles to an inline function.───這個調用實際上編譯成一個內聯函數。
That's it. As you can see, this program is really just a simple inline function hook, no more complex than the example from Chapter 5.───就這樣了。可以看到,這個程序不過是個簡單的內嵌函數掛勾,不比第5章的例子復雜多少。
The declaration and definition generated for the inline function with this option would all be in the header file, as shown in Listing 5.───采用這一選項為內聯函數所生成的聲明和定義將全部位于頭文件中,如列表5所示。
Instead, hot call sites are more likely to be inlined to keep the code size small while still getting inline function benefits.───相反,熱調用點(hotcallsite)更可能被內聯,以使代碼盡量短小,同時仍獲得內聯函數的優點。
For handling that kind of wrapper, an inline function within your shell might be a better bet.───對于處理此類包裝,外殼中的內聯函數可能更為適合。
Back in Listing 6, you saw that we had a button whose action var was set to an inline function.───回到清單6,我們使用了一個按鈕,它的action變量被設置為一個內聯函數。
In this case, you used an anonymous inline function, also known as a closure.───在這個案例中您使用一個匿名內聯函數,也稱為一個閉包。
The optimizer removed an inline function that is not called.
What this means is that in order to detect an inline function hook you need to scan, more or less, the entire range of executable kernel memory and look through each unconditional jump instruction.