-
Notifications
You must be signed in to change notification settings - Fork 0
/
Architecture_2X86_8h_source.html
170 lines (170 loc) · 36.9 KB
/
Architecture_2X86_8h_source.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>ROSE: X86.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<link rel="search" href="search_opensearch.php?v=opensearch.xml" type="application/opensearchdescription+xml" title="ROSE"/>
<link href="roseDoxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">ROSE<span id="projectnumber"> 0.11.145.141</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
$(function() {
initMenu('',true,true,'search.html','Search');
$(document).ready(function() {
if ($('.searchresults').length > 0) { searchBox.DOMSearchField().focus(); }
});
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
$(document).ready(function() { init_codefold(0); });
/* @license-end */
</script>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_9e62d0ec1b5e35066c963e582c20357f.html">Rose</a></li><li class="navelem"><a class="el" href="dir_b6b36e208517412b6f28695766cc080b.html">BinaryAnalysis</a></li><li class="navelem"><a class="el" href="dir_50722166c2968cfa944ac4f873427098.html">Architecture</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle"><div class="title">Architecture/X86.h</div></div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="preprocessor">#ifndef ROSE_BinaryAnalysis_Architecture_X86_H</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="preprocessor">#define ROSE_BinaryAnalysis_Architecture_X86_H</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="preprocessor">#include <featureTests.h></span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="preprocessor">#ifdef ROSE_ENABLE_BINARY_ANALYSIS</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="preprocessor">#include <Rose/BinaryAnalysis/Architecture/Base.h></span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span> </div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespaceRose.html">Rose</a> {</div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="keyword">namespace </span>BinaryAnalysis {</div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="keyword">namespace </span><a class="code hl_function" href="namespacestringify_1_1Rose_1_1BinaryAnalysis_1_1Disassembler_1_1Mips_1_1Decoder.html#a71cec98f7972bd8cd607558bcea2ffb2">Architecture</a> {</div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span> </div>
<div class="foldopen" id="foldopen00012" data-start="{" data-end="};">
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"><a class="line" href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1X86.html"> 12</a></span><span class="keyword">class </span><a class="code hl_class" href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1X86.html">X86</a>: <span class="keyword">public</span> <a class="code hl_class" href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1Base.html">Base</a> {</div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span> <span class="keyword">using </span>Ptr = <a class="code hl_typedef" href="namespaceRose_1_1BinaryAnalysis_1_1Architecture.html#a55a62db0083a83573b870f1cb943d272">X86Ptr</a>;</div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span> </div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span><span class="keyword">protected</span>:</div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span> <a class="code hl_class" href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1X86.html">X86</a>(<span class="keyword">const</span> std::string &<a class="code hl_function" href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1Base.html#a7758dd9b3ef45fe3bbacde31f25e0510">name</a>, <span class="keywordtype">size_t</span> <a class="code hl_function" href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1Base.html#a73b51aa09fc1b1a71c7f66346359d28b">bytesPerWord</a>);</div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span> <a class="code hl_class" href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1X86.html">~X86</a>();</div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span> </div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"><a class="line" href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1X86.html#acf95673d445b1198707bd7f3c2102aaf"> 22</a></span> <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code hl_typedef" href="namespaceRose_1_1BinaryAnalysis_1_1CallingConvention.html#af24c0b3f801def1eda31a124049b5e08">CallingConvention::Dictionary</a>& <a class="code hl_function" href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1X86.html#acf95673d445b1198707bd7f3c2102aaf">callingConventions</a>() <span class="keyword">const override</span>;</div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span> </div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"><a class="line" href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1X86.html#a6221d5beff9b0a3f10cdb8ef010d832a"> 24</a></span> <a class="code hl_class" href="classSawyer_1_1Container_1_1Interval.html">Sawyer::Container::Interval<size_t></a> <a class="code hl_function" href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1X86.html#a6221d5beff9b0a3f10cdb8ef010d832a">bytesPerInstruction</a>() <span class="keyword">const override</span>;</div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"><a class="line" href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1X86.html#a100e0bdc3bf25aa2b58492956253fbef"> 25</a></span> <a class="code hl_class" href="classRose_1_1BinaryAnalysis_1_1Alignment.html">Alignment</a> <a class="code hl_function" href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1X86.html#a100e0bdc3bf25aa2b58492956253fbef">instructionAlignment</a>() <span class="keyword">const override</span>;</div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"><a class="line" href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1X86.html#a0b7fb29a2999d0e27e88d36e1299638b"> 26</a></span> std::string <a class="code hl_function" href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1X86.html#a0b7fb29a2999d0e27e88d36e1299638b">instructionMnemonic</a>(<span class="keyword">const</span> <a class="code hl_class" href="classSgAsmInstruction.html">SgAsmInstruction</a>*) <span class="keyword">const override</span>;</div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"><a class="line" href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1X86.html#aac43aee05706dec13d3b7098d3212755"> 27</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1X86.html#aac43aee05706dec13d3b7098d3212755">terminatesBasicBlock</a>(<a class="code hl_class" href="classSgAsmInstruction.html">SgAsmInstruction</a>*) <span class="keyword">const override</span>;</div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"><a class="line" href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1X86.html#a0c83c06b6b4ad50a04fb5743809824d1"> 28</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1X86.html#a0c83c06b6b4ad50a04fb5743809824d1">isUnknown</a>(<span class="keyword">const</span> <a class="code hl_class" href="classSgAsmInstruction.html">SgAsmInstruction</a>*) <span class="keyword">const override</span>;</div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"><a class="line" href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1X86.html#acb232255e5406935614d075e733e8392"> 29</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1X86.html#acb232255e5406935614d075e733e8392">isFunctionCallFast</a>(<span class="keyword">const</span> std::vector<SgAsmInstruction*>&, rose_addr_t *target, rose_addr_t *ret) <span class="keyword">const override</span>;</div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"><a class="line" href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1X86.html#af2b9f736400fb3c64972b8356c1d0bc3"> 30</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1X86.html#af2b9f736400fb3c64972b8356c1d0bc3">isFunctionCallSlow</a>(<span class="keyword">const</span> std::vector<SgAsmInstruction*>&, rose_addr_t *target, rose_addr_t *ret) <span class="keyword">const override</span>;</div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"><a class="line" href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1X86.html#a7643208cae42c0a6ccfc462c93fd11f0"> 31</a></span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1X86.html#a7643208cae42c0a6ccfc462c93fd11f0">isFunctionReturnFast</a>(<span class="keyword">const</span> std::vector<SgAsmInstruction*>&) <span class="keyword">const override</span>;</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"><a class="line" href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1X86.html#a23a512792e547d40728a385a8e1c4eb8"> 32</a></span> <a class="code hl_class" href="classSawyer_1_1Optional.html">Sawyer::Optional<rose_addr_t></a> <a class="code hl_function" href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1X86.html#a23a512792e547d40728a385a8e1c4eb8">branchTarget</a>(<a class="code hl_class" href="classSgAsmInstruction.html">SgAsmInstruction</a>*) <span class="keyword">const override</span>;</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"><a class="line" href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1X86.html#a19d9ff9cb1b4ee8dd904b724651d6c81"> 33</a></span> <a class="code hl_class" href="classSawyer_1_1Container_1_1Set.html">AddressSet</a> <a class="code hl_function" href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1X86.html#a19d9ff9cb1b4ee8dd904b724651d6c81">getSuccessors</a>(<a class="code hl_class" href="classSgAsmInstruction.html">SgAsmInstruction</a>*, <span class="keywordtype">bool</span> &complete) <span class="keyword">const override</span>;</div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"><a class="line" href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1X86.html#a3ac9ee6888ea775a49981f4b9874ea01"> 34</a></span> <a class="code hl_class" href="classSawyer_1_1Container_1_1Set.html">AddressSet</a> <a class="code hl_function" href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1X86.html#a3ac9ee6888ea775a49981f4b9874ea01">getSuccessors</a>(<span class="keyword">const</span> std::vector<SgAsmInstruction*> &basicBlock, <span class="keywordtype">bool</span> &complete,</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span> <span class="keyword">const</span> <a class="code hl_class" href="classSawyer_1_1SharedPointer.html">MemoryMapPtr</a> &initial_memory = <a class="code hl_typedef" href="namespaceRose_1_1BinaryAnalysis.html#a42da9a4f43dd3049ae45e61b95705e4b">MemoryMapPtr</a>()) <span class="keyword">const override</span>;</div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> </div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"><a class="line" href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1X86.html#a54df74476cfefab0e46ad4701c58c450"> 37</a></span> <a class="code hl_class" href="classSawyer_1_1SharedPointer.html">Disassembler::BasePtr</a> <a class="code hl_function" href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1X86.html#a54df74476cfefab0e46ad4701c58c450">newInstructionDecoder</a>() <span class="keyword">const override</span>;</div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"><a class="line" href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1X86.html#ab100802f579bb1cea8b898796bccf322"> 38</a></span> <a class="code hl_class" href="classSawyer_1_1SharedPointer.html">Unparser::BasePtr</a> <a class="code hl_function" href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1X86.html#ab100802f579bb1cea8b898796bccf322">newUnparser</a>() <span class="keyword">const override</span>;</div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span> </div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span> <span class="keyword">virtual</span> <a class="code hl_typedef" href="namespaceRose_1_1BinaryAnalysis_1_1InstructionSemantics_1_1BaseSemantics.html#a75ee406f19167965f5217e58fe9dc707">InstructionSemantics::BaseSemantics::DispatcherPtr</a></div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"><a class="line" href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1X86.html#a4fba9a3638c6ea9962789e7b9e51218f"> 41</a></span> <a class="code hl_function" href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1X86.html#a4fba9a3638c6ea9962789e7b9e51218f">newInstructionDispatcher</a>(<span class="keyword">const</span> <a class="code hl_typedef" href="namespaceRose_1_1BinaryAnalysis_1_1InstructionSemantics_1_1BaseSemantics.html#a0c0106c0f124bfd48cf9c198e6bd7d4b">InstructionSemantics::BaseSemantics::RiscOperatorsPtr</a>&) <span class="keyword">const override</span>;</div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> </div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> <span class="keyword">virtual</span> std::vector<Partitioner2::FunctionPrologueMatcherPtr></div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"><a class="line" href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1X86.html#a297f4b29348217e0aa7c4779e886547e"> 44</a></span> <a class="code hl_function" href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1X86.html#a297f4b29348217e0aa7c4779e886547e">functionPrologueMatchers</a>(<span class="keyword">const</span> <a class="code hl_class" href="classSawyer_1_1SharedPointer.html">Partitioner2::EnginePtr</a>&) <span class="keyword">const override</span>;</div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> </div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> <span class="keyword">virtual</span> std::vector<Partitioner2::BasicBlockCallbackPtr></div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"><a class="line" href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1X86.html#a63cbe34ca708d8afbf0f6a313eaf5e61"> 47</a></span> <a class="code hl_function" href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1X86.html#a63cbe34ca708d8afbf0f6a313eaf5e61">basicBlockCreationHooks</a>(<span class="keyword">const</span> <a class="code hl_class" href="classSawyer_1_1SharedPointer.html">Partitioner2::EnginePtr</a>&) <span class="keyword">const override</span>;</div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> </div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> <span class="comment">// Supporting functions</span></div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span><span class="keyword">protected</span>:</div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> <span class="comment">// Create a new calling convention definition. The bitsPerWord is passed because, e.g., a 64-bit architecture can use a 32-bit</span></div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> <span class="comment">// calling convention since x86 architectures are generally backward compatible.</span></div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> <a class="code hl_class" href="classSawyer_1_1SharedPointer.html">CallingConvention::Definition::Ptr</a> cc_cdecl(<span class="keywordtype">size_t</span> <a class="code hl_function" href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1Base.html#a1ee891ea7b9a61214b14496e263bb948">bitsPerWord</a>) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> <a class="code hl_class" href="classSawyer_1_1SharedPointer.html">CallingConvention::Definition::Ptr</a> cc_stdcall(<span class="keywordtype">size_t</span> <a class="code hl_function" href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1Base.html#a1ee891ea7b9a61214b14496e263bb948">bitsPerWord</a>) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> <a class="code hl_class" href="classSawyer_1_1SharedPointer.html">CallingConvention::Definition::Ptr</a> cc_fastcall(<span class="keywordtype">size_t</span> <a class="code hl_function" href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1Base.html#a1ee891ea7b9a61214b14496e263bb948">bitsPerWord</a>) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span>};</div>
</div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span> </div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span>} <span class="comment">// namespace</span></div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span>} <span class="comment">// namespace</span></div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span>} <span class="comment">// namespace</span></div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> </div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span><span class="preprocessor">#endif</span></div>
<div class="ttc" id="aclassRose_1_1BinaryAnalysis_1_1Alignment_html"><div class="ttname"><a href="classRose_1_1BinaryAnalysis_1_1Alignment.html">Rose::BinaryAnalysis::Alignment</a></div><div class="ttdoc">Information about alignments.</div><div class="ttdef"><b>Definition</b> <a href="Alignment_8h_source.html#l00016">Alignment.h:16</a></div></div>
<div class="ttc" id="aclassRose_1_1BinaryAnalysis_1_1Architecture_1_1Base_html"><div class="ttname"><a href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1Base.html">Rose::BinaryAnalysis::Architecture::Base</a></div><div class="ttdoc">Base class for architecture definitions.</div><div class="ttdef"><b>Definition</b> <a href="Architecture_2Base_8h_source.html#l00022">Architecture/Base.h:22</a></div></div>
<div class="ttc" id="aclassRose_1_1BinaryAnalysis_1_1Architecture_1_1Base_html_a1ee891ea7b9a61214b14496e263bb948"><div class="ttname"><a href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1Base.html#a1ee891ea7b9a61214b14496e263bb948">Rose::BinaryAnalysis::Architecture::Base::bitsPerWord</a></div><div class="ttdeci">size_t bitsPerWord() const</div><div class="ttdoc">Property: Word size.</div></div>
<div class="ttc" id="aclassRose_1_1BinaryAnalysis_1_1Architecture_1_1Base_html_a73b51aa09fc1b1a71c7f66346359d28b"><div class="ttname"><a href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1Base.html#a73b51aa09fc1b1a71c7f66346359d28b">Rose::BinaryAnalysis::Architecture::Base::bytesPerWord</a></div><div class="ttdeci">size_t bytesPerWord() const</div><div class="ttdoc">Property: Word size.</div></div>
<div class="ttc" id="aclassRose_1_1BinaryAnalysis_1_1Architecture_1_1Base_html_a7758dd9b3ef45fe3bbacde31f25e0510"><div class="ttname"><a href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1Base.html#a7758dd9b3ef45fe3bbacde31f25e0510">Rose::BinaryAnalysis::Architecture::Base::name</a></div><div class="ttdeci">const std::string & name() const</div><div class="ttdoc">Property: Architecture definition name.</div></div>
<div class="ttc" id="aclassRose_1_1BinaryAnalysis_1_1Architecture_1_1X86_html"><div class="ttname"><a href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1X86.html">Rose::BinaryAnalysis::Architecture::X86</a></div><div class="ttdoc">Common base class for all x86 architectures.</div><div class="ttdef"><b>Definition</b> <a href="Architecture_2X86_8h_source.html#l00012">Architecture/X86.h:12</a></div></div>
<div class="ttc" id="aclassRose_1_1BinaryAnalysis_1_1Architecture_1_1X86_html_a0b7fb29a2999d0e27e88d36e1299638b"><div class="ttname"><a href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1X86.html#a0b7fb29a2999d0e27e88d36e1299638b">Rose::BinaryAnalysis::Architecture::X86::instructionMnemonic</a></div><div class="ttdeci">std::string instructionMnemonic(const SgAsmInstruction *) const override</div><div class="ttdoc">Mnemonic for an instruction.</div></div>
<div class="ttc" id="aclassRose_1_1BinaryAnalysis_1_1Architecture_1_1X86_html_a0c83c06b6b4ad50a04fb5743809824d1"><div class="ttname"><a href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1X86.html#a0c83c06b6b4ad50a04fb5743809824d1">Rose::BinaryAnalysis::Architecture::X86::isUnknown</a></div><div class="ttdeci">bool isUnknown(const SgAsmInstruction *) const override</div><div class="ttdoc">Returns true if the instruction is the special "unknown" instruction.</div></div>
<div class="ttc" id="aclassRose_1_1BinaryAnalysis_1_1Architecture_1_1X86_html_a100e0bdc3bf25aa2b58492956253fbef"><div class="ttname"><a href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1X86.html#a100e0bdc3bf25aa2b58492956253fbef">Rose::BinaryAnalysis::Architecture::X86::instructionAlignment</a></div><div class="ttdeci">Alignment instructionAlignment() const override</div><div class="ttdoc">Alignment for encoded machine instructions.</div></div>
<div class="ttc" id="aclassRose_1_1BinaryAnalysis_1_1Architecture_1_1X86_html_a19d9ff9cb1b4ee8dd904b724651d6c81"><div class="ttname"><a href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1X86.html#a19d9ff9cb1b4ee8dd904b724651d6c81">Rose::BinaryAnalysis::Architecture::X86::getSuccessors</a></div><div class="ttdeci">AddressSet getSuccessors(SgAsmInstruction *, bool &complete) const override</div><div class="ttdoc">Control flow successors for a single instruction.</div></div>
<div class="ttc" id="aclassRose_1_1BinaryAnalysis_1_1Architecture_1_1X86_html_a23a512792e547d40728a385a8e1c4eb8"><div class="ttname"><a href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1X86.html#a23a512792e547d40728a385a8e1c4eb8">Rose::BinaryAnalysis::Architecture::X86::branchTarget</a></div><div class="ttdeci">Sawyer::Optional< rose_addr_t > branchTarget(SgAsmInstruction *) const override</div><div class="ttdoc">Obtains the virtual address for a branching instruction.</div></div>
<div class="ttc" id="aclassRose_1_1BinaryAnalysis_1_1Architecture_1_1X86_html_a297f4b29348217e0aa7c4779e886547e"><div class="ttname"><a href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1X86.html#a297f4b29348217e0aa7c4779e886547e">Rose::BinaryAnalysis::Architecture::X86::functionPrologueMatchers</a></div><div class="ttdeci">virtual std::vector< Partitioner2::FunctionPrologueMatcherPtr > functionPrologueMatchers(const Partitioner2::EnginePtr &) const override</div><div class="ttdoc">Instruction patterns matching function prologues.</div></div>
<div class="ttc" id="aclassRose_1_1BinaryAnalysis_1_1Architecture_1_1X86_html_a3ac9ee6888ea775a49981f4b9874ea01"><div class="ttname"><a href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1X86.html#a3ac9ee6888ea775a49981f4b9874ea01">Rose::BinaryAnalysis::Architecture::X86::getSuccessors</a></div><div class="ttdeci">AddressSet getSuccessors(const std::vector< SgAsmInstruction * > &basicBlock, bool &complete, const MemoryMapPtr &initial_memory=MemoryMapPtr()) const override</div><div class="ttdoc">Control flow successors for a basic block.</div></div>
<div class="ttc" id="aclassRose_1_1BinaryAnalysis_1_1Architecture_1_1X86_html_a4fba9a3638c6ea9962789e7b9e51218f"><div class="ttname"><a href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1X86.html#a4fba9a3638c6ea9962789e7b9e51218f">Rose::BinaryAnalysis::Architecture::X86::newInstructionDispatcher</a></div><div class="ttdeci">virtual InstructionSemantics::BaseSemantics::DispatcherPtr newInstructionDispatcher(const InstructionSemantics::BaseSemantics::RiscOperatorsPtr &) const override</div><div class="ttdoc">Construct and return a new instruction dispatcher.</div></div>
<div class="ttc" id="aclassRose_1_1BinaryAnalysis_1_1Architecture_1_1X86_html_a54df74476cfefab0e46ad4701c58c450"><div class="ttname"><a href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1X86.html#a54df74476cfefab0e46ad4701c58c450">Rose::BinaryAnalysis::Architecture::X86::newInstructionDecoder</a></div><div class="ttdeci">Disassembler::BasePtr newInstructionDecoder() const override</div><div class="ttdoc">Construct and return a new instruction decoder.</div></div>
<div class="ttc" id="aclassRose_1_1BinaryAnalysis_1_1Architecture_1_1X86_html_a6221d5beff9b0a3f10cdb8ef010d832a"><div class="ttname"><a href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1X86.html#a6221d5beff9b0a3f10cdb8ef010d832a">Rose::BinaryAnalysis::Architecture::X86::bytesPerInstruction</a></div><div class="ttdeci">Sawyer::Container::Interval< size_t > bytesPerInstruction() const override</div><div class="ttdoc">Valid sizes for encoded machine instructions.</div></div>
<div class="ttc" id="aclassRose_1_1BinaryAnalysis_1_1Architecture_1_1X86_html_a63cbe34ca708d8afbf0f6a313eaf5e61"><div class="ttname"><a href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1X86.html#a63cbe34ca708d8afbf0f6a313eaf5e61">Rose::BinaryAnalysis::Architecture::X86::basicBlockCreationHooks</a></div><div class="ttdeci">virtual std::vector< Partitioner2::BasicBlockCallbackPtr > basicBlockCreationHooks(const Partitioner2::EnginePtr &) const override</div><div class="ttdoc">Architecture-specific basic block callbacks for partitioning.</div></div>
<div class="ttc" id="aclassRose_1_1BinaryAnalysis_1_1Architecture_1_1X86_html_a7643208cae42c0a6ccfc462c93fd11f0"><div class="ttname"><a href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1X86.html#a7643208cae42c0a6ccfc462c93fd11f0">Rose::BinaryAnalysis::Architecture::X86::isFunctionReturnFast</a></div><div class="ttdeci">bool isFunctionReturnFast(const std::vector< SgAsmInstruction * > &) const override</div><div class="ttdoc">Returns true if the specified basic block looks like a function return.</div></div>
<div class="ttc" id="aclassRose_1_1BinaryAnalysis_1_1Architecture_1_1X86_html_aac43aee05706dec13d3b7098d3212755"><div class="ttname"><a href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1X86.html#aac43aee05706dec13d3b7098d3212755">Rose::BinaryAnalysis::Architecture::X86::terminatesBasicBlock</a></div><div class="ttdeci">bool terminatesBasicBlock(SgAsmInstruction *) const override</div><div class="ttdoc">Determines whether the specified instruction normally terminates a basic block.</div></div>
<div class="ttc" id="aclassRose_1_1BinaryAnalysis_1_1Architecture_1_1X86_html_ab100802f579bb1cea8b898796bccf322"><div class="ttname"><a href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1X86.html#ab100802f579bb1cea8b898796bccf322">Rose::BinaryAnalysis::Architecture::X86::newUnparser</a></div><div class="ttdeci">Unparser::BasePtr newUnparser() const override</div><div class="ttdoc">Construct and return a new instruction unparser.</div></div>
<div class="ttc" id="aclassRose_1_1BinaryAnalysis_1_1Architecture_1_1X86_html_acb232255e5406935614d075e733e8392"><div class="ttname"><a href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1X86.html#acb232255e5406935614d075e733e8392">Rose::BinaryAnalysis::Architecture::X86::isFunctionCallFast</a></div><div class="ttdeci">bool isFunctionCallFast(const std::vector< SgAsmInstruction * > &, rose_addr_t *target, rose_addr_t *ret) const override</div><div class="ttdoc">Returns true if the specified basic block looks like a function call.</div></div>
<div class="ttc" id="aclassRose_1_1BinaryAnalysis_1_1Architecture_1_1X86_html_acf95673d445b1198707bd7f3c2102aaf"><div class="ttname"><a href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1X86.html#acf95673d445b1198707bd7f3c2102aaf">Rose::BinaryAnalysis::Architecture::X86::callingConventions</a></div><div class="ttdeci">virtual const CallingConvention::Dictionary & callingConventions() const override</div><div class="ttdoc">Property: Calling convention definitions.</div></div>
<div class="ttc" id="aclassRose_1_1BinaryAnalysis_1_1Architecture_1_1X86_html_af2b9f736400fb3c64972b8356c1d0bc3"><div class="ttname"><a href="classRose_1_1BinaryAnalysis_1_1Architecture_1_1X86.html#af2b9f736400fb3c64972b8356c1d0bc3">Rose::BinaryAnalysis::Architecture::X86::isFunctionCallSlow</a></div><div class="ttdeci">bool isFunctionCallSlow(const std::vector< SgAsmInstruction * > &, rose_addr_t *target, rose_addr_t *ret) const override</div><div class="ttdoc">Returns true if the specified basic block looks like a function call.</div></div>
<div class="ttc" id="aclassSawyer_1_1Container_1_1Interval_html"><div class="ttname"><a href="classSawyer_1_1Container_1_1Interval.html">Sawyer::Container::Interval</a></div><div class="ttdoc">Range of values delimited by endpoints.</div><div class="ttdef"><b>Definition</b> <a href="Interval_8h_source.html#l00031">Interval.h:31</a></div></div>
<div class="ttc" id="aclassSawyer_1_1Container_1_1Set_html"><div class="ttname"><a href="classSawyer_1_1Container_1_1Set.html">Sawyer::Container::Set< Address ></a></div></div>
<div class="ttc" id="aclassSawyer_1_1Optional_html"><div class="ttname"><a href="classSawyer_1_1Optional.html">Sawyer::Optional</a></div><div class="ttdoc">Holds a value or nothing.</div><div class="ttdef"><b>Definition</b> <a href="Optional_8h_source.html#l00056">Optional.h:56</a></div></div>
<div class="ttc" id="aclassSawyer_1_1SharedPointer_html"><div class="ttname"><a href="classSawyer_1_1SharedPointer.html">Sawyer::SharedPointer< MemoryMap ></a></div></div>
<div class="ttc" id="aclassSgAsmInstruction_html"><div class="ttname"><a href="classSgAsmInstruction.html">SgAsmInstruction</a></div><div class="ttdoc">Base class for machine instructions.</div><div class="ttdef"><b>Definition</b> <a href="binaryInstruction_8C_source.html#l43208">binaryInstruction.C:43208</a></div></div>
<div class="ttc" id="anamespaceRose_1_1BinaryAnalysis_1_1Architecture_html_a55a62db0083a83573b870f1cb943d272"><div class="ttname"><a href="namespaceRose_1_1BinaryAnalysis_1_1Architecture.html#a55a62db0083a83573b870f1cb943d272">Rose::BinaryAnalysis::Architecture::X86Ptr</a></div><div class="ttdeci">std::shared_ptr< X86 > X86Ptr</div><div class="ttdoc">Reference counted pointer for X86.</div><div class="ttdef"><b>Definition</b> <a href="Rose_2BinaryAnalysis_2Architecture_2BasicTypes_8h_source.html#l00098">Rose/BinaryAnalysis/Architecture/BasicTypes.h:98</a></div></div>
<div class="ttc" id="anamespaceRose_1_1BinaryAnalysis_1_1CallingConvention_html_af24c0b3f801def1eda31a124049b5e08"><div class="ttname"><a href="namespaceRose_1_1BinaryAnalysis_1_1CallingConvention.html#af24c0b3f801def1eda31a124049b5e08">Rose::BinaryAnalysis::CallingConvention::Dictionary</a></div><div class="ttdeci">std::vector< DefinitionPtr > Dictionary</div><div class="ttdoc">An ordered collection of calling convention definitions.</div><div class="ttdef"><b>Definition</b> <a href="Rose_2BinaryAnalysis_2CallingConvention_2BasicTypes_8h_source.html#l00071">Rose/BinaryAnalysis/CallingConvention/BasicTypes.h:71</a></div></div>
<div class="ttc" id="anamespaceRose_1_1BinaryAnalysis_1_1InstructionSemantics_1_1BaseSemantics_html_a0c0106c0f124bfd48cf9c198e6bd7d4b"><div class="ttname"><a href="namespaceRose_1_1BinaryAnalysis_1_1InstructionSemantics_1_1BaseSemantics.html#a0c0106c0f124bfd48cf9c198e6bd7d4b">Rose::BinaryAnalysis::InstructionSemantics::BaseSemantics::RiscOperatorsPtr</a></div><div class="ttdeci">boost::shared_ptr< RiscOperators > RiscOperatorsPtr</div><div class="ttdoc">Shared-ownership pointer to a RISC operators object.</div><div class="ttdef"><b>Definition</b> <a href="Rose_2BinaryAnalysis_2InstructionSemantics_2BaseSemantics_2BasicTypes_8h_source.html#l00066">Rose/BinaryAnalysis/InstructionSemantics/BaseSemantics/BasicTypes.h:66</a></div></div>
<div class="ttc" id="anamespaceRose_1_1BinaryAnalysis_1_1InstructionSemantics_1_1BaseSemantics_html_a75ee406f19167965f5217e58fe9dc707"><div class="ttname"><a href="namespaceRose_1_1BinaryAnalysis_1_1InstructionSemantics_1_1BaseSemantics.html#a75ee406f19167965f5217e58fe9dc707">Rose::BinaryAnalysis::InstructionSemantics::BaseSemantics::DispatcherPtr</a></div><div class="ttdeci">boost::shared_ptr< Dispatcher > DispatcherPtr</div><div class="ttdoc">Shared-ownership pointer to a semantics instruction dispatcher.</div><div class="ttdef"><b>Definition</b> <a href="Rose_2BinaryAnalysis_2InstructionSemantics_2BaseSemantics_2BasicTypes_8h_source.html#l00069">Rose/BinaryAnalysis/InstructionSemantics/BaseSemantics/BasicTypes.h:69</a></div></div>
<div class="ttc" id="anamespaceRose_1_1BinaryAnalysis_html_a42da9a4f43dd3049ae45e61b95705e4b"><div class="ttname"><a href="namespaceRose_1_1BinaryAnalysis.html#a42da9a4f43dd3049ae45e61b95705e4b">Rose::BinaryAnalysis::MemoryMapPtr</a></div><div class="ttdeci">Sawyer::SharedPointer< MemoryMap > MemoryMapPtr</div><div class="ttdoc">Reference counting pointer.</div><div class="ttdef"><b>Definition</b> <a href="Rose_2BinaryAnalysis_2BasicTypes_8h_source.html#l00041">Rose/BinaryAnalysis/BasicTypes.h:41</a></div></div>
<div class="ttc" id="anamespaceRose_html"><div class="ttname"><a href="namespaceRose.html">Rose</a></div><div class="ttdoc">The ROSE library.</div><div class="ttdef"><b>Definition</b> <a href="BinaryTutorial_8dox_source.html#l00003">BinaryTutorial.dox:3</a></div></div>
<div class="ttc" id="anamespacestringify_1_1Rose_1_1BinaryAnalysis_1_1Disassembler_1_1Mips_1_1Decoder_html_a71cec98f7972bd8cd607558bcea2ffb2"><div class="ttname"><a href="namespacestringify_1_1Rose_1_1BinaryAnalysis_1_1Disassembler_1_1Mips_1_1Decoder.html#a71cec98f7972bd8cd607558bcea2ffb2">stringify::Rose::BinaryAnalysis::Disassembler::Mips::Decoder::Architecture</a></div><div class="ttdeci">const char * Architecture(int64_t)</div><div class="ttdoc">Convert Rose::BinaryAnalysis::Disassembler::Mips::Decoder::Architecture enum constant to a string.</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Oct 2 2024 00:08:24 for ROSE by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>