title: How to get the .config from a Linux kernel image?
body: <p>I have a Linux kernel image in elf format and I want to find out what <code>.config</code> file was used to build this kernel. When I do an <strong>objdump</strong> of the image, I see a section called <code>kernel_config_data</code> that contains text but does not look like the config file. Is there a way to retrieve this information?</p>