Lines Matching refs:object
3 use object::elf::*;
4 use object::endian::{BigEndian, Endian, Endianness, LittleEndian};
5 use object::read::elf::{FileHeader, SectionHeader};
6 use object::{
70 .and_then(|offset| object::from_bytes_mut::<U64<NE>>(&mut bytes[offset..]).ok()) in relocate_dwarf_sections()
78 use object::elf::*; in ensure_supported_elf_format()
79 use object::read::elf::*; in ensure_supported_elf_format()
81 let kind = match object::FileKind::parse(bytes) { in ensure_supported_elf_format()
88 object::FileKind::Elf64 => match object::elf::FileHeader64::<Endianness>::parse(bytes) { in ensure_supported_elf_format()
137 object::from_bytes_mut(&mut bytes[off..]).unwrap().0; in convert_object_elf_to_loadable_file()
153 object::from_bytes_mut(&mut bytes[ph_off..]).unwrap().0; in convert_object_elf_to_loadable_file()
165 let header: &mut FileHeader64<E> = object::from_bytes_mut(bytes).unwrap().0; in convert_object_elf_to_loadable_file()