LoginSignup
2
3

More than 5 years have passed since last update.

gccでバイナリのマップファイルを生成する

Posted at

gcc -Wl,-Map=hoge.map -g -o hoge.out hoge.c

こんな風に使う

$cat hoge.map | grep main
0x00000000004003a8 __libc_start_main@@GLIBC_2.2.5
0x0000000000400478 main

2
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
3