关于C#:dumpbin /imports显示的输入地址表和输入名称表是什么? | 珊瑚贝

What is Input Address Table and Input Name Table as displayed by dumpbin /imports?


dumpbin /imports显示的Input Address Table和Input Name Table是什么?

1
2
3
4
5
6
7
8
9
10
11
Dump of file c:\\windows\\System32\\kernel32.dll

File Type: DLL

  Section contains the following imports:

    APIMSWinCoreRtlSupportL110.dll
              78DBC000 Import Address Table
              78E18D58 Import Name Table
                     0 time date stamp
                     0 Index of first forwarder reference

我最初的猜测是,它是 RVA IMAGE_IMPORT_DESCRIPTOR.FirstThunk,但看看 IAT 的值,它看起来相当大,是一个 RVA。我也猜想,它不能是绝对地址,因为那样该值将毫无意义(因为这意味着 w.r.t PE 加载地址)。

用例

我正在创建一个 C 库来模拟 dumpbin,我目前想知道这两个值将映射到什么?

  • iirc,这些是基于相关模块的首选基地址的 VA。
  • 有道理,我认为你是对的。我也模糊地记得,我在某个地方读过它。随意发布它作为答案,让我接受。


我相信,dumpbin 会将这两个值(FirstThunk 和 OriginalFirstThunk)显示为基于模块的首选基地址(映像基址)的虚拟地址。

在此示例中,值为”来自可选标头 FirstThunk/OriginalFirstThunk 的 ImageBase”。


来源:https://www.codenong.com/19102089/

微信公众号
手机浏览(小程序)

Warning: get_headers(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(): Failed to enable crypto in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(https://static.shanhubei.com/qrcode/qrcode_viewid_8856.jpg): failed to open stream: operation failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57
0
分享到:
没有账号? 忘记密码?