Merge pull request #12995 from 303248153/170724_fix_comment
[platform/upstream/coreclr.git] / src / ildasm / dasm.rc
1 // Licensed to the .NET Foundation under one or more agreements.
2 // The .NET Foundation licenses this file to you under the MIT license.
3 // See the LICENSE file in the project root for more information.
4
5 #include "resource.h"
6
7 #ifndef FEATURE_PAL
8 #define APSTUDIO_READONLY_SYMBOLS
9 /////////////////////////////////////////////////////////////////////////////
10 //
11 // Generated from the TEXTINCLUDE 2 resource.
12 //
13 #include <winresrc.h>
14
15 /////////////////////////////////////////////////////////////////////////////
16 #undef APSTUDIO_READONLY_SYMBOLS
17 #endif // !FEATURE_PAL
18
19 #define FX_VER_FILEDESCRIPTION_STR "Microsoft .NET Framework IL disassembler\0"
20
21 #include <fxver.h>
22 #include <fxver.rc>
23
24 /////////////////////////////////////////////////////////////////////////////
25 // English (U.S.) resources
26
27 #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
28 #ifdef _WIN32
29 LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
30 #pragma code_page(1252)
31 #endif //_WIN32
32
33 #ifdef APSTUDIO_INVOKED
34 /////////////////////////////////////////////////////////////////////////////
35 //
36 // TEXTINCLUDE
37 //
38
39 1 TEXTINCLUDE DISCARDABLE 
40 BEGIN
41     "resource.h\0"
42 END
43
44 2 TEXTINCLUDE DISCARDABLE 
45 BEGIN
46     "#include ""afxres.h""\r\n"
47     "\0"
48 END
49
50 3 TEXTINCLUDE DISCARDABLE 
51 BEGIN
52     "\0"
53 END
54
55 #endif    // APSTUDIO_INVOKED
56
57 #if FX_VFT == VFT_DLL
58 STRINGTABLE DISCARDABLE 
59 BEGIN
60     IDS_USAGE_TITLE         L"ILDASM command line syntax"
61     IDS_USAGE_01            L"Usage: ildasm [options] <file_name> [options]\n\n"
62     IDS_USAGE_02            L"Options for output redirection:\n"
63     IDS_USAGE_03            L"  /OUT=<file name>    Direct output to file rather than to console.\n"
64     IDS_USAGE_04A           L"  /HTML               Output in HTML format (valid with /OUT option only).\n"
65     IDS_USAGE_04B           L"  /RTF                Output in rich text format (valid with /OUT option only).\n"
66     IDS_USAGE_05            L"Options for file/console output:\n"
67 #ifdef OWNER_OPTION_ENABLED
68     IDS_USAGE_06            L"  /OWNER=<owner name> Set owner name to disassemble a protected PE file.\n"
69 #endif
70     IDS_USAGE_07            L"  /BYTES              Show actual bytes (in hex) as instruction comments.\n"
71 END
72
73 STRINGTABLE DISCARDABLE 
74 BEGIN
75     IDS_USAGE_08            L"  /RAWEH              Show exception handling clauses in raw form.\n"
76     IDS_USAGE_09            L"  /TOKENS             Show metadata tokens of classes and members.\n"
77     IDS_USAGE_10            L"  /SOURCE             Show original source lines as comments.\n"
78 #ifdef _DEBUG
79     IDS_USAGE_10A           L"  /PRETTY             This option is obsolete and no longer supported.\n"
80 #endif
81     IDS_USAGE_11            L"  /LINENUM            Include references to original source lines.\n"
82     IDS_USAGE_12            L"  /VISIBILITY=<vis>[+<vis>...]    Only disassemble the items with specified\n"
83     IDS_USAGE_13            L"          visibility. (<vis> = PUB | PRI | FAM | ASM | FAA | FOA | PSC)\n"
84     IDS_USAGE_14            L"  /PUBONLY            Only disassemble the public items (same as /VIS=PUB).\n"
85     IDS_USAGE_15            L"  /QUOTEALLNAMES      Include all names into single quotes.\n"
86     IDS_USAGE_15A           L"  /NOCA               Suppress output of custom attributes.\n"
87     IDS_USAGE_15B           L"  /CAVERBAL           Output CA blobs in verbal form (default - in binary form).\n"
88     IDS_USAGE_17            L"The following options are valid for file/console output only:\n"
89     IDS_USAGE_18            L"Options for EXE and DLL files:\n"
90     IDS_USAGE_19            L"  /UTF8               Use UTF-8 encoding for output (default - ANSI).\n"
91     IDS_USAGE_20            L"  /UNICODE            Use UNICODE encoding for output.\n"
92     IDS_USAGE_21            L"  /NOIL               Suppress IL assembler code output.\n"
93     IDS_USAGE_21A           L"  /FORWARD            Use forward class declaration.\n"
94     IDS_USAGE_21B           L"  /TYPELIST           Output full list of types (to preserve type ordering in round-trip).\n"
95     IDS_USAGE_21C           L"  /PROJECT            Display .NET projection view if input is a .winmd file.\n"
96     IDS_USAGE_22            L"  /HEADERS            Include file headers information in the output.\n"
97     IDS_USAGE_23            L"  /ITEM=<class>[::<method>[(<sig>)]  Disassemble the specified item only\n\n"
98 END
99
100 STRINGTABLE DISCARDABLE 
101 BEGIN
102     IDS_USAGE_24            L"  /STATS              Include statistics on the image.\n"
103     IDS_USAGE_25            L"  /CLASSLIST          Include list of classes defined in the module.\n"
104     IDS_USAGE_26            L"  /ALL                Combination of /HEADER,/BYTES,/STATS,/CLASSLIST,/TOKENS\n\n"
105 #ifndef FEATURE_PAL
106     IDS_USAGE_27            L"Options for EXE,DLL,OBJ and LIB files:\n"
107 #else
108     IDS_USAGE_27            L""
109 #endif // !FEATURE_PAL
110     IDS_USAGE_28            L"  /METADATA[=<specifier>] Show MetaData, where <specifier> is:\n"
111     IDS_USAGE_29            L"          MDHEADER    Show MetaData header information and sizes.\n"
112     IDS_USAGE_30            L"          HEX         Show more things in hex as well as words.\n"
113     IDS_USAGE_31            L"          CSV         Show the record counts and heap sizes.\n"
114     IDS_USAGE_32            L"          UNREX       Show unresolved externals.\n"
115 #ifndef FEATURE_PAL
116     IDS_USAGE_33            L"          DEBUG       Show debug information in addition to other MetaData.\n"
117 #else
118     IDS_USAGE_33            L""
119 #endif // !FEATURE_PAL
120     IDS_USAGE_34            L"          SCHEMA      Show the MetaData header and schema information.\n"
121     IDS_USAGE_35            L"          RAW         Show the raw MetaData tables.\n"
122     IDS_USAGE_36            L"          HEAPS       Show the raw heaps.\n"
123     IDS_USAGE_37            L"          VALIDATE    Validate the consistency of the metadata.\n"
124 #ifndef FEATURE_PAL
125     IDS_USAGE_38            L"Options for LIB files only:\n"
126     IDS_USAGE_39            L"  /OBJECTFILE=<obj_file_name> Show MetaData of a single object file in library\n"
127 #else
128     IDS_USAGE_38            L""
129     IDS_USAGE_39            L""
130 #endif // !FEATURE_PAL
131 END
132
133 STRINGTABLE DISCARDABLE 
134 BEGIN
135     IDS_USAGE_40            L"  /ALL        Combination of /HEADER, /BYTES, /TOKENS\n\n"
136     IDS_USAGE_41            L"\nOption key is '-' or '/', options are recognized by first 3 characters\n\n"
137     IDS_USAGE_42            L"Example:  ildasm /tok /byt myfile.exe /out=myfile.il\n\n"
138     IDS_USAGE_43            L"\n\nPress any key to close the console window..."
139 END
140
141 STRINGTABLE DISCARDABLE 
142 BEGIN
143     IDS_E_INITLDR           L"error : PELoader initialization failed"
144     IDS_E_FILEOPEN          L"error : File '%s' not found or not a PE file"
145     IDS_E_NOCORHDR          L"error : '%s' has no valid CLR header and cannot be disassembled"
146     IDS_E_BADCORHDR         L"error : Bad CLR header, or the version of the file format is not supported"
147     IDS_E_OPENMD            L"error : Failed to open meta data"
148     IDS_E_COPYRIGHT         L"error : Copyrighted material - can not disassemble!"
149     IDS_E_DASMOK            L"*********** DISASSEMBLY COMPLETE ***********************"
150     IDS_E_PARTDASM          L"warning : THIS IS A PARTIAL DISASSEMBLY, NOT SUITABLE FOR RE-ASSEMBLING"
151     IDS_E_INSTRDT           L"error : Failed to create instruction decoding table"
152     IDS_E_NOCOMPR           L"error : Compression not supported"
153     IDS_E_CLSENUM           L"error : Unable to enumerate classes"
154     IDS_E_SELFNSTD          L"error : class %08X is nested in itself"
155     IDS_E_NOENCLOS          L"error : class %08X is nested in missing class %08x"
156     IDS_E_INVALIDTK         L"error :  invalid token (%08x)"
157     IDS_E_INVALIDRECORD     L"error : Invalid record (%08x)"
158 END
159
160 STRINGTABLE DISCARDABLE 
161 BEGIN
162     IDS_E_UNEXPTYPE         L"error : unexpected token type, expected %02x, got %02x"
163     IDS_E_AUTOCA            L"--- The following custom attribute is added automatically, do not uncomment -------"
164     IDS_E_PARAMSEQNO        L"error : parameter %d has sequence number %d (0x%X), parameter info skipped"
165     IDS_E_METHBEG           L"Method begins at RVA 0x%x"
166     IDS_E_DASMERR           L"%s ********* ERROR DISASSEMBLING THE METHOD IL CODE ***********"
167     IDS_E_DASMNATIVE        L"Disassembly of native methods is not supported."
168     IDS_E_METHODRT          L"Method provided by Runtime"
169     IDS_E_NORVA             L"COULD NOT GET RVA"
170     IDS_E_MEMBRENUM         L"Unable to enum members"
171     IDS_E_ODDMEMBER         L"Unidentified member 0x%08X of class '%s'"
172     IDS_E_ENUMINIT          L"*** EnumInit(mdtInterfaceImpl) failed"
173     IDS_E_NODATA            L"No data."
174     IDS_E_VTFUTABLE         L"Failed to get vtable fix-up table."
175     IDS_E_BOGUSRVA          L"Bogus RVA for entry."
176     IDS_E_EATJTABLE         L"Failed to get export address table jumps table."
177     IDS_E_EATJSIZE          L"Error!  size of ExportAddressTableJumps %d not a multiple of reserved size %d"
178 END
179
180 STRINGTABLE DISCARDABLE 
181 BEGIN
182     IDS_E_RESFLAGS          L"Error!  reserved flags need to be 0."
183     IDS_E_MIHENTRY          L"Failed to get vtable method data."
184     IDS_E_CODEMGRTBL        L"Failed to get Code Manager table."
185     IDS_E_IMPORTDATA        L"Failed to read import data."
186     IDS_E_COMIMAGE          L"Not a CLR image"
187     IDS_E_MDDETAILS         L"Unable to get MetaData details."
188     IDS_E_MISTART           L"================================= M E T A I N F O ================================================\n"
189     IDS_E_MIEND             L"================================= END OF METAINFO ================================================\n"
190     IDS_E_ONLYITEMS         L"Only shown items having accessibility:"
191     IDS_E_ROGUEPTR          L"ERROR: One of used pointers references undefined data (D_%8.8X)"
192     IDS_E_DECOMPRESS        L"Failed to decompress method"
193     IDS_E_COMPRESSED        L"Method is compressed"
194     IDS_E_CODESIZE          L"Code size       %d (0x%x)"
195     IDS_E_BOGUSLVSIG        L"******** ERROR: Bogus local variable signature (0x%08X) ***********"
196     IDS_E_INSTRDECOD        L"***Instruction decoding ERROR: %02X at position 0x%X (%d)"
197     IDS_E_INSTRTYPE         L"ERROR: Unknown type 0x%X of instruction 0x%X"
198 END
199
200 STRINGTABLE DISCARDABLE 
201 BEGIN
202     IDS_E_ARGINDEX          L"%-10s %d // ERROR: invalid arg index (>=%d)"
203     IDS_E_LVINDEX           L"%-10s %d // ERROR: invalid local var index (>=%d)"
204     IDS_E_SECTHEADER        L"Error: no section header for RVA 0x%x, defaulting to empty string"
205     IDS_E_BADTOKENTYPE      L"%-10s 0x%8.8X // ERROR: invalid token type"
206     IDS_E_MDAIMPORT         L"ERROR: failed to obtain IMetaDataAssemblyImport (0x%08X)"
207     IDS_E_MDAFROMMDI        L"ERROR: failed to obtain IMetaDataAssemblyImport from IMDInternalImport (0x%08X)"
208     IDS_E_MDIIMPORT         L"ERROR: failed to obtain IMDInternalImport (0x%08X)"
209     IDS_E_NOMANIFEST        L"Module contains no Manifest data"
210 END
211
212 STRINGTABLE DISCARDABLE 
213 BEGIN
214     IDS_E_MULTIPLEINPUT     L"MULTIPLE INPUT FILES SPECIFIED\n\n"
215     IDS_E_INVALIDOPTION     L"INVALID COMMAND LINE OPTION: %s\n\n"
216     IDS_PROGRESSBOX         L"ProgressBox"
217     IDS_DISASSEMBLING       L"Disassembling"
218     IDS_PB_FILE             L"File  %s"
219     IDS_PB_FILE1            L"File ...%s"
220     IDS_PB_TOFILE           L"To file  %s"
221     IDS_PB_TOFILE1          L"To file ...%s"
222     IDS_PB_CLASSESDONE      L"%d classes, %d done"
223     IDS_PB_GLOBALSDONE      L"%d global methods, %d done"
224     IDS_PB_CANCEL           L"Cancel"
225     IDS_PB_WRITINGDATA      L"Writing global data"
226     IDS_W_CREATEDW32RES     L"WARNING: Created Win32 resource file %s"
227     IDS_E_CORRUPTW32RES     L"ERROR: Corrupt Win32 resources"
228     IDS_E_CANTOPENW32RES    L"ERROR: Unable to open file %s"
229     IDS_E_CANTACCESSW32RES  L"ERROR: Unable to access Win32 resources"
230     IDS_CANTVIEW_TX         L"Can't view %s::%s(%s)"
231     IDS_CANTVIEW_HD         L"Can't View IL"
232     IDS_ONLYPEINGUI         L"ILDASM supports only PE files in graphic mode"
233     IDS_BADFILETYPE         L"Invalid File Type"
234     IDS_E_CANTOPENOUT       L"Unable to open '%s' for output."
235     IDS_E_CANTCREATEPROC    L"Failed to CreateProcess\n\n"
236     IDS_TEXTTOOLARGEFORGUI  L"Text too large for GUI. Use File/Dump menu entry to disassemble to file."
237     IDS_FILTER_IN           L"PE file (*.exe,*.dll,*.mod,*.mdl,*.winmd)\t*.exe;*.dll;*.mod;*.mdl;*.winmd\tAny type (*.*)\t*.*\t\0"
238     IDS_FILTER_OUT          L"IL file (*.il)\t*.il\tText file (*.txt) \t*.txt\tAny type (*.*)\t*.*\t\0"
239     IDS_FILTER_OUT2         L"Text file (*.txt) \t*.txt\tAny type (*.*)\t*.*\t\0"
240     IDS_CANNOTOPENFILE      L"Cannot open file"
241     IDS_UNABLETOREGLIBS     L"Unable to register libraries!"
242     IDS_ERRORREOPENINGFILE  L"Error reopening the file with FileToken 0x%08X"
243     IDS_ASSEMNAMETOOLONG    L"error *** Assembly name too long, truncated to 1023 characters"
244     IDS_ASMREFNAMETOOLONG   L"error *** AssemblyRef name too long, truncated to 1023 characters"
245     IDS_ERRORCAPTION        L"ERROR"
246     IDS_ILDASM_TITLE        L"Microsoft (R) .NET Framework IL Disassembler"
247     IDS_VERSION             L"Version %s"
248     IDS_W_CREATEDMRES       L"WARNING: managed resource file %s created"
249     IDS_E_READINGMRES       L"ERROR: reading managed resource %s at offset 0x%X"
250     IDS_RTL                 L"RTL_False"    // change this to RTL_True on Arabic/Hebrew system
251     IDS_E_SUPPRESSED        L"Protected module -- cannot disassemble"
252     IDS_LEGALCOPYRIGHT      L"\251 Microsoft Corporation.  All rights reserved."
253 END
254 #endif // FX_VFT == VFT_DLL
255
256 #endif    // English (U.S.) resources
257 /////////////////////////////////////////////////////////////////////////////
258
259 #ifndef FEATURE_PAL
260
261 #ifndef APSTUDIO_INVOKED
262 /////////////////////////////////////////////////////////////////////////////
263 //
264 // Generated from the TEXTINCLUDE 3 resource.
265 //
266 /////////////////////////////////////////////////////////////////////////////
267 #endif    // not APSTUDIO_INVOKED
268
269 #endif    // !FEATURE_PAL