1 2004-12-11 Martin Baulig <martin@ximian.com>
3 * get.c (get_escaped_name): Correctly escape nested classes.
5 2004-12-11 Martin Baulig <martin@ximian.com>
7 * get.c (get_class_name): Renamed to get_escaped_class_name() and
8 return an escaped class name; correctly escape nested classes.
10 2004-12-11 Martin Baulig <martin@ximian.com>
12 * get.c (dis_stringify_type): Added `gboolean is_def' argument; if
13 false, display type parameters as numbers and not as names.
14 (dis_stringify_object_with_class): Added `gboolean is_def' argument.
15 (dis_stringify_array): Likewise.
17 2004-12-10 Martin Baulig <martin@ximian.com>
19 * get.c (init_key_table): Added `type'.
20 (get_generic_param): Also escape the type parameter names.
21 Correctly handle multiple constraints.
23 2004-12-10 Martin Baulig <martin@ximian.com>
25 * get.c (get_fieldref_signature): Escape the field type and name
28 2004-12-10 Martin Baulig <martin@ximian.com>
30 Started to add generics support to monodis.
32 * get.c (get_typedef_or_ref): Added `MonoGenericContext *'.
33 (get_field_signature, get_field): Likewise.
34 (get_methodref_signature, get_methodspec): Likewise.
35 (get_token, get_token_type, get_typespec): Likewise.
36 (get_method, get_method_type_param): Likewise.
37 (get_method_override, dis_stringify_method_signature): Likewise.
38 (get_type, get_ret_type, get_param): Likewise.
40 * dis-cil.c (disasemble_cil): Added `MonoGenericContext *'.
42 2004-12-09 Martin Baulig <martin@ximian.com>
44 * get.c (get_generic_param): Take a `MonoGenericContainer *' and
45 use it to print things instead of manually parsing the metadata.
47 * main.c (dis_generic_param_and_constraints): Removed, use
48 get_generic_param() instead.
49 (dis_method_list): Added `MonoGenericContext *' argument.
51 Mon Dec 6 13:31:48 CET 2004 Paolo Molaro <lupus@ximian.com>
53 * main.c: add a --filter=filename option to load a file
54 with a list of types, fields, methods to disassemble.
56 2004-12-02 Miguel de Icaza <miguel@ximian.com>
58 * main.c: Rename compilercontrolled to privatescope
60 * get.c (get_class_name): Correct implementation that correctly
61 handles nested classes.
63 2004-11-26 Miguel de Icaza <miguel@ximian.com>
65 * main.c: Better implementation of the quote keyword, list all of
66 the known keywords to ildasm here.
68 * get.c (dis_stringify_object_with_class): Take an argument
69 `prefix' that controls whether the `class', `valuetype' labels are
70 used. This is needed for the catch clause that takes the type
72 (get_method_core): Rename get_method to get_method_core, and allow
73 for only part of the signature to be specified, so we can produce
74 .override signatures correctly.
75 (get_method_override): Pass false as the `fullsig' argument.
77 (get_typedef): no longer quote the type, we quote in the call site
78 elsewhere. Avoids double quotes.
80 * main.c (quote_keyword): Quote keywords.
82 Tue Nov 9 17:29:28 CET 2004 Paolo Molaro <lupus@ximian.com>
84 * dis-cil.c, get.c, get.h: update to exception clause structure changes.
86 2004-11-08 Ben Maurer <bmaurer@ximian.com>
88 * get.c, dump.c: warning free.
90 2004-10-21 Jackson Harper <jackson@ximian.com>
92 * get.c: Escape typedef names.
94 2004-10-19 <vargaz@freemail.hu>
96 * main.c: Applied patch from Alexandre Rocha Lima e Marcondes (alexandremarcondes@psl-pr.softwarelivre.org). Really fix 2.95 build.
98 2004-10-04 Sebastien Pouliot <sebastien@ximian.com>
100 * dump.c: Added new "internal" security actions for non-CAS demands:
101 NonCasDemand, NonCasLinkDemand and NonCasInheritance.
102 * main.c: Added new "internal" security actions for non-CAS demands:
103 noncasdemand, noncaslinkdemand and noncasinheritance.
105 2004-09-24 Zoltan Varga <vargaz@freemail.hu>
107 * main.c: Add support for pinvoke flags BestFit and
108 ThrowOnUnmappableChar.
110 2004-09-23 Miguel de Icaza <miguel@ximian.com>
112 * main.c (dis_directive_assemblyref): Dump the locale and public
115 * get.c (dis_stringify_object_with_class): Escape assembly name.
117 * main.c (dis_directive_assemblyref): Escape assembly name
119 2004-09-21 Martin Baulig <martin@ximian.com>
121 * main.c (main): If just a single assembly was specified, use the
122 runtime version it requires.
124 2004-09-16 Sebastien Pouliot <sebastien@ximian.com>
126 * dump.c: Added new security actions added in 2.0: LinkDemandChoice,
127 InheritanceDemandChoice and DemandChoice.
128 * main.c: Added ".permissionset" to output IL. Removed "hassecurity"
129 as MS ilasm can't compile it.
131 2004-09-16 Zoltan Varga <vargaz@freemail.hu>
133 * get.c (get_token): Add support for memberrefs.
135 2004-09-06 Zoltan Varga <vargaz@freemail.hu>
137 * main.c: Fix build && warnings.
139 2004-09-05 Jambunathan K <kjambunathan@novell.com>
140 * main.c (dump_cattrs_list): Newly carved out of dump_cattrs.
142 Renamed cattrs_for_method() to more meaningful
143 dump_cattrs_for_method_params()
145 (dump_cattrs_for_method_params): Fixed so that ".param[]" gets
146 dumped only when necessary. i.e., when a method parameter has
147 either a default value and/or when it has a custom attribute.
149 2004-09-06 Zoltan Varga <vargaz@freemail.hu>
151 * get.c: Fix printing of unmanaged calling conventions.
152 (get_constant): Fix warning.
154 2004-08-28 Jambunathan K <kjambunathan@novell.com>
155 * main.c: modified cattrs_for_method so that
156 emitting of ".param[] = ..." is complete.
158 * get.c: Modified get_constant() so that
159 1. MONO_TYPE_CHAR now handles unicode characters
160 2. MONO_TYPE_I8 now emits int64(...)
161 3. MONO_TYPE_STRING emits a bytearray()
163 2004-08-18 Jambunathan K <kjambunathan@novell.com>
164 * get.c: Changed dis_stringify_param to emit [opt] for parameters
165 that are marked as Optional.
167 * dump.c: Fixed dump_table_constant so that the parent field's
168 description is correctly displayed.
170 2004-08-08 Zoltan Varga <vargaz@freemail.hu>
172 * get.c (get_typespec): Append '*' to pointer types. Fixes #62331.
174 2004-08-03 Martin Baulig <martin@ximian.com>
176 * dump.c (method_dor_to_token): Moved to get.c and made public.
178 * get.c (get_method_override): New public function.
180 * main.c (dis_code): Added `.override' for override methods.
182 2004-08-02 Martin Baulig <martin@ximian.com>
184 * get.c (dis_stringify_object_with_class): Include our generic
185 arguments in the method's class name.
187 * main.c (dis_generic_param_and_constraints): Use the new
190 2004-08-02 Martin Baulig <martin@ximian.com>
192 * dump.c (dump_stream_blob): Format this nicely.
193 (dump_table_standalonesig): New public function.
195 * main.c (dis_locals): If --show-tokens was requested, print the
196 standalone signature token.
197 (table_list): Added "--standalonesig".
199 2004-07-09 Jackson Harper <jackson@ximian.com>
201 * get.c: Make "class" the default so only valuetypes get the
202 "valuetype" modifier. Otherwise object, string, int,... will get
205 2004-07-08 Jackson Harper <jackson@ximian.com>
207 * main.c: Spaces after visibility types.
209 2004-07-06 Jackson Harper <jackson@ximian.com>
211 * get.c: Add float cast for outputing floats. Patch by Steve Brown.
213 2004-06-25 Jackson Harper <jackson@ximian.com>
215 * get.c: Add a few more keywords to be escaped.
216 * main.c: MS's ildasm writes '// end of class' not '// end of
217 type'. The python.net tool searches for this string.
219 2004-06-24 David Waite <mass@akuma.org>
221 * dump.c: change to C90-style comments from C99/C++-style
223 2004-06-23 Raja R Harinath <rharinath@novell.com>
225 * main.c (dis_event_signature): Decode and print event_flags.
227 2004-06-20 Jackson Harper <jackson@ximian.com>
229 * dis-cil.c: Handle switch statements with no labels.
231 2004-06-19 Jackson Harper <jackson@ximian.com>
233 * dump.c/h: New function to dump the contents of the blob
234 stream. I found it useful for debugging so I will share.
235 * main.c: Add --blob switch to dump the blob stream.
236 * monodis.1: Document --blob
238 2004-06-19 Jackson Harper <jackson@ximian.com>
240 * get.c/h: New function to stringify function pointers.
242 2004-06-19 Jackson Harper <jackson@ximian.com>
244 * get.c: Fix name escaping so we dont escape everything in the
247 2004-06-11 Martin Baulig <martin@ximian.com>
249 * get.c (get_methodref_signature): Include "vararg " in the
250 signature of a varargs method.
252 2004-06-11 Martin Baulig <martin@ximian.com>
254 * get.c (get_methodref_signature): If we're a varargs method,
255 print "..." for the sentinel followed by the actual types.
257 2004-06-08 Martin Baulig <martin@ximian.com>
259 * dump.c (dump_table_memberref): Added support for MethodDef
262 2004-05-06 Bernie Solomon <bernard@ugsolutions.com>
268 * util.h: rename map_t dis_map_t to avoid AIX symbol clash
270 2004-04-01 Martin Baulig <martin@ximian.com>
272 * dump.c (dump_table_memberref): Added support for TypeDef's.
274 2004-03-29 Jackson Harper <jackson@ximian.com>
276 * main.c: Handle pinvoke info where there is not an impl_map
279 2004-03-27 Vladimir Vukicevic <vladimir@pobox.com>
281 * get.c (get_constant): output bool consts as bool(true) or
282 bool(false) (to be same as ildasm, also what mono and ms
285 2004-01-31 Martin Baulig <martin@ximian.com>
287 * get.c (get_methodspec): It's a methoddef or ref token.
289 2004-01-26 Martin Baulig <martin@ximian.com>
291 * main.cs (--show-tokens): New command line argument to show
292 type tokens in the disassembly.
294 * get.c (get_typedef, get_typespec, get_typeref): If
295 `show_tokens', include the token in the type name.
296 (get_type): Do some type parsing here and include the token in the
297 returned type name if requested.
298 (get_method): Include tokens if requested.
300 2004-01-17 Zoltan Varga <vargaz@freemail.hu>
302 * main.c get.c: Add support for dumping the custom attributes of
305 2004-01-09 Jackson Harper <jackson@ximian.com>
307 * monodis.1: Add --show-method-tokens switch
308 * get.c: When stringifying methods show the method token if the
309 show-method-tokens flag is set.
310 * get.h: Add show_method_tokens flag
311 * main.c: Add --show-method-tokens switch
313 2004-01-09 Jackson Harper <jackson@ximian.com>
315 * monodis.1: Add typespec switch
317 2004-01-08 Jackson Harper <jackson@ximian.com>
319 * main.c: Add switch to dump typespec table.
320 * dump.c/dump.h: Add function for dumping typespec table.
322 2003-12-19 Zoltan Varga <vargaz@freemail.hu>
324 * dump.c (dump_table_exported): Fix output.
326 2003-12-08 Jackson Harper <jackson@ximian.com>
328 * main.cs: escape module names.
330 2003-12-03 Zoltan Varga <vargaz@freemail.hu>
332 * main.c (dis_field_list): Update after changes to
333 mono_metadata_get_constant_index ().
335 2003-11-26 Zoltan Varga <vargaz@freemail.hu>
337 * dump.c dump.h main.c: Added support for dumping the ImplMap table
340 * main.c (dis_method_list): Avoid disassembling native code.
342 2003-11-19 Zoltan Varga <vargaz@freemail.hu>
344 * get.c (dis_stringify_modifiers): Fix display of modreq and modopt.
346 Thu Nov 13 16:12:09 CET 2003 Paolo Molaro <lupus@ximian.com>
348 * util.h, dump.c: get rid of ugly CSIZE macro.
350 2003-11-01 Zoltan Varga <vargaz@freemail.hu>
352 * main.c: Add disassembly of module, moduleref and file tables.
354 * get.h get.c: Add support for modulerefs.
356 * dump.c: Avoid crash on empty assembly table.
358 2003-10-22 Jackson Harper <jackson@ximian.com>
360 * main.c: Use escaped names for method, and type names. Initialize
362 * main.c (visibility_map): Fix typo, should be nested family not
364 * main.c (dis_data): Use uppercase hex to avoid name conflicts.
365 * get.c/get.h: New method to get an escaped name. This method will
366 take a name and escape it if it is an ilasm keyword, or uses a non
367 id char. Use escaped names for type, method, field, and parameter names.
368 * get.c (get_typespec): A typespec can be used for anything, so we
369 need to handle all types not just modified types.
370 * get.c (dis_stringify_object_with_class): Handle nested classes
371 * get.c (get_token): Add field keyword to field tokens.
373 2003-10-21 Jackson Harper <jackson@ximian.com>
375 * get.c (get_fieldref_signature): Use MONO_MEMBERREF_SIGNATURE in
376 the member ref table.
378 2003-10-21 Martin Baulig <martin@ximian.com>
380 * get.c (get_typespec): Add MONO_TYPE_VAR and MONO_TYPE_MVAR.
382 2003-10-18 Jackson Harper <jackson@ximian.com>
384 * dis-cil.c (get_encoded_user_string): use g_strescape instead of
386 * util.c (hex_dump): Use uppercase hex so there are no conflicts
387 with ilasm keywords ie cf
389 2003-10-17 Jackson Harper <jackson@ximian.com>
391 * dis-cil.c (get_encoded_user_string): Escape user strings when
392 loading. ie ""quote"" should be "\"quote\"".
393 * dis-cil.c (dissasemble_cil): Write SEH debug info into a comment
394 block. Combine SEH blocks that have the same offset and length,
395 this prevents creating invalid SEH blocks.
397 2003-10-15 Zoltan Varga <vargaz@freemail.hu>
399 * get.c (get_ret_type): Remove needless warning message.
401 2003-10-13 Jackson Harper <jackson@ximian.com>
403 * get.c: stringify nested types properly ie Outer/Inner.
405 2003-10-10 Jackson Harper <jackson@ximian.com>
407 * dump.c: When dumping methodspecs dump the full methodspec with
408 signature, and dump the signature.
410 2003-10-10 Jackson Harper <jackson@ximian.com>
412 * get.c/get.h: Add methods to get stringified methodspecs and
413 method type parameters.
415 2003-10-09 Jackson Harper <jackson@ximian.com>
417 * main.c/get.c: Remove magic numbers, use constants.
419 2003-10-08 Jackson Harper <jackson@ximian.com>
421 * main.c (dis_genericparam): renamed to
422 dis_generic_param_and_constraints, allow a table type to be passed
423 to the method so this could be used with generic methods (It is
425 * get.c/get.h (get_generic_param): method to stringify generic
426 type and method parameters.
427 * get.c (dis_stringify_method_signature): Add generic parameters.
429 2003-10-08 Jackson Harper <jackson@ximian.com>
431 * main.c (dis_type): NULL cnst_block so we dont explode on
433 * main.c (dis_genericparam): oops, fix off-by-one error.
435 2003-10-08 Jackson Harper <jackson@ximian.com>
437 * get.c/get.h add method to get a methoddef from an index, simplify
438 get_typd_or_methdef, use new get_methoddef to get the method
439 because we have a method index not a method token.
441 2003-10-07 Jackson Harper <jackson@ximian.com>
443 * main.c: When dis. generic parameters the TypeOrMethodDef token
444 only needs to be shifted 1 bit. Added dis of generic constraints.
445 * get.c/get.h: New method for getting a TypeOrMethodDef token
446 * dump.c: When dumping generic parameters and generic constraints
447 output readable names instead of just tokens.
449 2003-10-01 Jackson Harper <jackson@latitudegeo.com>
451 * main.c: Fix visibility level names, when outputing pinvoke info
452 quote the module and method names, properties have specialname,
453 and rtspecialname flags (nothing else), dis global methods and
454 fields FIXME: indentation issues.
455 * get.h: declare get_fieldref_signature
456 * get.c: Fix unsigned ints (not uint), single quote argument names
457 (this is kinda a hack, ildasm will only single quote arg names
458 that are ilasm keywords), remove fixme, we know what typedbyref
459 means, output fieldref signatures instead of their token value.
461 2003-09-19 Jackson Harper <jackson@latitudegeo.com>
463 * dis-cil.c: Output fault blocks, and filter blocks. If in a
464 filter block outptut 0xDC as endfilter if in a fault output as
467 2003-08-22 Zoltan Varga <vargaz@freemail.hu>
469 * main.c (dis_event_list): Same for event methods.
471 * get.c (dis_stringify_method_signature): New argument specifying
472 whenever to return a fully qualified method name.
473 * dump.c main.c: Updated to work with the new function.
475 * main.c (dis_property_methods): Print fully qualified method names
476 for property methods. Fixes #46221.
478 2003-07-22 Jackson Harper <jackson@latitudegeo.com>
480 * main.c: Dissasemble generic type parameters for type
481 definitions. TODO: Sort type parameters by index, and
482 auto-generate names for parameters that have no name.
484 Fri Jul 18 13:12:38 CEST 2003 Paolo Molaro <lupus@ximian.com>
486 * get.c: updates for array type representation changes.
488 2003-06-16 Jackson Harper <jackson@latitudegeo.com>
490 * get.c: Fix modopt and modreq
492 Thu May 29 12:21:47 CEST 2003 Paolo Molaro <lupus@ximian.com>
494 * dump.c, get.c: misc fixes.
496 Wed May 7 16:50:00 CEST 2003 Paolo Molaro <lupus@ximian.com>
498 * main.c: output custom attributes for method parameters.
500 Wed May 7 16:24:43 CEST 2003 Paolo Molaro <lupus@ximian.com>
502 * main.c: output nested types inside their nesting class.
504 2003-04-12 Zoltan Varga <vargaz@freemail.hu>
506 * get.c (dis_stringify_modifiers): Print a space between custom modifers.
507 * get.c (get_custom_mod): Handle multiple custom modifiers aka bug #30812.
508 * main.c: Print klass name at the end of each method to make it easier
509 to find a given method.
511 2003-03-31 Miguel de Icaza <miguel@ximian.com>
513 * main.c: Sorted command line options table by name.
515 * dump.c: Add support for dumping the new generic tables.
517 * monodis.1: Update man page.
519 2003-03-09 Jackson Harper <jackson@latitudegeo.com>
521 * main.c: Ouput implements clause as a comma seperated list.
523 Thu Feb 6 02:43:23 PST 2003 Piers Haken <piersh@friskit.com>
525 * dump.c: more warning cleanups
527 Mon Jan 27 17:16:50 CET 2003 Paolo Molaro <lupus@ximian.com>
529 * get.c: decode also the size info in get_marshal_info()
530 for ByValStr and ByValArray.
532 Tue Sep 24 11:48:53 CEST 2002 Paolo Molaro <lupus@ximian.com>
534 * main.c: use mono_type_size () to get the size of
535 a blob of data for a type (Zoltan Varga spotted the bug).
537 2002-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
539 * get.c: closes bug #30814. Thanks to Zoltan Varga.
541 Mon Sep 16 18:49:55 CEST 2002 Paolo Molaro <lupus@ximian.com>
543 * main.c, get.c, dump.c: updates for changes in libmetadata.
545 Fri Sep 13 15:39:41 CEST 2002 Paolo Molaro <lupus@ximian.com>
547 * main.c: dump public key.
548 * get.c, util.h, util.c: prettyfy data dumps.
550 2002-08-28 Dick Porter <dick@ximian.com>
552 * Makefile.am: Export HOST_CC for w32 builds
554 Tue Aug 6 12:40:09 CEST 2002 Paolo Molaro <lupus@ximian.com>
556 * main.c: use mono_image_get_entry_point ().
558 Fri Jul 26 11:41:32 CEST 2002 Paolo Molaro <lupus@ximian.com>
560 * main.c, dump.h, dump.c: output hash value in File table.
561 Add dumper function for DeclSecurity table.
563 Fri Jul 19 14:20:10 CEST 2002 Paolo Molaro <lupus@ximian.com>
565 * main.c: handle null parent.
567 2002-07-02 Martin Baulig <martin@gnome.org>
569 * get.c (dis_stringify_object_with_class): New static function to
570 stringify an object when we already have its class.
571 (dis_stringify_object): Get the class and call dis_stringify_object().
572 (get_method): Call dis_stringify_object_with_class() since we already
573 have the object's class.
575 Thu Jun 20 11:50:38 CEST 2002 Paolo Molaro <lupus@ximian.com>
577 * main.c, dump.c, dump.h: code to dump the MethodImpl table.
579 Mon Jun 17 17:31:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
581 * get.h, get.c: get_marshal_info() to get a marshal descriptor.
582 * main.c, dump.h, dump.c: added code to dump the FieldMarshl table.
584 Tue Jun 11 14:11:12 CEST 2002 Paolo Molaro <lupus@ximian.com>
586 * get.c: handle modulerefs.
587 * main.c: fix --mscorlib argument handling.
589 Fri Jun 7 19:39:43 CEST 2002 Paolo Molaro <lupus@ximian.com>
591 * get.c: handle typerefs of nested types. Don't print "."
592 with an empty namespace.
594 Sat Jun 1 13:57:17 CEST 2002 Paolo Molaro <lupus@ximian.com>
596 * main.c: print byte values correctly.
598 2002-05-20 Martin Baulig <martin@gnome.org>
600 * main.c: Added `--output=FILENAME' command line option.
602 * monodis.1: Documented it here.
604 Thu May 16 17:21:07 CEST 2002 Paolo Molaro <lupus@ximian.com>
606 * main.c, dump,c, get.h, get.c: diassemble custom attributes.
608 Wed May 15 16:02:56 CEST 2002 Paolo Molaro <lupus@ximian.com>
610 * main.c: output field RVA data.
612 Fri May 10 21:00:52 CEST 2002 Paolo Molaro <lupus@ximian.com>
614 * main.c: print field offset info if needed.
616 Wed May 1 17:07:56 CEST 2002 Paolo Molaro <lupus@ximian.com>
618 * dump.c, dump.h, main.c: dump ExportedTypes table.
619 * get.c: fix get_module (), remove magic numbers.
620 * monodis.1: update manpage (hi miguel!:)
622 Mon Apr 29 12:12:35 CEST 2002 Paolo Molaro <lupus@ximian.com>
624 * dump.c, dump.h, main.c: support for dumping the manifest resource table.
626 Mon Apr 15 11:35:05 CEST 2002 Paolo Molaro <lupus@ximian.com>
628 * dump.c, dump.h, get.c, get.h, main.c: support for dumping the
629 module table and guid values.
631 Mon Apr 8 17:15:04 CEST 2002 Paolo Molaro <lupus@ximian.com>
633 * main.c: removed unneeded runtime invoke support.
635 Thu Mar 28 16:52:11 CET 2002 Paolo Molaro <lupus@ximian.com>
637 * dis-cil.c, dump.c, get.c, main.c, util.h: spring warning cleanup.
639 Thu Mar 28 11:29:58 CET 2002 Paolo Molaro <lupus@ximian.com>
641 * util.c: when an invalid flags combination is seen,
642 return the string "invalid-flags", so disassembly can continue.
644 Tue Mar 19 18:15:29 CET 2002 Paolo Molaro <lupus@ximian.com>
646 * dis-cil.c: use unsigned for variables.
648 Sat Mar 16 19:13:57 CET 2002 Paolo Molaro <lupus@ximian.com>
650 * dump.c: handle TypeSpec token in memberref table dump.
652 2002-03-08 Nick Drochak <ndrochak@gol.com>
654 * monodis.1: Add info about new parameter
655 * main.c: Add flag to remember if user wants to us mscorlib for
656 non-corilb assembly names
657 * get.c(get_typedef): use mscorlib for assembly name only
658 if user specifies it with a command line parameter. Default
659 behavior is now to use actual assembly name.
661 Tue Mar 5 18:11:01 CET 2002 Paolo Molaro <lupus@ximian.com>
663 * dump.c: print index of the methodsemantics table.
664 * main.cs: print event information.
666 Wed Feb 20 22:10:48 CET 2002 Paolo Molaro <lupus@ximian.com>
668 * dump.c: fix the fix and more complete custom attribute decoder.
670 Tue Feb 19 20:20:15 CET 2002 Paolo Molaro <lupus@ximian.com>
672 * dump.c: the prolog is before each arg in the custom attribute blob.
674 Mon Feb 18 15:48:38 CET 2002 Paolo Molaro <lupus@ximian.com>
676 * get.c: include last param.
678 Thu Feb 14 18:59:37 CET 2002 Paolo Molaro <lupus@ximian.com>
680 * main.c: output pack and size info if needed.
682 2002-02-13 Dietmar Maurer <dietmar@ximian.com>
684 * *.c: s/MonoMetadata/MonoImage/
686 Tue Feb 12 14:33:53 CET 2002 Paolo Molaro <lupus@ximian.com>
688 * dump.c: make all the indexes printed starting from 1.
690 Fri Feb 8 19:28:31 CET 2002 Paolo Molaro <lupus@ximian.com>
692 * get.c: don't abort if a methodref is not found, usa alternative way
693 to get the method name.
695 Fri Feb 8 12:29:41 CET 2002 Paolo Molaro <lupus@ximian.com>
697 * Makefile.am: correct linking order.
698 * dis-cil.c: use opcode info from opcodes.h instead of a copy of the data.
700 Thu Jan 31 18:21:12 CET 2002 Paolo Molaro <lupus@ximian.com>
702 * dis-cil.c: reverse order when outputting start try blocks.
704 Mon Jan 14 17:00:23 CET 2002 Paolo Molaro <lupus@ximian.com>
706 * dump.c: more info in method table dump.
708 Mon Dec 24 17:24:13 CET 2001 Paolo Molaro <lupus@ximian.com>
710 * main.c, dump.h, dump.c: add dump_table_nestedclass().
711 * dis-cil.c: output int64 as hex.
713 Tue Dec 18 18:48:00 CET 2001 Paolo Molaro <lupus@ximian.com>
715 * main.c: use mono_metadata_methods_from_property() and
716 mono_metadata_properties_from_typedef() from metadata instead of
719 Tue Nov 27 16:31:52 CET 2001 Paolo Molaro <lupus@ximian.com>
721 * main.c: output a marker for method (used in debug support).
723 Mon Nov 19 11:32:28 CET 2001 Paolo Molaro <lupus@ximian.com>
725 * main.c: remove arch_create_jit_trampoline().
727 Thu Nov 15 17:42:03 CET 2001 Paolo Molaro <lupus@ximian.com>
729 * dump.c: decode more info in the constant table.
730 * get.c: show literals the same way ildasm does.
731 * main.c: decode literal values for fields.
733 Fri Nov 2 19:04:21 CET 2001 Paolo Molaro <lupus@ximian.com>
735 * main.c, dump, dump.c: decode the customattr table.
736 * dump.c: handle also field signature when dumping the memberref
739 2001-11-07 Miguel de Icaza <miguel@ximian.com>
741 * main.c (dis_property_methods): Added missing colon which avoided
744 2001-10-10 Dietmar Maurer <dietmar@ximian.com>
746 * main.c (arch_compile_method): added to compute vtable entry
748 Mon Oct 8 16:13:55 CEST 2001 Paolo Molaro <lupus@ximian.com>
750 * get.c, get.h: MonoArray changed in MonoArrayType.
751 * main.c: guard against calling bsearch with a NULL pointer
752 (pointed out by Laurent Rioux, smoux).
754 Thu Oct 4 19:05:56 CEST 2001 Paolo Molaro <lupus@ximian.com>
756 * dis-cil.c: fix printing of exception stuff.
757 * dump.c: display some more info in the typedef table dump.
758 * main.c: typo fix and method list fix.
760 2001-10-04 Dick Porter <dick@ximian.com>
762 * meta.h: include mono-endian.h not endian.h
764 2001-10-02 Dietmar Maurer <dietmar@ximian.com>
766 * get.c (get_method): always write namespace and class name.
768 2001-09-06 Miguel de Icaza <miguel@ximian.com>
770 * monodis.1: Update man page.
772 Tue Aug 28 15:54:45 CEST 2001 Paolo Molaro <lupus@ximian.com>
774 * main.c, dump.c, dump.h, get.c: added dump_table_interfaceimpl ().
775 Output info about interfaces when disassembling a type. Many small
776 changes to make the output correct assembler.
778 Mon Aug 27 20:13:49 CEST 2001 Paolo Molaro <lupus@ximian.com>
780 * dis-cil.c, get.c: some endian fixes.
781 * main.c: colon-separate version numbers. Print also namespace
782 when outputting class information.
784 Fri Aug 24 16:10:12 CEST 2001 Paolo Molaro <lupus@ximian.com>
786 * get.c, main.c, get.h: updates for MonoParam merge in MonoType.
788 2001-08-24 Dietmar Maurer <dietmar@ximian.com>
790 * main.c (disassemble_file): use assembly_open instead of image_open
792 Wed Aug 22 16:22:22 CEST 2001 Paolo Molaro <lupus@ximian.com>
794 * dis-cil.c: add a newline after branch instructions. Move
795 end of exception handler code at the end.
797 Tue Aug 21 18:51:05 CEST 2001 Paolo Molaro <lupus@ximian.com>
799 * dis-cil.c: correctly print the label for multi-byte opcodes.
801 Mon Aug 20 19:33:34 CEST 2001 Paolo Molaro <lupus@ximian.com>
803 * util.c: add a space when decoding multiple flags.
804 * dump.c, dump.h, main.c: decode the property map and
805 methodsemantics tables. Disassemble property information
806 to .property IL directives.
807 * get.c: allow passing a NULL as method in dis_stringify_method ()
808 if a methoddef_row is given.
810 2001-08-20 Dietmar Maurer <dietmar@ximian.com>
812 * get.c (dis_stringify_type): support pinned values
814 Sat Aug 18 11:24:07 CEST 2001 Paolo Molaro <lupus@ximian.com>
816 * dump.c, get.c, get.h, main.c: dis_stringify_method_signature()
817 gets an optional methodef_row index instead of a name, so it
818 can figure out also the names and attributes of params.
819 parse_method_signature() and free_method_signature() removed as
820 they are useless now.
822 2001-08-17 Dietmar Maurer <dietmar@ximian.com>
824 * main.c (pinvoke_info): bug fix - use the right column in the table
826 2001-08-14 Dietmar Maurer <dietmar@ximian.com>
828 * get.c (dis_stringify_type): use strconcat instead of strjoin
830 Sat Aug 4 12:36:54 CEST 2001 Paolo Molaro <lupus@ximian.com>
832 * get.c, get.h, main.c, dump.c: implement dis_stringify_method_signature().
833 More magic constants replaced by enum values (spotted at least 3 real bugs
834 doing this). Print usage information if an unknown option is given.
835 Print the full signature when dumping the method table.
836 Changed method and field table dumps to show the typedef name the field
837 or method belongs to.
839 Fri Aug 3 18:30:16 CEST 2001 Paolo Molaro <lupus@ximian.com>
841 * get.c (get_method): fix use of unitialized variable and
842 remove magic constants all over the place.
844 Wed Aug 1 22:46:45 CEST 2001 Paolo Molaro <lupus@ximian.com>
846 * dis-cil.c: properly decode the switch opcode.
848 2001-08-01 Dietmar Maurer <dietmar@ximian.com>
850 * get.c (get_token): decode typedef and typeref tokens
852 * main.c (dis_method_list): don't decode the next row, that is
855 Tue Jul 31 17:48:11 CEST 2001 Paolo Molaro <lupus@ximian.com>
857 * dis-cil.c, dis-cil.h, dump.c, dump.h, get.c, get.h, main.c, push-pop.h:
858 massive namespace cleanup.
859 * main.c: dis_locals() now just strigifies a MonoMethodHeader.
861 2001-07-31 Dietmar Maurer <dietmar@ximian.com>
863 * main.c (pinvoke_flags): impl.
865 Mon Jul 30 20:08:37 CEST 2001 Paolo Molaro <lupus@ximian.com>
867 * dis-cil.c, dis-cil.h, main.c: changes to disassemble also
868 the information about try/catch/finally blocks.
870 2001-07-27 Dietmar Maurer <dietmar@ximian.com>
872 * get.c (dis_stringify_type): return "void" if !type
873 (dis_stringify_type): print type* instead of *type
875 Thu Jul 26 13:22:28 CEST 2001 Paolo Molaro <lupus@ximian.com>
877 * dis-cil.c, dump.c, get.c, main.c: updates to match changes in metadata.
880 2001-07-17 Miguel de Icaza <miguel@ximian.com>
882 * main.c (usage): Print out all the arguments.
884 * get.c, main.c, dump.c: Remove `expand', `get_encoded_value',
885 `get_blob_encoded_size' and replaced with the proper functions
888 2001-07-15 Miguel de Icaza <miguel@ximian.com>
890 * main.c (dis_code): Only display .entrypoint when we are dealing
891 with a module that contains an entry point. This removes a bunch
892 of warnings for .dll dumping
894 Sun Jul 15 17:29:10 CEST 2001 Paolo Molaro <lupus@ximian.com>
896 * get.h,get.c: added some dis_stringify_object() functions:
897 metadata decoding is now done in libmetadata. Still need to use
898 them throughhout the code (and move other decode code to
899 metadata). Fix also field decoding (band-aid until we load
900 also referenced assemblies).
901 * dis/main.c: start using the new routines.
903 2001-07-13 Miguel de Icaza <miguel@ximian.com>
905 * get.c (get_method): GOOD. Implemented this other bad boy.
907 2001-07-12 Miguel de Icaza <miguel@ximian.com>
909 * get.c (get_token_type): Implement TOKEN_TYPE_TYPE_SPEC.
910 (get_typespec): Implement.
911 (get_typedef_or_ref): Use get_typespec.
913 * dis-cil.c (dissasemble_cil): Implement InlineField
914 (dissasemble_cil): Implement InlineTok.
916 * get.c (get_token, get_field): Implemented. Worked around lame
919 Wed Jul 11 18:52:15 CEST 2001 Paolo Molaro <lupus@ximian.com>
921 * dis-cil.c: output real name of local var.
922 * dump.c: output more info about fields (flags and type). Properly decode
923 Property signatures. Decode also method table.
924 * main.c: Fix local variable info. Hopefully fix field and property list.
926 Mon Jul 9 16:39:41 CEST 2001 Paolo Molaro <lupus@ximian.com>
928 * dump.c: write stuff to output, not stderr. Give more info for properties.
929 * dump.c,dump.h,main.c: implement dump_table_event(), dump_table_file(),
930 dump_table_moduleref().
931 * get.c: first attempt to decode string constants, need to find if and where
932 this is actually specified.
934 Fri Jul 6 19:49:21 CEST 2001 Paolo Molaro <lupus@ximian.com>
936 * dump.c,dump.h: implement dump_table_property().
937 * main.c: implement local variable info disassembling.
938 Annotate entrypoint method. Remove memory leak in
939 parse_method_signature ().
941 2001-07-04 Miguel de Icaza <miguel@ximian.com>
943 * get.c (get_methodref_signature): Implement.
945 * dump.c (dump_table_memberref): Add memberref dumping.
947 Tue, 3 Jul 2001 18:32:10 +0200 Paolo Molaro <lupus@ximian.com>
949 * main.c: return on failure.
951 2001-07-02 Miguel de Icaza <miguel@ximian.com>
953 * dis-cil.c (get_encoded_user_string): Return a string from the
956 * get.c (get_blob_encoded_size): Implement 23.1.4 decoding.
958 2001-07-01 Miguel de Icaza <miguel@ximian.com>
960 * dis-cil.c: New file. CIL opcode dissasembler.
962 2001-06-27 Miguel de Icaza <miguel@ximian.com>
964 * main.c: Split code.
966 2001-06-22 Miguel de Icaza <miguel@ximian.com>
968 * main.c: More work on the disassembler and on the understanding
969 of the metadata file format.