Files
hasherezade-bearparser/_exception_dir_wrapper_8cpp_source.html
T
2022-06-23 14:08:42 +00:00

220 lines
37 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">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.4"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>BearParser: parser/pe/ExceptionDirWrapper.cpp 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 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.9.4 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(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_572890c148f68441e050f6560d78312b.html">parser</a></li><li class="navelem"><a class="el" href="dir_62b2e2d03bb59a70b5ceb20ba7fd6571.html">pe</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle"><div class="title">ExceptionDirWrapper.cpp</div></div>
</div><!--header-->
<div class="contents">
<a href="_exception_dir_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 &quot;<a class="code" href="_exception_dir_wrapper_8h.html">pe/ExceptionDirWrapper.h</a>&quot;</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="preprocessor">#include &quot;<a class="code" href="_p_e_file_8h.html">pe/PEFile.h</a>&quot;</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span> </div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="comment">/*</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="comment">typedef struct _IMAGE_IA64_RUNTIME_FUNCTION_ENTRY {</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="comment"> DWORD BeginAddress;</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="comment"> DWORD EndAddress;</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="comment"> DWORD UnwindInfoAddress;</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="comment">} IMAGE_IA64_RUNTIME_FUNCTION_ENTRY, *PIMAGE_IA64_RUNTIME_FUNCTION_ENTRY;</span></div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="comment">*/</span></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span> </div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"><a class="line" href="class_exception_dir_wrapper.html#a9780166edee43854b4bdbe996e076ff1"> 12</a></span><span class="keywordtype">bool</span> <a class="code hl_function" href="class_exception_dir_wrapper.html#a9780166edee43854b4bdbe996e076ff1">ExceptionDirWrapper::wrap</a>()</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#abd74c2637211cf471d022b528654c84c">clear</a>();</div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span> parsedSize = 0;</div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span> <a class="code hl_typedef" href="_abstract_byte_buffer_8h.html#a9067dc831274514d508e98df05bf015d">bufsize_t</a> maxSize = <a class="code hl_function" href="class_data_dir_entry_wrapper.html#a6d7a51d3dbebfa37841bf2f36c7b6eb6">getDirEntrySize</a>();</div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span> <span class="keywordflow">if</span> (maxSize == 0) <span class="keywordflow">return</span> <span class="keyword">false</span>; <span class="comment">// nothing to parse</span></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span> </div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span> <span class="keywordflow">if</span> (!<a class="code hl_function" href="class_exception_dir_wrapper.html#a7adac67ef4696bfd93299fcaf7a59403">exceptFunc64</a>()) <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span> </div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span> <span class="keyword">const</span> <span class="keywordtype">size_t</span> ENTRY_SIZE = <span class="keyword">sizeof</span>(IMAGE_IA64_RUNTIME_FUNCTION_ENTRY);</div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> <span class="keywordtype">size_t</span> entryId = 0;</div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span> <span class="keywordflow">while</span> (parsedSize &lt; maxSize) {</div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> <a class="code hl_class" href="class_exception_entry_wrapper.html">ExceptionEntryWrapper</a>* entry = <span class="keyword">new</span> <a class="code hl_friend" href="class_exception_dir_wrapper.html#a658cfc82f99748458274f6834239dc27">ExceptionEntryWrapper</a>(this-&gt;<a class="code hl_variable" href="class_exe_element_wrapper.html#ad5100967cd4bb4831c0e96de7659d53e">m_Exe</a>, <span class="keyword">this</span>, entryId++);</div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span> </div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span> <span class="keywordflow">if</span> (entry-&gt;<a class="code hl_function" href="class_exception_entry_wrapper.html#a1ecd385f9c3e17306844d5a32be36461">getPtr</a>() == NULL) {</div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span> <span class="keyword">delete</span> entry;</div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span> <span class="keywordflow">break</span>;</div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span> }</div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span> this-&gt;parsedSize += ENTRY_SIZE;</div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> this-&gt;<a class="code hl_variable" href="class_exe_node_wrapper.html#a7c22babccbf1bc935ad563d06c450995">entries</a>.push_back(entry);</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span> }</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span> <a class="code hl_function" href="namespace_logger.html#a36e3deee152da96a491b670a00d224c9">Logger::append</a>(<a class="code hl_enumvalue" href="namespace_logger.html#ac865c986e93dc9338b084620d59c6e97ac1c1688666cdf558448c82f643b89d7f">Logger::D_INFO</a>,</div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span> <span class="stringliteral">&quot;Entries num = %lu, parsedSize = %lX&quot;</span>,</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span> <span class="keyword">static_cast&lt;</span><span class="keywordtype">unsigned</span> <span class="keywordtype">long</span><span class="keyword">&gt;</span>(<a class="code hl_variable" href="class_exe_node_wrapper.html#a7c22babccbf1bc935ad563d06c450995">entries</a>.size()),</div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> <span class="keyword">static_cast&lt;</span><span class="keywordtype">unsigned</span> <span class="keywordtype">long</span><span class="keyword">&gt;</span>(parsedSize)</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> );</div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span> <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span>}</div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span> </div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"><a class="line" href="class_exception_dir_wrapper.html#a7adac67ef4696bfd93299fcaf7a59403"> 41</a></span>IMAGE_IA64_RUNTIME_FUNCTION_ENTRY* <a class="code hl_function" href="class_exception_dir_wrapper.html#a7adac67ef4696bfd93299fcaf7a59403">ExceptionDirWrapper::exceptFunc64</a>()</div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span>{</div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> <a class="code hl_typedef" href="_abstract_byte_buffer_8h.html#aea96e09e4ebfca2845a36a4d9882f7f6">offset_t</a> rva = <a class="code hl_function" href="class_data_dir_entry_wrapper.html#aa3bd2e16d3fde61e1e58e5cd7377884f">getDirEntryAddress</a>();</div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> BYTE *ptr = <a class="code hl_variable" href="class_exe_element_wrapper.html#ad5100967cd4bb4831c0e96de7659d53e">m_Exe</a>-&gt;<a class="code hl_function" href="class_executable.html#a3f2511a46b6732f4afbcaa6a1bfb6c46">getContentAt</a>(rva, <a class="code hl_enumvalue" href="class_executable.html#a2202e0db9d88f3be2b26fc138ddd3b5bab09fbc5c56c2c2f13f0318d67c72b8be">Executable::RVA</a>, <span class="keyword">sizeof</span>(IMAGE_IA64_RUNTIME_FUNCTION_ENTRY));</div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> <span class="keywordflow">if</span> (ptr == NULL) <span class="keywordflow">return</span> NULL;</div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> </div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> IMAGE_IA64_RUNTIME_FUNCTION_ENTRY* exc = (IMAGE_IA64_RUNTIME_FUNCTION_ENTRY*) ptr;</div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> <span class="keywordflow">return</span> exc;</div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span>}</div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> </div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span><span class="comment">//----------------</span></div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> </div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"><a class="line" href="class_exception_entry_wrapper.html#a1ecd385f9c3e17306844d5a32be36461"> 53</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="class_exception_entry_wrapper.html#a1ecd385f9c3e17306844d5a32be36461">ExceptionEntryWrapper::getPtr</a>()</div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span>{</div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> <span class="keywordflow">if</span> (this-&gt;parentDir == NULL) <span class="keywordflow">return</span> NULL;</div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> IMAGE_IA64_RUNTIME_FUNCTION_ENTRY* first = this-&gt;parentDir-&gt;<a class="code hl_function" href="class_exception_dir_wrapper.html#a7adac67ef4696bfd93299fcaf7a59403">exceptFunc64</a>();</div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> <span class="keywordflow">if</span> (!first) <span class="keywordflow">return</span> NULL;</div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> </div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span> <span class="keyword">const</span> <span class="keywordtype">size_t</span> ENTRY_SIZE = <span class="keyword">sizeof</span>(IMAGE_IA64_RUNTIME_FUNCTION_ENTRY);</div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> </div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> uint64_t firstOffset = this-&gt;<a class="code hl_function" href="class_exe_element_wrapper.html#a98ca205ec6f2d2deacd32327409a3539">getOffset</a>(first);</div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> uint64_t myOffset = firstOffset + this-&gt;<a class="code hl_variable" href="class_exe_node_wrapper.html#aaf023e7c90b9e9c90ab69e6ae7ea2b65">entryNum</a> * ENTRY_SIZE;</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> </div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> BYTE *ptr = <a class="code hl_variable" href="class_exe_element_wrapper.html#ad5100967cd4bb4831c0e96de7659d53e">m_Exe</a>-&gt;<a class="code hl_function" href="class_executable.html#a3f2511a46b6732f4afbcaa6a1bfb6c46">getContentAt</a>(myOffset, <a class="code hl_enumvalue" href="class_executable.html#a2202e0db9d88f3be2b26fc138ddd3b5badb8a64acd3f74166ea450698d025db3b">Executable::RAW</a>, ENTRY_SIZE);</div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> <span class="keywordflow">return</span> ptr;</div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span>}</div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span> </div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"><a class="line" href="class_exception_entry_wrapper.html#af1c5b4de8a2edef746e369f509187b8a"> 68</a></span><a class="code hl_typedef" href="_abstract_byte_buffer_8h.html#a9067dc831274514d508e98df05bf015d">bufsize_t</a> <a class="code hl_function" href="class_exception_entry_wrapper.html#af1c5b4de8a2edef746e369f509187b8a">ExceptionEntryWrapper::getSize</a>()</div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span>{</div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span> <span class="keywordflow">if</span> (this-&gt;parentDir == NULL) <span class="keywordflow">return</span> 0;</div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span> <span class="keywordflow">if</span> (this-&gt;<a class="code hl_function" href="class_exception_entry_wrapper.html#a1ecd385f9c3e17306844d5a32be36461">getPtr</a>() == NULL) <span class="keywordflow">return</span> 0;</div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span> </div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span> <span class="keywordflow">return</span> <span class="keyword">sizeof</span>(IMAGE_IA64_RUNTIME_FUNCTION_ENTRY);</div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span>}</div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span> </div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"><a class="line" href="class_exception_entry_wrapper.html#a454e9c26a5751953294ce26d16734809"> 76</a></span><span class="keywordtype">void</span>* <a class="code hl_function" href="class_exception_entry_wrapper.html#a454e9c26a5751953294ce26d16734809">ExceptionEntryWrapper::getFieldPtr</a>(<span class="keywordtype">size_t</span> fieldId, <span class="keywordtype">size_t</span> subField)</div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span>{</div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span> IMAGE_IA64_RUNTIME_FUNCTION_ENTRY* exc = (IMAGE_IA64_RUNTIME_FUNCTION_ENTRY*) this-&gt;<a class="code hl_function" href="class_exception_entry_wrapper.html#a1ecd385f9c3e17306844d5a32be36461">getPtr</a>();</div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> <span class="keywordflow">if</span> (!exc) <span class="keywordflow">return</span> NULL;</div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> </div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span> <span class="keywordflow">switch</span> (fieldId) {</div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span> <span class="keywordflow">case</span> <a class="code hl_enumvalue" href="class_exception_entry_wrapper.html#a84568192904db189455113ad1f4963faa3a6b575509c2cabaf82ca0d17c0b0ced">BEGIN_ADDR</a> : <span class="keywordflow">return</span> &amp;exc-&gt;BeginAddress;</div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span> <span class="keywordflow">case</span> <a class="code hl_enumvalue" href="class_exception_entry_wrapper.html#a84568192904db189455113ad1f4963faacac5bc77db162f5c15f058e2c68ad166">END_ADDR</a> : <span class="keywordflow">return</span> &amp;exc-&gt;EndAddress;</div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span> <span class="keywordflow">case</span> <a class="code hl_enumvalue" href="class_exception_entry_wrapper.html#a84568192904db189455113ad1f4963faa79212ef4241418e80bb4770198792cf6">UNWIND_INFO_ADDR</a> : <span class="keywordflow">return</span> &amp;exc-&gt;UnwindInfoAddress;</div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span> }</div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span> <span class="keywordflow">return</span> <a class="code hl_function" href="class_exception_entry_wrapper.html#a1ecd385f9c3e17306844d5a32be36461">getPtr</a>();</div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span>}</div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span> </div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"><a class="line" href="class_exception_entry_wrapper.html#aeb778b5462b2c60120e6b91a36c45f04"> 89</a></span>QString <a class="code hl_function" href="class_exception_entry_wrapper.html#aeb778b5462b2c60120e6b91a36c45f04">ExceptionEntryWrapper::getFieldName</a>(<span class="keywordtype">size_t</span> fieldId)</div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"> 90</span>{</div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span> <span class="keywordflow">switch</span> (fieldId) {</div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span> <span class="keywordflow">case</span> <a class="code hl_enumvalue" href="class_exception_entry_wrapper.html#a84568192904db189455113ad1f4963faa3a6b575509c2cabaf82ca0d17c0b0ced">BEGIN_ADDR</a> : <span class="keywordflow">return</span> <span class="stringliteral">&quot;BeginAddress&quot;</span>;</div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> <span class="keywordflow">case</span> <a class="code hl_enumvalue" href="class_exception_entry_wrapper.html#a84568192904db189455113ad1f4963faacac5bc77db162f5c15f058e2c68ad166">END_ADDR</a> : <span class="keywordflow">return</span> <span class="stringliteral">&quot;EndAddress&quot;</span>;</div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span> <span class="keywordflow">case</span> <a class="code hl_enumvalue" href="class_exception_entry_wrapper.html#a84568192904db189455113ad1f4963faa79212ef4241418e80bb4770198792cf6">UNWIND_INFO_ADDR</a> : <span class="keywordflow">return</span> <span class="stringliteral">&quot;UnwindInfoAddress&quot;</span>;</div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span> }</div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> <span class="keywordflow">return</span> <a class="code hl_function" href="class_exception_entry_wrapper.html#a362b78feca058d44eaed898a6bae0ba7">getName</a>();</div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span>}</div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span> </div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"><a class="line" href="class_exception_entry_wrapper.html#ae9404e5cb638b5c444aec3ffefacf096"> 99</a></span><a class="code hl_enumeration" href="class_executable.html#a2202e0db9d88f3be2b26fc138ddd3b5b">Executable::addr_type</a> <a class="code hl_function" href="class_exception_entry_wrapper.html#ae9404e5cb638b5c444aec3ffefacf096">ExceptionEntryWrapper::containsAddrType</a>(<span class="keywordtype">size_t</span> fieldId, <span class="keywordtype">size_t</span> subField)</div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span>{</div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span> <span class="keywordflow">switch</span> (fieldId) {</div>
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"> 102</span> <span class="keywordflow">case</span> <a class="code hl_enumvalue" href="class_exception_entry_wrapper.html#a84568192904db189455113ad1f4963faa3a6b575509c2cabaf82ca0d17c0b0ced">BEGIN_ADDR</a> :</div>
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"> 103</span> <span class="keywordflow">case</span> <a class="code hl_enumvalue" href="class_exception_entry_wrapper.html#a84568192904db189455113ad1f4963faacac5bc77db162f5c15f058e2c68ad166">END_ADDR</a> :</div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"> 104</span> <span class="keywordflow">case</span> <a class="code hl_enumvalue" href="class_exception_entry_wrapper.html#a84568192904db189455113ad1f4963faa79212ef4241418e80bb4770198792cf6">UNWIND_INFO_ADDR</a> :</div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span> <span class="keywordflow">return</span> <a class="code hl_enumvalue" href="class_executable.html#a2202e0db9d88f3be2b26fc138ddd3b5bab09fbc5c56c2c2f13f0318d67c72b8be">Executable::RVA</a>;</div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span> }</div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span> <span class="keywordflow">return</span> <a class="code hl_enumvalue" href="class_executable.html#a2202e0db9d88f3be2b26fc138ddd3b5ba3f1414297193a39037e1f72a7d46ec2f">Executable::NOT_ADDR</a>;</div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span>}</div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span> </div>
<div class="ttc" id="a_abstract_byte_buffer_8h_html_a9067dc831274514d508e98df05bf015d"><div class="ttname"><a href="_abstract_byte_buffer_8h.html#a9067dc831274514d508e98df05bf015d">bufsize_t</a></div><div class="ttdeci">uint32_t bufsize_t</div><div class="ttdef"><b>Definition:</b> <a href="_abstract_byte_buffer_8h_source.html#l00014">AbstractByteBuffer.h:14</a></div></div>
<div class="ttc" id="a_abstract_byte_buffer_8h_html_aea96e09e4ebfca2845a36a4d9882f7f6"><div class="ttname"><a href="_abstract_byte_buffer_8h.html#aea96e09e4ebfca2845a36a4d9882f7f6">offset_t</a></div><div class="ttdeci">uint64_t offset_t</div><div class="ttdef"><b>Definition:</b> <a href="_abstract_byte_buffer_8h_source.html#l00017">AbstractByteBuffer.h:17</a></div></div>
<div class="ttc" id="a_exception_dir_wrapper_8h_html"><div class="ttname"><a href="_exception_dir_wrapper_8h.html">ExceptionDirWrapper.h</a></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="aclass_data_dir_entry_wrapper_html_a6d7a51d3dbebfa37841bf2f36c7b6eb6"><div class="ttname"><a href="class_data_dir_entry_wrapper.html#a6d7a51d3dbebfa37841bf2f36c7b6eb6">DataDirEntryWrapper::getDirEntrySize</a></div><div class="ttdeci">bufsize_t getDirEntrySize()</div><div class="ttdef"><b>Definition:</b> <a href="_data_dir_entry_wrapper_8cpp_source.html#l00031">DataDirEntryWrapper.cpp:31</a></div></div>
<div class="ttc" id="aclass_data_dir_entry_wrapper_html_aa3bd2e16d3fde61e1e58e5cd7377884f"><div class="ttname"><a href="class_data_dir_entry_wrapper.html#aa3bd2e16d3fde61e1e58e5cd7377884f">DataDirEntryWrapper::getDirEntryAddress</a></div><div class="ttdeci">offset_t getDirEntryAddress()</div><div class="ttdef"><b>Definition:</b> <a href="_data_dir_entry_wrapper_8cpp_source.html#l00019">DataDirEntryWrapper.cpp:19</a></div></div>
<div class="ttc" id="aclass_exception_dir_wrapper_html_a658cfc82f99748458274f6834239dc27"><div class="ttname"><a href="class_exception_dir_wrapper.html#a658cfc82f99748458274f6834239dc27">ExceptionDirWrapper::ExceptionEntryWrapper</a></div><div class="ttdeci">friend class ExceptionEntryWrapper</div><div class="ttdef"><b>Definition:</b> <a href="_exception_dir_wrapper_8h_source.html#l00032">ExceptionDirWrapper.h:32</a></div></div>
<div class="ttc" id="aclass_exception_dir_wrapper_html_a7adac67ef4696bfd93299fcaf7a59403"><div class="ttname"><a href="class_exception_dir_wrapper.html#a7adac67ef4696bfd93299fcaf7a59403">ExceptionDirWrapper::exceptFunc64</a></div><div class="ttdeci">IMAGE_IA64_RUNTIME_FUNCTION_ENTRY * exceptFunc64()</div><div class="ttdef"><b>Definition:</b> <a href="_exception_dir_wrapper_8cpp_source.html#l00041">ExceptionDirWrapper.cpp:41</a></div></div>
<div class="ttc" id="aclass_exception_dir_wrapper_html_a9780166edee43854b4bdbe996e076ff1"><div class="ttname"><a href="class_exception_dir_wrapper.html#a9780166edee43854b4bdbe996e076ff1">ExceptionDirWrapper::wrap</a></div><div class="ttdeci">bool wrap()</div><div class="ttdef"><b>Definition:</b> <a href="_exception_dir_wrapper_8cpp_source.html#l00012">ExceptionDirWrapper.cpp:12</a></div></div>
<div class="ttc" id="aclass_exception_entry_wrapper_html"><div class="ttname"><a href="class_exception_entry_wrapper.html">ExceptionEntryWrapper</a></div><div class="ttdef"><b>Definition:</b> <a href="_exception_dir_wrapper_8h_source.html#l00036">ExceptionDirWrapper.h:37</a></div></div>
<div class="ttc" id="aclass_exception_entry_wrapper_html_a1ecd385f9c3e17306844d5a32be36461"><div class="ttname"><a href="class_exception_entry_wrapper.html#a1ecd385f9c3e17306844d5a32be36461">ExceptionEntryWrapper::getPtr</a></div><div class="ttdeci">virtual void * getPtr()</div><div class="ttdef"><b>Definition:</b> <a href="_exception_dir_wrapper_8cpp_source.html#l00053">ExceptionDirWrapper.cpp:53</a></div></div>
<div class="ttc" id="aclass_exception_entry_wrapper_html_a362b78feca058d44eaed898a6bae0ba7"><div class="ttname"><a href="class_exception_entry_wrapper.html#a362b78feca058d44eaed898a6bae0ba7">ExceptionEntryWrapper::getName</a></div><div class="ttdeci">virtual QString getName()</div><div class="ttdef"><b>Definition:</b> <a href="_exception_dir_wrapper_8h_source.html#l00057">ExceptionDirWrapper.h:57</a></div></div>
<div class="ttc" id="aclass_exception_entry_wrapper_html_a454e9c26a5751953294ce26d16734809"><div class="ttname"><a href="class_exception_entry_wrapper.html#a454e9c26a5751953294ce26d16734809">ExceptionEntryWrapper::getFieldPtr</a></div><div class="ttdeci">virtual void * getFieldPtr(size_t fieldId, size_t subField=FIELD_NONE)</div><div class="ttdef"><b>Definition:</b> <a href="_exception_dir_wrapper_8cpp_source.html#l00076">ExceptionDirWrapper.cpp:76</a></div></div>
<div class="ttc" id="aclass_exception_entry_wrapper_html_a84568192904db189455113ad1f4963faa3a6b575509c2cabaf82ca0d17c0b0ced"><div class="ttname"><a href="class_exception_entry_wrapper.html#a84568192904db189455113ad1f4963faa3a6b575509c2cabaf82ca0d17c0b0ced">ExceptionEntryWrapper::BEGIN_ADDR</a></div><div class="ttdeci">@ BEGIN_ADDR</div><div class="ttdef"><b>Definition:</b> <a href="_exception_dir_wrapper_8h_source.html#l00042">ExceptionDirWrapper.h:42</a></div></div>
<div class="ttc" id="aclass_exception_entry_wrapper_html_a84568192904db189455113ad1f4963faa79212ef4241418e80bb4770198792cf6"><div class="ttname"><a href="class_exception_entry_wrapper.html#a84568192904db189455113ad1f4963faa79212ef4241418e80bb4770198792cf6">ExceptionEntryWrapper::UNWIND_INFO_ADDR</a></div><div class="ttdeci">@ UNWIND_INFO_ADDR</div><div class="ttdef"><b>Definition:</b> <a href="_exception_dir_wrapper_8h_source.html#l00044">ExceptionDirWrapper.h:44</a></div></div>
<div class="ttc" id="aclass_exception_entry_wrapper_html_a84568192904db189455113ad1f4963faacac5bc77db162f5c15f058e2c68ad166"><div class="ttname"><a href="class_exception_entry_wrapper.html#a84568192904db189455113ad1f4963faacac5bc77db162f5c15f058e2c68ad166">ExceptionEntryWrapper::END_ADDR</a></div><div class="ttdeci">@ END_ADDR</div><div class="ttdef"><b>Definition:</b> <a href="_exception_dir_wrapper_8h_source.html#l00043">ExceptionDirWrapper.h:43</a></div></div>
<div class="ttc" id="aclass_exception_entry_wrapper_html_ae9404e5cb638b5c444aec3ffefacf096"><div class="ttname"><a href="class_exception_entry_wrapper.html#ae9404e5cb638b5c444aec3ffefacf096">ExceptionEntryWrapper::containsAddrType</a></div><div class="ttdeci">virtual Executable::addr_type containsAddrType(size_t fieldId, size_t subField)</div><div class="ttdef"><b>Definition:</b> <a href="_exception_dir_wrapper_8cpp_source.html#l00099">ExceptionDirWrapper.cpp:99</a></div></div>
<div class="ttc" id="aclass_exception_entry_wrapper_html_aeb778b5462b2c60120e6b91a36c45f04"><div class="ttname"><a href="class_exception_entry_wrapper.html#aeb778b5462b2c60120e6b91a36c45f04">ExceptionEntryWrapper::getFieldName</a></div><div class="ttdeci">virtual QString getFieldName(size_t fieldId)</div><div class="ttdef"><b>Definition:</b> <a href="_exception_dir_wrapper_8cpp_source.html#l00089">ExceptionDirWrapper.cpp:89</a></div></div>
<div class="ttc" id="aclass_exception_entry_wrapper_html_af1c5b4de8a2edef746e369f509187b8a"><div class="ttname"><a href="class_exception_entry_wrapper.html#af1c5b4de8a2edef746e369f509187b8a">ExceptionEntryWrapper::getSize</a></div><div class="ttdeci">virtual bufsize_t getSize()</div><div class="ttdef"><b>Definition:</b> <a href="_exception_dir_wrapper_8cpp_source.html#l00068">ExceptionDirWrapper.cpp:68</a></div></div>
<div class="ttc" id="aclass_exe_element_wrapper_html_a98ca205ec6f2d2deacd32327409a3539"><div class="ttname"><a href="class_exe_element_wrapper.html#a98ca205ec6f2d2deacd32327409a3539">ExeElementWrapper::getOffset</a></div><div class="ttdeci">offset_t getOffset()</div><div class="ttdef"><b>Definition:</b> <a href="_exe_element_wrapper_8cpp_source.html#l00039">ExeElementWrapper.cpp:39</a></div></div>
<div class="ttc" id="aclass_exe_element_wrapper_html_ad5100967cd4bb4831c0e96de7659d53e"><div class="ttname"><a href="class_exe_element_wrapper.html#ad5100967cd4bb4831c0e96de7659d53e">ExeElementWrapper::m_Exe</a></div><div class="ttdeci">Executable * m_Exe</div><div class="ttdef"><b>Definition:</b> <a href="_exe_element_wrapper_8h_source.html#l00065">ExeElementWrapper.h:65</a></div></div>
<div class="ttc" id="aclass_exe_node_wrapper_html_a7c22babccbf1bc935ad563d06c450995"><div class="ttname"><a href="class_exe_node_wrapper.html#a7c22babccbf1bc935ad563d06c450995">ExeNodeWrapper::entries</a></div><div class="ttdeci">std::vector&lt; ExeNodeWrapper * &gt; entries</div><div class="ttdef"><b>Definition:</b> <a href="_exe_node_wrapper_8h_source.html#l00054">ExeNodeWrapper.h:54</a></div></div>
<div class="ttc" id="aclass_exe_node_wrapper_html_aaf023e7c90b9e9c90ab69e6ae7ea2b65"><div class="ttname"><a href="class_exe_node_wrapper.html#aaf023e7c90b9e9c90ab69e6ae7ea2b65">ExeNodeWrapper::entryNum</a></div><div class="ttdeci">size_t entryNum</div><div class="ttdef"><b>Definition:</b> <a href="_exe_node_wrapper_8h_source.html#l00052">ExeNodeWrapper.h:52</a></div></div>
<div class="ttc" id="aclass_exe_node_wrapper_html_abd74c2637211cf471d022b528654c84c"><div class="ttname"><a href="class_exe_node_wrapper.html#abd74c2637211cf471d022b528654c84c">ExeNodeWrapper::clear</a></div><div class="ttdeci">virtual void clear()</div><div class="ttdef"><b>Definition:</b> <a href="_exe_node_wrapper_8cpp_source.html#l00030">ExeNodeWrapper.cpp:30</a></div></div>
<div class="ttc" id="aclass_executable_html_a2202e0db9d88f3be2b26fc138ddd3b5b"><div class="ttname"><a href="class_executable.html#a2202e0db9d88f3be2b26fc138ddd3b5b">Executable::addr_type</a></div><div class="ttdeci">addr_type</div><div class="ttdef"><b>Definition:</b> <a href="_executable_8h_source.html#l00035">Executable.h:35</a></div></div>
<div class="ttc" id="aclass_executable_html_a2202e0db9d88f3be2b26fc138ddd3b5ba3f1414297193a39037e1f72a7d46ec2f"><div class="ttname"><a href="class_executable.html#a2202e0db9d88f3be2b26fc138ddd3b5ba3f1414297193a39037e1f72a7d46ec2f">Executable::NOT_ADDR</a></div><div class="ttdeci">@ NOT_ADDR</div><div class="ttdef"><b>Definition:</b> <a href="_executable_8h_source.html#l00036">Executable.h:36</a></div></div>
<div class="ttc" id="aclass_executable_html_a2202e0db9d88f3be2b26fc138ddd3b5bab09fbc5c56c2c2f13f0318d67c72b8be"><div class="ttname"><a href="class_executable.html#a2202e0db9d88f3be2b26fc138ddd3b5bab09fbc5c56c2c2f13f0318d67c72b8be">Executable::RVA</a></div><div class="ttdeci">@ RVA</div><div class="ttdef"><b>Definition:</b> <a href="_executable_8h_source.html#l00038">Executable.h:38</a></div></div>
<div class="ttc" id="aclass_executable_html_a2202e0db9d88f3be2b26fc138ddd3b5badb8a64acd3f74166ea450698d025db3b"><div class="ttname"><a href="class_executable.html#a2202e0db9d88f3be2b26fc138ddd3b5badb8a64acd3f74166ea450698d025db3b">Executable::RAW</a></div><div class="ttdeci">@ RAW</div><div class="ttdef"><b>Definition:</b> <a href="_executable_8h_source.html#l00037">Executable.h:37</a></div></div>
<div class="ttc" id="aclass_executable_html_a3f2511a46b6732f4afbcaa6a1bfb6c46"><div class="ttname"><a href="class_executable.html#a3f2511a46b6732f4afbcaa6a1bfb6c46">Executable::getContentAt</a></div><div class="ttdeci">BYTE * getContentAt(offset_t offset, bufsize_t size, bool allowExceptions=false)</div><div class="ttdef"><b>Definition:</b> <a href="_executable_8h_source.html#l00057">Executable.h:57</a></div></div>
<div class="ttc" id="anamespace_logger_html_a36e3deee152da96a491b670a00d224c9"><div class="ttname"><a href="namespace_logger.html#a36e3deee152da96a491b670a00d224c9">Logger::append</a></div><div class="ttdeci">bool append(dbg_level lvl, const char *format,...)</div><div class="ttdef"><b>Definition:</b> <a href="_util_8cpp_source.html#l00008">Util.cpp:8</a></div></div>
<div class="ttc" id="anamespace_logger_html_ac865c986e93dc9338b084620d59c6e97ac1c1688666cdf558448c82f643b89d7f"><div class="ttname"><a href="namespace_logger.html#ac865c986e93dc9338b084620d59c6e97ac1c1688666cdf558448c82f643b89d7f">Logger::D_INFO</a></div><div class="ttdeci">@ D_INFO</div><div class="ttdef"><b>Definition:</b> <a href="_util_8h_source.html#l00026">Util.h:26</a></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.4
</small></address>
</body>
</html>