What is inside vesamenu.c32
?
I need NOT know the PURPOSE of this file, I wish to know what it is.
Are there machine instructions inside or what? If yes, then what are they doing?
file
says
/usr/lib/syslinux/modules/bios/vesamenu.c32: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
so it's a 32-bit binary for Intel CPUs. It's built from the files in com32/menu
; the code allows a menu to be defined and displayed.
main() in mainmenu.c
in the standard way for C programs. From SYSLINUX it is loaded like a kernel (fromrun_default.c
), and the process from there tomain()
is handled by thecrt0
code. – Stephen Kitt Oct 25 '16 at 12:12file
command report "LSB shared object" for kernel image then? (it reports DBF file for me, probably by mistake)? Looks like kernel is raw code? Or loader can determine the type of imge dynamically? – Dims Oct 25 '16 at 12:24run_default.c
if you're interested in the loader), it's quite straightforward. What are you actually trying to figure out? – Stephen Kitt Oct 25 '16 at 15:27