恥ずかしい関数名とかつけてなかったかなぁ・・・。
Windowsにもstripあるのかな?
※投稿直後に.DEFでNONAMEしたら関数名は見えないことがわかった
StudyDLL.cpp
int WINAPI Function_I_want_to_hide_its_name(int argc, char* argv)
{
return 0;
}
StudyDLL.def
StudyDLL.def
LIBRARY "StudyDLL"
EXPORTS
Function_I_want_to_hide_its_name @1 NONAME
dumpbin /exports StudyDLL.dll
Microsoft (R) COFF/PE Dumper Version 9.00.30729.01
Copyright (C) Microsoft Corporation. All rights reserved.
Dump of file StudyDLL.dll
File Type: DLL
Section contains the following exports for StudyDLL.dll
00000000 characteristics
49E4590C time date stamp Tue Apr 14 18:36:12 2009
0.00 version
1 ordinal base
1 number of functions
0 number of names
ordinal hint RVA name
1 00001000 [NONAME] ?Function_I_want_to_hide_its_name@@YGHHPAD@Z
(int __stdcall Function_I_want_to_hide_its_name(int,char *))
Summary
1000 .data
1000 .rdata
1000 .reloc
1000 .rsrc
1000 .text
0 件のコメント:
コメントを投稿