pahole安裝(編譯)


Pahole

Poke-a-hole

Poke-a-hole (pahole) is an object-file analysis tool to find the size of the
data structures, and the holes caused due to aligning the data elements to the
word-size of the CPU by the compiler.

INSTALLATION

  1. git clone https://git.kernel.org/pub/scm/devel/pahole/pahole.git
  2. cd pahole
  3. mkcd build
  4. cmake -D__LIB=lib ..
  5. sudo make install

REFERENCES


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM