mirror of
https://github.com/hasherezade/bearparser
synced 2026-06-08 14:32:38 +00:00
156 lines
14 KiB
HTML
156 lines
14 KiB
HTML
<!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.17.0"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>BearParser: parser/pe/PENodeWrapper.cpp Source File</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="codefolding.js"></script>
|
|
<script type="text/javascript" src="clipboard.js"></script>
|
|
<script type="text/javascript" src="cookie.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>
|
|
<script type="module">
|
|
import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@11/dist/mermaid.esm.min.mjs';
|
|
const theme = window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'default';
|
|
mermaid.initialize({ startOnLoad: true, theme: theme });
|
|
</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 id="projectrow">
|
|
<td id="projectalign">
|
|
<div id="projectname">BearParser
|
|
</div>
|
|
<div id="projectbrief">Portable Executable parsing library (from PE-bear)</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.17.0 -->
|
|
<script type="text/javascript">
|
|
let searchBox = new SearchBox("searchBox", "search/",'.html');
|
|
</script>
|
|
<script type="text/javascript">
|
|
document.addEventListener('DOMContentLoaded', codefold.init);
|
|
</script>
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
document.addEventListener('DOMContentLoaded', () => {
|
|
initMenu('',false);
|
|
init_search();
|
|
});
|
|
</script>
|
|
<div id="main-nav-mobile">
|
|
<div class="sm sm-dox"><input id="main-menu-state" type="checkbox"/>
|
|
<label class="main-menu-btn" for="main-menu-state">
|
|
<span class="main-menu-btn-icon"></span> Toggle main menu visibility</label>
|
|
<span id="searchBoxPos1" style="position:absolute;right:8px;top:8px;height:36px;"></span>
|
|
</div>
|
|
</div><!-- main-nav-mobile -->
|
|
<div id="main-nav">
|
|
<ul class="sm sm-dox" id="main-menu">
|
|
<li id="searchBoxPos2" style="float:right">
|
|
<div id="MSearchBox" class="MSearchBoxInactive">
|
|
<span class="left">
|
|
<span id="MSearchSelect" class="search-icon" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()"><span class="search-icon-dropdown"></span></span>
|
|
<input type="text" id="MSearchField" value="" placeholder="Search" accesskey="S"
|
|
onfocus="searchBox.OnSearchFieldFocus(true)"
|
|
onblur="searchBox.OnSearchFieldFocus(false)"
|
|
onkeyup="searchBox.OnSearchFieldChange(event)"/>
|
|
</span><span class="right">
|
|
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><div id="MSearchCloseImg" class="close-icon"></div></a>
|
|
</span>
|
|
</div>
|
|
</li>
|
|
</ul>
|
|
</div><!-- main-nav -->
|
|
<!-- 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">
|
|
<div id="MSearchResults">
|
|
<div class="SRPage">
|
|
<div id="SRIndex">
|
|
<div id="SRResults"></div>
|
|
<div class="SRStatus" id="Loading">Loading...</div>
|
|
<div class="SRStatus" id="Searching">Searching...</div>
|
|
<div class="SRStatus" id="NoMatches">No Matches</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a href="dir_572890c148f68441e050f6560d78312b.html">parser</a></li><li class="navelem"><a href="dir_62b2e2d03bb59a70b5ceb20ba7fd6571.html">pe</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div id="doc-content">
|
|
<div class="header">
|
|
<div class="headertitle"><div class="title">PENodeWrapper.cpp</div></div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a href="_p_e_node_wrapper_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="preprocessor">#include "<a class="code" href="_p_e_node_wrapper_8h.html">pe/PENodeWrapper.h</a>"</span></div>
|
|
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="preprocessor">#include "<a class="code" href="_p_e_file_8h.html">pe/PEFile.h</a>"</span></div>
|
|
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span> </div>
|
|
<div class="foldopen" id="foldopen00004" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"><a class="line" href="class_p_e_element_wrapper.html#a27653bb6e16743105c6a3211b11274e0"> 4</a></span><a class="code hl_function" href="class_p_e_element_wrapper.html#a27653bb6e16743105c6a3211b11274e0">PEElementWrapper::PEElementWrapper</a>(<a class="code hl_friend" href="class_p_e_element_wrapper.html#a28b20b86c5782d2fe7e08249d0c503fd">PEFile</a>* pe)</div>
|
|
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span> : <a class="code hl_function" href="class_exe_element_wrapper.html#a7764c345edef03df4f974f7f09a70a3b">ExeElementWrapper</a>(pe), <a class="code hl_variable" href="class_p_e_element_wrapper.html#a6b7a41c35e9fa8d9f10b286fd3c4cb0a">m_PE</a>(pe)</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>}</div>
|
|
</div>
|
|
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span> </div>
|
|
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="comment">//--------------------------------------------------------------------</span></div>
|
|
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span> </div>
|
|
<div class="foldopen" id="foldopen00011" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"><a class="line" href="class_p_e_node_wrapper.html#a313df66e81dfce411fa83d0ebc08c935"> 11</a></span><a class="code hl_function" href="class_p_e_node_wrapper.html#a313df66e81dfce411fa83d0ebc08c935">PENodeWrapper::PENodeWrapper</a>(<a class="code hl_friend" href="class_p_e_node_wrapper.html#a28b20b86c5782d2fe7e08249d0c503fd">PEFile</a> *exe, <a class="code hl_function" href="class_p_e_node_wrapper.html#a313df66e81dfce411fa83d0ebc08c935">PENodeWrapper</a>* parent)</div>
|
|
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span> : <a class="code hl_function" href="class_exe_node_wrapper.html#a62bc3ef1f006f8b4ac823c3d573819ce">ExeNodeWrapper</a>(exe, parent, 0), <a class="code hl_variable" href="class_p_e_node_wrapper.html#ab6fa549a7490efc0a84ab0c39fe0ef95">m_PE</a>(exe), <a class="code hl_variable" href="class_p_e_node_wrapper.html#aa7b05b302e7fcccefec832b72d135a78">peParentNode</a>(parent)</div>
|
|
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span>{</div>
|
|
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span> <a class="code hl_function" href="class_exe_node_wrapper.html#a5cd7f16e4529be2a96f87237e31b2611">wrap</a>();</div>
|
|
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span>}</div>
|
|
</div>
|
|
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span> </div>
|
|
<div class="foldopen" id="foldopen00017" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"><a class="line" href="class_p_e_node_wrapper.html#a236303f92c7a56aa3cfaeaae958f9b6b"> 17</a></span><a class="code hl_function" href="class_p_e_node_wrapper.html#a313df66e81dfce411fa83d0ebc08c935">PENodeWrapper::PENodeWrapper</a>(<a class="code hl_friend" href="class_p_e_node_wrapper.html#a28b20b86c5782d2fe7e08249d0c503fd">PEFile</a> *exe, <a class="code hl_function" href="class_p_e_node_wrapper.html#a313df66e81dfce411fa83d0ebc08c935">PENodeWrapper</a>* parent, <span class="keywordtype">size_t</span> entryNumber)</div>
|
|
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span> : <a class="code hl_function" href="class_exe_node_wrapper.html#a62bc3ef1f006f8b4ac823c3d573819ce">ExeNodeWrapper</a>(exe, parent, entryNumber), <a class="code hl_variable" href="class_p_e_node_wrapper.html#ab6fa549a7490efc0a84ab0c39fe0ef95">m_PE</a>(exe), <a class="code hl_variable" href="class_p_e_node_wrapper.html#aa7b05b302e7fcccefec832b72d135a78">peParentNode</a>(parent)</div>
|
|
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span>{</div>
|
|
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span> <a class="code hl_function" href="class_exe_node_wrapper.html#a5cd7f16e4529be2a96f87237e31b2611">wrap</a>();</div>
|
|
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span>}</div>
|
|
</div>
|
|
<div class="ttc" id="a_p_e_file_8h_html"><div class="ttname"><a href="_p_e_file_8h.html">PEFile.h</a></div></div>
|
|
<div class="ttc" id="a_p_e_node_wrapper_8h_html"><div class="ttname"><a href="_p_e_node_wrapper_8h.html">PENodeWrapper.h</a></div></div>
|
|
<div class="ttc" id="aclass_exe_element_wrapper_html_a7764c345edef03df4f974f7f09a70a3b"><div class="ttname"><a href="class_exe_element_wrapper.html#a7764c345edef03df4f974f7f09a70a3b">ExeElementWrapper::ExeElementWrapper</a></div><div class="ttdeci">ExeElementWrapper(Executable *exe)</div><div class="ttdef"><b>Definition</b> <a href="_exe_element_wrapper_8cpp_source.html#l00003">ExeElementWrapper.cpp:3</a></div></div>
|
|
<div class="ttc" id="aclass_exe_node_wrapper_html_a5cd7f16e4529be2a96f87237e31b2611"><div class="ttname"><a href="class_exe_node_wrapper.html#a5cd7f16e4529be2a96f87237e31b2611">ExeNodeWrapper::wrap</a></div><div class="ttdeci">virtual bool wrap()</div><div class="ttdef"><b>Definition</b> <a href="_exe_node_wrapper_8h_source.html#l00016">ExeNodeWrapper.h:16</a></div></div>
|
|
<div class="ttc" id="aclass_exe_node_wrapper_html_a62bc3ef1f006f8b4ac823c3d573819ce"><div class="ttname"><a href="class_exe_node_wrapper.html#a62bc3ef1f006f8b4ac823c3d573819ce">ExeNodeWrapper::ExeNodeWrapper</a></div><div class="ttdeci">ExeNodeWrapper(Executable *pe, ExeNodeWrapper *parent=NULL)</div><div class="ttdef"><b>Definition</b> <a href="_exe_node_wrapper_8cpp_source.html#l00003">ExeNodeWrapper.cpp:3</a></div></div>
|
|
<div class="ttc" id="aclass_p_e_element_wrapper_html_a27653bb6e16743105c6a3211b11274e0"><div class="ttname"><a href="class_p_e_element_wrapper.html#a27653bb6e16743105c6a3211b11274e0">PEElementWrapper::PEElementWrapper</a></div><div class="ttdeci">PEElementWrapper(PEFile *pe)</div><div class="ttdef"><b>Definition</b> <a href="#l00004">PENodeWrapper.cpp:4</a></div></div>
|
|
<div class="ttc" id="aclass_p_e_element_wrapper_html_a28b20b86c5782d2fe7e08249d0c503fd"><div class="ttname"><a href="class_p_e_element_wrapper.html#a28b20b86c5782d2fe7e08249d0c503fd">PEElementWrapper::PEFile</a></div><div class="ttdeci">friend class PEFile</div><div class="ttdef"><b>Definition</b> <a href="_p_e_node_wrapper_8h_source.html#l00019">PENodeWrapper.h:19</a></div></div>
|
|
<div class="ttc" id="aclass_p_e_element_wrapper_html_a6b7a41c35e9fa8d9f10b286fd3c4cb0a"><div class="ttname"><a href="class_p_e_element_wrapper.html#a6b7a41c35e9fa8d9f10b286fd3c4cb0a">PEElementWrapper::m_PE</a></div><div class="ttdeci">PEFile * m_PE</div><div class="ttdef"><b>Definition</b> <a href="_p_e_node_wrapper_8h_source.html#l00017">PENodeWrapper.h:17</a></div></div>
|
|
<div class="ttc" id="aclass_p_e_node_wrapper_html_a28b20b86c5782d2fe7e08249d0c503fd"><div class="ttname"><a href="class_p_e_node_wrapper.html#a28b20b86c5782d2fe7e08249d0c503fd">PENodeWrapper::PEFile</a></div><div class="ttdeci">friend class PEFile</div><div class="ttdef"><b>Definition</b> <a href="_p_e_node_wrapper_8h_source.html#l00039">PENodeWrapper.h:39</a></div></div>
|
|
<div class="ttc" id="aclass_p_e_node_wrapper_html_a313df66e81dfce411fa83d0ebc08c935"><div class="ttname"><a href="class_p_e_node_wrapper.html#a313df66e81dfce411fa83d0ebc08c935">PENodeWrapper::PENodeWrapper</a></div><div class="ttdeci">PENodeWrapper(PEFile *pe, PENodeWrapper *parent=NULL)</div><div class="ttdef"><b>Definition</b> <a href="#l00011">PENodeWrapper.cpp:11</a></div></div>
|
|
<div class="ttc" id="aclass_p_e_node_wrapper_html_aa7b05b302e7fcccefec832b72d135a78"><div class="ttname"><a href="class_p_e_node_wrapper.html#aa7b05b302e7fcccefec832b72d135a78">PENodeWrapper::peParentNode</a></div><div class="ttdeci">PENodeWrapper * peParentNode</div><div class="ttdef"><b>Definition</b> <a href="_p_e_node_wrapper_8h_source.html#l00037">PENodeWrapper.h:37</a></div></div>
|
|
<div class="ttc" id="aclass_p_e_node_wrapper_html_ab6fa549a7490efc0a84ab0c39fe0ef95"><div class="ttname"><a href="class_p_e_node_wrapper.html#ab6fa549a7490efc0a84ab0c39fe0ef95">PENodeWrapper::m_PE</a></div><div class="ttdeci">PEFile * m_PE</div><div class="ttdef"><b>Definition</b> <a href="_p_e_node_wrapper_8h_source.html#l00036">PENodeWrapper.h:36</a></div></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.17.0
|
|
</small></address>
|
|
</div><!-- doc-content -->
|
|
</body>
|
|
</html>
|