Mon Apr 8 17:15:04 CEST 2002 Paolo Molaro <lupus@ximian.com>
[mono.git] / mono / dis / ChangeLog
1
2 Mon Apr 8 17:15:04 CEST 2002 Paolo Molaro <lupus@ximian.com>
3
4         * main.c: removed unneeded runtime invoke support.
5
6 Thu Mar 28 16:52:11 CET 2002 Paolo Molaro <lupus@ximian.com>
7
8         * dis-cil.c, dump.c, get.c, main.c, util.h: spring warning cleanup.
9
10 Thu Mar 28 11:29:58 CET 2002 Paolo Molaro <lupus@ximian.com>
11
12         * util.c: when an invalid flags combination is seen,
13         return the string "invalid-flags", so disassembly can continue.
14
15 Tue Mar 19 18:15:29 CET 2002 Paolo Molaro <lupus@ximian.com>
16
17         * dis-cil.c: use unsigned for variables.
18
19 Sat Mar 16 19:13:57 CET 2002 Paolo Molaro <lupus@ximian.com>
20
21         * dump.c: handle TypeSpec token in memberref table dump.
22
23 2002-03-08  Nick Drochak  <ndrochak@gol.com>
24
25         * monodis.1: Add info about new parameter
26         * main.c: Add flag to remember if user wants to us mscorlib for
27         non-corilb assembly names
28         * get.c(get_typedef): use mscorlib for assembly name only
29         if user specifies it with a command line parameter. Default
30         behavior is now to use actual assembly name.
31  
32 Tue Mar 5 18:11:01 CET 2002 Paolo Molaro <lupus@ximian.com>
33
34         * dump.c: print index of the methodsemantics table.
35         * main.cs: print event information.
36
37 Wed Feb 20 22:10:48 CET 2002 Paolo Molaro <lupus@ximian.com>
38
39         * dump.c: fix the fix and more complete custom attribute decoder.
40
41 Tue Feb 19 20:20:15 CET 2002 Paolo Molaro <lupus@ximian.com>
42
43         * dump.c: the prolog is before each arg in the custom attribute blob.
44
45 Mon Feb 18 15:48:38 CET 2002 Paolo Molaro <lupus@ximian.com>
46
47         * get.c: include last param.
48
49 Thu Feb 14 18:59:37 CET 2002 Paolo Molaro <lupus@ximian.com>
50
51         * main.c: output pack and size info if needed.
52
53 2002-02-13  Dietmar Maurer  <dietmar@ximian.com>
54
55         * *.c: s/MonoMetadata/MonoImage/ 
56
57 Tue Feb 12 14:33:53 CET 2002 Paolo Molaro <lupus@ximian.com>
58
59         * dump.c: make all the indexes printed starting from 1.
60
61 Fri Feb 8 19:28:31 CET 2002 Paolo Molaro <lupus@ximian.com>
62
63         * get.c: don't abort if a methodref is not found, usa alternative way
64         to get the method name.
65
66 Fri Feb 8 12:29:41 CET 2002 Paolo Molaro <lupus@ximian.com>
67
68         * Makefile.am: correct linking order.
69         * dis-cil.c: use opcode info from opcodes.h instead of a copy of the data.
70
71 Thu Jan 31 18:21:12 CET 2002 Paolo Molaro <lupus@ximian.com>
72
73         * dis-cil.c: reverse order when outputting start try blocks.
74
75 Mon Jan 14 17:00:23 CET 2002 Paolo Molaro <lupus@ximian.com>
76
77         * dump.c: more info in method table dump.
78
79 Mon Dec 24 17:24:13 CET 2001 Paolo Molaro <lupus@ximian.com>
80
81         * main.c, dump.h, dump.c: add dump_table_nestedclass().
82         * dis-cil.c: output int64 as hex.
83
84 Tue Dec 18 18:48:00 CET 2001 Paolo Molaro <lupus@ximian.com>
85
86         * main.c: use mono_metadata_methods_from_property() and
87         mono_metadata_properties_from_typedef() from metadata instead of
88         custom code.
89
90 Tue Nov 27 16:31:52 CET 2001 Paolo Molaro <lupus@ximian.com>
91
92         * main.c: output a marker for method (used in debug support).
93
94 Mon Nov 19 11:32:28 CET 2001 Paolo Molaro <lupus@ximian.com>
95
96         * main.c: remove arch_create_jit_trampoline().
97
98 Thu Nov 15 17:42:03 CET 2001 Paolo Molaro <lupus@ximian.com>
99
100         * dump.c: decode more info in the constant table.
101         * get.c: show literals the same way ildasm does.
102         * main.c: decode literal values for fields.
103
104 Fri Nov 2 19:04:21 CET 2001 Paolo Molaro <lupus@ximian.com>
105
106         * main.c, dump, dump.c: decode the customattr table.
107         * dump.c: handle also field signature when dumping the memberref
108         table.
109
110 2001-11-07  Miguel de Icaza  <miguel@ximian.com>
111
112         * main.c (dis_property_methods): Added missing colon which avoided
113         setting loc.t
114
115 2001-10-10  Dietmar Maurer  <dietmar@ximian.com>
116
117         * main.c (arch_compile_method):  added to compute vtable entry
118
119 Mon Oct 8 16:13:55 CEST 2001 Paolo Molaro <lupus@ximian.com>
120
121         * get.c, get.h: MonoArray changed in MonoArrayType.
122         * main.c: guard against calling bsearch with a NULL pointer
123         (pointed out by Laurent Rioux, smoux).
124
125 Thu Oct 4 19:05:56 CEST 2001 Paolo Molaro <lupus@ximian.com>
126
127         * dis-cil.c: fix printing of exception stuff.
128         * dump.c: display some more info in the typedef table dump.
129         * main.c: typo fix and method list fix.
130
131 2001-10-04  Dick Porter  <dick@ximian.com>
132
133         * meta.h: include mono-endian.h not endian.h
134
135 2001-10-02  Dietmar Maurer  <dietmar@ximian.com>
136
137         * get.c (get_method): always write namespace and class name.
138
139 2001-09-06  Miguel de Icaza  <miguel@ximian.com>
140
141         * monodis.1: Update man page.
142
143 Tue Aug 28 15:54:45 CEST 2001 Paolo Molaro <lupus@ximian.com>
144
145         * main.c, dump.c, dump.h, get.c: added dump_table_interfaceimpl ().
146         Output info about interfaces when disassembling a type. Many small
147         changes to make the output correct assembler.
148
149 Mon Aug 27 20:13:49 CEST 2001 Paolo Molaro <lupus@ximian.com>
150
151         * dis-cil.c, get.c: some endian fixes.
152         * main.c: colon-separate version numbers. Print also namespace
153         when outputting class information.
154
155 Fri Aug 24 16:10:12 CEST 2001 Paolo Molaro <lupus@ximian.com>
156
157         * get.c, main.c, get.h: updates for MonoParam merge in MonoType.
158
159 2001-08-24  Dietmar Maurer  <dietmar@ximian.com>
160
161         * main.c (disassemble_file): use assembly_open instead of image_open
162
163 Wed Aug 22 16:22:22 CEST 2001 Paolo Molaro <lupus@ximian.com>
164
165         * dis-cil.c: add a newline after branch instructions. Move
166         end of exception handler code at the end.
167
168 Tue Aug 21 18:51:05 CEST 2001 Paolo Molaro <lupus@ximian.com>
169
170         * dis-cil.c: correctly print the label for multi-byte opcodes.
171
172 Mon Aug 20 19:33:34 CEST 2001 Paolo Molaro <lupus@ximian.com>
173
174         * util.c: add a space when decoding multiple flags.
175         * dump.c, dump.h, main.c: decode the property map and
176         methodsemantics tables. Disassemble property information
177         to .property IL directives.
178         * get.c: allow passing a NULL as method in dis_stringify_method ()
179         if a methoddef_row is given.
180         
181 2001-08-20  Dietmar Maurer  <dietmar@ximian.com>
182
183         * get.c (dis_stringify_type): support pinned values
184
185 Sat Aug 18 11:24:07 CEST 2001 Paolo Molaro <lupus@ximian.com>
186
187         * dump.c, get.c, get.h, main.c: dis_stringify_method_signature()
188         gets an optional methodef_row index instead of a name, so it
189         can figure out also the names and attributes of params.
190         parse_method_signature() and free_method_signature() removed as
191         they are useless now.
192
193 2001-08-17  Dietmar Maurer  <dietmar@ximian.com>
194
195         * main.c (pinvoke_info): bug fix - use the right column in the table
196
197 2001-08-14  Dietmar Maurer  <dietmar@ximian.com>
198
199         * get.c (dis_stringify_type): use strconcat instead of strjoin
200
201 Sat Aug 4 12:36:54 CEST 2001 Paolo Molaro <lupus@ximian.com>
202
203         * get.c, get.h, main.c, dump.c: implement dis_stringify_method_signature().
204         More magic constants replaced by enum values (spotted at least 3 real bugs
205         doing this). Print usage information if an unknown option is given.
206         Print the full signature when dumping the method table.
207         Changed method and field table dumps to show the typedef name the field
208         or method belongs to.
209
210 Fri Aug 3 18:30:16 CEST 2001 Paolo Molaro <lupus@ximian.com>
211
212         * get.c (get_method): fix use of unitialized variable and
213         remove magic constants all over the place.
214
215 Wed Aug 1 22:46:45 CEST 2001 Paolo Molaro <lupus@ximian.com>
216
217         * dis-cil.c: properly decode the switch opcode.
218         
219 2001-08-01  Dietmar Maurer  <dietmar@ximian.com>
220
221         * get.c (get_token): decode typedef and typeref tokens
222
223         * main.c (dis_method_list): don't decode the next row, that is
224         totally unnecessary
225
226 Tue Jul 31 17:48:11 CEST 2001 Paolo Molaro <lupus@ximian.com>
227
228         * dis-cil.c, dis-cil.h, dump.c, dump.h, get.c, get.h, main.c, push-pop.h:
229         massive namespace cleanup.
230         * main.c: dis_locals() now just strigifies a MonoMethodHeader.
231
232 2001-07-31  Dietmar Maurer  <dietmar@ximian.com>
233
234         * main.c (pinvoke_flags): impl.
235
236 Mon Jul 30 20:08:37 CEST 2001 Paolo Molaro <lupus@ximian.com>
237
238         * dis-cil.c, dis-cil.h, main.c: changes to disassemble also
239         the information about try/catch/finally blocks.
240
241 2001-07-27  Dietmar Maurer  <dietmar@ximian.com>
242
243         * get.c (dis_stringify_type): return "void" if !type
244         (dis_stringify_type): print type* instead of *type
245
246 Thu Jul 26 13:22:28 CEST 2001 Paolo Molaro <lupus@ximian.com>
247
248         * dis-cil.c, dump.c, get.c, main.c: updates to match changes in metadata.
249         Removed dead code.
250
251 2001-07-17  Miguel de Icaza  <miguel@ximian.com>
252
253         * main.c (usage): Print out all the arguments.
254
255         * get.c, main.c, dump.c: Remove `expand', `get_encoded_value',
256         `get_blob_encoded_size' and replaced with the proper functions
257         from metadata.c
258
259 2001-07-15  Miguel de Icaza  <miguel@ximian.com>
260
261         * main.c (dis_code): Only display .entrypoint when we are dealing
262         with a module that contains an entry point.  This removes a bunch
263         of warnings for .dll dumping
264
265 Sun Jul 15 17:29:10 CEST 2001 Paolo Molaro <lupus@ximian.com>
266
267         * get.h,get.c: added some dis_stringify_object() functions:
268         metadata decoding is now done in libmetadata. Still need to use
269         them throughhout the code (and move other decode code to
270         metadata). Fix also field decoding (band-aid until we load
271         also referenced assemblies).
272         * dis/main.c: start using the new routines.
273
274 2001-07-13  Miguel de Icaza  <miguel@ximian.com>
275
276         * get.c (get_method): GOOD. Implemented this other bad boy.
277
278 2001-07-12  Miguel de Icaza  <miguel@ximian.com>
279
280         * get.c (get_token_type): Implement TOKEN_TYPE_TYPE_SPEC.
281         (get_typespec): Implement.
282         (get_typedef_or_ref): Use get_typespec.
283
284         * dis-cil.c (dissasemble_cil): Implement InlineField
285         (dissasemble_cil): Implement InlineTok.
286
287         * get.c (get_token, get_field): Implemented.  Worked around lame
288         tables in the spec.
289
290 Wed Jul 11 18:52:15 CEST 2001 Paolo Molaro <lupus@ximian.com>
291
292         * dis-cil.c: output real name of local var.
293         * dump.c: output more info about fields (flags and type). Properly decode
294         Property signatures. Decode also method table.
295         * main.c: Fix local variable info. Hopefully fix field and property list.
296
297 Mon Jul  9 16:39:41 CEST 2001 Paolo Molaro <lupus@ximian.com>
298
299         * dump.c: write stuff to output, not stderr. Give more info for properties.
300         * dump.c,dump.h,main.c: implement dump_table_event(), dump_table_file(),
301         dump_table_moduleref().
302         * get.c: first attempt to decode string constants, need to find if and where
303         this is actually specified.
304
305 Fri Jul  6 19:49:21 CEST 2001 Paolo Molaro <lupus@ximian.com>
306
307         * dump.c,dump.h: implement dump_table_property().
308         * main.c: implement local variable info disassembling.
309         Annotate entrypoint method. Remove memory leak in 
310         parse_method_signature ().
311
312 2001-07-04  Miguel de Icaza  <miguel@ximian.com>
313         
314         * get.c (get_methodref_signature): Implement.
315
316         * dump.c (dump_table_memberref): Add memberref dumping.
317
318 Tue,  3 Jul 2001 18:32:10 +0200 Paolo Molaro <lupus@ximian.com>
319
320         * main.c: return on failure.
321
322 2001-07-02  Miguel de Icaza  <miguel@ximian.com>
323
324         * dis-cil.c (get_encoded_user_string): Return a string from the
325         #US heap. o
326
327         * get.c (get_blob_encoded_size): Implement 23.1.4 decoding.
328
329 2001-07-01  Miguel de Icaza  <miguel@ximian.com>
330
331         * dis-cil.c: New file.  CIL opcode dissasembler.
332
333 2001-06-27  Miguel de Icaza  <miguel@ximian.com>
334
335         * main.c: Split code.
336
337 2001-06-22  Miguel de Icaza  <miguel@ximian.com>
338
339         * main.c: More work on the disassembler and on the understanding
340         of the metadata file format.   
341