mirror of
https://github.com/edg-l/edlang.git
synced 2024-11-24 08:58:26 +00:00
146 lines
62 KiB
HTML
146 lines
62 KiB
HTML
|
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="A trait for generic access to `elf::FileHeader32` and `elf::FileHeader64`."><title>FileHeader in object::read::elf - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-ac92e1bbe349e143.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="object" data-themes="" data-resource-suffix="" data-rustdoc-version="1.76.0 (07dca489a 2024-02-04)" data-channel="1.76.0" data-search-js="search-2b6ce74ff89ae146.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../static.files/storage-f2adc0d6ca4d09fb.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-305769736d49e732.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-feafe1bb7466e4bd.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">☰</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../object/index.html">object</a><span class="version">0.32.2</span></h2></div><h2 class="location"><a href="#">FileHeader</a></h2><div class="sidebar-elems"><section><h3><a href="#required-associated-types">Required Associated Types</a></h3><ul class="block"><li><a href="#associatedtype.CompressionHeader">CompressionHeader</a></li><li><a href="#associatedtype.Dyn">Dyn</a></li><li><a href="#associatedtype.Endian">Endian</a></li><li><a href="#associatedtype.NoteHeader">NoteHeader</a></li><li><a href="#associatedtype.ProgramHeader">ProgramHeader</a></li><li><a href="#associatedtype.Rel">Rel</a></li><li><a href="#associatedtype.Rela">Rela</a></li><li><a href="#associatedtype.SectionHeader">SectionHeader</a></li><li><a href="#associatedtype.Sword">Sword</a></li><li><a href="#associatedtype.Sym">Sym</a></li><li><a href="#associatedtype.Word">Word</a></li></ul><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.e_ehsize">e_ehsize</a></li><li><a href="#tymethod.e_entry">e_entry</a></li><li><a href="#tymethod.e_flags">e_flags</a></li><li><a href="#tymethod.e_ident">e_ident</a></li><li><a href="#tymethod.e_machine">e_machine</a></li><li><a href="#tymethod.e_phentsize">e_phentsize</a></li><li><a href="#tymethod.e_phnum">e_phnum</a></li><li><a href="#tymethod.e_phoff">e_phoff</a></li><li><a href="#tymethod.e_shentsize">e_shentsize</a></li><li><a href="#tymethod.e_shnum">e_shnum</a></li><li><a href="#tymethod.e_shoff">e_shoff</a></li><li><a href="#tymethod.e_shstrndx">e_shstrndx</a></li><li><a href="#tymethod.e_type">e_type</a></li><li><a href="#tymethod.e_version">e_version</a></li><li><a href="#tymeth
|
|||
|
<main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../object/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Trait <a href="../../index.html">object</a>::<wbr><a href="../index.html">read</a>::<wbr><a href="index.html">elf</a>::<wbr><a class="trait" href="#">FileHeader</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../../src/object/read/elf/file.rs.html#446-722">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub trait FileHeader: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> + <a class="trait" href="../../pod/trait.Pod.html" title="trait object::pod::Pod">Pod</a> {
|
|||
|
type <a href="#associatedtype.Word" class="associatedtype">Word</a>: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.u64.html">u64</a>>;
|
|||
|
type <a href="#associatedtype.Sword" class="associatedtype">Sword</a>: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.i64.html">i64</a>>;
|
|||
|
type <a href="#associatedtype.Endian" class="associatedtype">Endian</a>: <a class="trait" href="../../endian/trait.Endian.html" title="trait object::endian::Endian">Endian</a>;
|
|||
|
type <a href="#associatedtype.ProgramHeader" class="associatedtype">ProgramHeader</a>: <a class="trait" href="trait.ProgramHeader.html" title="trait object::read::elf::ProgramHeader">ProgramHeader</a><Elf = Self, Endian = Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>, Word = Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Word" title="type object::read::elf::FileHeader::Word">Word</a>>;
|
|||
|
type <a href="#associatedtype.SectionHeader" class="associatedtype">SectionHeader</a>: <a class="trait" href="trait.SectionHeader.html" title="trait object::read::elf::SectionHeader">SectionHeader</a><Elf = Self, Endian = Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>, Word = Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Word" title="type object::read::elf::FileHeader::Word">Word</a>>;
|
|||
|
type <a href="#associatedtype.CompressionHeader" class="associatedtype">CompressionHeader</a>: <a class="trait" href="trait.CompressionHeader.html" title="trait object::read::elf::CompressionHeader">CompressionHeader</a><Endian = Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>, Word = Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Word" title="type object::read::elf::FileHeader::Word">Word</a>>;
|
|||
|
type <a href="#associatedtype.NoteHeader" class="associatedtype">NoteHeader</a>: <a class="trait" href="trait.NoteHeader.html" title="trait object::read::elf::NoteHeader">NoteHeader</a><Endian = Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>>;
|
|||
|
type <a href="#associatedtype.Dyn" class="associatedtype">Dyn</a>: <a class="trait" href="trait.Dyn.html" title="trait object::read::elf::Dyn">Dyn</a><Endian = Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>, Word = Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Word" title="type object::read::elf::FileHeader::Word">Word</a>>;
|
|||
|
type <a href="#associatedtype.Sym" class="associatedtype">Sym</a>: <a class="trait" href="trait.Sym.html" title="trait object::read::elf::Sym">Sym</a><Endian = Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>, Word = Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Word" title="type object::read::elf::FileHeader::Word">Word</a>>;
|
|||
|
type <a href="#associatedtype.Rel" class="associatedtype">Rel</a>: <a class="trait" href="trait.Rel.html" title="trait object::read::elf::Rel">Rel</a><Endian = Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>, Word = Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Word" title="type object::read::elf::FileHeader::Word">Word</a>>;
|
|||
|
type <a href="#associatedtype.Rela" class="associatedtype">Rela</a>: <a class="trait" href="trait.Rela.html" title="trait object::read::elf::Rela">Rela</a><Endian = Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>, Word = Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Word" title="type object::read::elf::FileHeader::Word">Word</a>> + <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Rel" title="type object::read::elf::FileHeader::Rel">Rel</a>>;
|
|||
|
|
|||
|
<details class="toggle type-contents-toggle"><summary class="hideme"><span>Show 32 methods</span></summary> // Required methods
|
|||
|
fn <a href="#tymethod.is_type_64" class="fn">is_type_64</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.bool.html">bool</a>;
|
|||
|
<span class="item-spacer"></span> fn <a href="#tymethod.is_type_64_sized" class="fn">is_type_64_sized</a>() -> <a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.bool.html">bool</a>
|
|||
|
<span class="where">where Self: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span>;
|
|||
|
<span class="item-spacer"></span> fn <a href="#tymethod.e_ident" class="fn">e_ident</a>(&self) -> &<a class="struct" href="../../elf/struct.Ident.html" title="struct object::elf::Ident">Ident</a>;
|
|||
|
<span class="item-spacer"></span> fn <a href="#tymethod.e_type" class="fn">e_type</a>(&self, endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.u16.html">u16</a>;
|
|||
|
<span class="item-spacer"></span> fn <a href="#tymethod.e_machine" class="fn">e_machine</a>(&self, endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.u16.html">u16</a>;
|
|||
|
<span class="item-spacer"></span> fn <a href="#tymethod.e_version" class="fn">e_version</a>(&self, endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.u32.html">u32</a>;
|
|||
|
<span class="item-spacer"></span> fn <a href="#tymethod.e_entry" class="fn">e_entry</a>(&self, endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>) -> Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Word" title="type object::read::elf::FileHeader::Word">Word</a>;
|
|||
|
<span class="item-spacer"></span> fn <a href="#tymethod.e_phoff" class="fn">e_phoff</a>(&self, endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>) -> Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Word" title="type object::read::elf::FileHeader::Word">Word</a>;
|
|||
|
<span class="item-spacer"></span> fn <a href="#tymethod.e_shoff" class="fn">e_shoff</a>(&self, endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>) -> Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Word" title="type object::read::elf::FileHeader::Word">Word</a>;
|
|||
|
<span class="item-spacer"></span> fn <a href="#tymethod.e_flags" class="fn">e_flags</a>(&self, endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.u32.html">u32</a>;
|
|||
|
<span class="item-spacer"></span> fn <a href="#tymethod.e_ehsize" class="fn">e_ehsize</a>(&self, endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.u16.html">u16</a>;
|
|||
|
<span class="item-spacer"></span> fn <a href="#tymethod.e_phentsize" class="fn">e_phentsize</a>(&self, endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.u16.html">u16</a>;
|
|||
|
<span class="item-spacer"></span> fn <a href="#tymethod.e_phnum" class="fn">e_phnum</a>(&self, endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.u16.html">u16</a>;
|
|||
|
<span class="item-spacer"></span> fn <a href="#tymethod.e_shentsize" class="fn">e_shentsize</a>(&self, endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.u16.html">u16</a>;
|
|||
|
<span class="item-spacer"></span> fn <a href="#tymethod.e_shnum" class="fn">e_shnum</a>(&self, endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.u16.html">u16</a>;
|
|||
|
<span class="item-spacer"></span> fn <a href="#tymethod.e_shstrndx" class="fn">e_shstrndx</a>(&self, endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.u16.html">u16</a>;
|
|||
|
|
|||
|
// Provided methods
|
|||
|
fn <a href="#method.parse" class="fn">parse</a><'data, R: <a class="trait" href="../trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a><'data>>(data: R) -> <a class="type" href="../type.Result.html" title="type object::read::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.reference.html">&'data Self</a>> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.is_supported" class="fn">is_supported</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.bool.html">bool</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.is_class_32" class="fn">is_class_32</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.bool.html">bool</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.is_class_64" class="fn">is_class_64</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.bool.html">bool</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.is_little_endian" class="fn">is_little_endian</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.bool.html">bool</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.is_big_endian" class="fn">is_big_endian</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.bool.html">bool</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.endian" class="fn">endian</a>(&self) -> <a class="type" href="../type.Result.html" title="type object::read::Result">Result</a><Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.section_0" class="fn">section_0</a><'data, R: <a class="trait" href="../trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a><'data>>(
|
|||
|
&self,
|
|||
|
endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>,
|
|||
|
data: R
|
|||
|
) -> <a class="type" href="../type.Result.html" title="type object::read::Result">Result</a><<a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'data Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.SectionHeader" title="type object::read::elf::FileHeader::SectionHeader">SectionHeader</a>>> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.phnum" class="fn">phnum</a><'data, R: <a class="trait" href="../trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a><'data>>(
|
|||
|
&self,
|
|||
|
endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>,
|
|||
|
data: R
|
|||
|
) -> <a class="type" href="../type.Result.html" title="type object::read::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.usize.html">usize</a>> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.shnum" class="fn">shnum</a><'data, R: <a class="trait" href="../trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a><'data>>(
|
|||
|
&self,
|
|||
|
endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>,
|
|||
|
data: R
|
|||
|
) -> <a class="type" href="../type.Result.html" title="type object::read::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.usize.html">usize</a>> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.shstrndx" class="fn">shstrndx</a><'data, R: <a class="trait" href="../trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a><'data>>(
|
|||
|
&self,
|
|||
|
endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>,
|
|||
|
data: R
|
|||
|
) -> <a class="type" href="../type.Result.html" title="type object::read::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.u32.html">u32</a>> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.program_headers" class="fn">program_headers</a><'data, R: <a class="trait" href="../trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a><'data>>(
|
|||
|
&self,
|
|||
|
endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>,
|
|||
|
data: R
|
|||
|
) -> <a class="type" href="../type.Result.html" title="type object::read::Result">Result</a><&'data [Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.ProgramHeader" title="type object::read::elf::FileHeader::ProgramHeader">ProgramHeader</a>]> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.section_headers" class="fn">section_headers</a><'data, R: <a class="trait" href="../trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a><'data>>(
|
|||
|
&self,
|
|||
|
endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>,
|
|||
|
data: R
|
|||
|
) -> <a class="type" href="../type.Result.html" title="type object::read::Result">Result</a><&'data [Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.SectionHeader" title="type object::read::elf::FileHeader::SectionHeader">SectionHeader</a>]> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.section_strings" class="fn">section_strings</a><'data, R: <a class="trait" href="../trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a><'data>>(
|
|||
|
&self,
|
|||
|
endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>,
|
|||
|
data: R,
|
|||
|
sections: &[Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.SectionHeader" title="type object::read::elf::FileHeader::SectionHeader">SectionHeader</a>]
|
|||
|
) -> <a class="type" href="../type.Result.html" title="type object::read::Result">Result</a><<a class="struct" href="../struct.StringTable.html" title="struct object::read::StringTable">StringTable</a><'data, R>> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.sections" class="fn">sections</a><'data, R: <a class="trait" href="../trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a><'data>>(
|
|||
|
&self,
|
|||
|
endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>,
|
|||
|
data: R
|
|||
|
) -> <a class="type" href="../type.Result.html" title="type object::read::Result">Result</a><<a class="struct" href="struct.SectionTable.html" title="struct object::read::elf::SectionTable">SectionTable</a><'data, Self, R>> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.is_mips64el" class="fn">is_mips64el</a>(&self, endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.bool.html">bool</a> { ... }
|
|||
|
</details>}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A trait for generic access to <a href="../../elf/struct.FileHeader32.html" title="struct object::elf::FileHeader32"><code>elf::FileHeader32</code></a> and <a href="../../elf/struct.FileHeader64.html" title="struct object::elf::FileHeader64"><code>elf::FileHeader64</code></a>.</p>
|
|||
|
</div></details><h2 id="required-associated-types" class="section-header">Required Associated Types<a href="#required-associated-types" class="anchor">§</a></h2><div class="methods"><section id="associatedtype.Word" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#448">source</a><h4 class="code-header">type <a href="#associatedtype.Word" class="associatedtype">Word</a>: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.u64.html">u64</a>></h4></section><section id="associatedtype.Sword" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#449">source</a><h4 class="code-header">type <a href="#associatedtype.Sword" class="associatedtype">Sword</a>: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.i64.html">i64</a>></h4></section><section id="associatedtype.Endian" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#450">source</a><h4 class="code-header">type <a href="#associatedtype.Endian" class="associatedtype">Endian</a>: <a class="trait" href="../../endian/trait.Endian.html" title="trait object::endian::Endian">Endian</a></h4></section><section id="associatedtype.ProgramHeader" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#451">source</a><h4 class="code-header">type <a href="#associatedtype.ProgramHeader" class="associatedtype">ProgramHeader</a>: <a class="trait" href="trait.ProgramHeader.html" title="trait object::read::elf::ProgramHeader">ProgramHeader</a><Elf = Self, Endian = Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>, Word = Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Word" title="type object::read::elf::FileHeader::Word">Word</a>></h4></section><section id="associatedtype.SectionHeader" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#452">source</a><h4 class="code-header">type <a href="#associatedtype.SectionHeader" class="associatedtype">SectionHeader</a>: <a class="trait" href="trait.SectionHeader.html" title="trait object::read::elf::SectionHeader">SectionHeader</a><Elf = Self, Endian = Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>, Word = Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Word" title="type object::read::elf::FileHeader::Word">Word</a>></h4></section><section id="associatedtype.CompressionHeader" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#453">source</a><h4 class="code-header">type <a href="#associatedtype.CompressionHeader" class="associatedtype">CompressionHeader</a>: <a class="trait" href="trait.CompressionHeader.html" title="trait object::read::elf::CompressionHeader">CompressionHeader</a><Endian = Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>, Word = Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Word" title="type object::read::elf::FileHeader::Word">Word</a>></h4></section><section id="associatedtype.NoteHeader" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#454">source</a><h4 class="code-header">type <a href="#associatedtype.NoteHeader" class="associatedtype">NoteHeader</a>: <a class="trait" href="trait.NoteHeader.html" title="trait object::read::elf::NoteHeader">NoteHeader</a><Endian = Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::File
|
|||
|
<p>This is a property of the type, not a value in the header data.</p>
|
|||
|
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.is_type_64_sized" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#470-472">source</a><h4 class="code-header">fn <a href="#tymethod.is_type_64_sized" class="fn">is_type_64_sized</a>() -> <a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.bool.html">bool</a><div class="where">where
|
|||
|
Self: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class="docblock"><p>Return true if this type is a 64-bit header.</p>
|
|||
|
<p>This is a property of the type, not a value in the header data.</p>
|
|||
|
<p>This is the same as <a href="trait.FileHeader.html#tymethod.is_type_64"><code>Self::is_type_64</code></a>, but is non-dispatchable.</p>
|
|||
|
</div></details><section id="tymethod.e_ident" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#474">source</a><h4 class="code-header">fn <a href="#tymethod.e_ident" class="fn">e_ident</a>(&self) -> &<a class="struct" href="../../elf/struct.Ident.html" title="struct object::elf::Ident">Ident</a></h4></section><section id="tymethod.e_type" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#475">source</a><h4 class="code-header">fn <a href="#tymethod.e_type" class="fn">e_type</a>(&self, endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.u16.html">u16</a></h4></section><section id="tymethod.e_machine" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#476">source</a><h4 class="code-header">fn <a href="#tymethod.e_machine" class="fn">e_machine</a>(&self, endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.u16.html">u16</a></h4></section><section id="tymethod.e_version" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#477">source</a><h4 class="code-header">fn <a href="#tymethod.e_version" class="fn">e_version</a>(&self, endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.u32.html">u32</a></h4></section><section id="tymethod.e_entry" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#478">source</a><h4 class="code-header">fn <a href="#tymethod.e_entry" class="fn">e_entry</a>(&self, endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>) -> Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Word" title="type object::read::elf::FileHeader::Word">Word</a></h4></section><section id="tymethod.e_phoff" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#479">source</a><h4 class="code-header">fn <a href="#tymethod.e_phoff" class="fn">e_phoff</a>(&self, endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>) -> Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Word" title="type object::read::elf::FileHeader::Word">Word</a></h4></section><section id="tymethod.e_shoff" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#480">source</a><h4 class="code-header">fn <a href="#tymethod.e_shoff" class="fn">e_shoff</a>(&self, endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>) -> Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Word" title="type object::read::elf::FileHeader::Word">Word</a></h4></section><section id="tymethod.e_flags" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#481">source</a><h4 class="code-header">fn <a href="#tymethod.e_flags" class="fn">e_flags</a>(&self, endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.u32.html">u32</a></h4></section><section id="tymethod.e_ehsize" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#482">source</a><h4 class="code-header
|
|||
|
<p>Also checks that the ident field in the file header is a supported format.</p>
|
|||
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.is_supported" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#508-516">source</a><h4 class="code-header">fn <a href="#method.is_supported" class="fn">is_supported</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Check that the ident field in the file header is a supported format.</p>
|
|||
|
<p>This checks the magic number, version, class, and endianness.</p>
|
|||
|
</div></details><section id="method.is_class_32" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#518-520">source</a><h4 class="code-header">fn <a href="#method.is_class_32" class="fn">is_class_32</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.bool.html">bool</a></h4></section><section id="method.is_class_64" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#522-524">source</a><h4 class="code-header">fn <a href="#method.is_class_64" class="fn">is_class_64</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.bool.html">bool</a></h4></section><section id="method.is_little_endian" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#526-528">source</a><h4 class="code-header">fn <a href="#method.is_little_endian" class="fn">is_little_endian</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.bool.html">bool</a></h4></section><section id="method.is_big_endian" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#530-532">source</a><h4 class="code-header">fn <a href="#method.is_big_endian" class="fn">is_big_endian</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.bool.html">bool</a></h4></section><section id="method.endian" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#534-536">source</a><h4 class="code-header">fn <a href="#method.endian" class="fn">endian</a>(&self) -> <a class="type" href="../type.Result.html" title="type object::read::Result">Result</a><Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>></h4></section><details class="toggle method-toggle" open><summary><section id="method.section_0" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#542-560">source</a><h4 class="code-header">fn <a href="#method.section_0" class="fn">section_0</a><'data, R: <a class="trait" href="../trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a><'data>>(
|
|||
|
&self,
|
|||
|
endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>,
|
|||
|
data: R
|
|||
|
) -> <a class="type" href="../type.Result.html" title="type object::read::Result">Result</a><<a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'data Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.SectionHeader" title="type object::read::elf::FileHeader::SectionHeader">SectionHeader</a>>></h4></section></summary><div class="docblock"><p>Return the first section header, if present.</p>
|
|||
|
<p>Section 0 is a special case because getting the section headers normally
|
|||
|
requires <code>shnum</code>, but <code>shnum</code> may be in the first section header.</p>
|
|||
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.phnum" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#565-579">source</a><h4 class="code-header">fn <a href="#method.phnum" class="fn">phnum</a><'data, R: <a class="trait" href="../trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a><'data>>(
|
|||
|
&self,
|
|||
|
endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>,
|
|||
|
data: R
|
|||
|
) -> <a class="type" href="../type.Result.html" title="type object::read::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.usize.html">usize</a>></h4></section></summary><div class="docblock"><p>Return the <code>e_phnum</code> field of the header. Handles extended values.</p>
|
|||
|
<p>Returns <code>Err</code> for invalid values.</p>
|
|||
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.shnum" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#584-603">source</a><h4 class="code-header">fn <a href="#method.shnum" class="fn">shnum</a><'data, R: <a class="trait" href="../trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a><'data>>(
|
|||
|
&self,
|
|||
|
endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>,
|
|||
|
data: R
|
|||
|
) -> <a class="type" href="../type.Result.html" title="type object::read::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.usize.html">usize</a>></h4></section></summary><div class="docblock"><p>Return the <code>e_shnum</code> field of the header. Handles extended values.</p>
|
|||
|
<p>Returns <code>Err</code> for invalid values.</p>
|
|||
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.shstrndx" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#608-626">source</a><h4 class="code-header">fn <a href="#method.shstrndx" class="fn">shstrndx</a><'data, R: <a class="trait" href="../trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a><'data>>(
|
|||
|
&self,
|
|||
|
endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>,
|
|||
|
data: R
|
|||
|
) -> <a class="type" href="../type.Result.html" title="type object::read::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.u32.html">u32</a>></h4></section></summary><div class="docblock"><p>Return the <code>e_shstrndx</code> field of the header. Handles extended values.</p>
|
|||
|
<p>Returns <code>Err</code> for invalid values (including if the index is 0).</p>
|
|||
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.program_headers" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#632-654">source</a><h4 class="code-header">fn <a href="#method.program_headers" class="fn">program_headers</a><'data, R: <a class="trait" href="../trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a><'data>>(
|
|||
|
&self,
|
|||
|
endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>,
|
|||
|
data: R
|
|||
|
) -> <a class="type" href="../type.Result.html" title="type object::read::Result">Result</a><&'data [Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.ProgramHeader" title="type object::read::elf::FileHeader::ProgramHeader">ProgramHeader</a>]></h4></section></summary><div class="docblock"><p>Return the slice of program headers.</p>
|
|||
|
<p>Returns <code>Ok(&[])</code> if there are no program headers.
|
|||
|
Returns <code>Err</code> for invalid values.</p>
|
|||
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.section_headers" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#660-682">source</a><h4 class="code-header">fn <a href="#method.section_headers" class="fn">section_headers</a><'data, R: <a class="trait" href="../trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a><'data>>(
|
|||
|
&self,
|
|||
|
endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>,
|
|||
|
data: R
|
|||
|
) -> <a class="type" href="../type.Result.html" title="type object::read::Result">Result</a><&'data [Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.SectionHeader" title="type object::read::elf::FileHeader::SectionHeader">SectionHeader</a>]></h4></section></summary><div class="docblock"><p>Return the slice of section headers.</p>
|
|||
|
<p>Returns <code>Ok(&[])</code> if there are no section headers.
|
|||
|
Returns <code>Err</code> for invalid values.</p>
|
|||
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.section_strings" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#685-705">source</a><h4 class="code-header">fn <a href="#method.section_strings" class="fn">section_strings</a><'data, R: <a class="trait" href="../trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a><'data>>(
|
|||
|
&self,
|
|||
|
endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>,
|
|||
|
data: R,
|
|||
|
sections: &[Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.SectionHeader" title="type object::read::elf::FileHeader::SectionHeader">SectionHeader</a>]
|
|||
|
) -> <a class="type" href="../type.Result.html" title="type object::read::Result">Result</a><<a class="struct" href="../struct.StringTable.html" title="struct object::read::StringTable">StringTable</a><'data, R>></h4></section></summary><div class="docblock"><p>Return the string table for the section headers.</p>
|
|||
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.sections" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#708-716">source</a><h4 class="code-header">fn <a href="#method.sections" class="fn">sections</a><'data, R: <a class="trait" href="../trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a><'data>>(
|
|||
|
&self,
|
|||
|
endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>,
|
|||
|
data: R
|
|||
|
) -> <a class="type" href="../type.Result.html" title="type object::read::Result">Result</a><<a class="struct" href="struct.SectionTable.html" title="struct object::read::elf::SectionTable">SectionTable</a><'data, Self, R>></h4></section></summary><div class="docblock"><p>Return the section table.</p>
|
|||
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.is_mips64el" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#719-721">source</a><h4 class="code-header">fn <a href="#method.is_mips64el" class="fn">is_mips64el</a>(&self, endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Returns whether this is a mips64el elf file.</p>
|
|||
|
</div></details></div><h2 id="object-safety" class="section-header">Object Safety<a href="#object-safety" class="anchor">§</a></h2><div class="object-safety-info">This trait is <b>not</b> <a href="https://doc.rust-lang.org/1.76.0/reference/items/traits.html#object-safety">object safe</a>.</div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><details class="toggle implementors-toggle"><summary><section id="impl-FileHeader-for-FileHeader32%3CEndian%3E" class="impl"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#724-819">source</a><a href="#impl-FileHeader-for-FileHeader32%3CEndian%3E" class="anchor">§</a><h3 class="code-header">impl<Endian: <a class="trait" href="../../endian/trait.Endian.html" title="trait object::endian::Endian">Endian</a>> <a class="trait" href="trait.FileHeader.html" title="trait object::read::elf::FileHeader">FileHeader</a> for <a class="struct" href="../../elf/struct.FileHeader32.html" title="struct object::elf::FileHeader32">FileHeader32</a><Endian></h3></section></summary><div class="impl-items"><section id="associatedtype.Word-1" class="associatedtype trait-impl"><a href="#associatedtype.Word-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Word" class="associatedtype">Word</a> = <a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.u32.html">u32</a></h4></section><section id="associatedtype.Sword-1" class="associatedtype trait-impl"><a href="#associatedtype.Sword-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Sword" class="associatedtype">Sword</a> = <a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.i32.html">i32</a></h4></section><section id="associatedtype.Endian-1" class="associatedtype trait-impl"><a href="#associatedtype.Endian-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Endian" class="associatedtype">Endian</a> = Endian</h4></section><section id="associatedtype.ProgramHeader-1" class="associatedtype trait-impl"><a href="#associatedtype.ProgramHeader-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.ProgramHeader" class="associatedtype">ProgramHeader</a> = <a class="struct" href="../../elf/struct.ProgramHeader32.html" title="struct object::elf::ProgramHeader32">ProgramHeader32</a><Endian></h4></section><section id="associatedtype.SectionHeader-1" class="associatedtype trait-impl"><a href="#associatedtype.SectionHeader-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.SectionHeader" class="associatedtype">SectionHeader</a> = <a class="struct" href="../../elf/struct.SectionHeader32.html" title="struct object::elf::SectionHeader32">SectionHeader32</a><Endian></h4></section><section id="associatedtype.CompressionHeader-1" class="associatedtype trait-impl"><a href="#associatedtype.CompressionHeader-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.CompressionHeader" class="associatedtype">CompressionHeader</a> = <a class="struct" href="../../elf/struct.CompressionHeader32.html" title="struct object::elf::CompressionHeader32">CompressionHeader32</a><Endian></h4></section><section id="associatedtype.NoteHeader-1" class="associatedtype trait-impl"><a href="#associatedtype.NoteHeader-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.NoteHeader" class="associatedtype">NoteHeader</a> = <a class="struct" href="../../elf/struct.NoteHeader32.html" title="struct object::elf::NoteHeader32">NoteHeader32</a><Endian></h4></section><section id="associatedtype.Dyn-1" class="associatedtype trait-impl"><a href="#associatedtype.Dyn-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Dyn" class="associatedtype">Dyn</a> = <a class="struct" href="../../elf/struct.Dyn32.html" title="struct object::elf::Dyn32">Dyn32</a><Endian></h4></section><section id="associatedtype.Sym-1" class="associate
|