I have taken android linux kernel split it from the gzip header and decompressed it. However when I try to do an objdump from the android ndk to dump the file I am getting a File format not recognized error.
Anyone know how get a symbol table from the binary image.
On my android device I can do the following to get a symbol table:
cat /proc/kallsyms
This is not unique to Android – it happens on most (all?) Linux systems. The bootable image of the Linux kernel (on which Android is based) is not a proper ELF binary:
The bootable image is created by wrapping the
vmlinuxkernel ELF binary in a compressed container and adding a set of boot and decompression utilities. If you need a kernel image for debugging. thevmlinuxfile is what you need – I don’t know if/where it exists in the Android NDK though.