2004-08-08 Zoltan Varga <vargaz@freemail.hu>
[mono.git] / mono / dis / ChangeLog
1 2004-08-08  Zoltan Varga  <vargaz@freemail.hu>
2
3         * get.c (get_typespec): Append '*' to pointer types. Fixes #62331.
4
5 2004-08-03  Martin Baulig  <martin@ximian.com>
6
7         * dump.c (method_dor_to_token): Moved to get.c and made public.
8
9         * get.c (get_method_override): New public function.
10
11         * main.c (dis_code): Added `.override' for override methods.
12
13 2004-08-02  Martin Baulig  <martin@ximian.com>
14
15         * get.c (dis_stringify_object_with_class): Include our generic
16         arguments in the method's class name.
17
18         * main.c (dis_generic_param_and_constraints): Use the new
19         constraints syntax.
20
21 2004-08-02  Martin Baulig  <martin@ximian.com>
22
23         * dump.c (dump_stream_blob): Format this nicely.
24         (dump_table_standalonesig): New public function.
25
26         * main.c (dis_locals): If --show-tokens was requested, print the
27         standalone signature token.
28         (table_list): Added "--standalonesig".
29
30 2004-07-09  Jackson Harper  <jackson@ximian.com>
31
32         * get.c: Make "class" the default so only valuetypes get the
33         "valuetype" modifier. Otherwise object, string, int,... will get
34         it.
35         
36 2004-07-08  Jackson Harper  <jackson@ximian.com>
37
38         * main.c: Spaces after visibility types.
39         
40 2004-07-06  Jackson Harper  <jackson@ximian.com>
41
42         * get.c: Add float cast for outputing floats. Patch by Steve Brown.
43         
44 2004-06-25  Jackson Harper  <jackson@ximian.com>
45
46         * get.c: Add a few more keywords to be escaped.
47         * main.c: MS's ildasm writes '// end of class' not '// end of
48         type'. The python.net tool searches for this string.
49         
50 2004-06-24  David Waite  <mass@akuma.org>
51
52         * dump.c: change to C90-style comments from C99/C++-style
53         
54 2004-06-23  Raja R Harinath  <rharinath@novell.com>
55
56         * main.c (dis_event_signature): Decode and print event_flags.
57
58 2004-06-20  Jackson Harper  <jackson@ximian.com>
59
60         * dis-cil.c: Handle switch statements with no labels.
61         
62 2004-06-19  Jackson Harper  <jackson@ximian.com>
63
64         * dump.c/h: New function to dump the contents of the blob
65         stream. I found it useful for debugging so I will share.
66         * main.c: Add --blob switch to dump the blob stream.
67         * monodis.1: Document --blob
68         
69 2004-06-19  Jackson Harper  <jackson@ximian.com>
70
71         * get.c/h: New function to stringify function pointers.
72         
73 2004-06-19  Jackson Harper  <jackson@ximian.com>
74
75         * get.c: Fix name escaping so we dont escape everything in the
76         world anymore.
77         
78 2004-06-11  Martin Baulig  <martin@ximian.com>
79
80         * get.c (get_methodref_signature): Include "vararg " in the
81         signature of a varargs method.
82
83 2004-06-11  Martin Baulig  <martin@ximian.com>
84
85         * get.c (get_methodref_signature): If we're a varargs method,
86         print "..." for the sentinel followed by the actual types.
87
88 2004-06-08  Martin Baulig  <martin@ximian.com>
89
90         * dump.c (dump_table_memberref): Added support for MethodDef
91         parents.        
92
93 2004-05-06  Bernie Solomon  <bernard@ugsolutions.com>
94
95         * dump.c:
96         * get.c:
97         * main.c:
98         * util.c:
99         * util.h: rename map_t dis_map_t to avoid AIX symbol clash
100
101 2004-04-01  Martin Baulig  <martin@ximian.com>
102
103         * dump.c (dump_table_memberref): Added support for TypeDef's.
104
105 2004-03-29  Jackson Harper  <jackson@ximian.com>
106
107         * main.c: Handle pinvoke info where there is not an impl_map
108         entry.
109         
110 2004-03-27  Vladimir Vukicevic  <vladimir@pobox.com>
111
112        * get.c (get_constant): output bool consts as bool(true) or
113        bool(false)  (to be same as ildasm, also what mono and ms
114        ilasm expect)
115
116 2004-01-31  Martin Baulig  <martin@ximian.com>
117
118         * get.c (get_methodspec): It's a methoddef or ref token.
119
120 2004-01-26  Martin Baulig  <martin@ximian.com>
121
122         * main.cs (--show-tokens): New command line argument to show
123         type tokens in the disassembly.
124
125         * get.c (get_typedef, get_typespec, get_typeref): If
126         `show_tokens', include the token in the type name.
127         (get_type): Do some type parsing here and include the token in the
128         returned type name if requested.
129         (get_method): Include tokens if requested.
130
131 2004-01-17  Zoltan Varga  <vargaz@freemail.hu>
132
133         * main.c get.c: Add support for dumping the custom attributes of
134         modules.
135
136 2004-01-09  Jackson Harper  <jackson@ximian.com>
137
138         * monodis.1: Add --show-method-tokens switch
139         * get.c: When stringifying methods show the method token if the
140         show-method-tokens flag is set.
141         * get.h: Add show_method_tokens flag
142         * main.c: Add --show-method-tokens switch
143         
144 2004-01-09  Jackson Harper  <jackson@ximian.com>
145
146         * monodis.1: Add typespec switch
147         
148 2004-01-08  Jackson Harper  <jackson@ximian.com>
149
150         * main.c: Add switch to dump typespec table.
151         * dump.c/dump.h: Add function for dumping typespec table.
152         
153 2003-12-19  Zoltan Varga  <vargaz@freemail.hu>
154
155         * dump.c (dump_table_exported): Fix output.
156
157 2003-12-08  Jackson Harper <jackson@ximian.com>
158
159         * main.cs: escape module names.
160         
161 2003-12-03  Zoltan Varga  <vargaz@freemail.hu>
162
163         * main.c (dis_field_list): Update after changes to 
164         mono_metadata_get_constant_index ().
165
166 2003-11-26  Zoltan Varga  <vargaz@freemail.hu>
167
168         * dump.c dump.h main.c: Added support for dumping the ImplMap table
169         (--implmap).
170
171         * main.c (dis_method_list): Avoid disassembling native code.
172
173 2003-11-19  Zoltan Varga  <vargaz@freemail.hu>
174
175         * get.c (dis_stringify_modifiers): Fix display of modreq and modopt.
176
177 Thu Nov 13 16:12:09 CET 2003 Paolo Molaro <lupus@ximian.com>
178
179         * util.h, dump.c: get rid of ugly CSIZE macro.
180
181 2003-11-01  Zoltan Varga  <vargaz@freemail.hu>
182
183         * main.c: Add disassembly of module, moduleref and file tables.
184
185         * get.h get.c: Add support for modulerefs.
186
187         * dump.c: Avoid crash on empty assembly table.
188
189 2003-10-22 Jackson Harper <jackson@ximian.com>
190
191         * main.c: Use escaped names for method, and type names. Initialize
192         the name table.
193         * main.c (visibility_map): Fix typo, should be nested family not
194         family
195         * main.c (dis_data): Use uppercase hex to avoid name conflicts.
196         * get.c/get.h: New method to get an escaped name. This method will
197         take a name and escape it if it is an ilasm keyword, or uses a non
198         id char. Use escaped names for type, method, field, and parameter names.
199         * get.c (get_typespec): A typespec can be used for anything, so we
200         need to handle all types not just modified types.
201         * get.c (dis_stringify_object_with_class): Handle nested classes
202         * get.c (get_token): Add field keyword to field tokens.
203         
204 2003-10-21 Jackson Harper <jackson@ximian.com>
205
206         * get.c (get_fieldref_signature): Use MONO_MEMBERREF_SIGNATURE in
207         the member ref table.
208         
209 2003-10-21  Martin Baulig  <martin@ximian.com>
210
211         * get.c (get_typespec): Add MONO_TYPE_VAR and MONO_TYPE_MVAR.
212
213 2003-10-18 Jackson Harper <jackson@ximian.com>
214
215         * dis-cil.c (get_encoded_user_string): use g_strescape instead of
216         escaping manually.
217         * util.c (hex_dump): Use uppercase hex so there are no conflicts
218         with ilasm keywords ie cf
219         
220 2003-10-17 Jackson Harper <jackson@ximian.com>
221
222         * dis-cil.c (get_encoded_user_string): Escape user strings when
223         loading. ie ""quote"" should be "\"quote\"".
224         * dis-cil.c (dissasemble_cil): Write SEH debug info into a comment
225         block. Combine SEH blocks that have the same offset and length,
226         this prevents creating invalid SEH blocks. 
227         
228 2003-10-15  Zoltan Varga  <vargaz@freemail.hu>
229
230         * get.c (get_ret_type): Remove needless warning message.
231
232 2003-10-13 Jackson Harper <jackson@ximian.com>
233
234         * get.c: stringify nested types properly ie Outer/Inner.
235         
236 2003-10-10 Jackson Harper <jackson@ximian.com>
237
238         * dump.c: When dumping methodspecs dump the full methodspec with
239         signature, and dump the signature.
240         
241 2003-10-10 Jackson Harper <jackson@ximian.com>
242
243         * get.c/get.h: Add methods to get stringified methodspecs and
244         method type parameters. 
245         
246 2003-10-09 Jackson Harper <jackson@ximian.com>
247
248         * main.c/get.c: Remove magic numbers, use constants.
249         
250 2003-10-08 Jackson Harper <jackson@ximian.com>
251
252         * main.c (dis_genericparam): renamed to
253         dis_generic_param_and_constraints, allow a table type to be passed
254         to the method so this could be used with generic methods (It is
255         not though).
256         * get.c/get.h (get_generic_param): method to stringify generic
257         type and method parameters.
258         * get.c (dis_stringify_method_signature): Add generic parameters.
259         
260 2003-10-08 Jackson Harper <jackson@ximian.com>
261
262         * main.c (dis_type): NULL cnst_block so we dont explode on
263         interfaces.
264         * main.c (dis_genericparam): oops, fix off-by-one error.
265         
266 2003-10-08 Jackson Harper <jackson@ximian.com>
267
268         * get.c/get.h add method to get a methoddef from an index, simplify
269         get_typd_or_methdef, use new get_methoddef to get the method
270         because we have a method index not a method token.
271         
272 2003-10-07 Jackson Harper <jackson@ximian.com>
273
274         * main.c: When dis. generic parameters the TypeOrMethodDef token
275         only needs to be shifted 1 bit. Added dis of generic constraints.
276         * get.c/get.h: New method for getting a TypeOrMethodDef token
277         * dump.c: When dumping generic parameters and generic constraints
278         output readable names instead of just tokens.
279         
280 2003-10-01 Jackson Harper <jackson@latitudegeo.com>
281         
282         * main.c: Fix visibility level names, when outputing pinvoke info
283         quote the module and method names, properties have specialname,
284         and rtspecialname flags (nothing else), dis global methods and
285         fields FIXME: indentation issues.
286         * get.h: declare get_fieldref_signature
287         * get.c: Fix unsigned ints (not uint), single quote argument names
288         (this is kinda a hack, ildasm will only single quote arg names
289         that are ilasm keywords), remove fixme, we know what typedbyref
290         means, output fieldref signatures instead of their token value.
291         
292 2003-09-19 Jackson Harper <jackson@latitudegeo.com>
293
294         * dis-cil.c: Output fault blocks, and filter blocks. If in a
295         filter block outptut 0xDC as endfilter if in a fault output as
296         endfault.
297         
298 2003-08-22  Zoltan Varga  <vargaz@freemail.hu>
299
300         * main.c (dis_event_list): Same for event methods.
301
302         * get.c (dis_stringify_method_signature): New argument specifying
303         whenever to return a fully qualified method name.
304         * dump.c main.c: Updated to work with the new function.
305
306         * main.c (dis_property_methods): Print fully qualified method names 
307         for property methods. Fixes #46221.
308
309 2003-07-22 Jackson Harper <jackson@latitudegeo.com>
310
311         * main.c: Dissasemble generic type parameters for type
312         definitions. TODO: Sort type parameters by index, and
313         auto-generate names for parameters that have no name.
314         
315 Fri Jul 18 13:12:38 CEST 2003 Paolo Molaro <lupus@ximian.com>
316
317         * get.c: updates for array type representation changes.
318
319 2003-06-16 Jackson Harper <jackson@latitudegeo.com>
320
321         * get.c: Fix modopt and modreq
322                 
323 Thu May 29 12:21:47 CEST 2003 Paolo Molaro <lupus@ximian.com>
324
325         * dump.c, get.c: misc fixes.
326
327 Wed May 7 16:50:00 CEST 2003 Paolo Molaro <lupus@ximian.com>
328
329         * main.c: output custom attributes for method parameters.
330
331 Wed May 7 16:24:43 CEST 2003 Paolo Molaro <lupus@ximian.com>
332
333         * main.c: output nested types inside their nesting class.
334
335 2003-04-12  Zoltan Varga  <vargaz@freemail.hu>
336
337         * get.c (dis_stringify_modifiers): Print a space between custom modifers.
338         * get.c (get_custom_mod): Handle multiple custom modifiers aka bug #30812.
339         * main.c: Print klass name at the end of each method to make it easier
340         to find a given method.
341
342 2003-03-31  Miguel de Icaza  <miguel@ximian.com>
343
344         * main.c: Sorted command line options table by name.
345
346         * dump.c: Add support for dumping the new generic tables. 
347
348         * monodis.1: Update man page.
349         
350 2003-03-09 Jackson Harper <jackson@latitudegeo.com>
351
352         * main.c: Ouput implements clause as a comma seperated list.
353
354 Thu Feb  6 02:43:23 PST 2003 Piers Haken <piersh@friskit.com>
355
356         * dump.c: more warning cleanups
357
358 Mon Jan 27 17:16:50 CET 2003 Paolo Molaro <lupus@ximian.com>
359
360         * get.c: decode also the size info in get_marshal_info()
361         for ByValStr and ByValArray.
362
363 Tue Sep 24 11:48:53 CEST 2002 Paolo Molaro <lupus@ximian.com>
364
365         * main.c: use mono_type_size () to get the size of
366         a blob of data for a type (Zoltan Varga spotted the bug).
367
368 2002-09-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
369
370         * get.c: closes bug #30814. Thanks to Zoltan Varga.
371
372 Mon Sep 16 18:49:55 CEST 2002 Paolo Molaro <lupus@ximian.com>
373
374         * main.c, get.c, dump.c: updates for changes in libmetadata.
375
376 Fri Sep 13 15:39:41 CEST 2002 Paolo Molaro <lupus@ximian.com>
377
378         * main.c: dump public key.
379         * get.c, util.h, util.c: prettyfy data dumps.
380
381 2002-08-28  Dick Porter  <dick@ximian.com>
382
383         * Makefile.am: Export HOST_CC for w32 builds
384
385 Tue Aug 6 12:40:09 CEST 2002 Paolo Molaro <lupus@ximian.com>
386
387         * main.c: use mono_image_get_entry_point ().
388
389 Fri Jul 26 11:41:32 CEST 2002 Paolo Molaro <lupus@ximian.com>
390
391         * main.c, dump.h, dump.c: output hash value in File table.
392         Add dumper function for DeclSecurity table.
393
394 Fri Jul 19 14:20:10 CEST 2002 Paolo Molaro <lupus@ximian.com>
395
396         * main.c: handle null parent.
397
398 2002-07-02  Martin Baulig  <martin@gnome.org>
399
400         * get.c (dis_stringify_object_with_class): New static function to
401         stringify an object when we already have its class.
402         (dis_stringify_object): Get the class and call dis_stringify_object().
403         (get_method): Call dis_stringify_object_with_class() since we already
404         have the object's class.
405
406 Thu Jun 20 11:50:38 CEST 2002 Paolo Molaro <lupus@ximian.com>
407
408         * main.c, dump.c, dump.h: code to dump the MethodImpl table.
409
410 Mon Jun 17 17:31:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
411
412         * get.h, get.c: get_marshal_info() to get a marshal descriptor.
413         * main.c, dump.h, dump.c: added code to dump the FieldMarshl table.
414
415 Tue Jun 11 14:11:12 CEST 2002 Paolo Molaro <lupus@ximian.com>
416
417         * get.c: handle modulerefs.
418         * main.c: fix --mscorlib argument handling.
419
420 Fri Jun 7 19:39:43 CEST 2002 Paolo Molaro <lupus@ximian.com>
421
422         * get.c: handle typerefs of nested types. Don't print "."
423         with an empty namespace.
424
425 Sat Jun 1 13:57:17 CEST 2002 Paolo Molaro <lupus@ximian.com>
426
427         * main.c: print byte values correctly.
428
429 2002-05-20  Martin Baulig  <martin@gnome.org>
430
431         * main.c: Added `--output=FILENAME' command line option.
432
433         * monodis.1: Documented it here.
434
435 Thu May 16 17:21:07 CEST 2002 Paolo Molaro <lupus@ximian.com>
436
437         * main.c, dump,c, get.h, get.c: diassemble custom attributes.
438
439 Wed May 15 16:02:56 CEST 2002 Paolo Molaro <lupus@ximian.com>
440
441         * main.c: output field RVA data.
442
443 Fri May 10 21:00:52 CEST 2002 Paolo Molaro <lupus@ximian.com>
444
445         * main.c: print field offset info if needed.
446
447 Wed May 1 17:07:56 CEST 2002 Paolo Molaro <lupus@ximian.com>
448
449         * dump.c, dump.h, main.c: dump ExportedTypes table.
450         * get.c: fix get_module (), remove magic numbers.
451         * monodis.1: update manpage (hi miguel!:)
452
453 Mon Apr 29 12:12:35 CEST 2002 Paolo Molaro <lupus@ximian.com>
454
455         * dump.c, dump.h, main.c: support for dumping the manifest resource table.
456
457 Mon Apr 15 11:35:05 CEST 2002 Paolo Molaro <lupus@ximian.com>
458
459         * dump.c, dump.h, get.c, get.h, main.c: support for dumping the
460         module table and guid values.
461
462 Mon Apr 8 17:15:04 CEST 2002 Paolo Molaro <lupus@ximian.com>
463
464         * main.c: removed unneeded runtime invoke support.
465
466 Thu Mar 28 16:52:11 CET 2002 Paolo Molaro <lupus@ximian.com>
467
468         * dis-cil.c, dump.c, get.c, main.c, util.h: spring warning cleanup.
469
470 Thu Mar 28 11:29:58 CET 2002 Paolo Molaro <lupus@ximian.com>
471
472         * util.c: when an invalid flags combination is seen,
473         return the string "invalid-flags", so disassembly can continue.
474
475 Tue Mar 19 18:15:29 CET 2002 Paolo Molaro <lupus@ximian.com>
476
477         * dis-cil.c: use unsigned for variables.
478
479 Sat Mar 16 19:13:57 CET 2002 Paolo Molaro <lupus@ximian.com>
480
481         * dump.c: handle TypeSpec token in memberref table dump.
482
483 2002-03-08  Nick Drochak  <ndrochak@gol.com>
484
485         * monodis.1: Add info about new parameter
486         * main.c: Add flag to remember if user wants to us mscorlib for
487         non-corilb assembly names
488         * get.c(get_typedef): use mscorlib for assembly name only
489         if user specifies it with a command line parameter. Default
490         behavior is now to use actual assembly name.
491  
492 Tue Mar 5 18:11:01 CET 2002 Paolo Molaro <lupus@ximian.com>
493
494         * dump.c: print index of the methodsemantics table.
495         * main.cs: print event information.
496
497 Wed Feb 20 22:10:48 CET 2002 Paolo Molaro <lupus@ximian.com>
498
499         * dump.c: fix the fix and more complete custom attribute decoder.
500
501 Tue Feb 19 20:20:15 CET 2002 Paolo Molaro <lupus@ximian.com>
502
503         * dump.c: the prolog is before each arg in the custom attribute blob.
504
505 Mon Feb 18 15:48:38 CET 2002 Paolo Molaro <lupus@ximian.com>
506
507         * get.c: include last param.
508
509 Thu Feb 14 18:59:37 CET 2002 Paolo Molaro <lupus@ximian.com>
510
511         * main.c: output pack and size info if needed.
512
513 2002-02-13  Dietmar Maurer  <dietmar@ximian.com>
514
515         * *.c: s/MonoMetadata/MonoImage/ 
516
517 Tue Feb 12 14:33:53 CET 2002 Paolo Molaro <lupus@ximian.com>
518
519         * dump.c: make all the indexes printed starting from 1.
520
521 Fri Feb 8 19:28:31 CET 2002 Paolo Molaro <lupus@ximian.com>
522
523         * get.c: don't abort if a methodref is not found, usa alternative way
524         to get the method name.
525
526 Fri Feb 8 12:29:41 CET 2002 Paolo Molaro <lupus@ximian.com>
527
528         * Makefile.am: correct linking order.
529         * dis-cil.c: use opcode info from opcodes.h instead of a copy of the data.
530
531 Thu Jan 31 18:21:12 CET 2002 Paolo Molaro <lupus@ximian.com>
532
533         * dis-cil.c: reverse order when outputting start try blocks.
534
535 Mon Jan 14 17:00:23 CET 2002 Paolo Molaro <lupus@ximian.com>
536
537         * dump.c: more info in method table dump.
538
539 Mon Dec 24 17:24:13 CET 2001 Paolo Molaro <lupus@ximian.com>
540
541         * main.c, dump.h, dump.c: add dump_table_nestedclass().
542         * dis-cil.c: output int64 as hex.
543
544 Tue Dec 18 18:48:00 CET 2001 Paolo Molaro <lupus@ximian.com>
545
546         * main.c: use mono_metadata_methods_from_property() and
547         mono_metadata_properties_from_typedef() from metadata instead of
548         custom code.
549
550 Tue Nov 27 16:31:52 CET 2001 Paolo Molaro <lupus@ximian.com>
551
552         * main.c: output a marker for method (used in debug support).
553
554 Mon Nov 19 11:32:28 CET 2001 Paolo Molaro <lupus@ximian.com>
555
556         * main.c: remove arch_create_jit_trampoline().
557
558 Thu Nov 15 17:42:03 CET 2001 Paolo Molaro <lupus@ximian.com>
559
560         * dump.c: decode more info in the constant table.
561         * get.c: show literals the same way ildasm does.
562         * main.c: decode literal values for fields.
563
564 Fri Nov 2 19:04:21 CET 2001 Paolo Molaro <lupus@ximian.com>
565
566         * main.c, dump, dump.c: decode the customattr table.
567         * dump.c: handle also field signature when dumping the memberref
568         table.
569
570 2001-11-07  Miguel de Icaza  <miguel@ximian.com>
571
572         * main.c (dis_property_methods): Added missing colon which avoided
573         setting loc.t
574
575 2001-10-10  Dietmar Maurer  <dietmar@ximian.com>
576
577         * main.c (arch_compile_method):  added to compute vtable entry
578
579 Mon Oct 8 16:13:55 CEST 2001 Paolo Molaro <lupus@ximian.com>
580
581         * get.c, get.h: MonoArray changed in MonoArrayType.
582         * main.c: guard against calling bsearch with a NULL pointer
583         (pointed out by Laurent Rioux, smoux).
584
585 Thu Oct 4 19:05:56 CEST 2001 Paolo Molaro <lupus@ximian.com>
586
587         * dis-cil.c: fix printing of exception stuff.
588         * dump.c: display some more info in the typedef table dump.
589         * main.c: typo fix and method list fix.
590
591 2001-10-04  Dick Porter  <dick@ximian.com>
592
593         * meta.h: include mono-endian.h not endian.h
594
595 2001-10-02  Dietmar Maurer  <dietmar@ximian.com>
596
597         * get.c (get_method): always write namespace and class name.
598
599 2001-09-06  Miguel de Icaza  <miguel@ximian.com>
600
601         * monodis.1: Update man page.
602
603 Tue Aug 28 15:54:45 CEST 2001 Paolo Molaro <lupus@ximian.com>
604
605         * main.c, dump.c, dump.h, get.c: added dump_table_interfaceimpl ().
606         Output info about interfaces when disassembling a type. Many small
607         changes to make the output correct assembler.
608
609 Mon Aug 27 20:13:49 CEST 2001 Paolo Molaro <lupus@ximian.com>
610
611         * dis-cil.c, get.c: some endian fixes.
612         * main.c: colon-separate version numbers. Print also namespace
613         when outputting class information.
614
615 Fri Aug 24 16:10:12 CEST 2001 Paolo Molaro <lupus@ximian.com>
616
617         * get.c, main.c, get.h: updates for MonoParam merge in MonoType.
618
619 2001-08-24  Dietmar Maurer  <dietmar@ximian.com>
620
621         * main.c (disassemble_file): use assembly_open instead of image_open
622
623 Wed Aug 22 16:22:22 CEST 2001 Paolo Molaro <lupus@ximian.com>
624
625         * dis-cil.c: add a newline after branch instructions. Move
626         end of exception handler code at the end.
627
628 Tue Aug 21 18:51:05 CEST 2001 Paolo Molaro <lupus@ximian.com>
629
630         * dis-cil.c: correctly print the label for multi-byte opcodes.
631
632 Mon Aug 20 19:33:34 CEST 2001 Paolo Molaro <lupus@ximian.com>
633
634         * util.c: add a space when decoding multiple flags.
635         * dump.c, dump.h, main.c: decode the property map and
636         methodsemantics tables. Disassemble property information
637         to .property IL directives.
638         * get.c: allow passing a NULL as method in dis_stringify_method ()
639         if a methoddef_row is given.
640         
641 2001-08-20  Dietmar Maurer  <dietmar@ximian.com>
642
643         * get.c (dis_stringify_type): support pinned values
644
645 Sat Aug 18 11:24:07 CEST 2001 Paolo Molaro <lupus@ximian.com>
646
647         * dump.c, get.c, get.h, main.c: dis_stringify_method_signature()
648         gets an optional methodef_row index instead of a name, so it
649         can figure out also the names and attributes of params.
650         parse_method_signature() and free_method_signature() removed as
651         they are useless now.
652
653 2001-08-17  Dietmar Maurer  <dietmar@ximian.com>
654
655         * main.c (pinvoke_info): bug fix - use the right column in the table
656
657 2001-08-14  Dietmar Maurer  <dietmar@ximian.com>
658
659         * get.c (dis_stringify_type): use strconcat instead of strjoin
660
661 Sat Aug 4 12:36:54 CEST 2001 Paolo Molaro <lupus@ximian.com>
662
663         * get.c, get.h, main.c, dump.c: implement dis_stringify_method_signature().
664         More magic constants replaced by enum values (spotted at least 3 real bugs
665         doing this). Print usage information if an unknown option is given.
666         Print the full signature when dumping the method table.
667         Changed method and field table dumps to show the typedef name the field
668         or method belongs to.
669
670 Fri Aug 3 18:30:16 CEST 2001 Paolo Molaro <lupus@ximian.com>
671
672         * get.c (get_method): fix use of unitialized variable and
673         remove magic constants all over the place.
674
675 Wed Aug 1 22:46:45 CEST 2001 Paolo Molaro <lupus@ximian.com>
676
677         * dis-cil.c: properly decode the switch opcode.
678         
679 2001-08-01  Dietmar Maurer  <dietmar@ximian.com>
680
681         * get.c (get_token): decode typedef and typeref tokens
682
683         * main.c (dis_method_list): don't decode the next row, that is
684         totally unnecessary
685
686 Tue Jul 31 17:48:11 CEST 2001 Paolo Molaro <lupus@ximian.com>
687
688         * dis-cil.c, dis-cil.h, dump.c, dump.h, get.c, get.h, main.c, push-pop.h:
689         massive namespace cleanup.
690         * main.c: dis_locals() now just strigifies a MonoMethodHeader.
691
692 2001-07-31  Dietmar Maurer  <dietmar@ximian.com>
693
694         * main.c (pinvoke_flags): impl.
695
696 Mon Jul 30 20:08:37 CEST 2001 Paolo Molaro <lupus@ximian.com>
697
698         * dis-cil.c, dis-cil.h, main.c: changes to disassemble also
699         the information about try/catch/finally blocks.
700
701 2001-07-27  Dietmar Maurer  <dietmar@ximian.com>
702
703         * get.c (dis_stringify_type): return "void" if !type
704         (dis_stringify_type): print type* instead of *type
705
706 Thu Jul 26 13:22:28 CEST 2001 Paolo Molaro <lupus@ximian.com>
707
708         * dis-cil.c, dump.c, get.c, main.c: updates to match changes in metadata.
709         Removed dead code.
710
711 2001-07-17  Miguel de Icaza  <miguel@ximian.com>
712
713         * main.c (usage): Print out all the arguments.
714
715         * get.c, main.c, dump.c: Remove `expand', `get_encoded_value',
716         `get_blob_encoded_size' and replaced with the proper functions
717         from metadata.c
718
719 2001-07-15  Miguel de Icaza  <miguel@ximian.com>
720
721         * main.c (dis_code): Only display .entrypoint when we are dealing
722         with a module that contains an entry point.  This removes a bunch
723         of warnings for .dll dumping
724
725 Sun Jul 15 17:29:10 CEST 2001 Paolo Molaro <lupus@ximian.com>
726
727         * get.h,get.c: added some dis_stringify_object() functions:
728         metadata decoding is now done in libmetadata. Still need to use
729         them throughhout the code (and move other decode code to
730         metadata). Fix also field decoding (band-aid until we load
731         also referenced assemblies).
732         * dis/main.c: start using the new routines.
733
734 2001-07-13  Miguel de Icaza  <miguel@ximian.com>
735
736         * get.c (get_method): GOOD. Implemented this other bad boy.
737
738 2001-07-12  Miguel de Icaza  <miguel@ximian.com>
739
740         * get.c (get_token_type): Implement TOKEN_TYPE_TYPE_SPEC.
741         (get_typespec): Implement.
742         (get_typedef_or_ref): Use get_typespec.
743
744         * dis-cil.c (dissasemble_cil): Implement InlineField
745         (dissasemble_cil): Implement InlineTok.
746
747         * get.c (get_token, get_field): Implemented.  Worked around lame
748         tables in the spec.
749
750 Wed Jul 11 18:52:15 CEST 2001 Paolo Molaro <lupus@ximian.com>
751
752         * dis-cil.c: output real name of local var.
753         * dump.c: output more info about fields (flags and type). Properly decode
754         Property signatures. Decode also method table.
755         * main.c: Fix local variable info. Hopefully fix field and property list.
756
757 Mon Jul  9 16:39:41 CEST 2001 Paolo Molaro <lupus@ximian.com>
758
759         * dump.c: write stuff to output, not stderr. Give more info for properties.
760         * dump.c,dump.h,main.c: implement dump_table_event(), dump_table_file(),
761         dump_table_moduleref().
762         * get.c: first attempt to decode string constants, need to find if and where
763         this is actually specified.
764
765 Fri Jul  6 19:49:21 CEST 2001 Paolo Molaro <lupus@ximian.com>
766
767         * dump.c,dump.h: implement dump_table_property().
768         * main.c: implement local variable info disassembling.
769         Annotate entrypoint method. Remove memory leak in 
770         parse_method_signature ().
771
772 2001-07-04  Miguel de Icaza  <miguel@ximian.com>
773         
774         * get.c (get_methodref_signature): Implement.
775
776         * dump.c (dump_table_memberref): Add memberref dumping.
777
778 Tue,  3 Jul 2001 18:32:10 +0200 Paolo Molaro <lupus@ximian.com>
779
780         * main.c: return on failure.
781
782 2001-07-02  Miguel de Icaza  <miguel@ximian.com>
783
784         * dis-cil.c (get_encoded_user_string): Return a string from the
785         #US heap. o
786
787         * get.c (get_blob_encoded_size): Implement 23.1.4 decoding.
788
789 2001-07-01  Miguel de Icaza  <miguel@ximian.com>
790
791         * dis-cil.c: New file.  CIL opcode dissasembler.
792
793 2001-06-27  Miguel de Icaza  <miguel@ximian.com>
794
795         * main.c: Split code.
796
797 2001-06-22  Miguel de Icaza  <miguel@ximian.com>
798
799         * main.c: More work on the disassembler and on the understanding
800         of the metadata file format.   
801