pub fn new() -> ElfHeader {
        ElfHeader { file_size: 0,
                    elf_type: ElfType::Unknown,
                    platform_bits: PlatformBits::Unknown,
                    endianness: Endianness::Unknown,
                    version: 0,
                    header_version: 0,
                    abi: TargetABI::NoSpecific,
                    instruction_set: InstructionSet::NoSpecific,
                    flags: 0,
                    header_size: 0,
                    prog_entry_pos: 0,
                    prog_tbl_pos: 0,
                    sec_tbl_pos: 0,
                    prog_size_hentr: 0,
                    prog_no_hentr: 0,
                    sec_size_hentr: 0,
                    sec_no_entr: 0,
                    sec_tbl_names_pos: 0 }
    }
// Create a new `ElfHeader' struct with default values.
Create a new `ElfHeader' struct with default values.
Create a new ` ElfHeader ' struct with default values .
pub fn new() -> ElfHeader {
        ElfHeader { file_size: 0,
                    elf_type: ElfType::Unknown,
                    platform_bits: PlatformBits::Unknown,
                    endianness: Endianness::Unknown,
                    version: 0,
                    header_version: 0,
                    abi: TargetABI::NoSpecific,
                    instruction_set: InstructionSet::NoSpecific,
                    flags: 0,
                    header_size: 0,
                    prog_entry_pos: 0,
                    prog_tbl_pos: 0,
                    sec_tbl_pos: 0,
                    prog_size_hentr: 0,
                    prog_no_hentr: 0,
                    sec_size_hentr: 0,
                    sec_no_entr: 0,
                    sec_tbl_names_pos: 0 }
    }
pub fn new ( ) -> ElfHeader { ElfHeader { file_size : 0 , elf_type : ElfType :: Unknown , platform_bits : PlatformBits :: Unknown , endianness : Endianness :: Unknown , version : 0 , header_version : 0 , abi : TargetABI :: NoSpecific , instruction_set : InstructionSet :: NoSpecific , flags : 0 , header_size : 0 , prog_entry_pos : 0 , prog_tbl_pos : 0 , sec_tbl_pos : 0 , prog_size_hentr : 0 , prog_no_hentr : 0 , sec_size_hentr : 0 , sec_no_entr : 0 , sec_tbl_names_pos : 0 } }
Create a new `ElfHeader' struct with default values.
Create a new ` ElfHeader ' struct with default values .