デバッグする実行ファイルをロード、またはアンロードします。
このコマンドは、デバッガーの制御下で実行する実行ファイルをロードします。
このコマンドは、実行ファイルと使用する共有ライブラリーがある場合はそれも読み込みます。デバッグ情報なしでコンパイルされたオブジェクトには、ロードするシンボルはありません。
filename を指定した場合、デバッガーは指定した実行ファイルをロードします。パラメーターが指定されていない場合、デバッガーは現在の実行ファイルをアンロードします。
(idb) file /home/user/examples/x_list Reading symbols from /home/user/examples/x_list...done. (idb) info files Symbols from "/home/user/examples/x_list". Unix child process: Using the running image of child process 19438. While running this, IDB does not access memory from... Local exec file: '/home/user/examples/x_list', file type <unknown> 0x8048000 - 0x8056e40 is .text 0x8057000 - 0x805deec is .data 0x805deec - 0x805dfb4 is .bss
パラメーターを指定せずに file コマンドを使用して、実行ファイルを次のようにアンロードします。
(idb) file No executable file now. No symbol file now.