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.
Theodosius/doxygen/html/namespacetheo_1_1recomp.html

170 lines
11 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>Theodosius: theo::recomp 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="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Theodosius
&#160;<span id="projectnumber">v3.0</span>
</div>
<div id="projectbrief">Jit linker, mapper, obfuscator, and mutator</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="namespacetheo.html">theo</a></li><li class="navelem"><a class="el" href="namespacetheo_1_1recomp.html">recomp</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#typedef-members">Typedefs</a> </div>
<div class="headertitle">
<div class="title">theo::recomp Namespace Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>this namespace encompasses all recomposition related code.
<a href="namespacetheo_1_1recomp.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtheo_1_1recomp_1_1recomp__t.html">recomp_t</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">the main class responsible for recomposition <a href="classtheo_1_1recomp_1_1recomp__t.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtheo_1_1recomp_1_1reloc__t.html">reloc_t</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">meta data about a relocation for a symbol <a href="classtheo_1_1recomp_1_1reloc__t.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtheo_1_1recomp_1_1symbol__table__t.html">symbol_table_t</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">this class is a high level wrapper for a hashmap that contains <a class="el" href="classtheo_1_1decomp_1_1symbol__t.html" title="symbol_t is an abstraction upon the coff symbol. this allows for easier manipulation of the symbol....">decomp::symbol_t</a> values. the symbol values are references by a hashcode. <a href="classtheo_1_1recomp_1_1symbol__table__t.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:a7364f8c94855a2a871a9d6e1057989f3"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetheo_1_1recomp.html#a7364f8c94855a2a871a9d6e1057989f3">resolver_t</a> = std::function&lt; std::uintptr_t(std::string)&gt;</td></tr>
<tr class="memdesc:a7364f8c94855a2a871a9d6e1057989f3"><td class="mdescLeft">&#160;</td><td class="mdescRight">a function which is called by <a class="el" href="classtheo_1_1recomp_1_1recomp__t.html" title="the main class responsible for recomposition">recomp_t</a> to resolve external symbols <a href="namespacetheo_1_1recomp.html#a7364f8c94855a2a871a9d6e1057989f3">More...</a><br /></td></tr>
<tr class="separator:a7364f8c94855a2a871a9d6e1057989f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a604e81450773453df676c3b573651adc"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetheo_1_1recomp.html#a604e81450773453df676c3b573651adc">copier_t</a> = std::function&lt; void(std::uintptr_t, void *, std::uint32_t)&gt;</td></tr>
<tr class="memdesc:a604e81450773453df676c3b573651adc"><td class="mdescLeft">&#160;</td><td class="mdescRight">a function which is called by <a class="el" href="classtheo_1_1recomp_1_1recomp__t.html" title="the main class responsible for recomposition">recomp_t</a> to copy symbols into memory. <a href="namespacetheo_1_1recomp.html#a604e81450773453df676c3b573651adc">More...</a><br /></td></tr>
<tr class="separator:a604e81450773453df676c3b573651adc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a96995cb0c5291dce945760c3d8f55241"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetheo_1_1recomp.html#a96995cb0c5291dce945760c3d8f55241">allocator_t</a> = std::function&lt; std::uintptr_t(std::uint32_t, coff::section_characteristics_t)&gt;</td></tr>
<tr class="memdesc:a96995cb0c5291dce945760c3d8f55241"><td class="mdescLeft">&#160;</td><td class="mdescRight">a function which is called to allocate space for a symbol. <a href="namespacetheo_1_1recomp.html#a96995cb0c5291dce945760c3d8f55241">More...</a><br /></td></tr>
<tr class="separator:a96995cb0c5291dce945760c3d8f55241"><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>this namespace encompasses all recomposition related code. </p>
</div><h2 class="groupheader">Typedef Documentation</h2>
<a id="a96995cb0c5291dce945760c3d8f55241"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a96995cb0c5291dce945760c3d8f55241">&#9670;&nbsp;</a></span>allocator_t</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="namespacetheo_1_1recomp.html#a96995cb0c5291dce945760c3d8f55241">theo::recomp::allocator_t</a> = typedef std::function&lt;std::uintptr_t(std::uint32_t, coff::section_characteristics_t)&gt;</td>
</tr>
</table>
</div><div class="memdoc">
<p>a function which is called to allocate space for a symbol. </p>
<p>the first param is the size of the symbol, the second param is the characteristics of the section which the symbol is allocated in.</p>
<p class="definition">Definition at line <a class="el" href="recomp_8hpp_source.html#l00057">57</a> of file <a class="el" href="recomp_8hpp_source.html">recomp.hpp</a>.</p>
</div>
</div>
<a id="a604e81450773453df676c3b573651adc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a604e81450773453df676c3b573651adc">&#9670;&nbsp;</a></span>copier_t</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="namespacetheo_1_1recomp.html#a604e81450773453df676c3b573651adc">theo::recomp::copier_t</a> = typedef std::function&lt;void(std::uintptr_t, void*, std::uint32_t)&gt;</td>
</tr>
</table>
</div><div class="memdoc">
<p>a function which is called by <a class="el" href="classtheo_1_1recomp_1_1recomp__t.html" title="the main class responsible for recomposition">recomp_t</a> to copy symbols into memory. </p>
<p class="definition">Definition at line <a class="el" href="recomp_8hpp_source.html#l00049">49</a> of file <a class="el" href="recomp_8hpp_source.html">recomp.hpp</a>.</p>
</div>
</div>
<a id="a7364f8c94855a2a871a9d6e1057989f3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7364f8c94855a2a871a9d6e1057989f3">&#9670;&nbsp;</a></span>resolver_t</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="namespacetheo_1_1recomp.html#a7364f8c94855a2a871a9d6e1057989f3">theo::recomp::resolver_t</a> = typedef std::function&lt;std::uintptr_t(std::string)&gt;</td>
</tr>
</table>
</div><div class="memdoc">
<p>a function which is called by <a class="el" href="classtheo_1_1recomp_1_1recomp__t.html" title="the main class responsible for recomposition">recomp_t</a> to resolve external symbols </p>
<p class="definition">Definition at line <a class="el" href="recomp_8hpp_source.html#l00044">44</a> of file <a class="el" href="recomp_8hpp_source.html">recomp.hpp</a>.</p>
</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>