2 Tue Nov 9 17:29:28 CET 2004 Paolo Molaro <lupus@ximian.com>
4 * dis-cil.c, get.c, get.h: update to exception clause structure changes.
6 2004-11-08 Ben Maurer <bmaurer@ximian.com>
8 * get.c, dump.c: warning free.
10 2004-10-21 Jackson Harper <jackson@ximian.com>
12 * get.c: Escape typedef names.
14 2004-10-19 <vargaz@freemail.hu>
16 * main.c: Applied patch from Alexandre Rocha Lima e Marcondes (alexandremarcondes@psl-pr.softwarelivre.org). Really fix 2.95 build.
18 2004-10-04 Sebastien Pouliot <sebastien@ximian.com>
20 * dump.c: Added new "internal" security actions for non-CAS demands:
21 NonCasDemand, NonCasLinkDemand and NonCasInheritance.
22 * main.c: Added new "internal" security actions for non-CAS demands:
23 noncasdemand, noncaslinkdemand and noncasinheritance.
25 2004-09-24 Zoltan Varga <vargaz@freemail.hu>
27 * main.c: Add support for pinvoke flags BestFit and
28 ThrowOnUnmappableChar.
30 2004-09-23 Miguel de Icaza <miguel@ximian.com>
32 * main.c (dis_directive_assemblyref): Dump the locale and public
35 * get.c (dis_stringify_object_with_class): Escape assembly name.
37 * main.c (dis_directive_assemblyref): Escape assembly name
39 2004-09-21 Martin Baulig <martin@ximian.com>
41 * main.c (main): If just a single assembly was specified, use the
42 runtime version it requires.
44 2004-09-16 Sebastien Pouliot <sebastien@ximian.com>
46 * dump.c: Added new security actions added in 2.0: LinkDemandChoice,
47 InheritanceDemandChoice and DemandChoice.
48 * main.c: Added ".permissionset" to output IL. Removed "hassecurity"
49 as MS ilasm can't compile it.
51 2004-09-16 Zoltan Varga <vargaz@freemail.hu>
53 * get.c (get_token): Add support for memberrefs.
55 2004-09-06 Zoltan Varga <vargaz@freemail.hu>
57 * main.c: Fix build && warnings.
59 2004-09-05 Jambunathan K <kjambunathan@novell.com>
60 * main.c (dump_cattrs_list): Newly carved out of dump_cattrs.
62 Renamed cattrs_for_method() to more meaningful
63 dump_cattrs_for_method_params()
65 (dump_cattrs_for_method_params): Fixed so that ".param[]" gets
66 dumped only when necessary. i.e., when a method parameter has
67 either a default value and/or when it has a custom attribute.
69 2004-09-06 Zoltan Varga <vargaz@freemail.hu>
71 * get.c: Fix printing of unmanaged calling conventions.
72 (get_constant): Fix warning.
74 2004-08-28 Jambunathan K <kjambunathan@novell.com>
75 * main.c: modified cattrs_for_method so that
76 emitting of ".param[] = ..." is complete.
78 * get.c: Modified get_constant() so that
79 1. MONO_TYPE_CHAR now handles unicode characters
80 2. MONO_TYPE_I8 now emits int64(...)
81 3. MONO_TYPE_STRING emits a bytearray()
83 2004-08-18 Jambunathan K <kjambunathan@novell.com>
84 * get.c: Changed dis_stringify_param to emit [opt] for parameters
85 that are marked as Optional.
87 * dump.c: Fixed dump_table_constant so that the parent field's
88 description is correctly displayed.
90 2004-08-08 Zoltan Varga <vargaz@freemail.hu>
92 * get.c (get_typespec): Append '*' to pointer types. Fixes #62331.
94 2004-08-03 Martin Baulig <martin@ximian.com>
96 * dump.c (method_dor_to_token): Moved to get.c and made public.
98 * get.c (get_method_override): New public function.
100 * main.c (dis_code): Added `.override' for override methods.
102 2004-08-02 Martin Baulig <martin@ximian.com>
104 * get.c (dis_stringify_object_with_class): Include our generic
105 arguments in the method's class name.
107 * main.c (dis_generic_param_and_constraints): Use the new
110 2004-08-02 Martin Baulig <martin@ximian.com>
112 * dump.c (dump_stream_blob): Format this nicely.
113 (dump_table_standalonesig): New public function.
115 * main.c (dis_locals): If --show-tokens was requested, print the
116 standalone signature token.
117 (table_list): Added "--standalonesig".
119 2004-07-09 Jackson Harper <jackson@ximian.com>
121 * get.c: Make "class" the default so only valuetypes get the
122 "valuetype" modifier. Otherwise object, string, int,... will get
125 2004-07-08 Jackson Harper <jackson@ximian.com>
127 * main.c: Spaces after visibility types.
129 2004-07-06 Jackson Harper <jackson@ximian.com>
131 * get.c: Add float cast for outputing floats. Patch by Steve Brown.
133 2004-06-25 Jackson Harper <jackson@ximian.com>
135 * get.c: Add a few more keywords to be escaped.
136 * main.c: MS's ildasm writes '// end of class' not '// end of
137 type'. The python.net tool searches for this string.
139 2004-06-24 David Waite <mass@akuma.org>
141 * dump.c: change to C90-style comments from C99/C++-style
143 2004-06-23 Raja R Harinath <rharinath@novell.com>
145 * main.c (dis_event_signature): Decode and print event_flags.
147 2004-06-20 Jackson Harper <jackson@ximian.com>
149 * dis-cil.c: Handle switch statements with no labels.
151 2004-06-19 Jackson Harper <jackson@ximian.com>
153 * dump.c/h: New function to dump the contents of the blob
154 stream. I found it useful for debugging so I will share.
155 * main.c: Add --blob switch to dump the blob stream.
156 * monodis.1: Document --blob
158 2004-06-19 Jackson Harper <jackson@ximian.com>
160 * get.c/h: New function to stringify function pointers.
162 2004-06-19 Jackson Harper <jackson@ximian.com>
164 * get.c: Fix name escaping so we dont escape everything in the
167 2004-06-11 Martin Baulig <martin@ximian.com>
169 * get.c (get_methodref_signature): Include "vararg " in the
170 signature of a varargs method.
172 2004-06-11 Martin Baulig <martin@ximian.com>
174 * get.c (get_methodref_signature): If we're a varargs method,
175 print "..." for the sentinel followed by the actual types.
177 2004-06-08 Martin Baulig <martin@ximian.com>
179 * dump.c (dump_table_memberref): Added support for MethodDef
182 2004-05-06 Bernie Solomon <bernard@ugsolutions.com>
188 * util.h: rename map_t dis_map_t to avoid AIX symbol clash
190 2004-04-01 Martin Baulig <martin@ximian.com>
192 * dump.c (dump_table_memberref): Added support for TypeDef's.
194 2004-03-29 Jackson Harper <jackson@ximian.com>
196 * main.c: Handle pinvoke info where there is not an impl_map
199 2004-03-27 Vladimir Vukicevic <vladimir@pobox.com>
201 * get.c (get_constant): output bool consts as bool(true) or
202 bool(false) (to be same as ildasm, also what mono and ms
205 2004-01-31 Martin Baulig <martin@ximian.com>
207 * get.c (get_methodspec): It's a methoddef or ref token.
209 2004-01-26 Martin Baulig <martin@ximian.com>
211 * main.cs (--show-tokens): New command line argument to show
212 type tokens in the disassembly.
214 * get.c (get_typedef, get_typespec, get_typeref): If
215 `show_tokens', include the token in the type name.
216 (get_type): Do some type parsing here and include the token in the
217 returned type name if requested.
218 (get_method): Include tokens if requested.
220 2004-01-17 Zoltan Varga <vargaz@freemail.hu>
222 * main.c get.c: Add support for dumping the custom attributes of
225 2004-01-09 Jackson Harper <jackson@ximian.com>
227 * monodis.1: Add --show-method-tokens switch
228 * get.c: When stringifying methods show the method token if the
229 show-method-tokens flag is set.
230 * get.h: Add show_method_tokens flag
231 * main.c: Add --show-method-tokens switch
233 2004-01-09 Jackson Harper <jackson@ximian.com>
235 * monodis.1: Add typespec switch
237 2004-01-08 Jackson Harper <jackson@ximian.com>
239 * main.c: Add switch to dump typespec table.
240 * dump.c/dump.h: Add function for dumping typespec table.
242 2003-12-19 Zoltan Varga <vargaz@freemail.hu>
244 * dump.c (dump_table_exported): Fix output.
246 2003-12-08 Jackson Harper <jackson@ximian.com>
248 * main.cs: escape module names.
250 2003-12-03 Zoltan Varga <vargaz@freemail.hu>
252 * main.c (dis_field_list): Update after changes to
253 mono_metadata_get_constant_index ().
255 2003-11-26 Zoltan Varga <vargaz@freemail.hu>
257 * dump.c dump.h main.c: Added support for dumping the ImplMap table
260 * main.c (dis_method_list): Avoid disassembling native code.
262 2003-11-19 Zoltan Varga <vargaz@freemail.hu>
264 * get.c (dis_stringify_modifiers): Fix display of modreq and modopt.
266 Thu Nov 13 16:12:09 CET 2003 Paolo Molaro <lupus@ximian.com>
268 * util.h, dump.c: get rid of ugly CSIZE macro.
270 2003-11-01 Zoltan Varga <vargaz@freemail.hu>
272 * main.c: Add disassembly of module, moduleref and file tables.
274 * get.h get.c: Add support for modulerefs.
276 * dump.c: Avoid crash on empty assembly table.
278 2003-10-22 Jackson Harper <jackson@ximian.com>
280 * main.c: Use escaped names for method, and type names. Initialize
282 * main.c (visibility_map): Fix typo, should be nested family not
284 * main.c (dis_data): Use uppercase hex to avoid name conflicts.
285 * get.c/get.h: New method to get an escaped name. This method will
286 take a name and escape it if it is an ilasm keyword, or uses a non
287 id char. Use escaped names for type, method, field, and parameter names.
288 * get.c (get_typespec): A typespec can be used for anything, so we
289 need to handle all types not just modified types.
290 * get.c (dis_stringify_object_with_class): Handle nested classes
291 * get.c (get_token): Add field keyword to field tokens.
293 2003-10-21 Jackson Harper <jackson@ximian.com>
295 * get.c (get_fieldref_signature): Use MONO_MEMBERREF_SIGNATURE in
296 the member ref table.
298 2003-10-21 Martin Baulig <martin@ximian.com>
300 * get.c (get_typespec): Add MONO_TYPE_VAR and MONO_TYPE_MVAR.
302 2003-10-18 Jackson Harper <jackson@ximian.com>
304 * dis-cil.c (get_encoded_user_string): use g_strescape instead of
306 * util.c (hex_dump): Use uppercase hex so there are no conflicts
307 with ilasm keywords ie cf
309 2003-10-17 Jackson Harper <jackson@ximian.com>
311 * dis-cil.c (get_encoded_user_string): Escape user strings when
312 loading. ie ""quote"" should be "\"quote\"".
313 * dis-cil.c (dissasemble_cil): Write SEH debug info into a comment
314 block. Combine SEH blocks that have the same offset and length,
315 this prevents creating invalid SEH blocks.
317 2003-10-15 Zoltan Varga <vargaz@freemail.hu>
319 * get.c (get_ret_type): Remove needless warning message.
321 2003-10-13 Jackson Harper <jackson@ximian.com>
323 * get.c: stringify nested types properly ie Outer/Inner.
325 2003-10-10 Jackson Harper <jackson@ximian.com>
327 * dump.c: When dumping methodspecs dump the full methodspec with
328 signature, and dump the signature.
330 2003-10-10 Jackson Harper <jackson@ximian.com>
332 * get.c/get.h: Add methods to get stringified methodspecs and
333 method type parameters.
335 2003-10-09 Jackson Harper <jackson@ximian.com>
337 * main.c/get.c: Remove magic numbers, use constants.
339 2003-10-08 Jackson Harper <jackson@ximian.com>
341 * main.c (dis_genericparam): renamed to
342 dis_generic_param_and_constraints, allow a table type to be passed
343 to the method so this could be used with generic methods (It is
345 * get.c/get.h (get_generic_param): method to stringify generic
346 type and method parameters.
347 * get.c (dis_stringify_method_signature): Add generic parameters.
349 2003-10-08 Jackson Harper <jackson@ximian.com>
351 * main.c (dis_type): NULL cnst_block so we dont explode on
353 * main.c (dis_genericparam): oops, fix off-by-one error.
355 2003-10-08 Jackson Harper <jackson@ximian.com>
357 * get.c/get.h add method to get a methoddef from an index, simplify
358 get_typd_or_methdef, use new get_methoddef to get the method
359 because we have a method index not a method token.
361 2003-10-07 Jackson Harper <jackson@ximian.com>
363 * main.c: When dis. generic parameters the TypeOrMethodDef token
364 only needs to be shifted 1 bit. Added dis of generic constraints.
365 * get.c/get.h: New method for getting a TypeOrMethodDef token
366 * dump.c: When dumping generic parameters and generic constraints
367 output readable names instead of just tokens.
369 2003-10-01 Jackson Harper <jackson@latitudegeo.com>
371 * main.c: Fix visibility level names, when outputing pinvoke info
372 quote the module and method names, properties have specialname,
373 and rtspecialname flags (nothing else), dis global methods and
374 fields FIXME: indentation issues.
375 * get.h: declare get_fieldref_signature
376 * get.c: Fix unsigned ints (not uint), single quote argument names
377 (this is kinda a hack, ildasm will only single quote arg names
378 that are ilasm keywords), remove fixme, we know what typedbyref
379 means, output fieldref signatures instead of their token value.
381 2003-09-19 Jackson Harper <jackson@latitudegeo.com>
383 * dis-cil.c: Output fault blocks, and filter blocks. If in a
384 filter block outptut 0xDC as endfilter if in a fault output as
387 2003-08-22 Zoltan Varga <vargaz@freemail.hu>
389 * main.c (dis_event_list): Same for event methods.
391 * get.c (dis_stringify_method_signature): New argument specifying
392 whenever to return a fully qualified method name.
393 * dump.c main.c: Updated to work with the new function.
395 * main.c (dis_property_methods): Print fully qualified method names
396 for property methods. Fixes #46221.
398 2003-07-22 Jackson Harper <jackson@latitudegeo.com>
400 * main.c: Dissasemble generic type parameters for type
401 definitions. TODO: Sort type parameters by index, and
402 auto-generate names for parameters that have no name.
404 Fri Jul 18 13:12:38 CEST 2003 Paolo Molaro <lupus@ximian.com>
406 * get.c: updates for array type representation changes.
408 2003-06-16 Jackson Harper <jackson@latitudegeo.com>
410 * get.c: Fix modopt and modreq
412 Thu May 29 12:21:47 CEST 2003 Paolo Molaro <lupus@ximian.com>
414 * dump.c, get.c: misc fixes.
416 Wed May 7 16:50:00 CEST 2003 Paolo Molaro <lupus@ximian.com>
418 * main.c: output custom attributes for method parameters.
420 Wed May 7 16:24:43 CEST 2003 Paolo Molaro <lupus@ximian.com>
422 * main.c: output nested types inside their nesting class.
424 2003-04-12 Zoltan Varga <vargaz@freemail.hu>
426 * get.c (dis_stringify_modifiers): Print a space between custom modifers.
427 * get.c (get_custom_mod): Handle multiple custom modifiers aka bug #30812.
428 * main.c: Print klass name at the end of each method to make it easier
429 to find a given method.
431 2003-03-31 Miguel de Icaza <miguel@ximian.com>
433 * main.c: Sorted command line options table by name.
435 * dump.c: Add support for dumping the new generic tables.
437 * monodis.1: Update man page.
439 2003-03-09 Jackson Harper <jackson@latitudegeo.com>
441 * main.c: Ouput implements clause as a comma seperated list.
443 Thu Feb 6 02:43:23 PST 2003 Piers Haken <piersh@friskit.com>
445 * dump.c: more warning cleanups
447 Mon Jan 27 17:16:50 CET 2003 Paolo Molaro <lupus@ximian.com>
449 * get.c: decode also the size info in get_marshal_info()
450 for ByValStr and ByValArray.
452 Tue Sep 24 11:48:53 CEST 2002 Paolo Molaro <lupus@ximian.com>
454 * main.c: use mono_type_size () to get the size of
455 a blob of data for a type (Zoltan Varga spotted the bug).
457 2002-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
459 * get.c: closes bug #30814. Thanks to Zoltan Varga.
461 Mon Sep 16 18:49:55 CEST 2002 Paolo Molaro <lupus@ximian.com>
463 * main.c, get.c, dump.c: updates for changes in libmetadata.
465 Fri Sep 13 15:39:41 CEST 2002 Paolo Molaro <lupus@ximian.com>
467 * main.c: dump public key.
468 * get.c, util.h, util.c: prettyfy data dumps.
470 2002-08-28 Dick Porter <dick@ximian.com>
472 * Makefile.am: Export HOST_CC for w32 builds
474 Tue Aug 6 12:40:09 CEST 2002 Paolo Molaro <lupus@ximian.com>
476 * main.c: use mono_image_get_entry_point ().
478 Fri Jul 26 11:41:32 CEST 2002 Paolo Molaro <lupus@ximian.com>
480 * main.c, dump.h, dump.c: output hash value in File table.
481 Add dumper function for DeclSecurity table.
483 Fri Jul 19 14:20:10 CEST 2002 Paolo Molaro <lupus@ximian.com>
485 * main.c: handle null parent.
487 2002-07-02 Martin Baulig <martin@gnome.org>
489 * get.c (dis_stringify_object_with_class): New static function to
490 stringify an object when we already have its class.
491 (dis_stringify_object): Get the class and call dis_stringify_object().
492 (get_method): Call dis_stringify_object_with_class() since we already
493 have the object's class.
495 Thu Jun 20 11:50:38 CEST 2002 Paolo Molaro <lupus@ximian.com>
497 * main.c, dump.c, dump.h: code to dump the MethodImpl table.
499 Mon Jun 17 17:31:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
501 * get.h, get.c: get_marshal_info() to get a marshal descriptor.
502 * main.c, dump.h, dump.c: added code to dump the FieldMarshl table.
504 Tue Jun 11 14:11:12 CEST 2002 Paolo Molaro <lupus@ximian.com>
506 * get.c: handle modulerefs.
507 * main.c: fix --mscorlib argument handling.
509 Fri Jun 7 19:39:43 CEST 2002 Paolo Molaro <lupus@ximian.com>
511 * get.c: handle typerefs of nested types. Don't print "."
512 with an empty namespace.
514 Sat Jun 1 13:57:17 CEST 2002 Paolo Molaro <lupus@ximian.com>
516 * main.c: print byte values correctly.
518 2002-05-20 Martin Baulig <martin@gnome.org>
520 * main.c: Added `--output=FILENAME' command line option.
522 * monodis.1: Documented it here.
524 Thu May 16 17:21:07 CEST 2002 Paolo Molaro <lupus@ximian.com>
526 * main.c, dump,c, get.h, get.c: diassemble custom attributes.
528 Wed May 15 16:02:56 CEST 2002 Paolo Molaro <lupus@ximian.com>
530 * main.c: output field RVA data.
532 Fri May 10 21:00:52 CEST 2002 Paolo Molaro <lupus@ximian.com>
534 * main.c: print field offset info if needed.
536 Wed May 1 17:07:56 CEST 2002 Paolo Molaro <lupus@ximian.com>
538 * dump.c, dump.h, main.c: dump ExportedTypes table.
539 * get.c: fix get_module (), remove magic numbers.
540 * monodis.1: update manpage (hi miguel!:)
542 Mon Apr 29 12:12:35 CEST 2002 Paolo Molaro <lupus@ximian.com>
544 * dump.c, dump.h, main.c: support for dumping the manifest resource table.
546 Mon Apr 15 11:35:05 CEST 2002 Paolo Molaro <lupus@ximian.com>
548 * dump.c, dump.h, get.c, get.h, main.c: support for dumping the
549 module table and guid values.
551 Mon Apr 8 17:15:04 CEST 2002 Paolo Molaro <lupus@ximian.com>
553 * main.c: removed unneeded runtime invoke support.
555 Thu Mar 28 16:52:11 CET 2002 Paolo Molaro <lupus@ximian.com>
557 * dis-cil.c, dump.c, get.c, main.c, util.h: spring warning cleanup.
559 Thu Mar 28 11:29:58 CET 2002 Paolo Molaro <lupus@ximian.com>
561 * util.c: when an invalid flags combination is seen,
562 return the string "invalid-flags", so disassembly can continue.
564 Tue Mar 19 18:15:29 CET 2002 Paolo Molaro <lupus@ximian.com>
566 * dis-cil.c: use unsigned for variables.
568 Sat Mar 16 19:13:57 CET 2002 Paolo Molaro <lupus@ximian.com>
570 * dump.c: handle TypeSpec token in memberref table dump.
572 2002-03-08 Nick Drochak <ndrochak@gol.com>
574 * monodis.1: Add info about new parameter
575 * main.c: Add flag to remember if user wants to us mscorlib for
576 non-corilb assembly names
577 * get.c(get_typedef): use mscorlib for assembly name only
578 if user specifies it with a command line parameter. Default
579 behavior is now to use actual assembly name.
581 Tue Mar 5 18:11:01 CET 2002 Paolo Molaro <lupus@ximian.com>
583 * dump.c: print index of the methodsemantics table.
584 * main.cs: print event information.
586 Wed Feb 20 22:10:48 CET 2002 Paolo Molaro <lupus@ximian.com>
588 * dump.c: fix the fix and more complete custom attribute decoder.
590 Tue Feb 19 20:20:15 CET 2002 Paolo Molaro <lupus@ximian.com>
592 * dump.c: the prolog is before each arg in the custom attribute blob.
594 Mon Feb 18 15:48:38 CET 2002 Paolo Molaro <lupus@ximian.com>
596 * get.c: include last param.
598 Thu Feb 14 18:59:37 CET 2002 Paolo Molaro <lupus@ximian.com>
600 * main.c: output pack and size info if needed.
602 2002-02-13 Dietmar Maurer <dietmar@ximian.com>
604 * *.c: s/MonoMetadata/MonoImage/
606 Tue Feb 12 14:33:53 CET 2002 Paolo Molaro <lupus@ximian.com>
608 * dump.c: make all the indexes printed starting from 1.
610 Fri Feb 8 19:28:31 CET 2002 Paolo Molaro <lupus@ximian.com>
612 * get.c: don't abort if a methodref is not found, usa alternative way
613 to get the method name.
615 Fri Feb 8 12:29:41 CET 2002 Paolo Molaro <lupus@ximian.com>
617 * Makefile.am: correct linking order.
618 * dis-cil.c: use opcode info from opcodes.h instead of a copy of the data.
620 Thu Jan 31 18:21:12 CET 2002 Paolo Molaro <lupus@ximian.com>
622 * dis-cil.c: reverse order when outputting start try blocks.
624 Mon Jan 14 17:00:23 CET 2002 Paolo Molaro <lupus@ximian.com>
626 * dump.c: more info in method table dump.
628 Mon Dec 24 17:24:13 CET 2001 Paolo Molaro <lupus@ximian.com>
630 * main.c, dump.h, dump.c: add dump_table_nestedclass().
631 * dis-cil.c: output int64 as hex.
633 Tue Dec 18 18:48:00 CET 2001 Paolo Molaro <lupus@ximian.com>
635 * main.c: use mono_metadata_methods_from_property() and
636 mono_metadata_properties_from_typedef() from metadata instead of
639 Tue Nov 27 16:31:52 CET 2001 Paolo Molaro <lupus@ximian.com>
641 * main.c: output a marker for method (used in debug support).
643 Mon Nov 19 11:32:28 CET 2001 Paolo Molaro <lupus@ximian.com>
645 * main.c: remove arch_create_jit_trampoline().
647 Thu Nov 15 17:42:03 CET 2001 Paolo Molaro <lupus@ximian.com>
649 * dump.c: decode more info in the constant table.
650 * get.c: show literals the same way ildasm does.
651 * main.c: decode literal values for fields.
653 Fri Nov 2 19:04:21 CET 2001 Paolo Molaro <lupus@ximian.com>
655 * main.c, dump, dump.c: decode the customattr table.
656 * dump.c: handle also field signature when dumping the memberref
659 2001-11-07 Miguel de Icaza <miguel@ximian.com>
661 * main.c (dis_property_methods): Added missing colon which avoided
664 2001-10-10 Dietmar Maurer <dietmar@ximian.com>
666 * main.c (arch_compile_method): added to compute vtable entry
668 Mon Oct 8 16:13:55 CEST 2001 Paolo Molaro <lupus@ximian.com>
670 * get.c, get.h: MonoArray changed in MonoArrayType.
671 * main.c: guard against calling bsearch with a NULL pointer
672 (pointed out by Laurent Rioux, smoux).
674 Thu Oct 4 19:05:56 CEST 2001 Paolo Molaro <lupus@ximian.com>
676 * dis-cil.c: fix printing of exception stuff.
677 * dump.c: display some more info in the typedef table dump.
678 * main.c: typo fix and method list fix.
680 2001-10-04 Dick Porter <dick@ximian.com>
682 * meta.h: include mono-endian.h not endian.h
684 2001-10-02 Dietmar Maurer <dietmar@ximian.com>
686 * get.c (get_method): always write namespace and class name.
688 2001-09-06 Miguel de Icaza <miguel@ximian.com>
690 * monodis.1: Update man page.
692 Tue Aug 28 15:54:45 CEST 2001 Paolo Molaro <lupus@ximian.com>
694 * main.c, dump.c, dump.h, get.c: added dump_table_interfaceimpl ().
695 Output info about interfaces when disassembling a type. Many small
696 changes to make the output correct assembler.
698 Mon Aug 27 20:13:49 CEST 2001 Paolo Molaro <lupus@ximian.com>
700 * dis-cil.c, get.c: some endian fixes.
701 * main.c: colon-separate version numbers. Print also namespace
702 when outputting class information.
704 Fri Aug 24 16:10:12 CEST 2001 Paolo Molaro <lupus@ximian.com>
706 * get.c, main.c, get.h: updates for MonoParam merge in MonoType.
708 2001-08-24 Dietmar Maurer <dietmar@ximian.com>
710 * main.c (disassemble_file): use assembly_open instead of image_open
712 Wed Aug 22 16:22:22 CEST 2001 Paolo Molaro <lupus@ximian.com>
714 * dis-cil.c: add a newline after branch instructions. Move
715 end of exception handler code at the end.
717 Tue Aug 21 18:51:05 CEST 2001 Paolo Molaro <lupus@ximian.com>
719 * dis-cil.c: correctly print the label for multi-byte opcodes.
721 Mon Aug 20 19:33:34 CEST 2001 Paolo Molaro <lupus@ximian.com>
723 * util.c: add a space when decoding multiple flags.
724 * dump.c, dump.h, main.c: decode the property map and
725 methodsemantics tables. Disassemble property information
726 to .property IL directives.
727 * get.c: allow passing a NULL as method in dis_stringify_method ()
728 if a methoddef_row is given.
730 2001-08-20 Dietmar Maurer <dietmar@ximian.com>
732 * get.c (dis_stringify_type): support pinned values
734 Sat Aug 18 11:24:07 CEST 2001 Paolo Molaro <lupus@ximian.com>
736 * dump.c, get.c, get.h, main.c: dis_stringify_method_signature()
737 gets an optional methodef_row index instead of a name, so it
738 can figure out also the names and attributes of params.
739 parse_method_signature() and free_method_signature() removed as
740 they are useless now.
742 2001-08-17 Dietmar Maurer <dietmar@ximian.com>
744 * main.c (pinvoke_info): bug fix - use the right column in the table
746 2001-08-14 Dietmar Maurer <dietmar@ximian.com>
748 * get.c (dis_stringify_type): use strconcat instead of strjoin
750 Sat Aug 4 12:36:54 CEST 2001 Paolo Molaro <lupus@ximian.com>
752 * get.c, get.h, main.c, dump.c: implement dis_stringify_method_signature().
753 More magic constants replaced by enum values (spotted at least 3 real bugs
754 doing this). Print usage information if an unknown option is given.
755 Print the full signature when dumping the method table.
756 Changed method and field table dumps to show the typedef name the field
757 or method belongs to.
759 Fri Aug 3 18:30:16 CEST 2001 Paolo Molaro <lupus@ximian.com>
761 * get.c (get_method): fix use of unitialized variable and
762 remove magic constants all over the place.
764 Wed Aug 1 22:46:45 CEST 2001 Paolo Molaro <lupus@ximian.com>
766 * dis-cil.c: properly decode the switch opcode.
768 2001-08-01 Dietmar Maurer <dietmar@ximian.com>
770 * get.c (get_token): decode typedef and typeref tokens
772 * main.c (dis_method_list): don't decode the next row, that is
775 Tue Jul 31 17:48:11 CEST 2001 Paolo Molaro <lupus@ximian.com>
777 * dis-cil.c, dis-cil.h, dump.c, dump.h, get.c, get.h, main.c, push-pop.h:
778 massive namespace cleanup.
779 * main.c: dis_locals() now just strigifies a MonoMethodHeader.
781 2001-07-31 Dietmar Maurer <dietmar@ximian.com>
783 * main.c (pinvoke_flags): impl.
785 Mon Jul 30 20:08:37 CEST 2001 Paolo Molaro <lupus@ximian.com>
787 * dis-cil.c, dis-cil.h, main.c: changes to disassemble also
788 the information about try/catch/finally blocks.
790 2001-07-27 Dietmar Maurer <dietmar@ximian.com>
792 * get.c (dis_stringify_type): return "void" if !type
793 (dis_stringify_type): print type* instead of *type
795 Thu Jul 26 13:22:28 CEST 2001 Paolo Molaro <lupus@ximian.com>
797 * dis-cil.c, dump.c, get.c, main.c: updates to match changes in metadata.
800 2001-07-17 Miguel de Icaza <miguel@ximian.com>
802 * main.c (usage): Print out all the arguments.
804 * get.c, main.c, dump.c: Remove `expand', `get_encoded_value',
805 `get_blob_encoded_size' and replaced with the proper functions
808 2001-07-15 Miguel de Icaza <miguel@ximian.com>
810 * main.c (dis_code): Only display .entrypoint when we are dealing
811 with a module that contains an entry point. This removes a bunch
812 of warnings for .dll dumping
814 Sun Jul 15 17:29:10 CEST 2001 Paolo Molaro <lupus@ximian.com>
816 * get.h,get.c: added some dis_stringify_object() functions:
817 metadata decoding is now done in libmetadata. Still need to use
818 them throughhout the code (and move other decode code to
819 metadata). Fix also field decoding (band-aid until we load
820 also referenced assemblies).
821 * dis/main.c: start using the new routines.
823 2001-07-13 Miguel de Icaza <miguel@ximian.com>
825 * get.c (get_method): GOOD. Implemented this other bad boy.
827 2001-07-12 Miguel de Icaza <miguel@ximian.com>
829 * get.c (get_token_type): Implement TOKEN_TYPE_TYPE_SPEC.
830 (get_typespec): Implement.
831 (get_typedef_or_ref): Use get_typespec.
833 * dis-cil.c (dissasemble_cil): Implement InlineField
834 (dissasemble_cil): Implement InlineTok.
836 * get.c (get_token, get_field): Implemented. Worked around lame
839 Wed Jul 11 18:52:15 CEST 2001 Paolo Molaro <lupus@ximian.com>
841 * dis-cil.c: output real name of local var.
842 * dump.c: output more info about fields (flags and type). Properly decode
843 Property signatures. Decode also method table.
844 * main.c: Fix local variable info. Hopefully fix field and property list.
846 Mon Jul 9 16:39:41 CEST 2001 Paolo Molaro <lupus@ximian.com>
848 * dump.c: write stuff to output, not stderr. Give more info for properties.
849 * dump.c,dump.h,main.c: implement dump_table_event(), dump_table_file(),
850 dump_table_moduleref().
851 * get.c: first attempt to decode string constants, need to find if and where
852 this is actually specified.
854 Fri Jul 6 19:49:21 CEST 2001 Paolo Molaro <lupus@ximian.com>
856 * dump.c,dump.h: implement dump_table_property().
857 * main.c: implement local variable info disassembling.
858 Annotate entrypoint method. Remove memory leak in
859 parse_method_signature ().
861 2001-07-04 Miguel de Icaza <miguel@ximian.com>
863 * get.c (get_methodref_signature): Implement.
865 * dump.c (dump_table_memberref): Add memberref dumping.
867 Tue, 3 Jul 2001 18:32:10 +0200 Paolo Molaro <lupus@ximian.com>
869 * main.c: return on failure.
871 2001-07-02 Miguel de Icaza <miguel@ximian.com>
873 * dis-cil.c (get_encoded_user_string): Return a string from the
876 * get.c (get_blob_encoded_size): Implement 23.1.4 decoding.
878 2001-07-01 Miguel de Icaza <miguel@ximian.com>
880 * dis-cil.c: New file. CIL opcode dissasembler.
882 2001-06-27 Miguel de Icaza <miguel@ximian.com>
884 * main.c: Split code.
886 2001-06-22 Miguel de Icaza <miguel@ximian.com>
888 * main.c: More work on the disassembler and on the understanding
889 of the metadata file format.