mirror of
https://github.com/fluencelabs/wasmer
synced 2025-04-28 20:02:16 +00:00
30 lines
11 KiB
HTML
30 lines
11 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="API documentation for the Rust `program_header` mod in crate `goblin`."><meta name="keywords" content="rust, rustlang, rust-lang, program_header"><title>goblin::elf::program_header - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><script src="../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="shortcut icon" href="../../../favicon.ico"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">☰</div><a href='../../../goblin/index.html'><div class='logo-container'><img src='../../../rust-logo.png' alt='logo'></div></a><p class='location'>Module program_header</p><div class="sidebar-elems"><div class="block items"><ul><li><a href="#modules">Modules</a></li><li><a href="#structs">Structs</a></li><li><a href="#constants">Constants</a></li><li><a href="#functions">Functions</a></li></ul></div><p class='location'><a href='../../index.html'>goblin</a>::<wbr><a href='../index.html'>elf</a></p><script>window.sidebarCurrent = {name: 'program_header', ty: 'mod', relpath: '../'};</script><script defer src="../sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>−</span>]</a></span><a class='srclink' href='../../../src/goblin/elf/program_header.rs.html#3-411' title='goto source code'>[src]</a></span><span class='in-band'>Module <a href='../../index.html'>goblin</a>::<wbr><a href='../index.html'>elf</a>::<wbr><a class="mod" href=''>program_header</a></span></h1><h2 id='modules' class='section-header'><a href="#modules">Modules</a></h2>
|
||
<table><tr class='module-item'><td><a class="mod" href="program_header32/index.html" title='goblin::elf::program_header::program_header32 mod'>program_header32</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="mod" href="program_header64/index.html" title='goblin::elf::program_header::program_header64 mod'>program_header64</a></td><td class='docblock-short'></td></tr></table><h2 id='structs' class='section-header'><a href="#structs">Structs</a></h2>
|
||
<table><tr class='module-item'><td><a class="struct" href="struct.ProgramHeader.html" title='goblin::elf::program_header::ProgramHeader struct'>ProgramHeader</a></td><td class='docblock-short'><p>A unified ProgramHeader - convertable to and from 32-bit and 64-bit variants</p>
|
||
</td></tr></table><h2 id='constants' class='section-header'><a href="#constants">Constants</a></h2>
|
||
<table><tr class='module-item'><td><a class="constant" href="constant.PF_R.html" title='goblin::elf::program_header::PF_R constant'>PF_R</a></td><td class='docblock-short'><p>Segment is readable</p>
|
||
</td></tr><tr class='module-item'><td><a class="constant" href="constant.PF_W.html" title='goblin::elf::program_header::PF_W constant'>PF_W</a></td><td class='docblock-short'><p>Segment is writable</p>
|
||
</td></tr><tr class='module-item'><td><a class="constant" href="constant.PF_X.html" title='goblin::elf::program_header::PF_X constant'>PF_X</a></td><td class='docblock-short'><p>Segment is executable</p>
|
||
</td></tr><tr class='module-item'><td><a class="constant" href="constant.PT_ARM_EXIDX.html" title='goblin::elf::program_header::PT_ARM_EXIDX constant'>PT_ARM_EXIDX</a></td><td class='docblock-short'><p>ARM unwind segment</p>
|
||
</td></tr><tr class='module-item'><td><a class="constant" href="constant.PT_DYNAMIC.html" title='goblin::elf::program_header::PT_DYNAMIC constant'>PT_DYNAMIC</a></td><td class='docblock-short'><p>Dynamic linking information</p>
|
||
</td></tr><tr class='module-item'><td><a class="constant" href="constant.PT_GNU_EH_FRAME.html" title='goblin::elf::program_header::PT_GNU_EH_FRAME constant'>PT_GNU_EH_FRAME</a></td><td class='docblock-short'><p>GCC .eh_frame_hdr segment</p>
|
||
</td></tr><tr class='module-item'><td><a class="constant" href="constant.PT_GNU_RELRO.html" title='goblin::elf::program_header::PT_GNU_RELRO constant'>PT_GNU_RELRO</a></td><td class='docblock-short'><p>Read-only after relocation</p>
|
||
</td></tr><tr class='module-item'><td><a class="constant" href="constant.PT_GNU_STACK.html" title='goblin::elf::program_header::PT_GNU_STACK constant'>PT_GNU_STACK</a></td><td class='docblock-short'><p>Indicates stack executability</p>
|
||
</td></tr><tr class='module-item'><td><a class="constant" href="constant.PT_HIOS.html" title='goblin::elf::program_header::PT_HIOS constant'>PT_HIOS</a></td><td class='docblock-short'><p>End of OS-specific</p>
|
||
</td></tr><tr class='module-item'><td><a class="constant" href="constant.PT_HIPROC.html" title='goblin::elf::program_header::PT_HIPROC constant'>PT_HIPROC</a></td><td class='docblock-short'><p>End of processor-specific</p>
|
||
</td></tr><tr class='module-item'><td><a class="constant" href="constant.PT_HISUNW.html" title='goblin::elf::program_header::PT_HISUNW constant'>PT_HISUNW</a></td><td class='docblock-short'><p>End of OS-specific</p>
|
||
</td></tr><tr class='module-item'><td><a class="constant" href="constant.PT_INTERP.html" title='goblin::elf::program_header::PT_INTERP constant'>PT_INTERP</a></td><td class='docblock-short'><p>Program interpreter</p>
|
||
</td></tr><tr class='module-item'><td><a class="constant" href="constant.PT_LOAD.html" title='goblin::elf::program_header::PT_LOAD constant'>PT_LOAD</a></td><td class='docblock-short'><p>Loadable program segment</p>
|
||
</td></tr><tr class='module-item'><td><a class="constant" href="constant.PT_LOOS.html" title='goblin::elf::program_header::PT_LOOS constant'>PT_LOOS</a></td><td class='docblock-short'><p>Start of OS-specific</p>
|
||
</td></tr><tr class='module-item'><td><a class="constant" href="constant.PT_LOPROC.html" title='goblin::elf::program_header::PT_LOPROC constant'>PT_LOPROC</a></td><td class='docblock-short'><p>Start of processor-specific</p>
|
||
</td></tr><tr class='module-item'><td><a class="constant" href="constant.PT_LOSUNW.html" title='goblin::elf::program_header::PT_LOSUNW constant'>PT_LOSUNW</a></td><td class='docblock-short'><p>Sun Specific segment</p>
|
||
</td></tr><tr class='module-item'><td><a class="constant" href="constant.PT_NOTE.html" title='goblin::elf::program_header::PT_NOTE constant'>PT_NOTE</a></td><td class='docblock-short'><p>Auxiliary information</p>
|
||
</td></tr><tr class='module-item'><td><a class="constant" href="constant.PT_NULL.html" title='goblin::elf::program_header::PT_NULL constant'>PT_NULL</a></td><td class='docblock-short'><p>Program header table entry unused</p>
|
||
</td></tr><tr class='module-item'><td><a class="constant" href="constant.PT_NUM.html" title='goblin::elf::program_header::PT_NUM constant'>PT_NUM</a></td><td class='docblock-short'><p>Number of defined types</p>
|
||
</td></tr><tr class='module-item'><td><a class="constant" href="constant.PT_PHDR.html" title='goblin::elf::program_header::PT_PHDR constant'>PT_PHDR</a></td><td class='docblock-short'><p>Entry for header table itself</p>
|
||
</td></tr><tr class='module-item'><td><a class="constant" href="constant.PT_SHLIB.html" title='goblin::elf::program_header::PT_SHLIB constant'>PT_SHLIB</a></td><td class='docblock-short'><p>Reserved</p>
|
||
</td></tr><tr class='module-item'><td><a class="constant" href="constant.PT_SUNWBSS.html" title='goblin::elf::program_header::PT_SUNWBSS constant'>PT_SUNWBSS</a></td><td class='docblock-short'><p>Sun Specific segment</p>
|
||
</td></tr><tr class='module-item'><td><a class="constant" href="constant.PT_SUNWSTACK.html" title='goblin::elf::program_header::PT_SUNWSTACK constant'>PT_SUNWSTACK</a></td><td class='docblock-short'><p>Stack segment</p>
|
||
</td></tr><tr class='module-item'><td><a class="constant" href="constant.PT_TLS.html" title='goblin::elf::program_header::PT_TLS constant'>PT_TLS</a></td><td class='docblock-short'><p>Thread-local storage segment</p>
|
||
</td></tr></table><h2 id='functions' class='section-header'><a href="#functions">Functions</a></h2>
|
||
<table><tr class='module-item'><td><a class="fn" href="fn.pt_to_str.html" title='goblin::elf::program_header::pt_to_str fn'>pt_to_str</a></td><td class='docblock-short'></td></tr></table></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd>↑</kbd></dt><dd>Move up in search results</dd><dt><kbd>↓</kbd></dt><dd>Move down in search results</dd><dt><kbd>↹</kbd></dt><dd>Switch tab</dd><dt><kbd>⏎</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../../";window.currentCrate = "goblin";</script><script src="../../../aliases.js"></script><script src="../../../main.js"></script><script defer src="../../../search-index.js"></script></body></html> |