edlang/object/read/trait.Object.html

165 lines
79 KiB
HTML
Raw Normal View History

<!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="An object file."><title>Object in object::read - 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">&#9776;</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="#">Object</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.Comdat">Comdat</a></li><li><a href="#associatedtype.ComdatIterator">ComdatIterator</a></li><li><a href="#associatedtype.DynamicRelocationIterator">DynamicRelocationIterator</a></li><li><a href="#associatedtype.Section">Section</a></li><li><a href="#associatedtype.SectionIterator">SectionIterator</a></li><li><a href="#associatedtype.Segment">Segment</a></li><li><a href="#associatedtype.SegmentIterator">SegmentIterator</a></li><li><a href="#associatedtype.Symbol">Symbol</a></li><li><a href="#associatedtype.SymbolIterator">SymbolIterator</a></li><li><a href="#associatedtype.SymbolTable">SymbolTable</a></li></ul><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.architecture">architecture</a></li><li><a href="#tymethod.comdats">comdats</a></li><li><a href="#tymethod.dynamic_relocations">dynamic_relocations</a></li><li><a href="#tymethod.dynamic_symbol_table">dynamic_symbol_table</a></li><li><a href="#tymethod.dynamic_symbols">dynamic_symbols</a></li><li><a href="#tymethod.entry">entry</a></li><li><a href="#tymethod.exports">exports</a></li><li><a href="#tymethod.flags">flags</a></li><li><a href="#tymethod.has_debug_symbols">has_debug_symbols</a></li><li><a href="#tymethod.imports">imports</a></li><li><a href="#tymethod.is_64">is_64</a></li><li><a href="#tymethod.is_little_endian">is_little_endian</a></li><li><a href="#tymethod.kind">kind</a></li><li><a href="#tymethod.relative_address_base">relative_address_base</a></li><li><a h
<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 class="trait" href="#">Object</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/traits.rs.html#15-300">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub trait Object&lt;'data: 'file, 'file&gt;: Sealed {
type <a href="#associatedtype.Segment" class="associatedtype">Segment</a>: <a class="trait" href="trait.ObjectSegment.html" title="trait object::read::ObjectSegment">ObjectSegment</a>&lt;'data&gt;;
type <a href="#associatedtype.SegmentIterator" class="associatedtype">SegmentIterator</a>: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a>&lt;Item = Self::<a class="associatedtype" href="trait.Object.html#associatedtype.Segment" title="type object::read::Object::Segment">Segment</a>&gt;;
type <a href="#associatedtype.Section" class="associatedtype">Section</a>: <a class="trait" href="trait.ObjectSection.html" title="trait object::read::ObjectSection">ObjectSection</a>&lt;'data&gt;;
type <a href="#associatedtype.SectionIterator" class="associatedtype">SectionIterator</a>: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a>&lt;Item = Self::<a class="associatedtype" href="trait.Object.html#associatedtype.Section" title="type object::read::Object::Section">Section</a>&gt;;
type <a href="#associatedtype.Comdat" class="associatedtype">Comdat</a>: <a class="trait" href="trait.ObjectComdat.html" title="trait object::read::ObjectComdat">ObjectComdat</a>&lt;'data&gt;;
type <a href="#associatedtype.ComdatIterator" class="associatedtype">ComdatIterator</a>: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a>&lt;Item = Self::<a class="associatedtype" href="trait.Object.html#associatedtype.Comdat" title="type object::read::Object::Comdat">Comdat</a>&gt;;
type <a href="#associatedtype.Symbol" class="associatedtype">Symbol</a>: <a class="trait" href="trait.ObjectSymbol.html" title="trait object::read::ObjectSymbol">ObjectSymbol</a>&lt;'data&gt;;
type <a href="#associatedtype.SymbolIterator" class="associatedtype">SymbolIterator</a>: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a>&lt;Item = Self::<a class="associatedtype" href="trait.Object.html#associatedtype.Symbol" title="type object::read::Object::Symbol">Symbol</a>&gt;;
type <a href="#associatedtype.SymbolTable" class="associatedtype">SymbolTable</a>: <a class="trait" href="trait.ObjectSymbolTable.html" title="trait object::read::ObjectSymbolTable">ObjectSymbolTable</a>&lt;'data, Symbol = Self::<a class="associatedtype" href="trait.Object.html#associatedtype.Symbol" title="type object::read::Object::Symbol">Symbol</a>, SymbolIterator = Self::<a class="associatedtype" href="trait.Object.html#associatedtype.SymbolIterator" title="type object::read::Object::SymbolIterator">SymbolIterator</a>&gt;;
type <a href="#associatedtype.DynamicRelocationIterator" class="associatedtype">DynamicRelocationIterator</a>: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a>&lt;Item = (<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u64.html">u64</a>, <a class="struct" href="struct.Relocation.html" title="struct object::read::Relocation">Relocation</a>)&gt;;
<details class="toggle type-contents-toggle"><summary class="hideme"><span>Show 33 methods</span></summary> // Required methods
fn <a href="#tymethod.architecture" class="fn">architecture</a>(&amp;self) -&gt; <a class="enum" href="../enum.Architecture.html" title="enum object::Architecture">Architecture</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.is_little_endian" class="fn">is_little_endian</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.is_64" class="fn">is_64</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.kind" class="fn">kind</a>(&amp;self) -&gt; <a class="enum" href="enum.ObjectKind.html" title="enum object::read::ObjectKind">ObjectKind</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.segments" class="fn">segments</a>(&amp;'file self) -&gt; Self::<a class="associatedtype" href="trait.Object.html#associatedtype.SegmentIterator" title="type object::read::Object::SegmentIterator">SegmentIterator</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.section_by_name_bytes" class="fn">section_by_name_bytes</a>(
&amp;'file self,
section_name: &amp;[<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u8.html">u8</a>]
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self::<a class="associatedtype" href="trait.Object.html#associatedtype.Section" title="type object::read::Object::Section">Section</a>&gt;;
<span class="item-spacer"></span> fn <a href="#tymethod.section_by_index" class="fn">section_by_index</a>(
&amp;'file self,
index: <a class="struct" href="struct.SectionIndex.html" title="struct object::read::SectionIndex">SectionIndex</a>
) -&gt; <a class="type" href="type.Result.html" title="type object::read::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.Object.html#associatedtype.Section" title="type object::read::Object::Section">Section</a>&gt;;
<span class="item-spacer"></span> fn <a href="#tymethod.sections" class="fn">sections</a>(&amp;'file self) -&gt; Self::<a class="associatedtype" href="trait.Object.html#associatedtype.SectionIterator" title="type object::read::Object::SectionIterator">SectionIterator</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.comdats" class="fn">comdats</a>(&amp;'file self) -&gt; Self::<a class="associatedtype" href="trait.Object.html#associatedtype.ComdatIterator" title="type object::read::Object::ComdatIterator">ComdatIterator</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.symbol_table" class="fn">symbol_table</a>(&amp;'file self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self::<a class="associatedtype" href="trait.Object.html#associatedtype.SymbolTable" title="type object::read::Object::SymbolTable">SymbolTable</a>&gt;;
<span class="item-spacer"></span> fn <a href="#tymethod.symbol_by_index" class="fn">symbol_by_index</a>(&amp;'file self, index: <a class="struct" href="struct.SymbolIndex.html" title="struct object::read::SymbolIndex">SymbolIndex</a>) -&gt; <a class="type" href="type.Result.html" title="type object::read::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.Object.html#associatedtype.Symbol" title="type object::read::Object::Symbol">Symbol</a>&gt;;
<span class="item-spacer"></span> fn <a href="#tymethod.symbols" class="fn">symbols</a>(&amp;'file self) -&gt; Self::<a class="associatedtype" href="trait.Object.html#associatedtype.SymbolIterator" title="type object::read::Object::SymbolIterator">SymbolIterator</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.dynamic_symbol_table" class="fn">dynamic_symbol_table</a>(&amp;'file self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self::<a class="associatedtype" href="trait.Object.html#associatedtype.SymbolTable" title="type object::read::Object::SymbolTable">SymbolTable</a>&gt;;
<span class="item-spacer"></span> fn <a href="#tymethod.dynamic_symbols" class="fn">dynamic_symbols</a>(&amp;'file self) -&gt; Self::<a class="associatedtype" href="trait.Object.html#associatedtype.SymbolIterator" title="type object::read::Object::SymbolIterator">SymbolIterator</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.dynamic_relocations" class="fn">dynamic_relocations</a>(
&amp;'file self
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self::<a class="associatedtype" href="trait.Object.html#associatedtype.DynamicRelocationIterator" title="type object::read::Object::DynamicRelocationIterator">DynamicRelocationIterator</a>&gt;;
<span class="item-spacer"></span> fn <a href="#tymethod.imports" class="fn">imports</a>(&amp;self) -&gt; <a class="type" href="type.Result.html" title="type object::read::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.76.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="struct.Import.html" title="struct object::read::Import">Import</a>&lt;'data&gt;&gt;&gt;;
<span class="item-spacer"></span> fn <a href="#tymethod.exports" class="fn">exports</a>(&amp;self) -&gt; <a class="type" href="type.Result.html" title="type object::read::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.76.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="struct.Export.html" title="struct object::read::Export">Export</a>&lt;'data&gt;&gt;&gt;;
<span class="item-spacer"></span> fn <a href="#tymethod.has_debug_symbols" class="fn">has_debug_symbols</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.relative_address_base" class="fn">relative_address_base</a>(&amp;'file self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u64.html">u64</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.entry" class="fn">entry</a>(&amp;'file self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u64.html">u64</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.flags" class="fn">flags</a>(&amp;self) -&gt; <a class="enum" href="../enum.FileFlags.html" title="enum object::FileFlags">FileFlags</a>;
// Provided methods
fn <a href="#method.sub_architecture" class="fn">sub_architecture</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="enum" href="../enum.SubArchitecture.html" title="enum object::SubArchitecture">SubArchitecture</a>&gt; { ... }
<span class="item-spacer"></span> fn <a href="#method.endianness" class="fn">endianness</a>(&amp;self) -&gt; <a class="enum" href="../endian/enum.Endianness.html" title="enum object::endian::Endianness">Endianness</a> { ... }
<span class="item-spacer"></span> fn <a href="#method.section_by_name" class="fn">section_by_name</a>(&amp;'file self, section_name: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self::<a class="associatedtype" href="trait.Object.html#associatedtype.Section" title="type object::read::Object::Section">Section</a>&gt; { ... }
<span class="item-spacer"></span> fn <a href="#method.symbol_by_name" class="fn">symbol_by_name</a>(&amp;'file self, symbol_name: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self::<a class="associatedtype" href="trait.Object.html#associatedtype.Symbol" title="type object::read::Object::Symbol">Symbol</a>&gt; { ... }
<span class="item-spacer"></span> fn <a href="#method.symbol_by_name_bytes" class="fn">symbol_by_name_bytes</a>(
&amp;'file self,
symbol_name: &amp;[<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u8.html">u8</a>]
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self::<a class="associatedtype" href="trait.Object.html#associatedtype.Symbol" title="type object::read::Object::Symbol">Symbol</a>&gt; { ... }
<span class="item-spacer"></span> fn <a href="#method.symbol_map" class="fn">symbol_map</a>(&amp;'file self) -&gt; <a class="struct" href="struct.SymbolMap.html" title="struct object::read::SymbolMap">SymbolMap</a>&lt;<a class="struct" href="struct.SymbolMapName.html" title="struct object::read::SymbolMapName">SymbolMapName</a>&lt;'data&gt;&gt; { ... }
<span class="item-spacer"></span> fn <a href="#method.object_map" class="fn">object_map</a>(&amp;'file self) -&gt; <a class="struct" href="struct.ObjectMap.html" title="struct object::read::ObjectMap">ObjectMap</a>&lt;'data&gt; { ... }
<span class="item-spacer"></span> fn <a href="#method.mach_uuid" class="fn">mach_uuid</a>(&amp;self) -&gt; <a class="type" href="type.Result.html" title="type object::read::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;[<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u8.html">u8</a>; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.array.html">16</a>]&gt;&gt; { ... }
<span class="item-spacer"></span> fn <a href="#method.build_id" class="fn">build_id</a>(&amp;self) -&gt; <a class="type" href="type.Result.html" title="type object::read::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;'data [<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u8.html">u8</a>]&gt;&gt; { ... }
<span class="item-spacer"></span> fn <a href="#method.gnu_debuglink" class="fn">gnu_debuglink</a>(&amp;self) -&gt; <a class="type" href="type.Result.html" title="type object::read::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;(&amp;'data [<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u8.html">u8</a>], <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u32.html">u32</a>)&gt;&gt; { ... }
<span class="item-spacer"></span> fn <a href="#method.gnu_debugaltlink" class="fn">gnu_debugaltlink</a>(&amp;self) -&gt; <a class="type" href="type.Result.html" title="type object::read::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;(&amp;'data [<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u8.html">u8</a>], &amp;'data [<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u8.html">u8</a>])&gt;&gt; { ... }
<span class="item-spacer"></span> fn <a href="#method.pdb_info" class="fn">pdb_info</a>(&amp;self) -&gt; <a class="type" href="type.Result.html" title="type object::read::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="struct.CodeView.html" title="struct object::read::CodeView">CodeView</a>&lt;'_&gt;&gt;&gt; { ... }
</details>}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>An object file.</p>
<p>This is the primary trait for the unified read API.</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"><details class="toggle" open><summary><section id="associatedtype.Segment" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#17">source</a><h4 class="code-header">type <a href="#associatedtype.Segment" class="associatedtype">Segment</a>: <a class="trait" href="trait.ObjectSegment.html" title="trait object::read::ObjectSegment">ObjectSegment</a>&lt;'data&gt;</h4></section></summary><div class="docblock"><p>A loadable segment in the object file.</p>
</div></details><details class="toggle" open><summary><section id="associatedtype.SegmentIterator" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#20">source</a><h4 class="code-header">type <a href="#associatedtype.SegmentIterator" class="associatedtype">SegmentIterator</a>: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a>&lt;Item = Self::<a class="associatedtype" href="trait.Object.html#associatedtype.Segment" title="type object::read::Object::Segment">Segment</a>&gt;</h4></section></summary><div class="docblock"><p>An iterator for the loadable segments in the object file.</p>
</div></details><details class="toggle" open><summary><section id="associatedtype.Section" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#23">source</a><h4 class="code-header">type <a href="#associatedtype.Section" class="associatedtype">Section</a>: <a class="trait" href="trait.ObjectSection.html" title="trait object::read::ObjectSection">ObjectSection</a>&lt;'data&gt;</h4></section></summary><div class="docblock"><p>A section in the object file.</p>
</div></details><details class="toggle" open><summary><section id="associatedtype.SectionIterator" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#26">source</a><h4 class="code-header">type <a href="#associatedtype.SectionIterator" class="associatedtype">SectionIterator</a>: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a>&lt;Item = Self::<a class="associatedtype" href="trait.Object.html#associatedtype.Section" title="type object::read::Object::Section">Section</a>&gt;</h4></section></summary><div class="docblock"><p>An iterator for the sections in the object file.</p>
</div></details><details class="toggle" open><summary><section id="associatedtype.Comdat" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#29">source</a><h4 class="code-header">type <a href="#associatedtype.Comdat" class="associatedtype">Comdat</a>: <a class="trait" href="trait.ObjectComdat.html" title="trait object::read::ObjectComdat">ObjectComdat</a>&lt;'data&gt;</h4></section></summary><div class="docblock"><p>A COMDAT section group in the object file.</p>
</div></details><details class="toggle" open><summary><section id="associatedtype.ComdatIterator" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#32">source</a><h4 class="code-header">type <a href="#associatedtype.ComdatIterator" class="associatedtype">ComdatIterator</a>: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a>&lt;Item = Self::<a class="associatedtype" href="trait.Object.html#associatedtype.Comdat" title="type object::read::Object::Comdat">Comdat</a>&gt;</h4></section></summary><div class="docblock"><p>An iterator for the COMDAT section groups in the object file.</p>
</div></details><details class="toggle" open><summary><section id="associatedtype.Symbol" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#35">source</a><h4 class="code-header">type <a href="#associatedtype.Symbol" class="associatedtype">Symbol</a>: <a class="trait" href="trait.ObjectSymbol.html" title="trait object::read::ObjectSymbol">ObjectSymbol</a>&lt;'data&gt;</h4></section></summary><div class="docblock"><p>A symbol in the object file.</p>
</div></details><details class="toggle" open><summary><section id="associatedtype.SymbolIterator" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#38">source</a><h4 class="code-header">type <a href="#associatedtype.SymbolIterator" class="associatedtype">SymbolIterator</a>: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a>&lt;Item = Self::<a class="associatedtype" href="trait.Object.html#associatedtype.Symbol" title="type object::read::Object::Symbol">Symbol</a>&gt;</h4></section></summary><div class="docblock"><p>An iterator for symbols in the object file.</p>
</div></details><details class="toggle" open><summary><section id="associatedtype.SymbolTable" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#41-45">source</a><h4 class="code-header">type <a href="#associatedtype.SymbolTable" class="associatedtype">SymbolTable</a>: <a class="trait" href="trait.ObjectSymbolTable.html" title="trait object::read::ObjectSymbolTable">ObjectSymbolTable</a>&lt;'data, Symbol = Self::<a class="associatedtype" href="trait.Object.html#associatedtype.Symbol" title="type object::read::Object::Symbol">Symbol</a>, SymbolIterator = Self::<a class="associatedtype" href="trait.Object.html#associatedtype.SymbolIterator" title="type object::read::Object::SymbolIterator">SymbolIterator</a>&gt;</h4></section></summary><div class="docblock"><p>A symbol table in the object file.</p>
</div></details><details class="toggle" open><summary><section id="associatedtype.DynamicRelocationIterator" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#51">source</a><h4 class="code-header">type <a href="#associatedtype.DynamicRelocationIterator" class="associatedtype">DynamicRelocationIterator</a>: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a>&lt;Item = (<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u64.html">u64</a>, <a class="struct" href="struct.Relocation.html" title="struct object::read::Relocation">Relocation</a>)&gt;</h4></section></summary><div class="docblock"><p>An iterator for the dynamic relocations in the file.</p>
<p>The first field in the item tuple is the address
that the relocation applies to.</p>
</div></details></div><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.architecture" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#54">source</a><h4 class="code-header">fn <a href="#tymethod.architecture" class="fn">architecture</a>(&amp;self) -&gt; <a class="enum" href="../enum.Architecture.html" title="enum object::Architecture">Architecture</a></h4></section></summary><div class="docblock"><p>Get the architecture type of the file.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.is_little_endian" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#76">source</a><h4 class="code-header">fn <a href="#tymethod.is_little_endian" class="fn">is_little_endian</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Return true if the file is little endian, false if it is big endian.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.is_64" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#79">source</a><h4 class="code-header">fn <a href="#tymethod.is_64" class="fn">is_64</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Return true if the file can contain 64-bit addresses.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.kind" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#82">source</a><h4 class="code-header">fn <a href="#tymethod.kind" class="fn">kind</a>(&amp;self) -&gt; <a class="enum" href="enum.ObjectKind.html" title="enum object::read::ObjectKind">ObjectKind</a></h4></section></summary><div class="docblock"><p>Return the kind of this object.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.segments" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#90">source</a><h4 class="code-header">fn <a href="#tymethod.segments" class="fn">segments</a>(&amp;'file self) -&gt; Self::<a class="associatedtype" href="trait.Object.html#associatedtype.SegmentIterator" title="type object::read::Object::SegmentIterator">SegmentIterator</a></h4></section></summary><div class="docblock"><p>Get an iterator for the loadable segments in the file.</p>
<p>For ELF, this is program headers with type <a href="../elf/constant.PT_LOAD.html" title="constant object::elf::PT_LOAD"><code>PT_LOAD</code></a>.
For Mach-O, this is load commands with type <a href="../macho/constant.LC_SEGMENT.html" title="constant object::macho::LC_SEGMENT"><code>LC_SEGMENT</code></a>
or <a href="../macho/constant.LC_SEGMENT_64.html" title="constant object::macho::LC_SEGMENT_64"><code>LC_SEGMENT_64</code></a>.
For PE, this is all sections.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.section_by_name_bytes" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#111">source</a><h4 class="code-header">fn <a href="#tymethod.section_by_name_bytes" class="fn">section_by_name_bytes</a>(
&amp;'file self,
section_name: &amp;[<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u8.html">u8</a>]
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self::<a class="associatedtype" href="trait.Object.html#associatedtype.Section" title="type object::read::Object::Section">Section</a>&gt;</h4></section></summary><div class="docblock"><p>Like <a href="trait.Object.html#method.section_by_name"><code>Self::section_by_name</code></a>, but allows names that are not UTF-8.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.section_by_index" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#120">source</a><h4 class="code-header">fn <a href="#tymethod.section_by_index" class="fn">section_by_index</a>(&amp;'file self, index: <a class="struct" href="struct.SectionIndex.html" title="struct object::read::SectionIndex">SectionIndex</a>) -&gt; <a class="type" href="type.Result.html" title="type object::read::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.Object.html#associatedtype.Section" title="type object::read::Object::Section">Section</a>&gt;</h4></section></summary><div class="docblock"><p>Get the section at the given index.</p>
<p>The meaning of the index depends on the object file.</p>
<p>For some object files, this requires iterating through all sections.</p>
<p>Returns an error if the index is invalid.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.sections" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#123">source</a><h4 class="code-header">fn <a href="#tymethod.sections" class="fn">sections</a>(&amp;'file self) -&gt; Self::<a class="associatedtype" href="trait.Object.html#associatedtype.SectionIterator" title="type object::read::Object::SectionIterator">SectionIterator</a></h4></section></summary><div class="docblock"><p>Get an iterator for the sections in the file.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.comdats" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#126">source</a><h4 class="code-header">fn <a href="#tymethod.comdats" class="fn">comdats</a>(&amp;'file self) -&gt; Self::<a class="associatedtype" href="trait.Object.html#associatedtype.ComdatIterator" title="type object::read::Object::ComdatIterator">ComdatIterator</a></h4></section></summary><div class="docblock"><p>Get an iterator for the COMDAT section groups in the file.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.symbol_table" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#129">source</a><h4 class="code-header">fn <a href="#tymethod.symbol_table" class="fn">symbol_table</a>(&amp;'file self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self::<a class="associatedtype" href="trait.Object.html#associatedtype.SymbolTable" title="type object::read::Object::SymbolTable">SymbolTable</a>&gt;</h4></section></summary><div class="docblock"><p>Get the debugging symbol table, if any.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.symbol_by_index" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#136">source</a><h4 class="code-header">fn <a href="#tymethod.symbol_by_index" class="fn">symbol_by_index</a>(&amp;'file self, index: <a class="struct" href="struct.SymbolIndex.html" title="struct object::read::SymbolIndex">SymbolIndex</a>) -&gt; <a class="type" href="type.Result.html" title="type object::read::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.Object.html#associatedtype.Symbol" title="type object::read::Object::Symbol">Symbol</a>&gt;</h4></section></summary><div class="docblock"><p>Get the debugging symbol at the given index.</p>
<p>The meaning of the index depends on the object file.</p>
<p>Returns an error if the index is invalid.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.symbols" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#143">source</a><h4 class="code-header">fn <a href="#tymethod.symbols" class="fn">symbols</a>(&amp;'file self) -&gt; Self::<a class="associatedtype" href="trait.Object.html#associatedtype.SymbolIterator" title="type object::read::Object::SymbolIterator">SymbolIterator</a></h4></section></summary><div class="docblock"><p>Get an iterator for the debugging symbols in the file.</p>
<p>This may skip over symbols that are malformed or unsupported.</p>
<p>For Mach-O files, this does not include STAB entries.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.dynamic_symbol_table" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#160">source</a><h4 class="code-header">fn <a href="#tymethod.dynamic_symbol_table" class="fn">dynamic_symbol_table</a>(&amp;'file self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self::<a class="associatedtype" href="trait.Object.html#associatedtype.SymbolTable" title="type object::read::Object::SymbolTable">SymbolTable</a>&gt;</h4></section></summary><div class="docblock"><p>Get the dynamic linking symbol table, if any.</p>
<p>Only ELF has a separate dynamic linking symbol table.
Consider using <a href="trait.Object.html#tymethod.exports"><code>Self::exports</code></a> or <a href="trait.Object.html#tymethod.imports"><code>Self::imports</code></a> instead.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.dynamic_symbols" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#169">source</a><h4 class="code-header">fn <a href="#tymethod.dynamic_symbols" class="fn">dynamic_symbols</a>(&amp;'file self) -&gt; Self::<a class="associatedtype" href="trait.Object.html#associatedtype.SymbolIterator" title="type object::read::Object::SymbolIterator">SymbolIterator</a></h4></section></summary><div class="docblock"><p>Get an iterator for the dynamic linking symbols in the file.</p>
<p>This may skip over symbols that are malformed or unsupported.</p>
<p>Only ELF has dynamic linking symbols.
Other file formats will return an empty iterator.
Consider using <a href="trait.Object.html#tymethod.exports"><code>Self::exports</code></a> or <a href="trait.Object.html#tymethod.imports"><code>Self::imports</code></a> instead.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.dynamic_relocations" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#176">source</a><h4 class="code-header">fn <a href="#tymethod.dynamic_relocations" class="fn">dynamic_relocations</a>(&amp;'file self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self::<a class="associatedtype" href="trait.Object.html#associatedtype.DynamicRelocationIterator" title="type object::read::Object::DynamicRelocationIterator">DynamicRelocationIterator</a>&gt;</h4></section></summary><div class="docblock"><p>Get the dynamic relocations for this file.</p>
<p>Symbol indices in these relocations refer to the dynamic symbol table.</p>
<p>Only ELF has dynamic relocations.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.imports" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#249">source</a><h4 class="code-header">fn <a href="#tymethod.imports" class="fn">imports</a>(&amp;self) -&gt; <a class="type" href="type.Result.html" title="type object::read::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.76.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="struct.Import.html" title="struct object::read::Import">Import</a>&lt;'data&gt;&gt;&gt;</h4></section></summary><div class="docblock"><p>Get the imported symbols.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.exports" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#255">source</a><h4 class="code-header">fn <a href="#tymethod.exports" class="fn">exports</a>(&amp;self) -&gt; <a class="type" href="type.Result.html" title="type object::read::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.76.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="struct.Export.html" title="struct object::read::Export">Export</a>&lt;'data&gt;&gt;&gt;</h4></section></summary><div class="docblock"><p>Get the exported symbols that expose both a name and an address.</p>
<p>Some file formats may provide other kinds of symbols that can be retrieved using
the low level API.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.has_debug_symbols" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#258">source</a><h4 class="code-header">fn <a href="#tymethod.has_debug_symbols" class="fn">has_debug_symbols</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Return true if the file contains DWARF debug information sections, false if not.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.relative_address_base" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#293">source</a><h4 class="code-header">fn <a href="#tymethod.relative_address_base" class="fn">relative_address_base</a>(&amp;'file self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u64.html">u64</a></h4></section></summary><div class="docblock"><p>Get the base address used for relative virtual addresses.</p>
<p>Currently this is only non-zero for PE.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.entry" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#296">source</a><h4 class="code-header">fn <a href="#tymethod.entry" class="fn">entry</a>(&amp;'file self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u64.html">u64</a></h4></section></summary><div class="docblock"><p>Get the virtual address of the entry point of the binary.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.flags" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#299">source</a><h4 class="code-header">fn <a href="#tymethod.flags" class="fn">flags</a>(&amp;self) -&gt; <a class="enum" href="../enum.FileFlags.html" title="enum object::FileFlags">FileFlags</a></h4></section></summary><div class="docblock"><p>File flags that are specific to each file format.</p>
</div></details></div><h2 id="provided-methods" class="section-header">Provided Methods<a href="#provided-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="method.sub_architecture" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#61-63">source</a><h4 class="code-header">fn <a href="#method.sub_architecture" class="fn">sub_architecture</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="enum" href="../enum.SubArchitecture.html" title="enum object::SubArchitecture">SubArchitecture</a>&gt;</h4></section></summary><div class="docblock"><p>Get the sub-architecture type of the file if known.</p>
<p>A value of <code>None</code> has a range of meanings: the file supports all
sub-architectures, the file does not explicitly specify a
sub-architecture, or the sub-architecture is currently unrecognized.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.endianness" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#67-73">source</a><h4 class="code-header">fn <a href="#method.endianness" class="fn">endianness</a>(&amp;self) -&gt; <a class="enum" href="../endian/enum.Endianness.html" title="enum object::endian::Endianness">Endianness</a></h4></section></summary><div class="docblock"><p>Get the endianness of the file.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.section_by_name" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#106-108">source</a><h4 class="code-header">fn <a href="#method.section_by_name" class="fn">section_by_name</a>(&amp;'file self, section_name: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self::<a class="associatedtype" href="trait.Object.html#associatedtype.Section" title="type object::read::Object::Section">Section</a>&gt;</h4></section></summary><div class="docblock"><p>Get the section named <code>section_name</code>, if such a section exists.</p>
<p>If <code>section_name</code> starts with a . then it is treated as a system section name,
and is compared using the conventions specific to the object file format. This
includes:</p>
<ul>
<li>if “.debug_str_offsets” is requested for a Mach-O object file, then the actual
section name that is searched for is “__debug_str_offs”.</li>
<li>if “.debug_info” is requested for an ELF object file, then
“.zdebug_info” may be returned (and similarly for other debug sections).</li>
</ul>
<p>For some object files, multiple segments may contain sections with the same
name. In this case, the first matching section will be used.</p>
<p>This method skips over sections with invalid names.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.symbol_by_name" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#146-148">source</a><h4 class="code-header">fn <a href="#method.symbol_by_name" class="fn">symbol_by_name</a>(&amp;'file self, symbol_name: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self::<a class="associatedtype" href="trait.Object.html#associatedtype.Symbol" title="type object::read::Object::Symbol">Symbol</a>&gt;</h4></section></summary><div class="docblock"><p>Get the symbol named <code>symbol_name</code>, if the symbol exists.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.symbol_by_name_bytes" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#151-154">source</a><h4 class="code-header">fn <a href="#method.symbol_by_name_bytes" class="fn">symbol_by_name_bytes</a>(&amp;'file self, symbol_name: &amp;[<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u8.html">u8</a>]) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self::<a class="associatedtype" href="trait.Object.html#associatedtype.Symbol" title="type object::read::Object::Symbol">Symbol</a>&gt;</h4></section></summary><div class="docblock"><p>Like <a href="trait.Object.html#method.symbol_by_name"><code>Self::symbol_by_name</code></a>, but allows names that are not UTF-8.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.symbol_map" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#182-239">source</a><h4 class="code-header">fn <a href="#method.symbol_map" class="fn">symbol_map</a>(&amp;'file self) -&gt; <a class="struct" href="struct.SymbolMap.html" title="struct object::read::SymbolMap">SymbolMap</a>&lt;<a class="struct" href="struct.SymbolMapName.html" title="struct object::read::SymbolMapName">SymbolMapName</a>&lt;'data&gt;&gt;</h4></section></summary><div class="docblock"><p>Construct a map from addresses to symbol names.</p>
<p>The map will only contain defined text and data symbols.
The dynamic symbol table will only be used if there are no debugging symbols.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.object_map" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#244-246">source</a><h4 class="code-header">fn <a href="#method.object_map" class="fn">object_map</a>(&amp;'file self) -&gt; <a class="struct" href="struct.ObjectMap.html" title="struct object::read::ObjectMap">ObjectMap</a>&lt;'data&gt;</h4></section></summary><div class="docblock"><p>Construct a map from addresses to symbol names and object file names.</p>
<p>This is derived from Mach-O STAB entries.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.mach_uuid" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#262-264">source</a><h4 class="code-header">fn <a href="#method.mach_uuid" class="fn">mach_uuid</a>(&amp;self) -&gt; <a class="type" href="type.Result.html" title="type object::read::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;[<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u8.html">u8</a>; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.array.html">16</a>]&gt;&gt;</h4></section></summary><div class="docblock"><p>The UUID from a Mach-O <a href="../macho/constant.LC_UUID.html" title="constant object::macho::LC_UUID"><code>LC_UUID</code></a> load command.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.build_id" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#268-270">source</a><h4 class="code-header">fn <a href="#method.build_id" class="fn">build_id</a>(&amp;self) -&gt; <a class="type" href="type.Result.html" title="type object::read::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;'data [<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u8.html">u8</a>]&gt;&gt;</h4></section></summary><div class="docblock"><p>The build ID from an ELF <a href="../elf/constant.NT_GNU_BUILD_ID.html" title="constant object::elf::NT_GNU_BUILD_ID"><code>NT_GNU_BUILD_ID</code></a> note.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.gnu_debuglink" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#274-276">source</a><h4 class="code-header">fn <a href="#method.gnu_debuglink" class="fn">gnu_debuglink</a>(&amp;self) -&gt; <a class="type" href="type.Result.html" title="type object::read::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;(&amp;'data [<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u8.html">u8</a>], <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u32.html">u32</a>)&gt;&gt;</h4></section></summary><div class="docblock"><p>The filename and CRC from a <code>.gnu_debuglink</code> section.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.gnu_debugaltlink" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#280-282">source</a><h4 class="code-header">fn <a href="#method.gnu_debugaltlink" class="fn">gnu_debugaltlink</a>(&amp;self) -&gt; <a class="type" href="type.Result.html" title="type object::read::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;(&amp;'data [<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u8.html">u8</a>], &amp;'data [<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u8.html">u8</a>])&gt;&gt;</h4></section></summary><div class="docblock"><p>The filename and build ID from a <code>.gnu_debugaltlink</code> section.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.pdb_info" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#286-288">source</a><h4 class="code-header">fn <a href="#method.pdb_info" class="fn">pdb_info</a>(&amp;self) -&gt; <a class="type" href="type.Result.html" title="type object::read::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="struct.CodeView.html" title="struct object::read::CodeView">CodeView</a>&lt;'_&gt;&gt;&gt;</h4></section></summary><div class="docblock"><p>The filename and GUID from the PE CodeView section.</p>
</div></details></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-Object%3C'data,+'file%3E-for-ElfFile%3C'data,+Elf,+R%3E" class="impl"><a class="src rightside" href="../../src/object/read/elf/file.rs.html#143-442">source</a><a href="#impl-Object%3C'data,+'file%3E-for-ElfFile%3C'data,+Elf,+R%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'data, 'file, Elf, R&gt; <a class="trait" href="trait.Object.html" title="trait object::read::Object">Object</a>&lt;'data, 'file&gt; for <a class="struct" href="elf/struct.ElfFile.html" title="struct object::read::elf::ElfFile">ElfFile</a>&lt;'data, Elf, R&gt;<div class="where">where
Elf: <a class="trait" href="elf/trait.FileHeader.html" title="trait object::read::elf::FileHeader">FileHeader</a>,
R: 'file + <a class="trait" href="trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a>&lt;'data&gt;,
'data: 'file,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Segment-1" class="associatedtype trait-impl"><a href="#associatedtype.Segment-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Segment" class="associatedtype">Segment</a> = <a class="struct" href="elf/struct.ElfSegment.html" title="struct object::read::elf::ElfSegment">ElfSegment</a>&lt;'data, 'file, Elf, R&gt;</h4></section><section id="associatedtype.SegmentIterator-1" class="associatedtype trait-impl"><a href="#associatedtype.SegmentIterator-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.SegmentIterator" class="associatedtype">SegmentIterator</a> = <a class="struct" href="elf/struct.ElfSegmentIterator.html" title="struct object::read::elf::ElfSegmentIterator">ElfSegmentIterator</a>&lt;'data, 'file, Elf, R&gt;</h4></section><section id="associatedtype.Section-1" class="associatedtype trait-impl"><a href="#associatedtype.Section-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Section" class="associatedtype">Section</a> = <a class="struct" href="elf/struct.ElfSection.html" title="struct object::read::elf::ElfSection">ElfSection</a>&lt;'data, 'file, Elf, R&gt;</h4></section><section id="associatedtype.SectionIterator-1" class="associatedtype trait-impl"><a href="#associatedtype.SectionIterator-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.SectionIterator" class="associatedtype">SectionIterator</a> = <a class="struct" href="elf/struct.ElfSectionIterator.html" title="struct object::read::elf::ElfSectionIterator">ElfSectionIterator</a>&lt;'data, 'file, Elf, R&gt;</h4></section><section id="associatedtype.Comdat-1" class="associatedtype trait-impl"><a href="#associatedtype.Comdat-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Comdat" class="associatedtype">Comdat</a> = <a class="struct" href="elf/struct.ElfComdat.html" title="struct object::read::elf::ElfComdat">ElfComdat</a>&lt;'data, 'file, Elf, R&gt;</h4></section><section id="associatedtype.ComdatIterator-1" class="associatedtype trait-impl"><a href="#associatedtype.ComdatIterator-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.ComdatIterator" class="associatedtype">ComdatIterator</a> = <a class="struct" href="elf/struct.ElfComdatIterator.html" title="struct object::read::elf::ElfComdatIterator">ElfComdatIterator</a>&lt;'data, 'file, Elf, R&gt;</h4></section><section id="associatedtype.Symbol-1" class="associatedtype trait-impl"><a href="#associatedtype.Symbol-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Symbol" class="associatedtype">Symbol</a> = <a class="struct" href="elf/struct.ElfSymbol.html" title="struct object::read::elf::ElfSymbol">ElfSymbol</a>&lt;'data, 'file, Elf, R&gt;</h4></section><section id="associatedtype.SymbolIterator-1" class="associatedtype trait-impl"><a href="#associatedtype.SymbolIterator-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.SymbolIterator" class="associatedtype">SymbolIterator</a> = <a class="struct" href="elf/struct.ElfSymbolIterator.html" title="struct object::read::elf::ElfSymbolIterator">ElfSymbolIterator</a>&lt;'data, 'file, Elf, R&gt;</h4></section><section id="associatedtype.SymbolTable-1" class="associatedtype trait-impl"><a href="#associatedtype.SymbolTable-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.SymbolTable" class="associatedtype">SymbolTable</a> = <a class="struct" href="elf/struct.ElfSymbolTable.html" title="struct object::read::elf::ElfSymbolTable">ElfSymbolTable</a>&lt;'data, 'file, Elf, R&gt;</h4></section><section id="associatedtype.DynamicRelocationIterator-1" class="associatedtype trait-impl"><a href="#associatedtype.DynamicRelocationIterator-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.DynamicRelocationIterator" class="associatedtype">DynamicRelocationIterator</a> = <a class="struct" href="elf/struct.ElfDyn
Mach: <a class="trait" href="macho/trait.MachHeader.html" title="trait object::read::macho::MachHeader">MachHeader</a>,
R: 'file + <a class="trait" href="trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a>&lt;'data&gt;,
'data: 'file,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Segment-2" class="associatedtype trait-impl"><a href="#associatedtype.Segment-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Segment" class="associatedtype">Segment</a> = <a class="struct" href="macho/struct.MachOSegment.html" title="struct object::read::macho::MachOSegment">MachOSegment</a>&lt;'data, 'file, Mach, R&gt;</h4></section><section id="associatedtype.SegmentIterator-2" class="associatedtype trait-impl"><a href="#associatedtype.SegmentIterator-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.SegmentIterator" class="associatedtype">SegmentIterator</a> = <a class="struct" href="macho/struct.MachOSegmentIterator.html" title="struct object::read::macho::MachOSegmentIterator">MachOSegmentIterator</a>&lt;'data, 'file, Mach, R&gt;</h4></section><section id="associatedtype.Section-2" class="associatedtype trait-impl"><a href="#associatedtype.Section-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Section" class="associatedtype">Section</a> = <a class="struct" href="macho/struct.MachOSection.html" title="struct object::read::macho::MachOSection">MachOSection</a>&lt;'data, 'file, Mach, R&gt;</h4></section><section id="associatedtype.SectionIterator-2" class="associatedtype trait-impl"><a href="#associatedtype.SectionIterator-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.SectionIterator" class="associatedtype">SectionIterator</a> = <a class="struct" href="macho/struct.MachOSectionIterator.html" title="struct object::read::macho::MachOSectionIterator">MachOSectionIterator</a>&lt;'data, 'file, Mach, R&gt;</h4></section><section id="associatedtype.Comdat-2" class="associatedtype trait-impl"><a href="#associatedtype.Comdat-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Comdat" class="associatedtype">Comdat</a> = <a class="struct" href="macho/struct.MachOComdat.html" title="struct object::read::macho::MachOComdat">MachOComdat</a>&lt;'data, 'file, Mach, R&gt;</h4></section><section id="associatedtype.ComdatIterator-2" class="associatedtype trait-impl"><a href="#associatedtype.ComdatIterator-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.ComdatIterator" class="associatedtype">ComdatIterator</a> = <a class="struct" href="macho/struct.MachOComdatIterator.html" title="struct object::read::macho::MachOComdatIterator">MachOComdatIterator</a>&lt;'data, 'file, Mach, R&gt;</h4></section><section id="associatedtype.Symbol-2" class="associatedtype trait-impl"><a href="#associatedtype.Symbol-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Symbol" class="associatedtype">Symbol</a> = <a class="struct" href="macho/struct.MachOSymbol.html" title="struct object::read::macho::MachOSymbol">MachOSymbol</a>&lt;'data, 'file, Mach, R&gt;</h4></section><section id="associatedtype.SymbolIterator-2" class="associatedtype trait-impl"><a href="#associatedtype.SymbolIterator-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.SymbolIterator" class="associatedtype">SymbolIterator</a> = <a class="struct" href="macho/struct.MachOSymbolIterator.html" title="struct object::read::macho::MachOSymbolIterator">MachOSymbolIterator</a>&lt;'data, 'file, Mach, R&gt;</h4></section><section id="associatedtype.SymbolTable-2" class="associatedtype trait-impl"><a href="#associatedtype.SymbolTable-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.SymbolTable" class="associatedtype">SymbolTable</a> = <a class="struct" href="macho/struct.MachOSymbolTable.html" title="struct object::read::macho::MachOSymbolTable">MachOSymbolTable</a>&lt;'data, 'file, Mach, R&gt;</h4></section><section id="associatedtype.DynamicRelocationIterator-2" class="associatedtype trait-impl"><a href="#associatedtype.DynamicRelocationIterator-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.DynamicRelocationIterato
Pe: <a class="trait" href="pe/trait.ImageNtHeaders.html" title="trait object::read::pe::ImageNtHeaders">ImageNtHeaders</a>,
R: 'file + <a class="trait" href="trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a>&lt;'data&gt;,
'data: 'file,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Segment-3" class="associatedtype trait-impl"><a href="#associatedtype.Segment-3" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Segment" class="associatedtype">Segment</a> = <a class="struct" href="pe/struct.PeSegment.html" title="struct object::read::pe::PeSegment">PeSegment</a>&lt;'data, 'file, Pe, R&gt;</h4></section><section id="associatedtype.SegmentIterator-3" class="associatedtype trait-impl"><a href="#associatedtype.SegmentIterator-3" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.SegmentIterator" class="associatedtype">SegmentIterator</a> = <a class="struct" href="pe/struct.PeSegmentIterator.html" title="struct object::read::pe::PeSegmentIterator">PeSegmentIterator</a>&lt;'data, 'file, Pe, R&gt;</h4></section><section id="associatedtype.Section-3" class="associatedtype trait-impl"><a href="#associatedtype.Section-3" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Section" class="associatedtype">Section</a> = <a class="struct" href="pe/struct.PeSection.html" title="struct object::read::pe::PeSection">PeSection</a>&lt;'data, 'file, Pe, R&gt;</h4></section><section id="associatedtype.SectionIterator-3" class="associatedtype trait-impl"><a href="#associatedtype.SectionIterator-3" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.SectionIterator" class="associatedtype">SectionIterator</a> = <a class="struct" href="pe/struct.PeSectionIterator.html" title="struct object::read::pe::PeSectionIterator">PeSectionIterator</a>&lt;'data, 'file, Pe, R&gt;</h4></section><section id="associatedtype.Comdat-3" class="associatedtype trait-impl"><a href="#associatedtype.Comdat-3" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Comdat" class="associatedtype">Comdat</a> = <a class="struct" href="pe/struct.PeComdat.html" title="struct object::read::pe::PeComdat">PeComdat</a>&lt;'data, 'file, Pe, R&gt;</h4></section><section id="associatedtype.ComdatIterator-3" class="associatedtype trait-impl"><a href="#associatedtype.ComdatIterator-3" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.ComdatIterator" class="associatedtype">ComdatIterator</a> = <a class="struct" href="pe/struct.PeComdatIterator.html" title="struct object::read::pe::PeComdatIterator">PeComdatIterator</a>&lt;'data, 'file, Pe, R&gt;</h4></section><section id="associatedtype.Symbol-3" class="associatedtype trait-impl"><a href="#associatedtype.Symbol-3" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Symbol" class="associatedtype">Symbol</a> = <a class="struct" href="coff/struct.CoffSymbol.html" title="struct object::read::coff::CoffSymbol">CoffSymbol</a>&lt;'data, 'file, R&gt;</h4></section><section id="associatedtype.SymbolIterator-3" class="associatedtype trait-impl"><a href="#associatedtype.SymbolIterator-3" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.SymbolIterator" class="associatedtype">SymbolIterator</a> = <a class="struct" href="coff/struct.CoffSymbolIterator.html" title="struct object::read::coff::CoffSymbolIterator">CoffSymbolIterator</a>&lt;'data, 'file, R&gt;</h4></section><section id="associatedtype.SymbolTable-3" class="associatedtype trait-impl"><a href="#associatedtype.SymbolTable-3" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.SymbolTable" class="associatedtype">SymbolTable</a> = <a class="struct" href="coff/struct.CoffSymbolTable.html" title="struct object::read::coff::CoffSymbolTable">CoffSymbolTable</a>&lt;'data, 'file, R&gt;</h4></section><section id="associatedtype.DynamicRelocationIterator-3" class="associatedtype trait-impl"><a href="#associatedtype.DynamicRelocationIterator-3" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.DynamicRelocationIterator" class="associatedtype">DynamicRelocationIterator</a> = <a class="struct" href="struct.NoDynamicRelocationIterator.html" title="struc
R: 'file + <a class="trait" href="trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a>&lt;'data&gt;,
'data: 'file,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Segment-4" class="associatedtype trait-impl"><a href="#associatedtype.Segment-4" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Segment" class="associatedtype">Segment</a> = <a class="struct" href="struct.Segment.html" title="struct object::read::Segment">Segment</a>&lt;'data, 'file, R&gt;</h4></section><section id="associatedtype.SegmentIterator-4" class="associatedtype trait-impl"><a href="#associatedtype.SegmentIterator-4" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.SegmentIterator" class="associatedtype">SegmentIterator</a> = <a class="struct" href="struct.SegmentIterator.html" title="struct object::read::SegmentIterator">SegmentIterator</a>&lt;'data, 'file, R&gt;</h4></section><section id="associatedtype.Section-4" class="associatedtype trait-impl"><a href="#associatedtype.Section-4" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Section" class="associatedtype">Section</a> = <a class="struct" href="struct.Section.html" title="struct object::read::Section">Section</a>&lt;'data, 'file, R&gt;</h4></section><section id="associatedtype.SectionIterator-4" class="associatedtype trait-impl"><a href="#associatedtype.SectionIterator-4" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.SectionIterator" class="associatedtype">SectionIterator</a> = <a class="struct" href="struct.SectionIterator.html" title="struct object::read::SectionIterator">SectionIterator</a>&lt;'data, 'file, R&gt;</h4></section><section id="associatedtype.Comdat-4" class="associatedtype trait-impl"><a href="#associatedtype.Comdat-4" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Comdat" class="associatedtype">Comdat</a> = <a class="struct" href="struct.Comdat.html" title="struct object::read::Comdat">Comdat</a>&lt;'data, 'file, R&gt;</h4></section><section id="associatedtype.ComdatIterator-4" class="associatedtype trait-impl"><a href="#associatedtype.ComdatIterator-4" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.ComdatIterator" class="associatedtype">ComdatIterator</a> = <a class="struct" href="struct.ComdatIterator.html" title="struct object::read::ComdatIterator">ComdatIterator</a>&lt;'data, 'file, R&gt;</h4></section><section id="associatedtype.Symbol-4" class="associatedtype trait-impl"><a href="#associatedtype.Symbol-4" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Symbol" class="associatedtype">Symbol</a> = <a class="struct" href="struct.Symbol.html" title="struct object::read::Symbol">Symbol</a>&lt;'data, 'file, R&gt;</h4></section><section id="associatedtype.SymbolIterator-4" class="associatedtype trait-impl"><a href="#associatedtype.SymbolIterator-4" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.SymbolIterator" class="associatedtype">SymbolIterator</a> = <a class="struct" href="struct.SymbolIterator.html" title="struct object::read::SymbolIterator">SymbolIterator</a>&lt;'data, 'file, R&gt;</h4></section><section id="associatedtype.SymbolTable-4" class="associatedtype trait-impl"><a href="#associatedtype.SymbolTable-4" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.SymbolTable" class="associatedtype">SymbolTable</a> = <a class="struct" href="struct.SymbolTable.html" title="struct object::read::SymbolTable">SymbolTable</a>&lt;'data, 'file, R&gt;</h4></section><section id="associatedtype.DynamicRelocationIterator-4" class="associatedtype trait-impl"><a href="#associatedtype.DynamicRelocationIterator-4" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.DynamicRelocationIterator" class="associatedtype">DynamicRelocationIterator</a> = <a class="struct" href="struct.DynamicRelocationIterator.html" title="struct object::read::DynamicRelocationIterator">DynamicRelocationIterator</a>&lt;'data, 'file, R&gt;</h4></section></div></details><details class="toggle implementors-toggle"><su
R: 'file + <a class="trait" href="trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a>&lt;'data&gt;,
Coff: <a class="trait" href="coff/trait.CoffHeader.html" title="trait object::read::coff::CoffHeader">CoffHeader</a>,
'data: 'file,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Segment-5" class="associatedtype trait-impl"><a href="#associatedtype.Segment-5" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Segment" class="associatedtype">Segment</a> = <a class="struct" href="coff/struct.CoffSegment.html" title="struct object::read::coff::CoffSegment">CoffSegment</a>&lt;'data, 'file, R, Coff&gt;</h4></section><section id="associatedtype.SegmentIterator-5" class="associatedtype trait-impl"><a href="#associatedtype.SegmentIterator-5" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.SegmentIterator" class="associatedtype">SegmentIterator</a> = <a class="struct" href="coff/struct.CoffSegmentIterator.html" title="struct object::read::coff::CoffSegmentIterator">CoffSegmentIterator</a>&lt;'data, 'file, R, Coff&gt;</h4></section><section id="associatedtype.Section-5" class="associatedtype trait-impl"><a href="#associatedtype.Section-5" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Section" class="associatedtype">Section</a> = <a class="struct" href="coff/struct.CoffSection.html" title="struct object::read::coff::CoffSection">CoffSection</a>&lt;'data, 'file, R, Coff&gt;</h4></section><section id="associatedtype.SectionIterator-5" class="associatedtype trait-impl"><a href="#associatedtype.SectionIterator-5" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.SectionIterator" class="associatedtype">SectionIterator</a> = <a class="struct" href="coff/struct.CoffSectionIterator.html" title="struct object::read::coff::CoffSectionIterator">CoffSectionIterator</a>&lt;'data, 'file, R, Coff&gt;</h4></section><section id="associatedtype.Comdat-5" class="associatedtype trait-impl"><a href="#associatedtype.Comdat-5" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Comdat" class="associatedtype">Comdat</a> = <a class="struct" href="coff/struct.CoffComdat.html" title="struct object::read::coff::CoffComdat">CoffComdat</a>&lt;'data, 'file, R, Coff&gt;</h4></section><section id="associatedtype.ComdatIterator-5" class="associatedtype trait-impl"><a href="#associatedtype.ComdatIterator-5" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.ComdatIterator" class="associatedtype">ComdatIterator</a> = <a class="struct" href="coff/struct.CoffComdatIterator.html" title="struct object::read::coff::CoffComdatIterator">CoffComdatIterator</a>&lt;'data, 'file, R, Coff&gt;</h4></section><section id="associatedtype.Symbol-5" class="associatedtype trait-impl"><a href="#associatedtype.Symbol-5" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Symbol" class="associatedtype">Symbol</a> = <a class="struct" href="coff/struct.CoffSymbol.html" title="struct object::read::coff::CoffSymbol">CoffSymbol</a>&lt;'data, 'file, R, Coff&gt;</h4></section><section id="associatedtype.SymbolIterator-5" class="associatedtype trait-impl"><a href="#associatedtype.SymbolIterator-5" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.SymbolIterator" class="associatedtype">SymbolIterator</a> = <a class="struct" href="coff/struct.CoffSymbolIterator.html" title="struct object::read::coff::CoffSymbolIterator">CoffSymbolIterator</a>&lt;'data, 'file, R, Coff&gt;</h4></section><section id="associatedtype.SymbolTable-5" class="associatedtype trait-impl"><a href="#associatedtype.SymbolTable-5" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.SymbolTable" class="associatedtype">SymbolTable</a> = <a class="struct" href="coff/struct.CoffSymbolTable.html" title="struct object::read::coff::CoffSymbolTable">CoffSymbolTable</a>&lt;'data, 'file, R, Coff&gt;</h4></section><section id="associatedtype.DynamicRelocationIterator-5" class="associatedtype trait-impl"><a href="#associatedtype.DynamicRelocationIterator-5" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.DynamicRelocationIterator" class="associatedtype">DynamicRelocationIt