簡體   English   中英

“ / usr / bin / google-chrome”不是ELF文件

[英]“/usr/bin/google-chrome” is not an ELF file

我將對某些應用程序(例如chrome)使用ltrace,但是當我使用它時,會收到以下錯誤消息。

"/usr/bin/google-chrome" is not an ELF file

有人知道解決方案嗎? 我想知道通過運行應用程序確切調用哪些函數。

謝謝,

有人知道解決方案嗎?

file -L /usr/bin/google-chrome
/usr/bin/google-chrome: Bourne-Again shell script, ASCII text executable

這告訴您google-chrome是一個shell腳本。 如果您查看內部,將會看到它最終會調用真正的ELF二進制文件(在我的系統上為/opt/google/chrome/chrome )。

我想知道通過運行應用程序確切調用哪些函數。

ltrace命令不會向您顯示。 它只會向您顯示調用了哪些外部函數。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM