Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What are the requirements on a Linux binary in order to drill down to its source?

0
Posted

What are the requirements on a Linux binary in order to drill down to its source?

0

In order to drill down to source, the Linux binary must be compiled with debug information. For example, if the GCC or the Intel(R) compilers are used, then the sources should be compiled with the “-g” option. Please note that under certain circumstances, compiling with detailed debug information and high optimization (e.g., “-g3 -O3”) may cause problems with source drill down. In order to drill down to Linux kernel source, you must have a kernel file built with debug information. To build such a kernel file, go to the directory containing the kernel sources and edit the kernel source’s top-level Makefile.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123