In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Do not know how to use the objdump command in linux to view the gcc tool composed of object files? In fact, it is not difficult to solve this problem. Let the editor take you to learn how to solve it. I hope you will gain a lot after reading this article.
The objdump command is a gcc tool that looks at the object file or the composition of the executable object file.
Objdump is a bit like a tool like Quick View, which allows you to learn more about the additional information that binaries may contain in a readable format.
Syntax format: objdump [parameters] [file]
Common parameters:
-a displays the member information of the archive, similar to ls-l lists lib*.an information-g displays debug information-d disassembles those specific instruction machine codes from objfile section-D is similar to-d, but disassembles all section-f displays the overall header summary information of each file in the objfile-H short help information-s displays the complete contents of the specified section. By default, all non-empty section will be displayed
Reference example
View the information in the archive file:
[root@linuxcool] # objdump-a libmy2.a
Display the contents of the text section in the mytest.o file:
[root@linuxcool ~] # objdump-- section=.text-s mytest.o Thank you for reading this article carefully. I hope the editor will share the content of the gcc tool made up of target documents using the objdump command in linux. At the same time, I also hope that you can support it, pay attention to the industry information channel, find out if you encounter problems, and learn detailed solutions.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.