Lines Matching refs:FileHdr
881 ELFYAML::FileHeader &FileHdr) { in mapping() argument
882 IO.mapRequired("Class", FileHdr.Class); in mapping()
883 IO.mapRequired("Data", FileHdr.Data); in mapping()
884 IO.mapOptional("OSABI", FileHdr.OSABI, ELFYAML::ELF_ELFOSABI(0)); in mapping()
885 IO.mapOptional("ABIVersion", FileHdr.ABIVersion, Hex8(0)); in mapping()
886 IO.mapRequired("Type", FileHdr.Type); in mapping()
887 IO.mapOptional("Machine", FileHdr.Machine); in mapping()
888 IO.mapOptional("Flags", FileHdr.Flags, ELFYAML::ELF_EF(0)); in mapping()
889 IO.mapOptional("Entry", FileHdr.Entry, Hex64(0)); in mapping()
893 (!FileHdr.EPhOff && !FileHdr.EPhEntSize && !FileHdr.EPhNum)); in mapping()
894 IO.mapOptional("EPhOff", FileHdr.EPhOff); in mapping()
895 IO.mapOptional("EPhEntSize", FileHdr.EPhEntSize); in mapping()
896 IO.mapOptional("EPhNum", FileHdr.EPhNum); in mapping()
897 IO.mapOptional("EShEntSize", FileHdr.EShEntSize); in mapping()
898 IO.mapOptional("EShOff", FileHdr.EShOff); in mapping()
899 IO.mapOptional("EShNum", FileHdr.EShNum); in mapping()
900 IO.mapOptional("EShStrNdx", FileHdr.EShStrNdx); in mapping()
918 IO &IO, ELFYAML::ProgramHeader &FileHdr) { in validate() argument
919 if (!FileHdr.FirstSec && FileHdr.LastSec) in validate()
921 if (FileHdr.FirstSec && !FileHdr.LastSec) in validate()