etherealのプラグイン作成のために
既存のやつをnmakeかけようとしたがことごとく失敗に終わる
win32.makなんてねぇぇぇ
というか探し出してコピっても
失敗に終わった。
ということで、なれている方向から攻めることにする
>dumpbin /exports "C:\Program Files\Ethereal\plugins\0.99.0\acn.dll" Microsoft (R) COFF/PE Dumper Version 7.10.3077 Copyright (C) Microsoft Corporation. All rights reserved. Dump of file C:\Program Files\Ethereal\plugins\0.99.0\acn.dll File Type: DLL Section contains the following exports for acn.dll 00000000 characteristics 444D1BC2 time date stamp Mon Apr 24 20:41:06 2006 0.00 version 1 ordinal base 3 number of functions 3 number of names ordinal hint RVA name 1 0 00002619 plugin_reg_handoff 2 1 00002606 plugin_register 3 2 00007120 version Summary 5000 .data 1000 .rdata 1000 .reloc 6000 .text
ということで、重要なのは
plugin_reg_handoff
plugin_register
version
であり、これを公開APIとして持つDLLを作ることにした。