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/namespacevm_1_1util_1_1reg....

165 lines
8.0 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: vm::util::reg Namespace Reference</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="namespacevm.html">vm</a></li><li class="navelem"><a class="el" href="namespacevm_1_1util.html">util</a></li><li class="navelem"><a class="el" href="namespacevm_1_1util_1_1reg.html">reg</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">vm::util::reg Namespace Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>utils pertaining to native registers...
<a href="namespacevm_1_1util_1_1reg.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a00b8eb62aa844682cceca117eca5b945"><td class="memItemLeft" align="right" valign="top"><a class="el" href="vmutils_8hpp.html#ab8cac5db83e0d71d373779cccbf2d782">zydis_register_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacevm_1_1util_1_1reg.html#a00b8eb62aa844682cceca117eca5b945">to64</a> (<a class="el" href="vmutils_8hpp.html#ab8cac5db83e0d71d373779cccbf2d782">zydis_register_t</a> reg)</td></tr>
<tr class="memdesc:a00b8eb62aa844682cceca117eca5b945"><td class="mdescLeft">&#160;</td><td class="mdescRight">converts say... AL to RAX... <a href="namespacevm_1_1util_1_1reg.html#a00b8eb62aa844682cceca117eca5b945">More...</a><br /></td></tr>
<tr class="separator:a00b8eb62aa844682cceca117eca5b945"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa6e516ed1170cd627f330ca68c1bfd4b"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacevm_1_1util_1_1reg.html#aa6e516ed1170cd627f330ca68c1bfd4b">compare</a> (<a class="el" href="vmutils_8hpp.html#ab8cac5db83e0d71d373779cccbf2d782">zydis_register_t</a> a, <a class="el" href="vmutils_8hpp.html#ab8cac5db83e0d71d373779cccbf2d782">zydis_register_t</a> b)</td></tr>
<tr class="memdesc:aa6e516ed1170cd627f330ca68c1bfd4b"><td class="mdescLeft">&#160;</td><td class="mdescRight">compares to registers with each other... calls to64 and compares... <a href="namespacevm_1_1util_1_1reg.html#aa6e516ed1170cd627f330ca68c1bfd4b">More...</a><br /></td></tr>
<tr class="separator:aa6e516ed1170cd627f330ca68c1bfd4b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>utils pertaining to native registers... </p>
</div><h2 class="groupheader">Function Documentation</h2>
<a id="aa6e516ed1170cd627f330ca68c1bfd4b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa6e516ed1170cd627f330ca68c1bfd4b">&#9670;&nbsp;</a></span>compare()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool vm::util::reg::compare </td>
<td>(</td>
<td class="paramtype"><a class="el" href="vmutils_8hpp.html#ab8cac5db83e0d71d373779cccbf2d782">zydis_register_t</a>&#160;</td>
<td class="paramname"><em>a</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="vmutils_8hpp.html#ab8cac5db83e0d71d373779cccbf2d782">zydis_register_t</a>&#160;</td>
<td class="paramname"><em>b</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>compares to registers with each other... calls to64 and compares... </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">a</td><td>register a...</td></tr>
<tr><td class="paramname">b</td><td>register b...</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>returns true if register to64(a) == to64(b)...</dd></dl>
</div>
</div>
<a id="a00b8eb62aa844682cceca117eca5b945"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a00b8eb62aa844682cceca117eca5b945">&#9670;&nbsp;</a></span>to64()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="vmutils_8hpp.html#ab8cac5db83e0d71d373779cccbf2d782">zydis_register_t</a> vm::util::reg::to64 </td>
<td>(</td>
<td class="paramtype"><a class="el" href="vmutils_8hpp.html#ab8cac5db83e0d71d373779cccbf2d782">zydis_register_t</a>&#160;</td>
<td class="paramname"><em>reg</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>converts say... AL to RAX... </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">reg</td><td>a zydis decoded register value...</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>returns the largest width register of the given register... AL gives RAX...</dd></dl>
</div>
</div>
</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>