Lines Matching refs:object
4 use object::write::{Object, StandardSegment};
5 use object::{LittleEndian, SectionKind, U32};
146 obj.append_section_data(section, object::bytes_of_slice(&self.pcs), 1); in append_to()
149 object::bytes_of_slice(&self.pointers_to_stack_map), in append_to()
152 obj.append_section_data(section, object::bytes_of_slice(&self.stack_map_data), 1); in append_to()
160 use object::{Object, ObjectSection};
168 let mut object = object::write::Object::new( in roundtrip() localVariable
169 object::BinaryFormat::Elf, in roundtrip()
170 object::Architecture::X86_64, in roundtrip()
171 object::Endianness::Little, in roundtrip()
173 section.append_to(&mut object); in roundtrip()
174 let elf = object.write().unwrap(); in roundtrip()
176 let image = object::File::parse(&elf[..]).unwrap(); in roundtrip()