您的位置:首页 > 大数据 > 人工智能

how to tell if a library contain debug symbols or not

2016-02-25 19:47 691 查看
gcc write_test.c -o w.d -g

$objdump -h w.d | grep debug

26 .debug_aranges 00000020 00000000 00000000 0000104e 2**0

27 .debug_info 00000101 00000000 00000000 0000106e 2**0

28 .debug_abbrev 00000080 00000000 00000000 0000116f 2**0

29 .debug_line 0000005b 00000000 00000000 000011ef 2**0

30 .debug_str 00000094 00000000 00000000 0000124a 2**0

31 .debug_loc 00000038 00000000 00000000 000012de 2**0

http://stackoverflow.com/questions/17453270/how-to-know-if-a-binary-contains-debugging-symbols-or-not
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: