| D | metadata.rs | 9 elf, pe, xcoff, Architecture, BinaryFormat, Endianness, FileFlags, Object, ObjectSection, 42 f: impl for<'a> FnOnce(&'a [u8]) -> Result<&'a [u8], String>, in load_metadata_with() 43 ) -> Result<OwnedSlice, String> { in load_metadata_with() 53 fn get_rlib_metadata(&self, target: &Target, path: &Path) -> Result<OwnedSlice, String> { in get_rlib_metadata() 77 fn get_dylib_metadata(&self, target: &Target, path: &Path) -> Result<OwnedSlice, String> { in get_dylib_metadata() 90 ) -> Result<&'a [u8], String> { in search_for_section() 108 architecture: Architecture, in add_gnu_property_note() argument 114 || !matches!(architecture, Architecture::X86_64 | Architecture::Aarch64) in add_gnu_property_note() 136 let pr_type: u32 = match architecture { in add_gnu_property_note() 137 Architecture::X86_64 => 0xc0000002, in add_gnu_property_note() [all …]
|