c++ Programming Glossary: readelf
Get the compiler options from a compiled executable? http://stackoverflow.com/questions/12112338/get-the-compiler-options-from-a-compiled-executable with that information. gcc O2 frecord gcc switches a.c readelf p .GCC.command.line a.out String dump of section '.GCC.command.line'..
How does a compiled C++ class look like? http://stackoverflow.com/questions/3211262/how-does-a-compiled-c-class-look-like f bash g c class.cpp I ran bash objdump d class.o bash readelf a class.o but what I get is hard for me to understand. Could..
How do I list the symbols in a .so file http://stackoverflow.com/questions/34732/how-do-i-list-the-symbols-in-a-so-file If your .so file is in elf format you will have to use readelf program to extract symbol information from the binary. readelf.. program to extract symbol information from the binary. readelf Ws usr lib libexample.so You only should extract those that.. case. You can extract the corresponding lines with awk readelf Ws usr lib libstdc .so.6 awk ' print 8 ' Update Thanks to Pavel..
How to check what shared library is loaded at run time? http://stackoverflow.com/questions/5103443/how-to-check-what-shared-library-is-loaded-at-run-time if a program loads some shared libraries using dlopen then readelf or ldd is not going to show it. Is it possible at all to get..
.bss section in elf file http://stackoverflow.com/questions/610682/bss-section-in-elf-file size as the section has when allocated in virtual memory readelf l . a.out Program Headers Type Offset VirtAddr PhysAddr FileSiz..
iostream and large file support http://stackoverflow.com/questions/660667/iostream-and-large-file-support or libstdc .so if linking against it dynamically through readelf r or through strings and see if your binary libstdc linked against..
|