You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
vmprofiler/doxygen/html/transform_8hpp_source.html

345 lines
65 KiB

<!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">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>VMProfiler: D:/vmprofiler-qt/dependencies/vmprofiler/include/transform.hpp 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/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.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 style="height: 56px;">
<td id="projectlogo"><img alt="Logo" src="icon.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">VMProfiler
&#160;<span id="projectnumber">v1.8</span>
</div>
<div id="projectbrief">vmprofiler is a c++ library which is used to statically analyze VMProtect 2 polymorphic virtual machines. This project is inherited in vmprofiler-qt, vmprofiler-cli, and vmemu.</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'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:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">transform.hpp</div> </div>
</div><!--header-->
<div class="contents">
<a href="transform_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#pragma once</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="preprocessor">#include &lt;Zydis/Zydis.h&gt;</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="preprocessor">#include &lt;functional&gt;</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="preprocessor">#include &lt;map&gt;</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="preprocessor">#include &lt;stdexcept&gt;</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="vmutils_8hpp.html">vmutils.hpp</a>&gt;</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160; </div>
<div class="line"><a name="l00008"></a><span class="lineno"><a class="line" href="namespacevm_1_1transform.html"> 8</a></span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacevm_1_1transform.html">vm::transform</a></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;{</div>
<div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="namespacevm_1_1transform.html#a95343da0cff7223109113b65ff4211b6"> 17</a></span>&#160; <span class="keyword">template</span> &lt; <span class="keyword">class</span> T &gt; <span class="keyword">inline</span> T <a class="code" href="namespacevm_1_1transform.html#a95343da0cff7223109113b65ff4211b6">__ROL__</a>( T value, <span class="keywordtype">int</span> count )</div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160; {</div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160; <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> nbits = <span class="keyword">sizeof</span>( T ) * 8;</div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160; </div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160; <span class="keywordflow">if</span> ( count &gt; 0 )</div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160; {</div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160; count %= nbits;</div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160; T high = value &gt;&gt; ( nbits - count );</div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160; <span class="keywordflow">if</span> ( T( -1 ) &lt; 0 ) <span class="comment">// signed value</span></div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160; high &amp;= ~( ( T( -1 ) &lt;&lt; count ) );</div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160; value &lt;&lt;= count;</div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160; value |= high;</div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160; }</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; {</div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; count = -count % nbits;</div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; T low = value &lt;&lt; ( nbits - count );</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; value &gt;&gt;= count;</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; value |= low;</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; }</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; <span class="keywordflow">return</span> value;</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; }</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; </div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="namespacevm_1_1transform.html#a2f914dc341284423d3cf0bc83fbbc6d4"> 46</a></span>&#160; <span class="keyword">inline</span> <a class="code" href="vmutils_8hpp.html#ad24825e11b71d87e40f5c0e88dd980a0">u8</a> <a class="code" href="namespacevm_1_1transform.html#a2f914dc341284423d3cf0bc83fbbc6d4">__ROL1__</a>( <a class="code" href="vmutils_8hpp.html#ad24825e11b71d87e40f5c0e88dd980a0">u8</a> value, <span class="keywordtype">int</span> count )</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; {</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; <span class="keywordflow">return</span> <a class="code" href="namespacevm_1_1transform.html#a95343da0cff7223109113b65ff4211b6">__ROL__</a>( ( <a class="code" href="vmutils_8hpp.html#ad24825e11b71d87e40f5c0e88dd980a0">u8</a> )value, count );</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; }</div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; </div>
<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="namespacevm_1_1transform.html#af597f7ca1a317d800345ba0ce3139145"> 57</a></span>&#160; <span class="keyword">inline</span> <a class="code" href="vmutils_8hpp.html#a78c47e7d1e6386136297f10fa86b5f99">u16</a> <a class="code" href="namespacevm_1_1transform.html#af597f7ca1a317d800345ba0ce3139145">__ROL2__</a>( <a class="code" href="vmutils_8hpp.html#a78c47e7d1e6386136297f10fa86b5f99">u16</a> value, <span class="keywordtype">int</span> count )</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; {</div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; <span class="keywordflow">return</span> <a class="code" href="namespacevm_1_1transform.html#a95343da0cff7223109113b65ff4211b6">__ROL__</a>( ( <a class="code" href="vmutils_8hpp.html#a78c47e7d1e6386136297f10fa86b5f99">u16</a> )value, count );</div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; }</div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; </div>
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="namespacevm_1_1transform.html#a5845d259b97aa94ad627cb323f79bc43"> 68</a></span>&#160; <span class="keyword">inline</span> <a class="code" href="vmutils_8hpp.html#a5b58b50033aff6031759d9708b5156f2">u32</a> <a class="code" href="namespacevm_1_1transform.html#a5845d259b97aa94ad627cb323f79bc43">__ROL4__</a>( <a class="code" href="vmutils_8hpp.html#a5b58b50033aff6031759d9708b5156f2">u32</a> value, <span class="keywordtype">int</span> count )</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; {</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; <span class="keywordflow">return</span> <a class="code" href="namespacevm_1_1transform.html#a95343da0cff7223109113b65ff4211b6">__ROL__</a>( ( <a class="code" href="vmutils_8hpp.html#a5b58b50033aff6031759d9708b5156f2">u32</a> )value, count );</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; }</div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; </div>
<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="namespacevm_1_1transform.html#adeb404f2e3208d35eae516af9d979814"> 79</a></span>&#160; <span class="keyword">inline</span> <a class="code" href="vmutils_8hpp.html#a4870a1025a59df53c952b95ac2c85bf6">u64</a> <a class="code" href="namespacevm_1_1transform.html#adeb404f2e3208d35eae516af9d979814">__ROL8__</a>( <a class="code" href="vmutils_8hpp.html#a4870a1025a59df53c952b95ac2c85bf6">u64</a> value, <span class="keywordtype">int</span> count )</div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; {</div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; <span class="keywordflow">return</span> <a class="code" href="namespacevm_1_1transform.html#a95343da0cff7223109113b65ff4211b6">__ROL__</a>( ( <a class="code" href="vmutils_8hpp.html#a4870a1025a59df53c952b95ac2c85bf6">u64</a> )value, count );</div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; }</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; </div>
<div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="namespacevm_1_1transform.html#a22a3bc4437a3fe171d16c08e26bd8098"> 90</a></span>&#160; <span class="keyword">inline</span> <a class="code" href="vmutils_8hpp.html#ad24825e11b71d87e40f5c0e88dd980a0">u8</a> <a class="code" href="namespacevm_1_1transform.html#a22a3bc4437a3fe171d16c08e26bd8098">__ROR1__</a>( <a class="code" href="vmutils_8hpp.html#ad24825e11b71d87e40f5c0e88dd980a0">u8</a> value, <span class="keywordtype">int</span> count )</div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; {</div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; <span class="keywordflow">return</span> <a class="code" href="namespacevm_1_1transform.html#a95343da0cff7223109113b65ff4211b6">__ROL__</a>( ( <a class="code" href="vmutils_8hpp.html#ad24825e11b71d87e40f5c0e88dd980a0">u8</a> )value, -count );</div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; }</div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; </div>
<div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="namespacevm_1_1transform.html#ae461230c2fd31540a32f7b7d439c00cc"> 101</a></span>&#160; <span class="keyword">inline</span> <a class="code" href="vmutils_8hpp.html#a78c47e7d1e6386136297f10fa86b5f99">u16</a> <a class="code" href="namespacevm_1_1transform.html#ae461230c2fd31540a32f7b7d439c00cc">__ROR2__</a>( <a class="code" href="vmutils_8hpp.html#a78c47e7d1e6386136297f10fa86b5f99">u16</a> value, <span class="keywordtype">int</span> count )</div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; {</div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; <span class="keywordflow">return</span> <a class="code" href="namespacevm_1_1transform.html#a95343da0cff7223109113b65ff4211b6">__ROL__</a>( ( <a class="code" href="vmutils_8hpp.html#a78c47e7d1e6386136297f10fa86b5f99">u16</a> )value, -count );</div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160; }</div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160; </div>
<div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="namespacevm_1_1transform.html#a84ceeae51a16def42530b6ce2bd52d23"> 112</a></span>&#160; <span class="keyword">inline</span> <a class="code" href="vmutils_8hpp.html#a5b58b50033aff6031759d9708b5156f2">u32</a> <a class="code" href="namespacevm_1_1transform.html#a84ceeae51a16def42530b6ce2bd52d23">__ROR4__</a>( <a class="code" href="vmutils_8hpp.html#a5b58b50033aff6031759d9708b5156f2">u32</a> value, <span class="keywordtype">int</span> count )</div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; {</div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160; <span class="keywordflow">return</span> <a class="code" href="namespacevm_1_1transform.html#a95343da0cff7223109113b65ff4211b6">__ROL__</a>( ( <a class="code" href="vmutils_8hpp.html#a5b58b50033aff6031759d9708b5156f2">u32</a> )value, -count );</div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160; }</div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160; </div>
<div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="namespacevm_1_1transform.html#a8a109ae3f6a76f60fafedabde509594f"> 123</a></span>&#160; <span class="keyword">inline</span> <a class="code" href="vmutils_8hpp.html#a4870a1025a59df53c952b95ac2c85bf6">u64</a> <a class="code" href="namespacevm_1_1transform.html#a8a109ae3f6a76f60fafedabde509594f">__ROR8__</a>( <a class="code" href="vmutils_8hpp.html#a4870a1025a59df53c952b95ac2c85bf6">u64</a> value, <span class="keywordtype">int</span> count )</div>
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160; {</div>
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160; <span class="keywordflow">return</span> <a class="code" href="namespacevm_1_1transform.html#a95343da0cff7223109113b65ff4211b6">__ROL__</a>( ( <a class="code" href="vmutils_8hpp.html#a4870a1025a59df53c952b95ac2c85bf6">u64</a> )value, -count );</div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160; }</div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160; </div>
<div class="line"><a name="l00132"></a><span class="lineno"><a class="line" href="namespacevm_1_1transform.html#a67d5906292cf0f9aa61364e0846fa1e6"> 132</a></span>&#160; <span class="keyword">template</span> &lt; <span class="keyword">typename</span> T &gt; <span class="keyword">using</span> <a class="code" href="namespacevm_1_1transform.html#a67d5906292cf0f9aa61364e0846fa1e6">transform_t</a> = std::function&lt; T( T, T ) &gt;;</div>
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160; </div>
<div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="namespacevm_1_1transform.html#aa62ffeae2f546b741c00b0c53776b384"> 137</a></span>&#160; <span class="keyword">enum class</span> <a class="code" href="namespacevm_1_1transform.html#aa62ffeae2f546b741c00b0c53776b384">type</a></div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160; {</div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160; <a class="code" href="namespacevm_1_1transform.html#aa62ffeae2f546b741c00b0c53776b384ab30d1c29c4a3eff9ff46c9c9ff3ac330">generic0</a>,</div>
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160; <a class="code" href="namespacevm_1_1transform.html#aa62ffeae2f546b741c00b0c53776b384a2b4d8b33b65a6ec012bfee034f0eb535">rolling_key</a>,</div>
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160; <a class="code" href="namespacevm_1_1transform.html#aa62ffeae2f546b741c00b0c53776b384a5b034533010375fbc25ce97ffcdd36bc">generic1</a>,</div>
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160; <a class="code" href="namespacevm_1_1transform.html#aa62ffeae2f546b741c00b0c53776b384a0a454dce1e3512aace652c12ba85ae83">generic2</a>,</div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160; <a class="code" href="namespacevm_1_1transform.html#aa62ffeae2f546b741c00b0c53776b384a167e51d9fbde7c7356bb71cd04f61beb">generic3</a>,</div>
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160; <a class="code" href="namespacevm_1_1transform.html#aa62ffeae2f546b741c00b0c53776b384a1033ce2eeb9b85e88eacb326208e9e4b">update_key</a></div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; };</div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; </div>
<div class="line"><a name="l00150"></a><span class="lineno"><a class="line" href="namespacevm_1_1transform.html#af3bd71c380a50beece9341287b7cc025"> 150</a></span>&#160; <span class="keyword">using</span> <a class="code" href="namespacevm_1_1transform.html#af3bd71c380a50beece9341287b7cc025">map_t</a> = std::map&lt; transform::type, zydis_decoded_instr_t &gt;;</div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; </div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160; <span class="keyword">template</span> &lt; <span class="keyword">class</span> T &gt;</div>
<div class="line"><a name="l00153"></a><span class="lineno"><a class="line" href="namespacevm_1_1transform.html#a688d8184e8ff721cbe284891a79649be"> 153</a></span>&#160; <span class="keyword">inline</span> <span class="keyword">const</span> <span class="keyword">auto</span> <a class="code" href="namespacevm_1_1transform.html#a688d8184e8ff721cbe284891a79649be">_bswap</a> = []( T a, T b ) -&gt; T {</div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160; <span class="keywordflow">if</span> constexpr ( std::is_same_v&lt; T, std::uint64_t &gt; )</div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160; <span class="keywordflow">return</span> _byteswap_uint64( a );</div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160; <span class="keywordflow">if</span> constexpr ( std::is_same_v&lt; T, std::uint32_t &gt; )</div>
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160; <span class="keywordflow">return</span> _byteswap_ulong( a );</div>
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160; <span class="keywordflow">if</span> constexpr ( std::is_same_v&lt; T, std::uint16_t &gt; )</div>
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160; <span class="keywordflow">return</span> _byteswap_ushort( a );</div>
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160; </div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160; <span class="keywordflow">throw</span> std::invalid_argument( <span class="stringliteral">&quot;invalid type size...&quot;</span> );</div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160; };</div>
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160; </div>
<div class="line"><a name="l00164"></a><span class="lineno"><a class="line" href="namespacevm_1_1transform.html#a281896b8949d10bf13fe43c6467766ef"> 164</a></span>&#160; <span class="keyword">template</span> &lt; <span class="keyword">class</span> T &gt; <span class="keyword">inline</span> <span class="keyword">const</span> <span class="keyword">auto</span> <a class="code" href="namespacevm_1_1transform.html#a281896b8949d10bf13fe43c6467766ef">_add</a> = []( T a, T b ) -&gt; T { <span class="keywordflow">return</span> a + b; };</div>
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160; </div>
<div class="line"><a name="l00166"></a><span class="lineno"><a class="line" href="namespacevm_1_1transform.html#a4ee7a00ae0c62ad5db5455d16ac64491"> 166</a></span>&#160; <span class="keyword">template</span> &lt; <span class="keyword">class</span> T &gt; <span class="keyword">inline</span> <span class="keyword">const</span> <span class="keyword">auto</span> <a class="code" href="namespacevm_1_1transform.html#a4ee7a00ae0c62ad5db5455d16ac64491">_xor</a> = []( T a, T b ) -&gt; T { <span class="keywordflow">return</span> a ^ b; };</div>
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160; </div>
<div class="line"><a name="l00168"></a><span class="lineno"><a class="line" href="namespacevm_1_1transform.html#a91ad3d31de52b5178cbf433259b887d9"> 168</a></span>&#160; <span class="keyword">template</span> &lt; <span class="keyword">class</span> T &gt; <span class="keyword">inline</span> <span class="keyword">const</span> <span class="keyword">auto</span> <a class="code" href="namespacevm_1_1transform.html#a91ad3d31de52b5178cbf433259b887d9">_sub</a> = []( T a, T b ) -&gt; T { <span class="keywordflow">return</span> a - b; };</div>
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>&#160; </div>
<div class="line"><a name="l00170"></a><span class="lineno"><a class="line" href="namespacevm_1_1transform.html#a734672243d8d96890e13da03edb148ba"> 170</a></span>&#160; <span class="keyword">template</span> &lt; <span class="keyword">class</span> T &gt; <span class="keyword">inline</span> <span class="keyword">const</span> <span class="keyword">auto</span> <a class="code" href="namespacevm_1_1transform.html#a734672243d8d96890e13da03edb148ba">_neg</a> = []( T a, T b ) -&gt; T { <span class="keywordflow">return</span> a * -1; };</div>
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160; </div>
<div class="line"><a name="l00172"></a><span class="lineno"><a class="line" href="namespacevm_1_1transform.html#aef95e6402789d702d4a0dceb09c58fdf"> 172</a></span>&#160; <span class="keyword">template</span> &lt; <span class="keyword">class</span> T &gt; <span class="keyword">inline</span> <span class="keyword">const</span> <span class="keyword">auto</span> <a class="code" href="namespacevm_1_1transform.html#aef95e6402789d702d4a0dceb09c58fdf">_not</a> = []( T a, T b ) -&gt; T { <span class="keywordflow">return</span> ~a; };</div>
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160; </div>
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160; <span class="keyword">template</span> &lt; <span class="keyword">class</span> T &gt;</div>
<div class="line"><a name="l00175"></a><span class="lineno"><a class="line" href="namespacevm_1_1transform.html#ab2a83f6cb174fe5a090d38f4b426865a"> 175</a></span>&#160; <span class="keyword">inline</span> <span class="keyword">const</span> <span class="keyword">auto</span> <a class="code" href="namespacevm_1_1transform.html#ab2a83f6cb174fe5a090d38f4b426865a">_ror</a> = []( T a, T b ) -&gt; T {</div>
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160; <span class="keywordflow">if</span> constexpr ( std::is_same_v&lt; T, std::uint64_t &gt; )</div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160; <span class="keywordflow">return</span> <a class="code" href="namespacevm_1_1transform.html#a8a109ae3f6a76f60fafedabde509594f">__ROR8__</a>( a, b );</div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160; <span class="keywordflow">if</span> constexpr ( std::is_same_v&lt; T, std::uint32_t &gt; )</div>
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160; <span class="keywordflow">return</span> <a class="code" href="namespacevm_1_1transform.html#a84ceeae51a16def42530b6ce2bd52d23">__ROR4__</a>( a, b );</div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160; <span class="keywordflow">if</span> constexpr ( std::is_same_v&lt; T, std::uint16_t &gt; )</div>
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160; <span class="keywordflow">return</span> <a class="code" href="namespacevm_1_1transform.html#ae461230c2fd31540a32f7b7d439c00cc">__ROR2__</a>( a, b );</div>
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160; <span class="keywordflow">if</span> constexpr ( std::is_same_v&lt; T, std::uint8_t &gt; )</div>
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160; <span class="keywordflow">return</span> <a class="code" href="namespacevm_1_1transform.html#a22a3bc4437a3fe171d16c08e26bd8098">__ROR1__</a>( a, b );</div>
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160; </div>
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160; <span class="keywordflow">throw</span> std::invalid_argument( <span class="stringliteral">&quot;invalid type size...&quot;</span> );</div>
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160; };</div>
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160; </div>
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160; <span class="keyword">template</span> &lt; <span class="keyword">class</span> T &gt;</div>
<div class="line"><a name="l00189"></a><span class="lineno"><a class="line" href="namespacevm_1_1transform.html#a95949473ea57a6a4b310b3701ddbc646"> 189</a></span>&#160; <span class="keyword">inline</span> <span class="keyword">const</span> <span class="keyword">auto</span> <a class="code" href="namespacevm_1_1transform.html#a95949473ea57a6a4b310b3701ddbc646">_rol</a> = []( T a, T b ) -&gt; T {</div>
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>&#160; <span class="keywordflow">if</span> constexpr ( std::is_same_v&lt; T, std::uint64_t &gt; )</div>
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>&#160; <span class="keywordflow">return</span> <a class="code" href="namespacevm_1_1transform.html#adeb404f2e3208d35eae516af9d979814">__ROL8__</a>( a, b );</div>
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>&#160; <span class="keywordflow">if</span> constexpr ( std::is_same_v&lt; T, std::uint32_t &gt; )</div>
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160; <span class="keywordflow">return</span> <a class="code" href="namespacevm_1_1transform.html#a5845d259b97aa94ad627cb323f79bc43">__ROL4__</a>( a, b );</div>
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160; <span class="keywordflow">if</span> constexpr ( std::is_same_v&lt; T, std::uint16_t &gt; )</div>
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160; <span class="keywordflow">return</span> <a class="code" href="namespacevm_1_1transform.html#af597f7ca1a317d800345ba0ce3139145">__ROL2__</a>( a, b );</div>
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>&#160; <span class="keywordflow">if</span> constexpr ( std::is_same_v&lt; T, std::uint8_t &gt; )</div>
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160; <span class="keywordflow">return</span> <a class="code" href="namespacevm_1_1transform.html#a2f914dc341284423d3cf0bc83fbbc6d4">__ROL1__</a>( a, b );</div>
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160; </div>
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>&#160; <span class="keywordflow">throw</span> std::invalid_argument( <span class="stringliteral">&quot;invalid type size...&quot;</span> );</div>
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160; };</div>
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160; </div>
<div class="line"><a name="l00202"></a><span class="lineno"><a class="line" href="namespacevm_1_1transform.html#a127fda1c7440c539496a2265a089ed25"> 202</a></span>&#160; <span class="keyword">template</span> &lt; <span class="keyword">class</span> T &gt; <span class="keyword">inline</span> <span class="keyword">const</span> <span class="keyword">auto</span> <a class="code" href="namespacevm_1_1transform.html#a127fda1c7440c539496a2265a089ed25">_inc</a> = []( T a, T b ) -&gt; T { <span class="keywordflow">return</span> a + 1; };</div>
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160; </div>
<div class="line"><a name="l00204"></a><span class="lineno"><a class="line" href="namespacevm_1_1transform.html#a15aa399b06335fdc06b738f5053eec27"> 204</a></span>&#160; <span class="keyword">template</span> &lt; <span class="keyword">class</span> T &gt; <span class="keyword">inline</span> <span class="keyword">const</span> <span class="keyword">auto</span> <a class="code" href="namespacevm_1_1transform.html#a15aa399b06335fdc06b738f5053eec27">_dec</a> = []( T a, T b ) -&gt; T { <span class="keywordflow">return</span> a - 1; };</div>
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160; </div>
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160; <span class="keyword">template</span> &lt; <span class="keyword">class</span> T &gt;</div>
<div class="line"><a name="l00207"></a><span class="lineno"><a class="line" href="namespacevm_1_1transform.html#ac5fcbe5497bc1e136caf781b61fbd8f1"> 207</a></span>&#160; <span class="keyword">inline</span> std::map&lt; zydis_mnemonic_t, transform_t&lt; T &gt; &gt; <a class="code" href="namespacevm_1_1transform.html#ac5fcbe5497bc1e136caf781b61fbd8f1">transforms</a> = {</div>
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160; { ZYDIS_MNEMONIC_ADD, _add&lt; T &gt; }, { ZYDIS_MNEMONIC_XOR, _xor&lt; T &gt; }, { ZYDIS_MNEMONIC_BSWAP, _bswap&lt; T &gt; },</div>
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160; { ZYDIS_MNEMONIC_SUB, _sub&lt; T &gt; }, { ZYDIS_MNEMONIC_NEG, _neg&lt; T &gt; }, { ZYDIS_MNEMONIC_NOT, _not&lt; T &gt; },</div>
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span>&#160; { ZYDIS_MNEMONIC_ROR, _ror&lt; T &gt; }, { ZYDIS_MNEMONIC_ROL, _rol&lt; T &gt; }, { ZYDIS_MNEMONIC_INC, _inc&lt; T &gt; },</div>
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>&#160; { ZYDIS_MNEMONIC_DEC, _dec&lt; T &gt; } };</div>
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>&#160; </div>
<div class="line"><a name="l00213"></a><span class="lineno"><a class="line" href="namespacevm_1_1transform.html#a694675c95aced2c9e406c26d0313ba9a"> 213</a></span>&#160; <span class="keyword">inline</span> std::map&lt; zydis_mnemonic_t, zydis_mnemonic_t &gt; <a class="code" href="namespacevm_1_1transform.html#a694675c95aced2c9e406c26d0313ba9a">inverse</a> = {</div>
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span>&#160; { ZYDIS_MNEMONIC_ADD, ZYDIS_MNEMONIC_SUB }, { ZYDIS_MNEMONIC_XOR, ZYDIS_MNEMONIC_XOR },</div>
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160; { ZYDIS_MNEMONIC_BSWAP, ZYDIS_MNEMONIC_BSWAP }, { ZYDIS_MNEMONIC_SUB, ZYDIS_MNEMONIC_ADD },</div>
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>&#160; { ZYDIS_MNEMONIC_NEG, ZYDIS_MNEMONIC_NEG }, { ZYDIS_MNEMONIC_NOT, ZYDIS_MNEMONIC_NOT },</div>
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>&#160; { ZYDIS_MNEMONIC_ROR, ZYDIS_MNEMONIC_ROL }, { ZYDIS_MNEMONIC_ROL, ZYDIS_MNEMONIC_ROR },</div>
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>&#160; { ZYDIS_MNEMONIC_INC, ZYDIS_MNEMONIC_DEC }, { ZYDIS_MNEMONIC_DEC, ZYDIS_MNEMONIC_INC } };</div>
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span>&#160; </div>
<div class="line"><a name="l00225"></a><span class="lineno"><a class="line" href="namespacevm_1_1transform.html#aa14dcd108c7800a9763255873e474988"> 225</a></span>&#160; <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="namespacevm_1_1transform.html#aa14dcd108c7800a9763255873e474988">valid</a>( <a class="code" href="vmutils_8hpp.html#a910e81858860c70b9744949887567148">zydis_mnemonic_t</a> op )</div>
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>&#160; {</div>
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span>&#160; <span class="keywordflow">return</span> transforms&lt; std::uint64_t &gt;.find( op ) != transforms&lt; std::uint64_t &gt;.end();</div>
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span>&#160; }</div>
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span>&#160; </div>
<div class="line"><a name="l00235"></a><span class="lineno"><a class="line" href="namespacevm_1_1transform.html#a362be5277a6670ab1e2715673f759ae7"> 235</a></span>&#160; <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="namespacevm_1_1transform.html#a362be5277a6670ab1e2715673f759ae7">inverse_transforms</a>( <a class="code" href="namespacevm_1_1transform.html#af3bd71c380a50beece9341287b7cc025">transform::map_t</a> &amp;<a class="code" href="namespacevm_1_1transform.html#ac5fcbe5497bc1e136caf781b61fbd8f1">transforms</a>, <a class="code" href="namespacevm_1_1transform.html#af3bd71c380a50beece9341287b7cc025">transform::map_t</a> &amp;<a class="code" href="namespacevm_1_1transform.html#a694675c95aced2c9e406c26d0313ba9a">inverse</a> )</div>
<div class="line"><a name="l00236"></a><span class="lineno"> 236</span>&#160; {</div>
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span>&#160; <a class="code" href="namespacevm_1_1transform.html#a694675c95aced2c9e406c26d0313ba9a">inverse</a>[ <a class="code" href="namespacevm_1_1transform.html#aa62ffeae2f546b741c00b0c53776b384ab30d1c29c4a3eff9ff46c9c9ff3ac330">transform::type::generic0</a> ] = <a class="code" href="namespacevm_1_1transform.html#ac5fcbe5497bc1e136caf781b61fbd8f1">transforms</a>[ <a class="code" href="namespacevm_1_1transform.html#aa62ffeae2f546b741c00b0c53776b384ab30d1c29c4a3eff9ff46c9c9ff3ac330">transform::type::generic0</a> ];</div>
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span>&#160; <a class="code" href="namespacevm_1_1transform.html#a694675c95aced2c9e406c26d0313ba9a">inverse</a>[ <a class="code" href="namespacevm_1_1transform.html#aa62ffeae2f546b741c00b0c53776b384ab30d1c29c4a3eff9ff46c9c9ff3ac330">transform::type::generic0</a> ].mnemonic =</div>
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span>&#160; <a class="code" href="namespacevm_1_1transform.html#a694675c95aced2c9e406c26d0313ba9a">transform::inverse</a>[ <a class="code" href="namespacevm_1_1transform.html#ac5fcbe5497bc1e136caf781b61fbd8f1">transforms</a>[ <a class="code" href="namespacevm_1_1transform.html#aa62ffeae2f546b741c00b0c53776b384ab30d1c29c4a3eff9ff46c9c9ff3ac330">transform::type::generic0</a> ].mnemonic ];</div>
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span>&#160; </div>
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span>&#160; <a class="code" href="namespacevm_1_1transform.html#a694675c95aced2c9e406c26d0313ba9a">inverse</a>[ <a class="code" href="namespacevm_1_1transform.html#aa62ffeae2f546b741c00b0c53776b384a2b4d8b33b65a6ec012bfee034f0eb535">transform::type::rolling_key</a> ] = <a class="code" href="namespacevm_1_1transform.html#ac5fcbe5497bc1e136caf781b61fbd8f1">transforms</a>[ <a class="code" href="namespacevm_1_1transform.html#aa62ffeae2f546b741c00b0c53776b384a2b4d8b33b65a6ec012bfee034f0eb535">transform::type::rolling_key</a> ];</div>
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span>&#160; <a class="code" href="namespacevm_1_1transform.html#a694675c95aced2c9e406c26d0313ba9a">inverse</a>[ <a class="code" href="namespacevm_1_1transform.html#aa62ffeae2f546b741c00b0c53776b384a2b4d8b33b65a6ec012bfee034f0eb535">transform::type::rolling_key</a> ].mnemonic =</div>
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>&#160; <a class="code" href="namespacevm_1_1transform.html#a694675c95aced2c9e406c26d0313ba9a">transform::inverse</a>[ <a class="code" href="namespacevm_1_1transform.html#ac5fcbe5497bc1e136caf781b61fbd8f1">transforms</a>[ <a class="code" href="namespacevm_1_1transform.html#aa62ffeae2f546b741c00b0c53776b384a2b4d8b33b65a6ec012bfee034f0eb535">transform::type::rolling_key</a> ].mnemonic ];</div>
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span>&#160; </div>
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span>&#160; <a class="code" href="namespacevm_1_1transform.html#a694675c95aced2c9e406c26d0313ba9a">inverse</a>[ <a class="code" href="namespacevm_1_1transform.html#aa62ffeae2f546b741c00b0c53776b384a5b034533010375fbc25ce97ffcdd36bc">transform::type::generic1</a> ] = <a class="code" href="namespacevm_1_1transform.html#ac5fcbe5497bc1e136caf781b61fbd8f1">transforms</a>[ <a class="code" href="namespacevm_1_1transform.html#aa62ffeae2f546b741c00b0c53776b384a5b034533010375fbc25ce97ffcdd36bc">transform::type::generic1</a> ];</div>
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span>&#160; <a class="code" href="namespacevm_1_1transform.html#a694675c95aced2c9e406c26d0313ba9a">inverse</a>[ <a class="code" href="namespacevm_1_1transform.html#aa62ffeae2f546b741c00b0c53776b384a5b034533010375fbc25ce97ffcdd36bc">transform::type::generic1</a> ].mnemonic =</div>
<div class="line"><a name="l00247"></a><span class="lineno"> 247</span>&#160; <a class="code" href="namespacevm_1_1transform.html#a694675c95aced2c9e406c26d0313ba9a">transform::inverse</a>[ <a class="code" href="namespacevm_1_1transform.html#ac5fcbe5497bc1e136caf781b61fbd8f1">transforms</a>[ <a class="code" href="namespacevm_1_1transform.html#aa62ffeae2f546b741c00b0c53776b384a5b034533010375fbc25ce97ffcdd36bc">transform::type::generic1</a> ].mnemonic ];</div>
<div class="line"><a name="l00248"></a><span class="lineno"> 248</span>&#160; </div>
<div class="line"><a name="l00249"></a><span class="lineno"> 249</span>&#160; <a class="code" href="namespacevm_1_1transform.html#a694675c95aced2c9e406c26d0313ba9a">inverse</a>[ <a class="code" href="namespacevm_1_1transform.html#aa62ffeae2f546b741c00b0c53776b384a0a454dce1e3512aace652c12ba85ae83">transform::type::generic2</a> ] = <a class="code" href="namespacevm_1_1transform.html#ac5fcbe5497bc1e136caf781b61fbd8f1">transforms</a>[ <a class="code" href="namespacevm_1_1transform.html#aa62ffeae2f546b741c00b0c53776b384a0a454dce1e3512aace652c12ba85ae83">transform::type::generic2</a> ];</div>
<div class="line"><a name="l00250"></a><span class="lineno"> 250</span>&#160; <a class="code" href="namespacevm_1_1transform.html#a694675c95aced2c9e406c26d0313ba9a">inverse</a>[ <a class="code" href="namespacevm_1_1transform.html#aa62ffeae2f546b741c00b0c53776b384a0a454dce1e3512aace652c12ba85ae83">transform::type::generic2</a> ].mnemonic =</div>
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span>&#160; <a class="code" href="namespacevm_1_1transform.html#a694675c95aced2c9e406c26d0313ba9a">transform::inverse</a>[ <a class="code" href="namespacevm_1_1transform.html#ac5fcbe5497bc1e136caf781b61fbd8f1">transforms</a>[ <a class="code" href="namespacevm_1_1transform.html#aa62ffeae2f546b741c00b0c53776b384a0a454dce1e3512aace652c12ba85ae83">transform::type::generic2</a> ].mnemonic ];</div>
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span>&#160; </div>
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span>&#160; <a class="code" href="namespacevm_1_1transform.html#a694675c95aced2c9e406c26d0313ba9a">inverse</a>[ <a class="code" href="namespacevm_1_1transform.html#aa62ffeae2f546b741c00b0c53776b384a167e51d9fbde7c7356bb71cd04f61beb">transform::type::generic3</a> ] = <a class="code" href="namespacevm_1_1transform.html#ac5fcbe5497bc1e136caf781b61fbd8f1">transforms</a>[ <a class="code" href="namespacevm_1_1transform.html#aa62ffeae2f546b741c00b0c53776b384a167e51d9fbde7c7356bb71cd04f61beb">transform::type::generic3</a> ];</div>
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span>&#160; <a class="code" href="namespacevm_1_1transform.html#a694675c95aced2c9e406c26d0313ba9a">inverse</a>[ <a class="code" href="namespacevm_1_1transform.html#aa62ffeae2f546b741c00b0c53776b384a167e51d9fbde7c7356bb71cd04f61beb">transform::type::generic3</a> ].mnemonic =</div>
<div class="line"><a name="l00255"></a><span class="lineno"> 255</span>&#160; <a class="code" href="namespacevm_1_1transform.html#a694675c95aced2c9e406c26d0313ba9a">transform::inverse</a>[ <a class="code" href="namespacevm_1_1transform.html#ac5fcbe5497bc1e136caf781b61fbd8f1">transforms</a>[ <a class="code" href="namespacevm_1_1transform.html#aa62ffeae2f546b741c00b0c53776b384a167e51d9fbde7c7356bb71cd04f61beb">transform::type::generic3</a> ].mnemonic ];</div>
<div class="line"><a name="l00256"></a><span class="lineno"> 256</span>&#160; </div>
<div class="line"><a name="l00257"></a><span class="lineno"> 257</span>&#160; <a class="code" href="namespacevm_1_1transform.html#a694675c95aced2c9e406c26d0313ba9a">inverse</a>[ <a class="code" href="namespacevm_1_1transform.html#aa62ffeae2f546b741c00b0c53776b384a1033ce2eeb9b85e88eacb326208e9e4b">transform::type::update_key</a> ] = <a class="code" href="namespacevm_1_1transform.html#ac5fcbe5497bc1e136caf781b61fbd8f1">transforms</a>[ <a class="code" href="namespacevm_1_1transform.html#aa62ffeae2f546b741c00b0c53776b384a1033ce2eeb9b85e88eacb326208e9e4b">transform::type::update_key</a> ];</div>
<div class="line"><a name="l00258"></a><span class="lineno"> 258</span>&#160; <a class="code" href="namespacevm_1_1transform.html#a694675c95aced2c9e406c26d0313ba9a">inverse</a>[ <a class="code" href="namespacevm_1_1transform.html#aa62ffeae2f546b741c00b0c53776b384a1033ce2eeb9b85e88eacb326208e9e4b">transform::type::update_key</a> ].mnemonic =</div>
<div class="line"><a name="l00259"></a><span class="lineno"> 259</span>&#160; <a class="code" href="namespacevm_1_1transform.html#a694675c95aced2c9e406c26d0313ba9a">transform::inverse</a>[ <a class="code" href="namespacevm_1_1transform.html#ac5fcbe5497bc1e136caf781b61fbd8f1">transforms</a>[ <a class="code" href="namespacevm_1_1transform.html#aa62ffeae2f546b741c00b0c53776b384a1033ce2eeb9b85e88eacb326208e9e4b">transform::type::update_key</a> ].mnemonic ];</div>
<div class="line"><a name="l00260"></a><span class="lineno"> 260</span>&#160; }</div>
<div class="line"><a name="l00261"></a><span class="lineno"> 261</span>&#160; </div>
<div class="line"><a name="l00267"></a><span class="lineno"><a class="line" href="namespacevm_1_1transform.html#aaaaa068fcec7c9d5f627dd2d32db0c9a"> 267</a></span>&#160; <span class="keyword">inline</span> <span class="keyword">auto</span> <a class="code" href="namespacevm_1_1transform.html#a362be5277a6670ab1e2715673f759ae7">inverse_transforms</a>( std::vector&lt; zydis_decoded_instr_t &gt; &amp;instrs ) -&gt; <span class="keywordtype">bool</span></div>
<div class="line"><a name="l00268"></a><span class="lineno"> 268</span>&#160; {</div>
<div class="line"><a name="l00269"></a><span class="lineno"> 269</span>&#160; <span class="keywordflow">for</span> ( <span class="keyword">auto</span> idx = 0u; idx &lt; instrs.size(); idx++ )</div>
<div class="line"><a name="l00270"></a><span class="lineno"> 270</span>&#160; <span class="keywordflow">if</span> ( !( instrs[ idx ].mnemonic = <a class="code" href="namespacevm_1_1transform.html#a694675c95aced2c9e406c26d0313ba9a">inverse</a>[ instrs[ idx ].mnemonic ] ) )</div>
<div class="line"><a name="l00271"></a><span class="lineno"> 271</span>&#160; <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l00272"></a><span class="lineno"> 272</span>&#160; </div>
<div class="line"><a name="l00273"></a><span class="lineno"> 273</span>&#160; std::reverse( instrs.begin(), instrs.end() );</div>
<div class="line"><a name="l00274"></a><span class="lineno"> 274</span>&#160; <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
<div class="line"><a name="l00275"></a><span class="lineno"> 275</span>&#160; }</div>
<div class="line"><a name="l00276"></a><span class="lineno"> 276</span>&#160; </div>
<div class="line"><a name="l00277"></a><span class="lineno"> 277</span>&#160; <span class="comment">// max size of a and b is 64 bits, a and b is then converted to</span></div>
<div class="line"><a name="l00278"></a><span class="lineno"> 278</span>&#160; <span class="comment">// the number of bits in bitsize, the transformation is applied,</span></div>
<div class="line"><a name="l00279"></a><span class="lineno"> 279</span>&#160; <span class="comment">// finally the result is converted back to 64bits... zero extended...</span></div>
<div class="line"><a name="l00280"></a><span class="lineno"><a class="line" href="namespacevm_1_1transform.html#a4f111b0cc38dd9e03f6f5eed3fa824f7"> 280</a></span>&#160; <span class="keyword">inline</span> <span class="keyword">auto</span> <a class="code" href="namespacevm_1_1transform.html#a4f111b0cc38dd9e03f6f5eed3fa824f7">apply</a>( std::uint8_t bitsize, ZydisMnemonic op, std::uint64_t a, std::uint64_t b ) -&gt; std::uint64_t</div>
<div class="line"><a name="l00281"></a><span class="lineno"> 281</span>&#160; {</div>
<div class="line"><a name="l00282"></a><span class="lineno"> 282</span>&#160; <span class="keywordflow">switch</span> ( bitsize )</div>
<div class="line"><a name="l00283"></a><span class="lineno"> 283</span>&#160; {</div>
<div class="line"><a name="l00284"></a><span class="lineno"> 284</span>&#160; <span class="keywordflow">case</span> 8:</div>
<div class="line"><a name="l00285"></a><span class="lineno"> 285</span>&#160; <span class="keywordflow">return</span> transforms&lt; std::uint8_t &gt;[ op ]( a, b );</div>
<div class="line"><a name="l00286"></a><span class="lineno"> 286</span>&#160; <span class="keywordflow">case</span> 16:</div>
<div class="line"><a name="l00287"></a><span class="lineno"> 287</span>&#160; <span class="keywordflow">return</span> transforms&lt; std::uint16_t &gt;[ op ]( a, b );</div>
<div class="line"><a name="l00288"></a><span class="lineno"> 288</span>&#160; <span class="keywordflow">case</span> 32:</div>
<div class="line"><a name="l00289"></a><span class="lineno"> 289</span>&#160; <span class="keywordflow">return</span> transforms&lt; std::uint32_t &gt;[ op ]( a, b );</div>
<div class="line"><a name="l00290"></a><span class="lineno"> 290</span>&#160; <span class="keywordflow">case</span> 64:</div>
<div class="line"><a name="l00291"></a><span class="lineno"> 291</span>&#160; <span class="keywordflow">return</span> transforms&lt; std::uint64_t &gt;[ op ]( a, b );</div>
<div class="line"><a name="l00292"></a><span class="lineno"> 292</span>&#160; <span class="keywordflow">default</span>:</div>
<div class="line"><a name="l00293"></a><span class="lineno"> 293</span>&#160; <span class="keywordflow">throw</span> std::invalid_argument( <span class="stringliteral">&quot;invalid bit size...&quot;</span> );</div>
<div class="line"><a name="l00294"></a><span class="lineno"> 294</span>&#160; }</div>
<div class="line"><a name="l00295"></a><span class="lineno"> 295</span>&#160; }</div>
<div class="line"><a name="l00296"></a><span class="lineno"> 296</span>&#160; </div>
<div class="line"><a name="l00302"></a><span class="lineno"><a class="line" href="namespacevm_1_1transform.html#a9c79900f35ec03b9f38b239e4678788c"> 302</a></span>&#160; <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="namespacevm_1_1transform.html#a9c79900f35ec03b9f38b239e4678788c">has_imm</a>( <span class="keyword">const</span> <a class="code" href="vmutils_8hpp.html#ad180fbf8cef52662febedec0f54b6188">zydis_decoded_instr_t</a> *instr )</div>
<div class="line"><a name="l00303"></a><span class="lineno"> 303</span>&#160; {</div>
<div class="line"><a name="l00304"></a><span class="lineno"> 304</span>&#160; <span class="keywordflow">return</span> instr-&gt;operand_count &gt; 1 &amp;&amp; ( instr-&gt;operands[ 1 ].type == ZYDIS_OPERAND_TYPE_IMMEDIATE );</div>
<div class="line"><a name="l00305"></a><span class="lineno"> 305</span>&#160; }</div>
<div class="line"><a name="l00306"></a><span class="lineno"> 306</span>&#160;} <span class="comment">// namespace vm::transform</span></div>
<div class="ttc" id="anamespacevm_1_1transform_html"><div class="ttname"><a href="namespacevm_1_1transform.html">vm::transform</a></div><div class="ttdef"><b>Definition:</b> transform.hpp:9</div></div>
<div class="ttc" id="anamespacevm_1_1transform_html_a127fda1c7440c539496a2265a089ed25"><div class="ttname"><a href="namespacevm_1_1transform.html#a127fda1c7440c539496a2265a089ed25">vm::transform::_inc</a></div><div class="ttdeci">const auto _inc</div><div class="ttdef"><b>Definition:</b> transform.hpp:202</div></div>
<div class="ttc" id="anamespacevm_1_1transform_html_a15aa399b06335fdc06b738f5053eec27"><div class="ttname"><a href="namespacevm_1_1transform.html#a15aa399b06335fdc06b738f5053eec27">vm::transform::_dec</a></div><div class="ttdeci">const auto _dec</div><div class="ttdef"><b>Definition:</b> transform.hpp:204</div></div>
<div class="ttc" id="anamespacevm_1_1transform_html_a22a3bc4437a3fe171d16c08e26bd8098"><div class="ttname"><a href="namespacevm_1_1transform.html#a22a3bc4437a3fe171d16c08e26bd8098">vm::transform::__ROR1__</a></div><div class="ttdeci">u8 __ROR1__(u8 value, int count)</div><div class="ttdoc">rotate right a one byte value...</div><div class="ttdef"><b>Definition:</b> transform.hpp:90</div></div>
<div class="ttc" id="anamespacevm_1_1transform_html_a281896b8949d10bf13fe43c6467766ef"><div class="ttname"><a href="namespacevm_1_1transform.html#a281896b8949d10bf13fe43c6467766ef">vm::transform::_add</a></div><div class="ttdeci">const auto _add</div><div class="ttdef"><b>Definition:</b> transform.hpp:164</div></div>
<div class="ttc" id="anamespacevm_1_1transform_html_a2f914dc341284423d3cf0bc83fbbc6d4"><div class="ttname"><a href="namespacevm_1_1transform.html#a2f914dc341284423d3cf0bc83fbbc6d4">vm::transform::__ROL1__</a></div><div class="ttdeci">u8 __ROL1__(u8 value, int count)</div><div class="ttdoc">rotate left a one byte value...</div><div class="ttdef"><b>Definition:</b> transform.hpp:46</div></div>
<div class="ttc" id="anamespacevm_1_1transform_html_a362be5277a6670ab1e2715673f759ae7"><div class="ttname"><a href="namespacevm_1_1transform.html#a362be5277a6670ab1e2715673f759ae7">vm::transform::inverse_transforms</a></div><div class="ttdeci">void inverse_transforms(transform::map_t &amp;transforms, transform::map_t &amp;inverse)</div><div class="ttdoc">inverse operand decryption transformations...</div><div class="ttdef"><b>Definition:</b> transform.hpp:235</div></div>
<div class="ttc" id="anamespacevm_1_1transform_html_a4ee7a00ae0c62ad5db5455d16ac64491"><div class="ttname"><a href="namespacevm_1_1transform.html#a4ee7a00ae0c62ad5db5455d16ac64491">vm::transform::_xor</a></div><div class="ttdeci">const auto _xor</div><div class="ttdef"><b>Definition:</b> transform.hpp:166</div></div>
<div class="ttc" id="anamespacevm_1_1transform_html_a4f111b0cc38dd9e03f6f5eed3fa824f7"><div class="ttname"><a href="namespacevm_1_1transform.html#a4f111b0cc38dd9e03f6f5eed3fa824f7">vm::transform::apply</a></div><div class="ttdeci">auto apply(std::uint8_t bitsize, ZydisMnemonic op, std::uint64_t a, std::uint64_t b) -&gt; std::uint64_t</div><div class="ttdef"><b>Definition:</b> transform.hpp:280</div></div>
<div class="ttc" id="anamespacevm_1_1transform_html_a5845d259b97aa94ad627cb323f79bc43"><div class="ttname"><a href="namespacevm_1_1transform.html#a5845d259b97aa94ad627cb323f79bc43">vm::transform::__ROL4__</a></div><div class="ttdeci">u32 __ROL4__(u32 value, int count)</div><div class="ttdoc">rotate left a four byte value...</div><div class="ttdef"><b>Definition:</b> transform.hpp:68</div></div>
<div class="ttc" id="anamespacevm_1_1transform_html_a67d5906292cf0f9aa61364e0846fa1e6"><div class="ttname"><a href="namespacevm_1_1transform.html#a67d5906292cf0f9aa61364e0846fa1e6">vm::transform::transform_t</a></div><div class="ttdeci">std::function&lt; T(T, T) &gt; transform_t</div><div class="ttdoc">transform function, such as ADD, SUB, BSWAP... etc...</div><div class="ttdef"><b>Definition:</b> transform.hpp:132</div></div>
<div class="ttc" id="anamespacevm_1_1transform_html_a688d8184e8ff721cbe284891a79649be"><div class="ttname"><a href="namespacevm_1_1transform.html#a688d8184e8ff721cbe284891a79649be">vm::transform::_bswap</a></div><div class="ttdeci">const auto _bswap</div><div class="ttdef"><b>Definition:</b> transform.hpp:153</div></div>
<div class="ttc" id="anamespacevm_1_1transform_html_a694675c95aced2c9e406c26d0313ba9a"><div class="ttname"><a href="namespacevm_1_1transform.html#a694675c95aced2c9e406c26d0313ba9a">vm::transform::inverse</a></div><div class="ttdeci">std::map&lt; zydis_mnemonic_t, zydis_mnemonic_t &gt; inverse</div><div class="ttdef"><b>Definition:</b> transform.hpp:213</div></div>
<div class="ttc" id="anamespacevm_1_1transform_html_a734672243d8d96890e13da03edb148ba"><div class="ttname"><a href="namespacevm_1_1transform.html#a734672243d8d96890e13da03edb148ba">vm::transform::_neg</a></div><div class="ttdeci">const auto _neg</div><div class="ttdef"><b>Definition:</b> transform.hpp:170</div></div>
<div class="ttc" id="anamespacevm_1_1transform_html_a84ceeae51a16def42530b6ce2bd52d23"><div class="ttname"><a href="namespacevm_1_1transform.html#a84ceeae51a16def42530b6ce2bd52d23">vm::transform::__ROR4__</a></div><div class="ttdeci">u32 __ROR4__(u32 value, int count)</div><div class="ttdoc">rotate right a four byte value...</div><div class="ttdef"><b>Definition:</b> transform.hpp:112</div></div>
<div class="ttc" id="anamespacevm_1_1transform_html_a8a109ae3f6a76f60fafedabde509594f"><div class="ttname"><a href="namespacevm_1_1transform.html#a8a109ae3f6a76f60fafedabde509594f">vm::transform::__ROR8__</a></div><div class="ttdeci">u64 __ROR8__(u64 value, int count)</div><div class="ttdoc">rotate right an eight byte value...</div><div class="ttdef"><b>Definition:</b> transform.hpp:123</div></div>
<div class="ttc" id="anamespacevm_1_1transform_html_a91ad3d31de52b5178cbf433259b887d9"><div class="ttname"><a href="namespacevm_1_1transform.html#a91ad3d31de52b5178cbf433259b887d9">vm::transform::_sub</a></div><div class="ttdeci">const auto _sub</div><div class="ttdef"><b>Definition:</b> transform.hpp:168</div></div>
<div class="ttc" id="anamespacevm_1_1transform_html_a95343da0cff7223109113b65ff4211b6"><div class="ttname"><a href="namespacevm_1_1transform.html#a95343da0cff7223109113b65ff4211b6">vm::transform::__ROL__</a></div><div class="ttdeci">T __ROL__(T value, int count)</div><div class="ttdoc">rotate left template function take from IDA SDK...</div><div class="ttdef"><b>Definition:</b> transform.hpp:17</div></div>
<div class="ttc" id="anamespacevm_1_1transform_html_a95949473ea57a6a4b310b3701ddbc646"><div class="ttname"><a href="namespacevm_1_1transform.html#a95949473ea57a6a4b310b3701ddbc646">vm::transform::_rol</a></div><div class="ttdeci">const auto _rol</div><div class="ttdef"><b>Definition:</b> transform.hpp:189</div></div>
<div class="ttc" id="anamespacevm_1_1transform_html_a9c79900f35ec03b9f38b239e4678788c"><div class="ttname"><a href="namespacevm_1_1transform.html#a9c79900f35ec03b9f38b239e4678788c">vm::transform::has_imm</a></div><div class="ttdeci">bool has_imm(const zydis_decoded_instr_t *instr)</div><div class="ttdoc">determines if a given decoded instruction has a second operand that is an immediate value....</div><div class="ttdef"><b>Definition:</b> transform.hpp:302</div></div>
<div class="ttc" id="anamespacevm_1_1transform_html_aa14dcd108c7800a9763255873e474988"><div class="ttname"><a href="namespacevm_1_1transform.html#aa14dcd108c7800a9763255873e474988">vm::transform::valid</a></div><div class="ttdeci">bool valid(zydis_mnemonic_t op)</div><div class="ttdoc">determines if the given mnemonic is a valid transformation...</div><div class="ttdef"><b>Definition:</b> transform.hpp:225</div></div>
<div class="ttc" id="anamespacevm_1_1transform_html_aa62ffeae2f546b741c00b0c53776b384"><div class="ttname"><a href="namespacevm_1_1transform.html#aa62ffeae2f546b741c00b0c53776b384">vm::transform::type</a></div><div class="ttdeci">type</div><div class="ttdoc">type of transformation...</div><div class="ttdef"><b>Definition:</b> transform.hpp:138</div></div>
<div class="ttc" id="anamespacevm_1_1transform_html_aa62ffeae2f546b741c00b0c53776b384a0a454dce1e3512aace652c12ba85ae83"><div class="ttname"><a href="namespacevm_1_1transform.html#aa62ffeae2f546b741c00b0c53776b384a0a454dce1e3512aace652c12ba85ae83">vm::transform::type::generic2</a></div><div class="ttdeci">@ generic2</div></div>
<div class="ttc" id="anamespacevm_1_1transform_html_aa62ffeae2f546b741c00b0c53776b384a1033ce2eeb9b85e88eacb326208e9e4b"><div class="ttname"><a href="namespacevm_1_1transform.html#aa62ffeae2f546b741c00b0c53776b384a1033ce2eeb9b85e88eacb326208e9e4b">vm::transform::type::update_key</a></div><div class="ttdeci">@ update_key</div></div>
<div class="ttc" id="anamespacevm_1_1transform_html_aa62ffeae2f546b741c00b0c53776b384a167e51d9fbde7c7356bb71cd04f61beb"><div class="ttname"><a href="namespacevm_1_1transform.html#aa62ffeae2f546b741c00b0c53776b384a167e51d9fbde7c7356bb71cd04f61beb">vm::transform::type::generic3</a></div><div class="ttdeci">@ generic3</div></div>
<div class="ttc" id="anamespacevm_1_1transform_html_aa62ffeae2f546b741c00b0c53776b384a2b4d8b33b65a6ec012bfee034f0eb535"><div class="ttname"><a href="namespacevm_1_1transform.html#aa62ffeae2f546b741c00b0c53776b384a2b4d8b33b65a6ec012bfee034f0eb535">vm::transform::type::rolling_key</a></div><div class="ttdeci">@ rolling_key</div></div>
<div class="ttc" id="anamespacevm_1_1transform_html_aa62ffeae2f546b741c00b0c53776b384a5b034533010375fbc25ce97ffcdd36bc"><div class="ttname"><a href="namespacevm_1_1transform.html#aa62ffeae2f546b741c00b0c53776b384a5b034533010375fbc25ce97ffcdd36bc">vm::transform::type::generic1</a></div><div class="ttdeci">@ generic1</div></div>
<div class="ttc" id="anamespacevm_1_1transform_html_aa62ffeae2f546b741c00b0c53776b384ab30d1c29c4a3eff9ff46c9c9ff3ac330"><div class="ttname"><a href="namespacevm_1_1transform.html#aa62ffeae2f546b741c00b0c53776b384ab30d1c29c4a3eff9ff46c9c9ff3ac330">vm::transform::type::generic0</a></div><div class="ttdeci">@ generic0</div></div>
<div class="ttc" id="anamespacevm_1_1transform_html_ab2a83f6cb174fe5a090d38f4b426865a"><div class="ttname"><a href="namespacevm_1_1transform.html#ab2a83f6cb174fe5a090d38f4b426865a">vm::transform::_ror</a></div><div class="ttdeci">const auto _ror</div><div class="ttdef"><b>Definition:</b> transform.hpp:175</div></div>
<div class="ttc" id="anamespacevm_1_1transform_html_ac5fcbe5497bc1e136caf781b61fbd8f1"><div class="ttname"><a href="namespacevm_1_1transform.html#ac5fcbe5497bc1e136caf781b61fbd8f1">vm::transform::transforms</a></div><div class="ttdeci">std::map&lt; zydis_mnemonic_t, transform_t&lt; T &gt; &gt; transforms</div><div class="ttdef"><b>Definition:</b> transform.hpp:207</div></div>
<div class="ttc" id="anamespacevm_1_1transform_html_adeb404f2e3208d35eae516af9d979814"><div class="ttname"><a href="namespacevm_1_1transform.html#adeb404f2e3208d35eae516af9d979814">vm::transform::__ROL8__</a></div><div class="ttdeci">u64 __ROL8__(u64 value, int count)</div><div class="ttdoc">rotate left an eight byte value...</div><div class="ttdef"><b>Definition:</b> transform.hpp:79</div></div>
<div class="ttc" id="anamespacevm_1_1transform_html_ae461230c2fd31540a32f7b7d439c00cc"><div class="ttname"><a href="namespacevm_1_1transform.html#ae461230c2fd31540a32f7b7d439c00cc">vm::transform::__ROR2__</a></div><div class="ttdeci">u16 __ROR2__(u16 value, int count)</div><div class="ttdoc">rotate right a two byte value...</div><div class="ttdef"><b>Definition:</b> transform.hpp:101</div></div>
<div class="ttc" id="anamespacevm_1_1transform_html_aef95e6402789d702d4a0dceb09c58fdf"><div class="ttname"><a href="namespacevm_1_1transform.html#aef95e6402789d702d4a0dceb09c58fdf">vm::transform::_not</a></div><div class="ttdeci">const auto _not</div><div class="ttdef"><b>Definition:</b> transform.hpp:172</div></div>
<div class="ttc" id="anamespacevm_1_1transform_html_af3bd71c380a50beece9341287b7cc025"><div class="ttname"><a href="namespacevm_1_1transform.html#af3bd71c380a50beece9341287b7cc025">vm::transform::map_t</a></div><div class="ttdeci">std::map&lt; transform::type, zydis_decoded_instr_t &gt; map_t</div><div class="ttdoc">map of transform type to zydis decoded instruction of the transform...</div><div class="ttdef"><b>Definition:</b> transform.hpp:150</div></div>
<div class="ttc" id="anamespacevm_1_1transform_html_af597f7ca1a317d800345ba0ce3139145"><div class="ttname"><a href="namespacevm_1_1transform.html#af597f7ca1a317d800345ba0ce3139145">vm::transform::__ROL2__</a></div><div class="ttdeci">u16 __ROL2__(u16 value, int count)</div><div class="ttdoc">rotate left a two byte value...</div><div class="ttdef"><b>Definition:</b> transform.hpp:57</div></div>
<div class="ttc" id="avmutils_8hpp_html"><div class="ttname"><a href="vmutils_8hpp.html">vmutils.hpp</a></div></div>
<div class="ttc" id="avmutils_8hpp_html_a4870a1025a59df53c952b95ac2c85bf6"><div class="ttname"><a href="vmutils_8hpp.html#a4870a1025a59df53c952b95ac2c85bf6">u64</a></div><div class="ttdeci">unsigned long long u64</div><div class="ttdef"><b>Definition:</b> vmutils.hpp:15</div></div>
<div class="ttc" id="avmutils_8hpp_html_a5b58b50033aff6031759d9708b5156f2"><div class="ttname"><a href="vmutils_8hpp.html#a5b58b50033aff6031759d9708b5156f2">u32</a></div><div class="ttdeci">unsigned int u32</div><div class="ttdef"><b>Definition:</b> vmutils.hpp:14</div></div>
<div class="ttc" id="avmutils_8hpp_html_a78c47e7d1e6386136297f10fa86b5f99"><div class="ttname"><a href="vmutils_8hpp.html#a78c47e7d1e6386136297f10fa86b5f99">u16</a></div><div class="ttdeci">unsigned short u16</div><div class="ttdef"><b>Definition:</b> vmutils.hpp:13</div></div>
<div class="ttc" id="avmutils_8hpp_html_a910e81858860c70b9744949887567148"><div class="ttname"><a href="vmutils_8hpp.html#a910e81858860c70b9744949887567148">zydis_mnemonic_t</a></div><div class="ttdeci">ZydisMnemonic zydis_mnemonic_t</div><div class="ttdef"><b>Definition:</b> vmutils.hpp:20</div></div>
<div class="ttc" id="avmutils_8hpp_html_ad180fbf8cef52662febedec0f54b6188"><div class="ttname"><a href="vmutils_8hpp.html#ad180fbf8cef52662febedec0f54b6188">zydis_decoded_instr_t</a></div><div class="ttdeci">ZydisDecodedInstruction zydis_decoded_instr_t</div><div class="ttdef"><b>Definition:</b> vmutils.hpp:18</div></div>
<div class="ttc" id="avmutils_8hpp_html_ad24825e11b71d87e40f5c0e88dd980a0"><div class="ttname"><a href="vmutils_8hpp.html#ad24825e11b71d87e40f5c0e88dd980a0">u8</a></div><div class="ttdeci">unsigned char u8</div><div class="ttdef"><b>Definition:</b> vmutils.hpp:12</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>