亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? pe-tut3.html

?? 在DOS下編程因?yàn)閷?shí)模式的限制
?? HTML
字號(hào):
<html>
<head>
<title>Iczelion's PE tutorial 3: File Header</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body bgcolor="#003366" text="#FFFFFF" link="#FFFFCC" vlink="#FFCCCC" alink="#CCFFCC">
<h1 align="center"><font face="Arial, Helvetica, sans-serif" color="#FFFFCC">Tutorial 
  3: File Header</font></h1>
<p><font face="MS Sans Serif" size="-1">In this tutorial, we will study the file 
  header portion of the PE header. </font></p>
<p><font face="MS Sans Serif" size="-1">Let's summarize what we have learned so 
  far:</font></p>
<ul>
  <li><font face="MS Sans Serif" size="-1">DOS MZ header is called<b><font color="#CCFFCC"> 
    IMAGE_DOS_HEADER</font></b>. Only two of its members are important to us: 
    <font color="#FFFFCC"> <b>e_magic</b></font> which contains the string &quot;MZ&quot; 
    and <font color="#FFFFCC"><b>e_lfanew</b></font> which contains the file offset 
    of the PE header.</font></li>
  <li><font face="MS Sans Serif" size="-1">We use the value in <font color="#FFFFCC"><b>e_magic</b></font> 
    to check if the file has a valid DOS header by comparing it to the value<font color="#CCFFCC"><b> 
    IMAGE_DOS_SIGNATURE</b></font>. If both values match, we can assume that the 
    file has a valid DOS header.</font></li>
  <li><font face="MS Sans Serif" size="-1">In order to go to the PE header, we 
    must move the file pointer to the offset specified by the value in <font color="#FFFFCC"><b>e_lfanew</b></font>.</font></li>
  <li><font face="MS Sans Serif" size="-1">The first dword of the PE header should 
    contain the string &quot;PE&quot; followed by two zeroes. We compare the value 
    in this dword to the value <font color="#CCFFCC"><b>IMAGE_NT_SIGNATURE</b></font>. 
    If they match, then we can assume that the PE header is valid.</font></li>
</ul>
<p><font face="MS Sans Serif" size="-1">We will learn more about the PE header 
  in this tutorial. The official name of the PE header is <font color="#CCFFCC"><b>IMAGE_NT_HEADERS</b></font>. 
  To refresh your memory, I show it below.</font></p>
<blockquote>
  <p><font face="MS Sans Serif" size="-1"><b><font color="#999900">IMAGE_NT_HEADERS 
    STRUCT <br>
    &nbsp;&nbsp;&nbsp; Signature dd ? <br>
    &nbsp;&nbsp;&nbsp; FileHeader IMAGE_FILE_HEADER <> <br>
    &nbsp;&nbsp;&nbsp; OptionalHeader IMAGE_OPTIONAL_HEADER32 <> <br>
    IMAGE_NT_HEADERS ENDS </font></b></font></p>
</blockquote>
<p><font face="MS Sans Serif" size="-1"><b><font color="#FFFFCC">Signature</font></b> 
  is the PE signature, &quot;PE&quot; followed by two zeroes. You already know 
  and use this member.<br>
  <font color="#FFFFCC"><b>FileHeader</b></font> is a structure that contains 
  the information about the physical layout/properies of the PE file in general.<br>
  <font color="#FFFFCC"><b>OptionalHeader </b></font>is also a structure that 
  contains the information about the logical layout inside the PE file.</font></p>
<p><font face="MS Sans Serif" size="-1">The most interesting information is in 
  <font color="#FFFFCC"> <b>OptionalHeader</b></font>. However, some fields in 
  <font color="#FFFFCC"> <b>FileHeader</b></font> are also important. We will 
  learn about <font color="#FFFFCC"><b>FileHeader</b></font> in this tutorial 
  so we can move to study <font color="#FFFFCC"><b>OptionalHeader</b></font> in 
  the next tutorials.</font></p>
<p><font face="MS Sans Serif" size="-1"><b><font color="#009933">IMAGE_FILE_HEADER 
  STRUCT <br>
  &nbsp;&nbsp;&nbsp; Machine WORD ? <br>
  &nbsp;&nbsp;&nbsp; NumberOfSections WORD ? <br>
  &nbsp;&nbsp;&nbsp; TimeDateStamp dd ? <br>
  &nbsp;&nbsp;&nbsp; PointerToSymbolTable dd ? <br>
  &nbsp;&nbsp;&nbsp; NumberOfSymbols dd ? <br>
  &nbsp;&nbsp;&nbsp; SizeOfOptionalHeader WORD ? <br>
  &nbsp;&nbsp;&nbsp; Characteristics WORD ? <br>
  IMAGE_FILE_HEADER ENDS </font> </b> </font></p>
<table border="1" cellspacing="2" cellpadding="2" align="center">
  <tr bgcolor="#006666"> 
    <th><b><font face="MS Sans Serif" size="-1">Field name</font></b></th>
    <th><font face="MS Sans Serif" size="-1">Meanings</font></th>
  </tr>
  <tr> 
    <td><b><font face="MS Sans Serif" size="-1">Machine</font></b></td>
    <td><font face="MS Sans Serif" size="-1">The CPU platform the file is intended 
      for. For Intel platform, the value is <font color="#CCFFCC"><b>IMAGE_FILE_MACHINE_I386</b></font> 
      (14Ch). I tried to use 14Dh and 14Eh as stated in the pe.txt by LUEVELSMEYER 
      but Windows refused to run it. This field is rarely of interest to us except 
      as a quick way of preventing a program to be executed.</font></td>
  </tr>
  <tr> 
    <td><b><font face="MS Sans Serif" size="-1">NumberOfSections </font></b></td>
    <td><font face="MS Sans Serif" size="-1">The number of sections in the file. 
      We will need to modify the value in this member if we add or delete a section 
      from the file.</font></td>
  </tr>
  <tr> 
    <td><b><font face="MS Sans Serif" size="-1">TimeDateStamp</font></b></td>
    <td><font face="MS Sans Serif" size="-1">The date and time the file is created. 
      Not useful to us.</font></td>
  </tr>
  <tr> 
    <td><b><font face="MS Sans Serif" size="-1">PointerToSymbolTable</font></b></td>
    <td><font face="MS Sans Serif" size="-1">used for debugging. </font></td>
  </tr>
  <tr> 
    <td><b><font face="MS Sans Serif" size="-1">NumberOfSymbols</font></b></td>
    <td><font face="MS Sans Serif" size="-1">used for debugging.</font></td>
  </tr>
  <tr> 
    <td><b><font face="MS Sans Serif" size="-1">SizeOfOptionalHeader</font></b></td>
    <td><font face="MS Sans Serif" size="-1">The size of the<font color="#FFFFCC"><b> 
      OptionalHeader</b></font> member that immediately follows this structure. 
      Must be set to a valid value.</font></td>
  </tr>
  <tr> 
    <td><b><font face="MS Sans Serif" size="-1">Characteristics</font></b></td>
    <td><font face="MS Sans Serif" size="-1">Contains flags for the file, such 
      as whether this file is an exe or a dll.</font></td>
  </tr>
</table>
<p><font face="MS Sans Serif" size="-1">In summary, only three members are somewhat 
  useful to us:<font color="#FFFFCC"><b> Machine</b></font>, <font color="#FFFFCC"><b>NumberOfSections</b></font> 
  and <font color="#FFFFCC"><b>Characteristics</b></font>. You would normally 
  not change the values of <font color="#FFFFCC"><b>Machine</b></font> and <font color="#FFFFCC"><b>Characteristics</b></font> 
  but you must use the value in <font color="#FFFFCC"><b>NumberOfSections</b></font> 
  when you're walking the section table.<br>
  I'm jumping the gun here but in order to illustrate the use of <font color="#FFFFCC"><b>NumberOfSections</b></font>, 
  I need to digress briefly to the section table.</font></p>
<p><font face="MS Sans Serif" size="-1">The section table is an array of structures. 
  Each structure contains the information of a section. Thus if there are 3 sections, 
  there will be 3 members in this array. You need the value in <font color="#FFFFCC"><b>NumberOfSections</b></font> 
  so you know how many members there are in the array. You would think that checking 
  for the structure with all zeroes in its members would help. Windows does use 
  this approach. You can verify this fact by setting the value in NumberOfSections 
  to a value higher than the real value and Windows still runs the file without 
  problem. From my observation, I think Windows reads the value in<font color="#FFFFCC"><b> 
  NumberOfSections</b></font> and examines each structure in the section table. 
  If it finds a structure that contains all zeroes, it terminates the search. 
  Else it would process until the number of structures specified in <font color="#FFFFCC"><b>NumberOfSections</b></font> 
  is met. Why can't we ignore the value in NumberOfSections? Several reasons. 
  The PE specification doesn't specify that the section table array must end with 
  an all-zero structure. Thus there may be a situation where the last array member 
  is contiguous to the first section, without empty space at all. Another reason 
  has to do with bound imports. The new-style binding puts the information immediately 
  following the section table's last structure array member. Thus you still need 
  NumberOfSections.</font></p>
<hr>
<p align="center"><font face="MS Sans Serif" size="-1">[<a href="http://win32asm.cjb.net"><b>Iczelion's 
  Win32 Assembly Homepage</b></a>]</font></p>
<p>&nbsp;</p>
</body>
</html>

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美乱妇23p| 亚洲色图制服诱惑| 日韩欧美一区二区三区在线| 欧洲中文字幕精品| 一本到不卡免费一区二区| 92国产精品观看| 不卡的电影网站| 91在线国产福利| 一本色道久久综合精品竹菊| 91亚洲大成网污www| 99精品国产91久久久久久| www.性欧美| 日本乱码高清不卡字幕| 在线免费一区三区| 8x8x8国产精品| 日韩精品影音先锋| 久久众筹精品私拍模特| 国产人伦精品一区二区| 中文一区二区完整视频在线观看 | 亚洲欧洲精品一区二区精品久久久| 久久亚洲精品小早川怜子| 久久久久久9999| 中文字幕一区二区三区在线观看| 中文字幕日韩一区二区| 亚洲一区二区综合| 日本女优在线视频一区二区| 黄一区二区三区| 国产v日产∨综合v精品视频| 99久久99久久久精品齐齐| 欧美揉bbbbb揉bbbbb| 精品少妇一区二区三区在线视频| 久久久www成人免费毛片麻豆| 国产精品久久久久7777按摩| 亚洲高清免费观看高清完整版在线观看| 亚洲第一成人在线| 激情综合网最新| av在线播放不卡| 制服丝袜亚洲色图| 久久久国产精华| 成人性生交大片免费看视频在线 | 日本乱人伦一区| 在线不卡的av| 久久精品一级爱片| 亚洲精品ww久久久久久p站| 日本aⅴ亚洲精品中文乱码| 国产69精品久久777的优势| 色婷婷综合久久久| 欧美va在线播放| 自拍偷在线精品自拍偷无码专区| 性欧美疯狂xxxxbbbb| 国产成人av一区二区三区在线观看| 一本到不卡免费一区二区| 精品精品国产高清一毛片一天堂| 成人欧美一区二区三区白人 | 国产在线播精品第三| 日本高清不卡视频| 精品国产成人在线影院| 一区二区三国产精华液| 精品无人码麻豆乱码1区2区 | 久久综合狠狠综合| 亚洲最新在线观看| 国产一区二区三区精品欧美日韩一区二区三区 | 日韩av中文字幕一区二区三区| 国产99一区视频免费| 欧美一级在线免费| 亚洲视频 欧洲视频| 国产自产2019最新不卡| 欧美视频一区在线观看| 国产精品网站在线播放| 另类人妖一区二区av| 欧美性一二三区| 中文字幕一区二区三区在线观看 | 欧美国产精品专区| 男人的天堂亚洲一区| 在线观看www91| 亚洲欧洲日本在线| 国产精品香蕉一区二区三区| 69堂亚洲精品首页| 一区二区三区视频在线看| 成人高清av在线| 久久精品无码一区二区三区| 免费人成在线不卡| 欧美美女直播网站| 一区二区三区 在线观看视频| 波多野结衣在线一区| www激情久久| 美腿丝袜在线亚洲一区| 欧美美女一区二区在线观看| 亚洲一区av在线| 日本道免费精品一区二区三区| 亚洲国产成人一区二区三区| 国产美女av一区二区三区| 日韩欧美国产wwwww| 欧美午夜不卡在线观看免费| 18涩涩午夜精品.www| 成人av高清在线| 国产精品蜜臀av| 国产成人精品影视| 国产视频在线观看一区二区三区| 极品美女销魂一区二区三区| 精品久久久三级丝袜| 蓝色福利精品导航| 日韩免费一区二区| 精品在线亚洲视频| 26uuu国产在线精品一区二区| 久久精品国产色蜜蜜麻豆| 精品毛片乱码1区2区3区| 久久电影国产免费久久电影| 91精品国产免费久久综合| 免费观看一级欧美片| 日韩美女视频在线| 国产资源精品在线观看| 国产日韩v精品一区二区| 高清免费成人av| 国产精品久久久久久户外露出 | 在线观看亚洲精品| 亚洲自拍都市欧美小说| 欧美日本乱大交xxxxx| 日日夜夜一区二区| 欧美成人aa大片| 国产伦精品一区二区三区免费迷| 国产情人综合久久777777| www.色综合.com| 一区二区三区欧美日| 欧美精品成人一区二区三区四区| 欧美午夜寂寞影院| 日产国产欧美视频一区精品| 精品国一区二区三区| 国产成人高清在线| 亚洲激情六月丁香| 欧美日韩不卡一区| 国产尤物一区二区| 综合在线观看色| 欧美伦理电影网| 国产精品亚洲人在线观看| 亚洲天堂成人网| 欧美理论在线播放| 国产精品一级在线| 亚洲综合色婷婷| 精品国一区二区三区| 91看片淫黄大片一级在线观看| 亚洲高清不卡在线观看| 亚洲精品一区二区三区精华液 | 成人免费视频caoporn| 亚洲欧美经典视频| 欧美一级二级在线观看| 国产不卡视频一区二区三区| 一区二区不卡在线播放 | www.亚洲在线| 日日欢夜夜爽一区| 国产欧美日韩综合精品一区二区| 色婷婷亚洲精品| 精品在线一区二区| 亚洲综合色噜噜狠狠| 久久精品亚洲精品国产欧美| 亚洲日本乱码在线观看| 日韩免费视频一区二区| 91捆绑美女网站| 精品一区二区日韩| 亚洲午夜在线电影| 国产日韩欧美a| 91精品国产aⅴ一区二区| 成人国产在线观看| 麻豆成人久久精品二区三区小说| 中文字幕一区免费在线观看| 欧美大黄免费观看| 色欧美88888久久久久久影院| 国产一区日韩二区欧美三区| 亚洲一区二区在线观看视频 | 亚洲欧美一区二区三区久本道91 | 久久久精品影视| 欧美日韩性生活| 不卡av在线免费观看| 老司机精品视频导航| 亚洲午夜久久久久久久久电影院 | 一区二区三区鲁丝不卡| 久久九九全国免费| 91精品福利在线一区二区三区| 色综合欧美在线| 国产在线精品一区二区夜色| 天堂一区二区在线免费观看| 18成人在线观看| 国产精品色哟哟| 久久久久亚洲综合| 欧美一区二区成人| 欧美日韩夫妻久久| 欧美视频在线一区二区三区| caoporen国产精品视频| 国产99久久久精品| 国内精品久久久久影院薰衣草| 性久久久久久久| 亚洲一区二区三区爽爽爽爽爽| 国产精品福利影院| 国产女人18毛片水真多成人如厕| 精品欧美一区二区久久| 欧美巨大另类极品videosbest| 在线日韩av片| 亚洲人精品一区| 亚洲国产成人午夜在线一区 | 美女视频黄a大片欧美|