edlang/llvm_sys/disassembler/index.html
2024-04-09 10:18:33 +00:00

3 lines
17 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!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 disassembler library."><title>llvm_sys::disassembler - 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-5bc39a1768837dd0.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="llvm_sys" data-themes="" data-resource-suffix="" data-rustdoc-version="1.77.1 (7cf61ebde 2024-03-27)" data-channel="1.77.1" data-search-js="search-dd67cee4cfa65049.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-4c98445ec4002617.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../static.files/main-48f368f3872407c8.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-04d5337699b92874.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 mod"><!--[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" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../llvm_sys/index.html">llvm_sys</a><span class="version">170.0.1</span></h2></div><h2 class="location"><a href="#">Module disassembler</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li><li><a href="#constants">Constants</a></li><li><a href="#functions">Functions</a></li><li><a href="#types">Type Aliases</a></li></ul></section><h2><a href="../index.html">In crate llvm_sys</a></h2></div></nav><div class="sidebar-resizer"></div>
<main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../llvm_sys/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>Module <a href="../index.html">llvm_sys</a>::<wbr><a class="mod" href="#">disassembler</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/llvm_sys/disassembler.rs.html#1-147">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A disassembler library.</p>
</div></details><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.LLVMOpInfoSymbol1.html" title="struct llvm_sys::disassembler::LLVMOpInfoSymbol1">LLVMOpInfoSymbol1</a></div></li><li><div class="item-name"><a class="struct" href="struct.Struct_LLVMOpInfo1.html" title="struct llvm_sys::disassembler::Struct_LLVMOpInfo1">Struct_LLVMOpInfo1</a></div></li></ul><h2 id="enums" class="section-header">Enums<a href="#enums" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="enum" href="enum.LLVMOpaqueDisasmContext.html" title="enum llvm_sys::disassembler::LLVMOpaqueDisasmContext">LLVMOpaqueDisasmContext</a></div></li></ul><h2 id="constants" class="section-header">Constants<a href="#constants" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="constant" href="constant.LLVMDisassembler_Option_AsmPrinterVariant.html" title="constant llvm_sys::disassembler::LLVMDisassembler_Option_AsmPrinterVariant">LLVMDisassembler_Option_AsmPrinterVariant</a></div><div class="desc docblock-short">The option use the other assembler printer variant</div></li><li><div class="item-name"><a class="constant" href="constant.LLVMDisassembler_Option_PrintImmHex.html" title="constant llvm_sys::disassembler::LLVMDisassembler_Option_PrintImmHex">LLVMDisassembler_Option_PrintImmHex</a></div><div class="desc docblock-short">The option to print immediates as hex.</div></li><li><div class="item-name"><a class="constant" href="constant.LLVMDisassembler_Option_PrintLatency.html" title="constant llvm_sys::disassembler::LLVMDisassembler_Option_PrintLatency">LLVMDisassembler_Option_PrintLatency</a></div><div class="desc docblock-short">The option to print latency information alongside instructions</div></li><li><div class="item-name"><a class="constant" href="constant.LLVMDisassembler_Option_SetInstrComments.html" title="constant llvm_sys::disassembler::LLVMDisassembler_Option_SetInstrComments">LLVMDisassembler_Option_SetInstrComments</a></div><div class="desc docblock-short">The option to set comment on instructions</div></li><li><div class="item-name"><a class="constant" href="constant.LLVMDisassembler_Option_UseMarkup.html" title="constant llvm_sys::disassembler::LLVMDisassembler_Option_UseMarkup">LLVMDisassembler_Option_UseMarkup</a></div><div class="desc docblock-short">The option to produce marked up assembly.</div></li><li><div class="item-name"><a class="constant" href="constant.LLVMDisassembler_ReferenceType_DeMangled_Name.html" title="constant llvm_sys::disassembler::LLVMDisassembler_ReferenceType_DeMangled_Name">LLVMDisassembler_ReferenceType_DeMangled_Name</a></div><div class="desc docblock-short">The output reference is to a C++ symbol name.</div></li><li><div class="item-name"><a class="constant" href="constant.LLVMDisassembler_ReferenceType_InOut_None.html" title="constant llvm_sys::disassembler::LLVMDisassembler_ReferenceType_InOut_None">LLVMDisassembler_ReferenceType_InOut_None</a></div><div class="desc docblock-short">No input reference type or no output reference type.</div></li><li><div class="item-name"><a class="constant" href="constant.LLVMDisassembler_ReferenceType_In_ARM64_ADDXri.html" title="constant llvm_sys::disassembler::LLVMDisassembler_ReferenceType_In_ARM64_ADDXri">LLVMDisassembler_ReferenceType_In_ARM64_ADDXri</a></div><div class="desc docblock-short">The input reference is from an ARM64::ADDXri instruction.</div></li><li><div class="item-name"><a class="constant" href="constant.LLVMDisassembler_ReferenceType_In_ARM64_ADR.html" title="constant llvm_sys::disassembler::LLVMDisassembler_ReferenceType_In_ARM64_ADR">LLVMDisassembler_ReferenceType_In_ARM64_ADR</a></div><div class="desc docblock-short">The input reference is from an ARM64::ADR instruction.</div></li><li><div class="item-name"><a class="constant" href="constant.LLVMDisassembler_ReferenceType_In_ARM64_ADRP.html" title="constant llvm_sys::disassembler::LLVMDisassembler_ReferenceType_In_ARM64_ADRP">LLVMDisassembler_ReferenceType_In_ARM64_ADRP</a></div><div class="desc docblock-short">The input reference is from an ARM64::ADRP instruction.</div></li><li><div class="item-name"><a class="constant" href="constant.LLVMDisassembler_ReferenceType_In_ARM64_LDRXl.html" title="constant llvm_sys::disassembler::LLVMDisassembler_ReferenceType_In_ARM64_LDRXl">LLVMDisassembler_ReferenceType_In_ARM64_LDRXl</a></div><div class="desc docblock-short">The input reference is from an ARM64::LDRXl instruction.</div></li><li><div class="item-name"><a class="constant" href="constant.LLVMDisassembler_ReferenceType_In_ARM64_LDRXui.html" title="constant llvm_sys::disassembler::LLVMDisassembler_ReferenceType_In_ARM64_LDRXui">LLVMDisassembler_ReferenceType_In_ARM64_LDRXui</a></div><div class="desc docblock-short">The input reference is from an ARM64::LDRXui instruction.</div></li><li><div class="item-name"><a class="constant" href="constant.LLVMDisassembler_ReferenceType_In_Branch.html" title="constant llvm_sys::disassembler::LLVMDisassembler_ReferenceType_In_Branch">LLVMDisassembler_ReferenceType_In_Branch</a></div><div class="desc docblock-short">The input reference is from a branch instruction.</div></li><li><div class="item-name"><a class="constant" href="constant.LLVMDisassembler_ReferenceType_In_PCrel_Load.html" title="constant llvm_sys::disassembler::LLVMDisassembler_ReferenceType_In_PCrel_Load">LLVMDisassembler_ReferenceType_In_PCrel_Load</a></div><div class="desc docblock-short">The input reference is from a PC relative load instruction.</div></li><li><div class="item-name"><a class="constant" href="constant.LLVMDisassembler_ReferenceType_Out_LitPool_CstrAddr.html" title="constant llvm_sys::disassembler::LLVMDisassembler_ReferenceType_Out_LitPool_CstrAddr">LLVMDisassembler_ReferenceType_Out_LitPool_CstrAddr</a></div><div class="desc docblock-short">The output reference is to a cstring address in a literal pool.</div></li><li><div class="item-name"><a class="constant" href="constant.LLVMDisassembler_ReferenceType_Out_LitPool_SymAddr.html" title="constant llvm_sys::disassembler::LLVMDisassembler_ReferenceType_Out_LitPool_SymAddr">LLVMDisassembler_ReferenceType_Out_LitPool_SymAddr</a></div><div class="desc docblock-short">The output reference is to a symbol address in a literal pool.</div></li><li><div class="item-name"><a class="constant" href="constant.LLVMDisassembler_ReferenceType_Out_Objc_CFString_Ref.html" title="constant llvm_sys::disassembler::LLVMDisassembler_ReferenceType_Out_Objc_CFString_Ref">LLVMDisassembler_ReferenceType_Out_Objc_CFString_Ref</a></div><div class="desc docblock-short">The output reference is to a Objective-C CoreFoundation string.</div></li><li><div class="item-name"><a class="constant" href="constant.LLVMDisassembler_ReferenceType_Out_Objc_Class_Ref.html" title="constant llvm_sys::disassembler::LLVMDisassembler_ReferenceType_Out_Objc_Class_Ref">LLVMDisassembler_ReferenceType_Out_Objc_Class_Ref</a></div><div class="desc docblock-short">The output reference is to a Objective-C class ref.</div></li><li><div class="item-name"><a class="constant" href="constant.LLVMDisassembler_ReferenceType_Out_Objc_Message.html" title="constant llvm_sys::disassembler::LLVMDisassembler_ReferenceType_Out_Objc_Message">LLVMDisassembler_ReferenceType_Out_Objc_Message</a></div><div class="desc docblock-short">The output reference is to a Objective-C message.</div></li><li><div class="item-name"><a class="constant" href="constant.LLVMDisassembler_ReferenceType_Out_Objc_Message_Ref.html" title="constant llvm_sys::disassembler::LLVMDisassembler_ReferenceType_Out_Objc_Message_Ref">LLVMDisassembler_ReferenceType_Out_Objc_Message_Ref</a></div><div class="desc docblock-short">The output reference is to a Objective-C message ref.</div></li><li><div class="item-name"><a class="constant" href="constant.LLVMDisassembler_ReferenceType_Out_Objc_Selector_Ref.html" title="constant llvm_sys::disassembler::LLVMDisassembler_ReferenceType_Out_Objc_Selector_Ref">LLVMDisassembler_ReferenceType_Out_Objc_Selector_Ref</a></div><div class="desc docblock-short">The output reference is to a Objective-C selector ref.</div></li><li><div class="item-name"><a class="constant" href="constant.LLVMDisassembler_ReferenceType_Out_SymbolStub.html" title="constant llvm_sys::disassembler::LLVMDisassembler_ReferenceType_Out_SymbolStub">LLVMDisassembler_ReferenceType_Out_SymbolStub</a></div><div class="desc docblock-short">The output reference is to as symbol stub.</div></li><li><div class="item-name"><a class="constant" href="constant.LLVMDisassembler_VariantKind_ARM64_GOTPAGE.html" title="constant llvm_sys::disassembler::LLVMDisassembler_VariantKind_ARM64_GOTPAGE">LLVMDisassembler_VariantKind_ARM64_GOTPAGE</a></div></li><li><div class="item-name"><a class="constant" href="constant.LLVMDisassembler_VariantKind_ARM64_GOTPAGEOFF.html" title="constant llvm_sys::disassembler::LLVMDisassembler_VariantKind_ARM64_GOTPAGEOFF">LLVMDisassembler_VariantKind_ARM64_GOTPAGEOFF</a></div></li><li><div class="item-name"><a class="constant" href="constant.LLVMDisassembler_VariantKind_ARM64_PAGE.html" title="constant llvm_sys::disassembler::LLVMDisassembler_VariantKind_ARM64_PAGE">LLVMDisassembler_VariantKind_ARM64_PAGE</a></div></li><li><div class="item-name"><a class="constant" href="constant.LLVMDisassembler_VariantKind_ARM64_PAGEOFF.html" title="constant llvm_sys::disassembler::LLVMDisassembler_VariantKind_ARM64_PAGEOFF">LLVMDisassembler_VariantKind_ARM64_PAGEOFF</a></div></li><li><div class="item-name"><a class="constant" href="constant.LLVMDisassembler_VariantKind_ARM64_TLVOFF.html" title="constant llvm_sys::disassembler::LLVMDisassembler_VariantKind_ARM64_TLVOFF">LLVMDisassembler_VariantKind_ARM64_TLVOFF</a></div></li><li><div class="item-name"><a class="constant" href="constant.LLVMDisassembler_VariantKind_ARM64_TLVP.html" title="constant llvm_sys::disassembler::LLVMDisassembler_VariantKind_ARM64_TLVP">LLVMDisassembler_VariantKind_ARM64_TLVP</a></div></li><li><div class="item-name"><a class="constant" href="constant.LLVMDisassembler_VariantKind_ARM_HI16.html" title="constant llvm_sys::disassembler::LLVMDisassembler_VariantKind_ARM_HI16">LLVMDisassembler_VariantKind_ARM_HI16</a></div></li><li><div class="item-name"><a class="constant" href="constant.LLVMDisassembler_VariantKind_ARM_LO16.html" title="constant llvm_sys::disassembler::LLVMDisassembler_VariantKind_ARM_LO16">LLVMDisassembler_VariantKind_ARM_LO16</a></div></li><li><div class="item-name"><a class="constant" href="constant.LLVMDisassembler_VariantKind_None.html" title="constant llvm_sys::disassembler::LLVMDisassembler_VariantKind_None">LLVMDisassembler_VariantKind_None</a></div></li></ul><h2 id="functions" class="section-header">Functions<a href="#functions" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="fn" href="fn.LLVMCreateDisasm.html" title="fn llvm_sys::disassembler::LLVMCreateDisasm">LLVMCreateDisasm</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.LLVMCreateDisasmCPU.html" title="fn llvm_sys::disassembler::LLVMCreateDisasmCPU">LLVMCreateDisasmCPU</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.LLVMCreateDisasmCPUFeatures.html" title="fn llvm_sys::disassembler::LLVMCreateDisasmCPUFeatures">LLVMCreateDisasmCPUFeatures</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.LLVMDisasmDispose.html" title="fn llvm_sys::disassembler::LLVMDisasmDispose">LLVMDisasmDispose</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.LLVMDisasmInstruction.html" title="fn llvm_sys::disassembler::LLVMDisasmInstruction">LLVMDisasmInstruction</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.LLVMSetDisasmOptions.html" title="fn llvm_sys::disassembler::LLVMSetDisasmOptions">LLVMSetDisasmOptions</a><sup title="unsafe function"></sup></div></li></ul><h2 id="types" class="section-header">Type Aliases<a href="#types" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="type" href="type.LLVMDisasmContextRef.html" title="type llvm_sys::disassembler::LLVMDisasmContextRef">LLVMDisasmContextRef</a></div></li><li><div class="item-name"><a class="type" href="type.LLVMOpInfoCallback.html" title="type llvm_sys::disassembler::LLVMOpInfoCallback">LLVMOpInfoCallback</a></div></li><li><div class="item-name"><a class="type" href="type.LLVMSymbolLookupCallback.html" title="type llvm_sys::disassembler::LLVMSymbolLookupCallback">LLVMSymbolLookupCallback</a></div></li></ul></section></div></main></body></html>