new functions: get_dos_header, get_pe_header and get_coff_header. I tested them and it should be fine