2 Fri Jan 26 12:30:22 CET 2007 Paolo Molaro <lupus@ximian.com>
4 * get.c, dis-cil.c: warning fixes.
6 Wed Jan 17 17:26:08 CET 2007 Paolo Molaro <lupus@ximian.com>
8 * main.c: if a file can't be loaded as an assembly, load it as a
9 modules, so monodis can be used also for netmodules.
11 2007-01-04 Raja R Harinath <rharinath@novell.com>
13 * get.c (get_method_core): Pick generic container from the
16 2006-12-27 Raja R Harinath <rharinath@novell.com>
18 Avoid MonoGenericContext
19 * dis-cil.c, dump.c, get.c, get.h, main.c: Replace all instances
20 of MonoGenericContext with MonoGenericContainer, except for calls
21 to mono_class_get_full and mono_get_method_full. Use a top-down
22 pass to propagate the original argument type from 'dis_method_list'.
24 * dis-cil.c, dump.c, get.c, get.h, main.c: Replace several
25 instances of MonoGenericContext with MonoGenericContainer.
26 Use a bottom-up pass to propagate the "demand" parameter type from
27 metadata type parsing.
29 2006-11-09 Ankit Jain <jankit@novell.com>
31 * dump.c (dump_table_assemblyref): Dump Flags also.
32 * main.c (assembly_ref_flags): New. Stringify AssemblyRef flags.
33 (dis_directive_assemblyref): Emit flags also.
34 (dis_directive_assembly): Likewise.
36 2006-10-06 Miguel de Icaza <miguel@novell.com>
38 * main.c (dis_directive_assembly): Fix the rendering of .locale to
41 2006-10-06 Zoltan Varga <vargaz@gmail.com>
43 * dump.c main.c: Applied patch from Jb. Allow dumping the PropertyPtr table.
45 2006-10-05 Zoltan Varga <vargaz@gmail.com>
47 * dump.c main.c: Allow dumping the *Ptr tables.
49 2006-09-12 Zoltan Varga <vargaz@gmail.com>
51 * declsec.c: Fix windows VC build.
53 2006-08-09 Alp Toker <alp@atoker.com>
60 * util.c: Typofix 'dissasemble' to 'disassemble'.
62 2006-06-27 Ankit Jain <jankit@novell.com>
64 * get.c (get_assemblyref): Escape name.
65 (get_moduleref): Likewise.
66 (get_module): Likewise.
68 2006-06-02 Ankit Jain <jankit@novell.com>
70 * get.c (dis_stringify_method_signature_full): Fix two memory leaks.
72 2006-06-02 Ankit Jain <jankit@novell.com>
74 * main.c (dis_method_list): Print only the method name in "{ // end
77 2006-06-02 Ankit Jain <jankit@novell.com>
79 * get.c (get_typedef): Return NULL for <Module> type.
80 (get_escaped_class_name): Likewise.
81 (dis_stringify_object_with_class): Likewise.
83 (dis_stringify_type): Return NULL if the type name is NULL.
84 (get_escaped_name): Don't try to escape a NULL name.
86 (get_fieldref_signature): Type name can be null.
87 (get_field): Likewise.
88 (get_method_core): Likewise.
89 (get_methoddef): Likewise.
91 * main.c (dis_method_list): Print correct message for global methods.
92 (dis_globals): Don't print '<Module>' for global methods/fields.
94 2006-06-01 Ankit Jain <jankit@novell.com>
96 * declsec.c (dump_declsec_entry20): Fix a warning.
98 2006-05-28 Zoltan Varga <vargaz@gmail.com>
100 * declsec.c (dump_declsec_entry20): Fix a warning.
102 2006-05-26 Ankit Jain <jankit@novell.com>
104 Patch from Sebastien Pouliot.
106 * declsec.c: New. Support for new declarative security attribute
107 metadata format (2.0)
108 * dump.c (dump_table_declsec): Support the new 2.0 format.
109 * main.c (dump_declarative_security): Support the new 2.0 format.
110 * Makefile.am : Add declsec.c & declsec.h .
112 2006-05-15 Ankit Jain <jankit@novell.com>
114 * dis-cil.c (disassemble_cil): Exception clauses can be unordered,
117 2006-05-11 Ankit Jain <jankit@novell.com>
119 * get.c (get_custom_mod): Fix printing of custom modifiers.
120 (dis_stringify_type): Likewise.
121 (get_field_signature): Likewise.
122 (get_ret_type): Likewise.
123 (get_param): Likewise.
125 2006-05-11 Ankit Jain <jankit@novell.com>
127 * get.c (dis_stringify_method_signature): Rename to ..
128 (dis_stringify_method_signature_full): .. this. Add 'with_marshal_info'
130 * get.h (dis_stringify_method_signature_full): Add new function.
131 * main.c (dis_property_methods): Update to use
132 dis_stringify_method_signature_full.
133 (dis_event_methods): Likewise.
135 2006-05-10 Ankit Jain <jankit@novell.com>
137 * get.c (init_key_table): Add keyword 'switch'.
139 2006-05-10 Ankit Jain <jankit@novell.com>
141 * get.c (init_key_table): Add keyword 'property'.
143 2006-03-15 Zoltan Varga <vargaz@gmail.com>
145 * main.c (typedef_flags): Decode TYPE_ATTRIBUTE_FORWARDER.
147 2006-02-21 Ankit Jain <jankit@novell.com>
149 * get.c (can_print_generic_param_name): Rename to ..
150 (cant_print_generic_param_name): .. this, to match function name with behavior.
152 2006-02-21 Ankit Jain <jankit@novell.com>
154 * get.c (mono_generic_params_with_ambiguous_names): New.
155 (generic_containers): New. Hashtable of all generic containers that have
156 been checked for ambiguous params.
157 (check_ambiguous_genparams): New. Walk a MonoGenericContainer
158 and fill mono_generic_params_with_ambiguous_names table.
159 (can_print_generic_param_name): New. Check whether a MonoGenericParam has
161 (dis_stringify_type): Use new is_ambiguous_generic_param to determine
162 whether to print number or name for VAR/MVAR.
164 2006-02-18 Raja R Harinath <harinath@gmail.com>
166 * get.c (get_typespec): Don't use mono_type_create_from_typespec_full().
167 Use get_type() instead.
168 (get_type): Add 'is_def' parameter.
169 (get_field_signature, get_ret_type, get_param): Update.
170 * dump.c (dump_table_property): Likewise.
171 * get.h (get_type): Update prototype.
173 2006-02-16 Raja R Harinath <rharinath@novell.com>
175 * get.c (get_typespec): Pass MonoGenericContainer to
176 mono_type_create_from_typespec_full.
177 (get_type): Likewise.
178 * main.c (dis_code): Likewise.
179 (dis_property_signature): Likewise.
181 2006-02-15 Ankit Jain <jankit@novell.com>
183 * get.c (get_array_shape): Use mono_metadata_decode_signed_value to get
186 2006-02-09 Ankit Jain <jankit@novell.com>
188 * get.c (stringify_array): New. Returns the stringified representation
190 (dis_stringify_array): Use stringify_array.
191 (get_array_shape): Likewise. Also, allow lo_bounds to be signed.
193 2006-02-03 Sebastien Pouliot <sebastien@ximian.com>
195 * get.c: Added #include <mono/utils/mono-compiler.h> so VS.NET
198 2006-01-28 Ankit Jain <jankit@novell.com>
200 * get.c (get_method_core): Emit generic arity for a MemberRef.
201 (get_method_override): Emit full sig only if its a generic type.
203 2006-01-27 Ankit Jain <jankit@novell.com>
205 * get.c (get_methodref_signature): Remove 'context' parameter.
207 * get.h (get_methodref_signature): Update.
208 * dump.c (dump_table_memberref): Update.
210 2006-01-26 Raja R Harinath <harinath@gmail.com>
212 * get.c (stringify_double): Simplify, and avoid 'E' too.
214 2006-01-26 Ankit Jain <jankit@novell.com>
216 * get.c (stringify_double): Remove trailing '.' if it has 'e'.
218 2006-01-25 Ankit Jain <jankit@novell.com>
220 * get.c (stringify_double): New. Fix printing of float/doubles to enable
222 * get.h (stringify_double): Add new function.
223 (get_constant): Use stringify_double.
224 * dis-cil.c (disassemble_cil): Likewise.
226 2006-01-25 Ankit Jain <jankit@novell.com>
227 Raja R Harinath <rharinath@novell.com>
229 * get.c (dis_stringify_type): For MVAR/VAR, print number if the generic param
230 is in the mono_generic_params_with_ambiguous_names table.
232 2006-01-20 Raja R Harinath <rharinath@novell.com>
234 * main.c (monodis_assembly_load_hook): New.
235 (monodis_assembly_search_hook): New.
236 (main): Install them as hooks into the assembly loading core.
238 2006-01-19 Ankit Jain <jankit@novell.com>
240 * main.c (dis_type): Dump custom attributes for a type before doing the same
241 for its type parameters.
243 2006-01-18 Ankit Jain <jankit@novell.com>
245 * main.c (typedef_flags): Change 'special-name' to 'specialname'.
247 2006-01-17 Ankit Jain <jankit@novell.com>
249 * get.c (get_method_override): Use '.override method' syntax if the class or
250 or the method itself is generic.
251 * main.c (dis_code): Emit '.override' only, 'method' gets handled by get_method_override.
253 2006-01-17 Ankit Jain <jankit@novell.com>
255 * get.c (init_key_table): Add keywords 'bestfit', 'charmaperror', 'off' & 'on'.
257 2006-01-16 Ankit Jain <jankit@novell.com>
259 * get.c (get_method_core): Handle a MemberRef with a TypeSpec parent.
260 Inflate MonoMethod after getting it from mono_get_method_full.
262 2006-01-15 Ankit Jain <jankit@novell.com>
264 * get.c (get_method_override): Get full signature of the method.
265 * main.c (dis_code): Emit ".override method" for full signature
268 2006-01-06 Ankit Jain <jankit@novell.com>
270 * get.c (get_generic_param): Generic param attributes can be any combination
271 of .ctor, valuetype and class, emit correctly.
273 2006-01-03 Ankit Jain <jankit@novell.com>
275 * get.c (init_key_table): Add keywords uint8, uint16, uint32 and uint64.
277 2005-12-24 Jb Evain <jbevain@gmail.com>
279 * main.c (dis_property_signature): read the hasthis flag.
281 2005-12-13 Zoltan Varga <vargaz@gmail.com>
283 * get.c (get_constant): Use finite() instead of isnormal () since the
284 latter is not available on solaris.
286 2005-11-23 Ankit Jain <jankit@novell.com>
288 * get.c (get_methodspec): Use mono_get_method_full so as to handle
289 methodspecs that refer to generic methods in other assemblies.
291 2005-11-23 Ankit Jain <jankit@novell.com>
293 * dump.c (has_cattr_get_table): Handle GenericParam.
294 * get.c (dis_get_custom_attrs): Likewise.
295 * main.c (dump_cattrs_for_type_params): New. Dump custom attributes
297 (dis_method_list): Call dump_cattrs_for_type_params.
298 (dis_type): Likewise.
300 2005-11-17 Ankit Jain <jankit@novell.com>
302 * get.c (dis_stringify_type): Escape generic type parameter names.
304 2005-11-17 Ankit Jain <jankit@novell.com>
306 * get.c (str_escape): New. Escape a given list of characters.
307 (get_escaped_name): Escape ' and \ using str_escape, and
310 2005-11-10 Ankit Jain <jankit@novell.com>
312 * dump.c (dump_table_method): Load generic param constraints.
313 * get.c (dis_stringify_method_signature): Likewise.
314 * main.c (dis_method_list): Likewise.
315 (dis_type): Likewise.
317 2005-11-10 Ankit Jain <jankit@novell.com>
319 * get.c (init_key_table): Add keyword - uint.
321 2005-11-08 Ankit Jain <jankit@novell.com>
323 * dump.c (dump_table_method): Get the type/method context required for parsing
324 method signature and dis_stringify'ing it.
326 2005-11-08 Ankit Jain <jankit@novell.com>
328 * get.c (init_key_table): Add keywords - callconv and flags.
330 2005-10-28 Ankit Jain <jankit@novell.com>
332 * dis_stringify_method_signature: Add detail for 'returns:' in the comment.
334 2005-10-28 Ankit Jain <jankit@novell.com>
336 * tests: Add new directory for test cases.
338 2005-10-28 Ankit Jain <jankit@novell.com>
340 * get.c (dis_stringify_method_signature): Use context instead of container
341 as container can be NULL.
343 2005-10-20 Ankit Jain <jankit@novell.com>
345 * get.c (get_method_core): Use the parent context for get_methodspec
346 instead of the inflated method's context.
347 (get_methodspec): Get the context for the generic method.
348 Use parent_context for getting the method's type parameters.
350 2005-10-20 Ankit Jain <jankit@novell.com>
352 * main.c (dis_method_list): Oops. Check method_context for null.
354 2005-10-19 Ankit Jain <jankit@novell.com>
356 * main.c (dis_method_list): Fix warning introduced by my last patch.
358 2005-10-19 Ankit Jain <jankit@novell.com>
360 * main.c (dis_method_list): Use 'method_context' instead of 'container' for
361 mono_metadata_parse_method_signature_full.
363 2005-10-02 Zoltan Varga <vargaz@freemail.hu>
365 * get.h get.c main.c: Fix some warnings and bugs.
367 2005-09-20 Ankit Jain <jankit@novell.com>
369 * monodis.1: Update documentation for --output.
371 2005-09-20 Ankit Jain <jankit@novell.com>
373 * main.c (table_list): Add --mresources to the table.
374 (usage): Don't add "--mresources" explicitly for usage output.
375 (main): Remove explicit handling for --mresources.
377 2005-09-20 Ankit Jain <jankit@novell.com>
379 * main.c (main): Dump managed resources when --output is specified.
381 2005-09-08 Ankit Jain <jankit@novell.com>
383 * monodis.1: Document --customattr, --declsec, --forward-decls, --implmap,
384 --marshal, --methodimpl, --methodspec, --mresources, --nested, --standalonesig,
387 2005-09-08 Ankit Jain <jankit@novell.com>
389 * main.c (dis_nt_header): New. Dump pe_stack_reserve if different from the
390 default value (0x100000).
391 (disassemble_file): Call dis_nt_header.
393 2005-09-06 Ankit Jain <jankit@novell.com>
395 * main.cs (dis_directive_assemblyref): Use the row id into the AssemblyRef
396 table instead of 1 for dump_cattrs.
399 2005-09-05 Atsushi Enomoto <atsushi@ximian.com>
402 * get.cs : (dis_get_custom_attrs) added assembly reference support.
403 * main.cs: (dis_directive_assemblyref) use MONO_TOKEN_ASSEMBLY_REF.
405 2005-09-05 Ankit Jain <jankit@novell.com>
407 * main.c (dis_directive_assemblyref): Dump custom attributes.
409 2005-08-29 Ankit Jain <jankit@novell.com>
411 * get.c (dis_stringify_marshal_spec): Add new case for MONO_NATIVE_CUSTOM.
413 2005-08-27 Ankit Jain <jankit@novell.com>
415 * get.c (init_key_table): Add keywords - ldelem, stelem, stloc, stobj,
416 stsfld, sub, sub.ovf, sub.ovf.un, unbox to the table.
418 2005-08-25 Ankit Jain <jankit@novell.com>
420 * get.c (get_encoded_user_string_or_bytearray): Add len param.
421 (get_constant): Pass len param to get_encoded_user_string_or_bytearray.
422 * dis-cil.c (dissasemble_cil): Calculate len of the userstring and pass to
423 get_encoded_user_string_or_bytearray.
424 * get.h (get_encoded_user_string_or_bytearray): Add len param.
426 2005-08-23 Ankit Jain <jankit@novell.com>
429 * get.c (get_ret_type): Use '&' instead of '[out]' for return type.
431 2005-08-23 Ankit Jain <jankit@novell.com>
433 * get.c (get_encoded_user_string_or_bytearray): New. Print a string if possible
434 or else a bytearray from the US heap.
435 (get_encoded_user_string_bytearray): New. Print a bytearray from the US heap.
436 (get_constant): Use get_encoded_user_string_or_bytearray for MONO_TYPE_STRING.
437 * get.h (get_encoded_user_string_or_bytearray): Add the new function.
438 * dis-cil.c (get_encoded_user_string): Move to get.c .
439 (disassemble_cil): Use get_encoded_user_string_or_bytearray instead of
440 get_encoded_user_string.
442 2005-08-20 Ankit Jain <jankit@novell.com>
444 * dis-cil.c (dissasemble_cil): Specify precision to enable
445 roundtripping of floats.
446 * get.c (get_constant): Likewise.
448 2005-08-13 Jb Evain <jbevain@gmail.com>
450 * get.c (get_token): handle the case when
451 the token is a member ref pointing to a method.
453 2005-08-12 Ankit Jain <jankit@novell.com>
455 * get.c (init_key_table): Add "xor" to the table.
457 2005-08-12 Jb Evain <jbevain@gmail.com>
459 * get.c (dis_stringify_method_signature): handle case when a method
460 has parameters but no corresponding Param row.
461 Patch forged with Ankit.
463 2005-08-12 Ankit Jain <jankit@novell.com>
465 * get.c (dis_stringify_variant_type): New. Stringify MonoMarshalVariant.
466 (dis_stringify_marshal_spec): Add new case for MONO_NATIVE_SAFEARRAY.
468 2005-08-11 Ankit Jain <jankit@novell.com>
470 * get.c (element_type_map): Use "typedref" instead of "TypedByRef" for
471 MONO_TYPE_TYPEDBYREF.
472 (get_ret_type): Use "typedref" instead of "typedbyref".
473 (get_param): Likewise.
475 Wed Aug 10 17:15:52 CEST 2005 Paolo Molaro <lupus@ximian.com>
477 * dump.c: dump the marshal signature blob on --marshal.
479 2005-08-04 Ankit Jain <jankit@novell.com>
481 * main.c (dis_directive_moduleref): Always escape module ref names.
483 2005-08-03 Ankit Jain <jankit@novell.com>
485 * main.c (call_conv_map): Oops. Add a sentinel entry (-1, NULL).
487 2005-08-03 Ankit Jain <jankit@novell.com>
489 * main.c (call_conv_map): Map call conv value of 0 to "".
491 2005-08-02 Ankit Jain <jankit@novell.com>
493 * main.c (dis_directive_moduleref): Escape module ref names.
495 2005-08-01 Ankit Jain <jankit@novell.com>
497 * get.c (field_flags_map): Use C comments instead of C#.
499 2005-08-01 Ankit Jain <jankit@novell.com>
501 * get.c (dis_stringify_marshal_spec): Include "marshal (..)" as part of the
502 returned string. And fix memory leak.
503 (dis_stringify_method_signature): Fix usage of dis_stringify_marshal_spec
505 * main.c (dis_field_list): Fix usage of dis_stringify_marshal_spec. Cleanup
508 2005-08-01 Ankit Jain <jankit@novell.com>
510 * get.c (dis_stringify_marshal_spec): Make it non-static.
511 * main.c (dis_field_list): Print marshal info for fields.
513 2005-07-29 Ankit Jain <jankit@novell.com>
515 * get.c (get_constant): Fix printing of some constant types and make it consistent.
517 2005-07-28 Ankit Jain <jankit@novell.com>
519 * get.c (dis_stringify_method_signature): Fix handling of marshal info for
520 method params. Also, handle possible gaps in the PARAM table.
522 2005-07-26 Zoltan Varga <vargaz@freemail.hu>
524 * main.c: Fix noinline->noinlining.
526 2005-05-26 Sebastien Pouliot <sebastien@ximian.com>
528 * monodis.vcproj: Project file for monodis.
530 2005-05-06 Zoltan Varga <vargaz@freemail.hu>
532 * main.c: Respect MONO_PATH when loading assemblies.
534 2005-04-23 Ankit Jain <ankit@corewars.org>
536 * get.c : Revert Atsushi's earlier patch. Its already been fixed with r43342.
538 2005-04-22 Atsushi Enomoto <atsushi@ximian.com>
540 * get.c : arraytype[,] should not be wrapped as 'arraytype[]'.
542 2005-04-20 Ankit Jain <ankit@corewars.org>
545 * get.c (get_generic_param, get_method_core, get_methoddef): Dont use
546 dis_stringify_object_with_class directly, use dis_stringify_type instead.
548 2005-04-20 Ankit Jain <ankit@corewars.org>
551 * main.c (dis_field_list): Print default value if field has
552 HAS_DEFAULT flag set.
554 2005-04-12 Ankit Jain <ankit@corewars.org>
557 * main.c (dis_mresource): New. Dump embedded managed resources.
558 (main, usage): Add '--mresources' argument.
560 2005-04-08 Ankit Jain <radical@corewars.org>
563 * main.c (dis_type): Add 'is_nested' and 'forward' arguments. If
564 'is_nested', don't emit .namespace directive even if namespace is
565 set. If 'forward', print only types.
566 (dis_types): Update to allow emitting forward declarations.
567 (disassemble_file): Emit forward declarations if requested.
568 (main, usage): Add '--forward-decls' argument.
569 * get.c (get_typedef): When printing a nested type, don't include
570 the namespace again, even if it is set.
572 2005-04-05 Zoltan Varga <vargaz@freemail.hu>
574 * dump.c dis-cil.c: Apply patches from freebsd ports collection.
576 2005-04-04 Zoltan Varga <vargaz@freemail.hu>
578 * get.c (get_constant): Applied patch from Ankit Jain (radical@gmail.com). Fixes #74367.
580 2005-03-29 Sebastien Pouliot <sebastien@ximian.com>
582 * dis-cil.c, dump.c: Add mono-compiler.h header to allow/ease
583 compilation with non-GCC compilers.
585 2005-03-04 Zoltan Varga <vargaz@freemail.hu>
587 * get.c (dis_stringify_marshal_spec): Fix this after recent runtime
590 2005-03-01 Zoltan Varga <vargaz@freemail.hu>
592 * get.c: Output marshal info for parameters.
594 2005-02-13 Zoltan Varga <vargaz@freemail.hu>
596 * main.c: Output managed resources as well. Fixes #72033.
598 2005-02-01 Raja R Harinath <rharinath@novell.com>
600 * get.c (get_method_core): Use mono_method_signature (mh), not
603 2005-01-30 Zoltan Varga <vargaz@freemail.hu>
605 * get.c dis-cil.c dump.c: Fix 64 bit warnings.
607 2004-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
610 * dis-cil.c: added isinf() for Solaris, that does not seem to have it.
611 Fixes the build on Solaris.
613 2004-12-13 Miguel de Icaza <miguel@ximian.com>
615 * dis-cil.c, dump.c: Encode special constant +Inf, -Inf and NaN
616 using hex constants instead of letting libc print the values.
618 2004-12-11 Martin Baulig <martin@ximian.com>
620 * get.c (get_typespec): Added `gboolean is_def' argument; removed
621 the special case for MONO_TYPE_VAR/MVAR and pass `is_def' down to
622 dis_stringify_type().
623 (get_escaped_name): Allow `!'.
625 2004-12-11 Martin Baulig <martin@ximian.com>
627 * get.c (get_token): Escape typedefs.
629 2004-12-11 Martin Baulig <martin@ximian.com>
631 * get.c (get_escaped_name): Correctly escape nested classes.
633 2004-12-11 Martin Baulig <martin@ximian.com>
635 * get.c (get_class_name): Renamed to get_escaped_class_name() and
636 return an escaped class name; correctly escape nested classes.
638 2004-12-11 Martin Baulig <martin@ximian.com>
640 * get.c (dis_stringify_type): Added `gboolean is_def' argument; if
641 false, display type parameters as numbers and not as names.
642 (dis_stringify_object_with_class): Added `gboolean is_def' argument.
643 (dis_stringify_array): Likewise.
645 2004-12-10 Martin Baulig <martin@ximian.com>
647 * get.c (init_key_table): Added `type' and `strict'.
648 (get_generic_param): Also escape the type parameter names.
649 Correctly handle multiple constraints.
651 2004-12-10 Martin Baulig <martin@ximian.com>
653 * get.c (get_fieldref_signature): Escape the field type and name
656 2004-12-10 Martin Baulig <martin@ximian.com>
658 Started to add generics support to monodis.
660 * get.c (get_typedef_or_ref): Added `MonoGenericContext *'.
661 (get_field_signature, get_field): Likewise.
662 (get_methodref_signature, get_methodspec): Likewise.
663 (get_token, get_token_type, get_typespec): Likewise.
664 (get_method, get_method_type_param): Likewise.
665 (get_method_override, dis_stringify_method_signature): Likewise.
666 (get_type, get_ret_type, get_param): Likewise.
668 * dis-cil.c (disasemble_cil): Added `MonoGenericContext *'.
670 2004-12-09 Martin Baulig <martin@ximian.com>
672 * get.c (get_generic_param): Take a `MonoGenericContainer *' and
673 use it to print things instead of manually parsing the metadata.
675 * main.c (dis_generic_param_and_constraints): Removed, use
676 get_generic_param() instead.
677 (dis_method_list): Added `MonoGenericContext *' argument.
679 Mon Dec 6 13:31:48 CET 2004 Paolo Molaro <lupus@ximian.com>
681 * main.c: add a --filter=filename option to load a file
682 with a list of types, fields, methods to disassemble.
684 2004-12-02 Miguel de Icaza <miguel@ximian.com>
686 * main.c: Rename compilercontrolled to privatescope
688 * get.c (get_class_name): Correct implementation that correctly
689 handles nested classes.
691 2004-11-26 Miguel de Icaza <miguel@ximian.com>
693 * main.c: Better implementation of the quote keyword, list all of
694 the known keywords to ildasm here.
696 * get.c (dis_stringify_object_with_class): Take an argument
697 `prefix' that controls whether the `class', `valuetype' labels are
698 used. This is needed for the catch clause that takes the type
700 (get_method_core): Rename get_method to get_method_core, and allow
701 for only part of the signature to be specified, so we can produce
702 .override signatures correctly.
703 (get_method_override): Pass false as the `fullsig' argument.
705 (get_typedef): no longer quote the type, we quote in the call site
706 elsewhere. Avoids double quotes.
708 * main.c (quote_keyword): Quote keywords.
710 Tue Nov 9 17:29:28 CET 2004 Paolo Molaro <lupus@ximian.com>
712 * dis-cil.c, get.c, get.h: update to exception clause structure changes.
714 2004-11-08 Ben Maurer <bmaurer@ximian.com>
716 * get.c, dump.c: warning free.
718 2004-10-21 Jackson Harper <jackson@ximian.com>
720 * get.c: Escape typedef names.
722 2004-10-19 <vargaz@freemail.hu>
724 * main.c: Applied patch from Alexandre Rocha Lima e Marcondes (alexandremarcondes@psl-pr.softwarelivre.org). Really fix 2.95 build.
726 2004-10-04 Sebastien Pouliot <sebastien@ximian.com>
728 * dump.c: Added new "internal" security actions for non-CAS demands:
729 NonCasDemand, NonCasLinkDemand and NonCasInheritance.
730 * main.c: Added new "internal" security actions for non-CAS demands:
731 noncasdemand, noncaslinkdemand and noncasinheritance.
733 2004-09-24 Zoltan Varga <vargaz@freemail.hu>
735 * main.c: Add support for pinvoke flags BestFit and
736 ThrowOnUnmappableChar.
738 2004-09-23 Miguel de Icaza <miguel@ximian.com>
740 * main.c (dis_directive_assemblyref): Dump the locale and public
743 * get.c (dis_stringify_object_with_class): Escape assembly name.
745 * main.c (dis_directive_assemblyref): Escape assembly name
747 2004-09-21 Martin Baulig <martin@ximian.com>
749 * main.c (main): If just a single assembly was specified, use the
750 runtime version it requires.
752 2004-09-16 Sebastien Pouliot <sebastien@ximian.com>
754 * dump.c: Added new security actions added in 2.0: LinkDemandChoice,
755 InheritanceDemandChoice and DemandChoice.
756 * main.c: Added ".permissionset" to output IL. Removed "hassecurity"
757 as MS ilasm can't compile it.
759 2004-09-16 Zoltan Varga <vargaz@freemail.hu>
761 * get.c (get_token): Add support for memberrefs.
763 2004-09-06 Zoltan Varga <vargaz@freemail.hu>
765 * main.c: Fix build && warnings.
767 2004-09-05 Jambunathan K <kjambunathan@novell.com>
768 * main.c (dump_cattrs_list): Newly carved out of dump_cattrs.
770 Renamed cattrs_for_method() to more meaningful
771 dump_cattrs_for_method_params()
773 (dump_cattrs_for_method_params): Fixed so that ".param[]" gets
774 dumped only when necessary. i.e., when a method parameter has
775 either a default value and/or when it has a custom attribute.
777 2004-09-06 Zoltan Varga <vargaz@freemail.hu>
779 * get.c: Fix printing of unmanaged calling conventions.
780 (get_constant): Fix warning.
782 2004-08-28 Jambunathan K <kjambunathan@novell.com>
783 * main.c: modified cattrs_for_method so that
784 emitting of ".param[] = ..." is complete.
786 * get.c: Modified get_constant() so that
787 1. MONO_TYPE_CHAR now handles unicode characters
788 2. MONO_TYPE_I8 now emits int64(...)
789 3. MONO_TYPE_STRING emits a bytearray()
791 2004-08-18 Jambunathan K <kjambunathan@novell.com>
792 * get.c: Changed dis_stringify_param to emit [opt] for parameters
793 that are marked as Optional.
795 * dump.c: Fixed dump_table_constant so that the parent field's
796 description is correctly displayed.
798 2004-08-08 Zoltan Varga <vargaz@freemail.hu>
800 * get.c (get_typespec): Append '*' to pointer types. Fixes #62331.
802 2004-08-03 Martin Baulig <martin@ximian.com>
804 * dump.c (method_dor_to_token): Moved to get.c and made public.
806 * get.c (get_method_override): New public function.
808 * main.c (dis_code): Added `.override' for override methods.
810 2004-08-02 Martin Baulig <martin@ximian.com>
812 * get.c (dis_stringify_object_with_class): Include our generic
813 arguments in the method's class name.
815 * main.c (dis_generic_param_and_constraints): Use the new
818 2004-08-02 Martin Baulig <martin@ximian.com>
820 * dump.c (dump_stream_blob): Format this nicely.
821 (dump_table_standalonesig): New public function.
823 * main.c (dis_locals): If --show-tokens was requested, print the
824 standalone signature token.
825 (table_list): Added "--standalonesig".
827 2004-07-09 Jackson Harper <jackson@ximian.com>
829 * get.c: Make "class" the default so only valuetypes get the
830 "valuetype" modifier. Otherwise object, string, int,... will get
833 2004-07-08 Jackson Harper <jackson@ximian.com>
835 * main.c: Spaces after visibility types.
837 2004-07-06 Jackson Harper <jackson@ximian.com>
839 * get.c: Add float cast for outputing floats. Patch by Steve Brown.
841 2004-06-25 Jackson Harper <jackson@ximian.com>
843 * get.c: Add a few more keywords to be escaped.
844 * main.c: MS's ildasm writes '// end of class' not '// end of
845 type'. The python.net tool searches for this string.
847 2004-06-24 David Waite <mass@akuma.org>
849 * dump.c: change to C90-style comments from C99/C++-style
851 2004-06-23 Raja R Harinath <rharinath@novell.com>
853 * main.c (dis_event_signature): Decode and print event_flags.
855 2004-06-20 Jackson Harper <jackson@ximian.com>
857 * dis-cil.c: Handle switch statements with no labels.
859 2004-06-19 Jackson Harper <jackson@ximian.com>
861 * dump.c/h: New function to dump the contents of the blob
862 stream. I found it useful for debugging so I will share.
863 * main.c: Add --blob switch to dump the blob stream.
864 * monodis.1: Document --blob
866 2004-06-19 Jackson Harper <jackson@ximian.com>
868 * get.c/h: New function to stringify function pointers.
870 2004-06-19 Jackson Harper <jackson@ximian.com>
872 * get.c: Fix name escaping so we dont escape everything in the
875 2004-06-11 Martin Baulig <martin@ximian.com>
877 * get.c (get_methodref_signature): Include "vararg " in the
878 signature of a varargs method.
880 2004-06-11 Martin Baulig <martin@ximian.com>
882 * get.c (get_methodref_signature): If we're a varargs method,
883 print "..." for the sentinel followed by the actual types.
885 2004-06-08 Martin Baulig <martin@ximian.com>
887 * dump.c (dump_table_memberref): Added support for MethodDef
890 2004-05-06 Bernie Solomon <bernard@ugsolutions.com>
896 * util.h: rename map_t dis_map_t to avoid AIX symbol clash
898 2004-04-01 Martin Baulig <martin@ximian.com>
900 * dump.c (dump_table_memberref): Added support for TypeDef's.
902 2004-03-29 Jackson Harper <jackson@ximian.com>
904 * main.c: Handle pinvoke info where there is not an impl_map
907 2004-03-27 Vladimir Vukicevic <vladimir@pobox.com>
909 * get.c (get_constant): output bool consts as bool(true) or
910 bool(false) (to be same as ildasm, also what mono and ms
913 2004-01-31 Martin Baulig <martin@ximian.com>
915 * get.c (get_methodspec): It's a methoddef or ref token.
917 2004-01-26 Martin Baulig <martin@ximian.com>
919 * main.cs (--show-tokens): New command line argument to show
920 type tokens in the disassembly.
922 * get.c (get_typedef, get_typespec, get_typeref): If
923 `show_tokens', include the token in the type name.
924 (get_type): Do some type parsing here and include the token in the
925 returned type name if requested.
926 (get_method): Include tokens if requested.
928 2004-01-17 Zoltan Varga <vargaz@freemail.hu>
930 * main.c get.c: Add support for dumping the custom attributes of
933 2004-01-09 Jackson Harper <jackson@ximian.com>
935 * monodis.1: Add --show-method-tokens switch
936 * get.c: When stringifying methods show the method token if the
937 show-method-tokens flag is set.
938 * get.h: Add show_method_tokens flag
939 * main.c: Add --show-method-tokens switch
941 2004-01-09 Jackson Harper <jackson@ximian.com>
943 * monodis.1: Add typespec switch
945 2004-01-08 Jackson Harper <jackson@ximian.com>
947 * main.c: Add switch to dump typespec table.
948 * dump.c/dump.h: Add function for dumping typespec table.
950 2003-12-19 Zoltan Varga <vargaz@freemail.hu>
952 * dump.c (dump_table_exported): Fix output.
954 2003-12-08 Jackson Harper <jackson@ximian.com>
956 * main.cs: escape module names.
958 2003-12-03 Zoltan Varga <vargaz@freemail.hu>
960 * main.c (dis_field_list): Update after changes to
961 mono_metadata_get_constant_index ().
963 2003-11-26 Zoltan Varga <vargaz@freemail.hu>
965 * dump.c dump.h main.c: Added support for dumping the ImplMap table
968 * main.c (dis_method_list): Avoid disassembling native code.
970 2003-11-19 Zoltan Varga <vargaz@freemail.hu>
972 * get.c (dis_stringify_modifiers): Fix display of modreq and modopt.
974 Thu Nov 13 16:12:09 CET 2003 Paolo Molaro <lupus@ximian.com>
976 * util.h, dump.c: get rid of ugly CSIZE macro.
978 2003-11-01 Zoltan Varga <vargaz@freemail.hu>
980 * main.c: Add disassembly of module, moduleref and file tables.
982 * get.h get.c: Add support for modulerefs.
984 * dump.c: Avoid crash on empty assembly table.
986 2003-10-22 Jackson Harper <jackson@ximian.com>
988 * main.c: Use escaped names for method, and type names. Initialize
990 * main.c (visibility_map): Fix typo, should be nested family not
992 * main.c (dis_data): Use uppercase hex to avoid name conflicts.
993 * get.c/get.h: New method to get an escaped name. This method will
994 take a name and escape it if it is an ilasm keyword, or uses a non
995 id char. Use escaped names for type, method, field, and parameter names.
996 * get.c (get_typespec): A typespec can be used for anything, so we
997 need to handle all types not just modified types.
998 * get.c (dis_stringify_object_with_class): Handle nested classes
999 * get.c (get_token): Add field keyword to field tokens.
1001 2003-10-21 Jackson Harper <jackson@ximian.com>
1003 * get.c (get_fieldref_signature): Use MONO_MEMBERREF_SIGNATURE in
1004 the member ref table.
1006 2003-10-21 Martin Baulig <martin@ximian.com>
1008 * get.c (get_typespec): Add MONO_TYPE_VAR and MONO_TYPE_MVAR.
1010 2003-10-18 Jackson Harper <jackson@ximian.com>
1012 * dis-cil.c (get_encoded_user_string): use g_strescape instead of
1014 * util.c (hex_dump): Use uppercase hex so there are no conflicts
1015 with ilasm keywords ie cf
1017 2003-10-17 Jackson Harper <jackson@ximian.com>
1019 * dis-cil.c (get_encoded_user_string): Escape user strings when
1020 loading. ie ""quote"" should be "\"quote\"".
1021 * dis-cil.c (dissasemble_cil): Write SEH debug info into a comment
1022 block. Combine SEH blocks that have the same offset and length,
1023 this prevents creating invalid SEH blocks.
1025 2003-10-15 Zoltan Varga <vargaz@freemail.hu>
1027 * get.c (get_ret_type): Remove needless warning message.
1029 2003-10-13 Jackson Harper <jackson@ximian.com>
1031 * get.c: stringify nested types properly ie Outer/Inner.
1033 2003-10-10 Jackson Harper <jackson@ximian.com>
1035 * dump.c: When dumping methodspecs dump the full methodspec with
1036 signature, and dump the signature.
1038 2003-10-10 Jackson Harper <jackson@ximian.com>
1040 * get.c/get.h: Add methods to get stringified methodspecs and
1041 method type parameters.
1043 2003-10-09 Jackson Harper <jackson@ximian.com>
1045 * main.c/get.c: Remove magic numbers, use constants.
1047 2003-10-08 Jackson Harper <jackson@ximian.com>
1049 * main.c (dis_genericparam): renamed to
1050 dis_generic_param_and_constraints, allow a table type to be passed
1051 to the method so this could be used with generic methods (It is
1053 * get.c/get.h (get_generic_param): method to stringify generic
1054 type and method parameters.
1055 * get.c (dis_stringify_method_signature): Add generic parameters.
1057 2003-10-08 Jackson Harper <jackson@ximian.com>
1059 * main.c (dis_type): NULL cnst_block so we dont explode on
1061 * main.c (dis_genericparam): oops, fix off-by-one error.
1063 2003-10-08 Jackson Harper <jackson@ximian.com>
1065 * get.c/get.h add method to get a methoddef from an index, simplify
1066 get_typd_or_methdef, use new get_methoddef to get the method
1067 because we have a method index not a method token.
1069 2003-10-07 Jackson Harper <jackson@ximian.com>
1071 * main.c: When dis. generic parameters the TypeOrMethodDef token
1072 only needs to be shifted 1 bit. Added dis of generic constraints.
1073 * get.c/get.h: New method for getting a TypeOrMethodDef token
1074 * dump.c: When dumping generic parameters and generic constraints
1075 output readable names instead of just tokens.
1077 2003-10-01 Jackson Harper <jackson@latitudegeo.com>
1079 * main.c: Fix visibility level names, when outputing pinvoke info
1080 quote the module and method names, properties have specialname,
1081 and rtspecialname flags (nothing else), dis global methods and
1082 fields FIXME: indentation issues.
1083 * get.h: declare get_fieldref_signature
1084 * get.c: Fix unsigned ints (not uint), single quote argument names
1085 (this is kinda a hack, ildasm will only single quote arg names
1086 that are ilasm keywords), remove fixme, we know what typedbyref
1087 means, output fieldref signatures instead of their token value.
1089 2003-09-19 Jackson Harper <jackson@latitudegeo.com>
1091 * dis-cil.c: Output fault blocks, and filter blocks. If in a
1092 filter block outptut 0xDC as endfilter if in a fault output as
1095 2003-08-22 Zoltan Varga <vargaz@freemail.hu>
1097 * main.c (dis_event_list): Same for event methods.
1099 * get.c (dis_stringify_method_signature): New argument specifying
1100 whenever to return a fully qualified method name.
1101 * dump.c main.c: Updated to work with the new function.
1103 * main.c (dis_property_methods): Print fully qualified method names
1104 for property methods. Fixes #46221.
1106 2003-07-22 Jackson Harper <jackson@latitudegeo.com>
1108 * main.c: Dissasemble generic type parameters for type
1109 definitions. TODO: Sort type parameters by index, and
1110 auto-generate names for parameters that have no name.
1112 Fri Jul 18 13:12:38 CEST 2003 Paolo Molaro <lupus@ximian.com>
1114 * get.c: updates for array type representation changes.
1116 2003-06-16 Jackson Harper <jackson@latitudegeo.com>
1118 * get.c: Fix modopt and modreq
1120 Thu May 29 12:21:47 CEST 2003 Paolo Molaro <lupus@ximian.com>
1122 * dump.c, get.c: misc fixes.
1124 Wed May 7 16:50:00 CEST 2003 Paolo Molaro <lupus@ximian.com>
1126 * main.c: output custom attributes for method parameters.
1128 Wed May 7 16:24:43 CEST 2003 Paolo Molaro <lupus@ximian.com>
1130 * main.c: output nested types inside their nesting class.
1132 2003-04-12 Zoltan Varga <vargaz@freemail.hu>
1134 * get.c (dis_stringify_modifiers): Print a space between custom modifers.
1135 * get.c (get_custom_mod): Handle multiple custom modifiers aka bug #30812.
1136 * main.c: Print klass name at the end of each method to make it easier
1137 to find a given method.
1139 2003-03-31 Miguel de Icaza <miguel@ximian.com>
1141 * main.c: Sorted command line options table by name.
1143 * dump.c: Add support for dumping the new generic tables.
1145 * monodis.1: Update man page.
1147 2003-03-09 Jackson Harper <jackson@latitudegeo.com>
1149 * main.c: Ouput implements clause as a comma seperated list.
1151 Thu Feb 6 02:43:23 PST 2003 Piers Haken <piersh@friskit.com>
1153 * dump.c: more warning cleanups
1155 Mon Jan 27 17:16:50 CET 2003 Paolo Molaro <lupus@ximian.com>
1157 * get.c: decode also the size info in get_marshal_info()
1158 for ByValStr and ByValArray.
1160 Tue Sep 24 11:48:53 CEST 2002 Paolo Molaro <lupus@ximian.com>
1162 * main.c: use mono_type_size () to get the size of
1163 a blob of data for a type (Zoltan Varga spotted the bug).
1165 2002-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1167 * get.c: closes bug #30814. Thanks to Zoltan Varga.
1169 Mon Sep 16 18:49:55 CEST 2002 Paolo Molaro <lupus@ximian.com>
1171 * main.c, get.c, dump.c: updates for changes in libmetadata.
1173 Fri Sep 13 15:39:41 CEST 2002 Paolo Molaro <lupus@ximian.com>
1175 * main.c: dump public key.
1176 * get.c, util.h, util.c: prettyfy data dumps.
1178 2002-08-28 Dick Porter <dick@ximian.com>
1180 * Makefile.am: Export HOST_CC for w32 builds
1182 Tue Aug 6 12:40:09 CEST 2002 Paolo Molaro <lupus@ximian.com>
1184 * main.c: use mono_image_get_entry_point ().
1186 Fri Jul 26 11:41:32 CEST 2002 Paolo Molaro <lupus@ximian.com>
1188 * main.c, dump.h, dump.c: output hash value in File table.
1189 Add dumper function for DeclSecurity table.
1191 Fri Jul 19 14:20:10 CEST 2002 Paolo Molaro <lupus@ximian.com>
1193 * main.c: handle null parent.
1195 2002-07-02 Martin Baulig <martin@gnome.org>
1197 * get.c (dis_stringify_object_with_class): New static function to
1198 stringify an object when we already have its class.
1199 (dis_stringify_object): Get the class and call dis_stringify_object().
1200 (get_method): Call dis_stringify_object_with_class() since we already
1201 have the object's class.
1203 Thu Jun 20 11:50:38 CEST 2002 Paolo Molaro <lupus@ximian.com>
1205 * main.c, dump.c, dump.h: code to dump the MethodImpl table.
1207 Mon Jun 17 17:31:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
1209 * get.h, get.c: get_marshal_info() to get a marshal descriptor.
1210 * main.c, dump.h, dump.c: added code to dump the FieldMarshl table.
1212 Tue Jun 11 14:11:12 CEST 2002 Paolo Molaro <lupus@ximian.com>
1214 * get.c: handle modulerefs.
1215 * main.c: fix --mscorlib argument handling.
1217 Fri Jun 7 19:39:43 CEST 2002 Paolo Molaro <lupus@ximian.com>
1219 * get.c: handle typerefs of nested types. Don't print "."
1220 with an empty namespace.
1222 Sat Jun 1 13:57:17 CEST 2002 Paolo Molaro <lupus@ximian.com>
1224 * main.c: print byte values correctly.
1226 2002-05-20 Martin Baulig <martin@gnome.org>
1228 * main.c: Added `--output=FILENAME' command line option.
1230 * monodis.1: Documented it here.
1232 Thu May 16 17:21:07 CEST 2002 Paolo Molaro <lupus@ximian.com>
1234 * main.c, dump,c, get.h, get.c: diassemble custom attributes.
1236 Wed May 15 16:02:56 CEST 2002 Paolo Molaro <lupus@ximian.com>
1238 * main.c: output field RVA data.
1240 Fri May 10 21:00:52 CEST 2002 Paolo Molaro <lupus@ximian.com>
1242 * main.c: print field offset info if needed.
1244 Wed May 1 17:07:56 CEST 2002 Paolo Molaro <lupus@ximian.com>
1246 * dump.c, dump.h, main.c: dump ExportedTypes table.
1247 * get.c: fix get_module (), remove magic numbers.
1248 * monodis.1: update manpage (hi miguel!:)
1250 Mon Apr 29 12:12:35 CEST 2002 Paolo Molaro <lupus@ximian.com>
1252 * dump.c, dump.h, main.c: support for dumping the manifest resource table.
1254 Mon Apr 15 11:35:05 CEST 2002 Paolo Molaro <lupus@ximian.com>
1256 * dump.c, dump.h, get.c, get.h, main.c: support for dumping the
1257 module table and guid values.
1259 Mon Apr 8 17:15:04 CEST 2002 Paolo Molaro <lupus@ximian.com>
1261 * main.c: removed unneeded runtime invoke support.
1263 Thu Mar 28 16:52:11 CET 2002 Paolo Molaro <lupus@ximian.com>
1265 * dis-cil.c, dump.c, get.c, main.c, util.h: spring warning cleanup.
1267 Thu Mar 28 11:29:58 CET 2002 Paolo Molaro <lupus@ximian.com>
1269 * util.c: when an invalid flags combination is seen,
1270 return the string "invalid-flags", so disassembly can continue.
1272 Tue Mar 19 18:15:29 CET 2002 Paolo Molaro <lupus@ximian.com>
1274 * dis-cil.c: use unsigned for variables.
1276 Sat Mar 16 19:13:57 CET 2002 Paolo Molaro <lupus@ximian.com>
1278 * dump.c: handle TypeSpec token in memberref table dump.
1280 2002-03-08 Nick Drochak <ndrochak@gol.com>
1282 * monodis.1: Add info about new parameter
1283 * main.c: Add flag to remember if user wants to us mscorlib for
1284 non-corilb assembly names
1285 * get.c(get_typedef): use mscorlib for assembly name only
1286 if user specifies it with a command line parameter. Default
1287 behavior is now to use actual assembly name.
1289 Tue Mar 5 18:11:01 CET 2002 Paolo Molaro <lupus@ximian.com>
1291 * dump.c: print index of the methodsemantics table.
1292 * main.cs: print event information.
1294 Wed Feb 20 22:10:48 CET 2002 Paolo Molaro <lupus@ximian.com>
1296 * dump.c: fix the fix and more complete custom attribute decoder.
1298 Tue Feb 19 20:20:15 CET 2002 Paolo Molaro <lupus@ximian.com>
1300 * dump.c: the prolog is before each arg in the custom attribute blob.
1302 Mon Feb 18 15:48:38 CET 2002 Paolo Molaro <lupus@ximian.com>
1304 * get.c: include last param.
1306 Thu Feb 14 18:59:37 CET 2002 Paolo Molaro <lupus@ximian.com>
1308 * main.c: output pack and size info if needed.
1310 2002-02-13 Dietmar Maurer <dietmar@ximian.com>
1312 * *.c: s/MonoMetadata/MonoImage/
1314 Tue Feb 12 14:33:53 CET 2002 Paolo Molaro <lupus@ximian.com>
1316 * dump.c: make all the indexes printed starting from 1.
1318 Fri Feb 8 19:28:31 CET 2002 Paolo Molaro <lupus@ximian.com>
1320 * get.c: don't abort if a methodref is not found, usa alternative way
1321 to get the method name.
1323 Fri Feb 8 12:29:41 CET 2002 Paolo Molaro <lupus@ximian.com>
1325 * Makefile.am: correct linking order.
1326 * dis-cil.c: use opcode info from opcodes.h instead of a copy of the data.
1328 Thu Jan 31 18:21:12 CET 2002 Paolo Molaro <lupus@ximian.com>
1330 * dis-cil.c: reverse order when outputting start try blocks.
1332 Mon Jan 14 17:00:23 CET 2002 Paolo Molaro <lupus@ximian.com>
1334 * dump.c: more info in method table dump.
1336 Mon Dec 24 17:24:13 CET 2001 Paolo Molaro <lupus@ximian.com>
1338 * main.c, dump.h, dump.c: add dump_table_nestedclass().
1339 * dis-cil.c: output int64 as hex.
1341 Tue Dec 18 18:48:00 CET 2001 Paolo Molaro <lupus@ximian.com>
1343 * main.c: use mono_metadata_methods_from_property() and
1344 mono_metadata_properties_from_typedef() from metadata instead of
1347 Tue Nov 27 16:31:52 CET 2001 Paolo Molaro <lupus@ximian.com>
1349 * main.c: output a marker for method (used in debug support).
1351 Mon Nov 19 11:32:28 CET 2001 Paolo Molaro <lupus@ximian.com>
1353 * main.c: remove arch_create_jit_trampoline().
1355 Thu Nov 15 17:42:03 CET 2001 Paolo Molaro <lupus@ximian.com>
1357 * dump.c: decode more info in the constant table.
1358 * get.c: show literals the same way ildasm does.
1359 * main.c: decode literal values for fields.
1361 Fri Nov 2 19:04:21 CET 2001 Paolo Molaro <lupus@ximian.com>
1363 * main.c, dump, dump.c: decode the customattr table.
1364 * dump.c: handle also field signature when dumping the memberref
1367 2001-11-07 Miguel de Icaza <miguel@ximian.com>
1369 * main.c (dis_property_methods): Added missing colon which avoided
1372 2001-10-10 Dietmar Maurer <dietmar@ximian.com>
1374 * main.c (arch_compile_method): added to compute vtable entry
1376 Mon Oct 8 16:13:55 CEST 2001 Paolo Molaro <lupus@ximian.com>
1378 * get.c, get.h: MonoArray changed in MonoArrayType.
1379 * main.c: guard against calling bsearch with a NULL pointer
1380 (pointed out by Laurent Rioux, smoux).
1382 Thu Oct 4 19:05:56 CEST 2001 Paolo Molaro <lupus@ximian.com>
1384 * dis-cil.c: fix printing of exception stuff.
1385 * dump.c: display some more info in the typedef table dump.
1386 * main.c: typo fix and method list fix.
1388 2001-10-04 Dick Porter <dick@ximian.com>
1390 * meta.h: include mono-endian.h not endian.h
1392 2001-10-02 Dietmar Maurer <dietmar@ximian.com>
1394 * get.c (get_method): always write namespace and class name.
1396 2001-09-06 Miguel de Icaza <miguel@ximian.com>
1398 * monodis.1: Update man page.
1400 Tue Aug 28 15:54:45 CEST 2001 Paolo Molaro <lupus@ximian.com>
1402 * main.c, dump.c, dump.h, get.c: added dump_table_interfaceimpl ().
1403 Output info about interfaces when disassembling a type. Many small
1404 changes to make the output correct assembler.
1406 Mon Aug 27 20:13:49 CEST 2001 Paolo Molaro <lupus@ximian.com>
1408 * dis-cil.c, get.c: some endian fixes.
1409 * main.c: colon-separate version numbers. Print also namespace
1410 when outputting class information.
1412 Fri Aug 24 16:10:12 CEST 2001 Paolo Molaro <lupus@ximian.com>
1414 * get.c, main.c, get.h: updates for MonoParam merge in MonoType.
1416 2001-08-24 Dietmar Maurer <dietmar@ximian.com>
1418 * main.c (disassemble_file): use assembly_open instead of image_open
1420 Wed Aug 22 16:22:22 CEST 2001 Paolo Molaro <lupus@ximian.com>
1422 * dis-cil.c: add a newline after branch instructions. Move
1423 end of exception handler code at the end.
1425 Tue Aug 21 18:51:05 CEST 2001 Paolo Molaro <lupus@ximian.com>
1427 * dis-cil.c: correctly print the label for multi-byte opcodes.
1429 Mon Aug 20 19:33:34 CEST 2001 Paolo Molaro <lupus@ximian.com>
1431 * util.c: add a space when decoding multiple flags.
1432 * dump.c, dump.h, main.c: decode the property map and
1433 methodsemantics tables. Disassemble property information
1434 to .property IL directives.
1435 * get.c: allow passing a NULL as method in dis_stringify_method ()
1436 if a methoddef_row is given.
1438 2001-08-20 Dietmar Maurer <dietmar@ximian.com>
1440 * get.c (dis_stringify_type): support pinned values
1442 Sat Aug 18 11:24:07 CEST 2001 Paolo Molaro <lupus@ximian.com>
1444 * dump.c, get.c, get.h, main.c: dis_stringify_method_signature()
1445 gets an optional methodef_row index instead of a name, so it
1446 can figure out also the names and attributes of params.
1447 parse_method_signature() and free_method_signature() removed as
1448 they are useless now.
1450 2001-08-17 Dietmar Maurer <dietmar@ximian.com>
1452 * main.c (pinvoke_info): bug fix - use the right column in the table
1454 2001-08-14 Dietmar Maurer <dietmar@ximian.com>
1456 * get.c (dis_stringify_type): use strconcat instead of strjoin
1458 Sat Aug 4 12:36:54 CEST 2001 Paolo Molaro <lupus@ximian.com>
1460 * get.c, get.h, main.c, dump.c: implement dis_stringify_method_signature().
1461 More magic constants replaced by enum values (spotted at least 3 real bugs
1462 doing this). Print usage information if an unknown option is given.
1463 Print the full signature when dumping the method table.
1464 Changed method and field table dumps to show the typedef name the field
1465 or method belongs to.
1467 Fri Aug 3 18:30:16 CEST 2001 Paolo Molaro <lupus@ximian.com>
1469 * get.c (get_method): fix use of unitialized variable and
1470 remove magic constants all over the place.
1472 Wed Aug 1 22:46:45 CEST 2001 Paolo Molaro <lupus@ximian.com>
1474 * dis-cil.c: properly decode the switch opcode.
1476 2001-08-01 Dietmar Maurer <dietmar@ximian.com>
1478 * get.c (get_token): decode typedef and typeref tokens
1480 * main.c (dis_method_list): don't decode the next row, that is
1483 Tue Jul 31 17:48:11 CEST 2001 Paolo Molaro <lupus@ximian.com>
1485 * dis-cil.c, dis-cil.h, dump.c, dump.h, get.c, get.h, main.c, push-pop.h:
1486 massive namespace cleanup.
1487 * main.c: dis_locals() now just strigifies a MonoMethodHeader.
1489 2001-07-31 Dietmar Maurer <dietmar@ximian.com>
1491 * main.c (pinvoke_flags): impl.
1493 Mon Jul 30 20:08:37 CEST 2001 Paolo Molaro <lupus@ximian.com>
1495 * dis-cil.c, dis-cil.h, main.c: changes to disassemble also
1496 the information about try/catch/finally blocks.
1498 2001-07-27 Dietmar Maurer <dietmar@ximian.com>
1500 * get.c (dis_stringify_type): return "void" if !type
1501 (dis_stringify_type): print type* instead of *type
1503 Thu Jul 26 13:22:28 CEST 2001 Paolo Molaro <lupus@ximian.com>
1505 * dis-cil.c, dump.c, get.c, main.c: updates to match changes in metadata.
1508 2001-07-17 Miguel de Icaza <miguel@ximian.com>
1510 * main.c (usage): Print out all the arguments.
1512 * get.c, main.c, dump.c: Remove `expand', `get_encoded_value',
1513 `get_blob_encoded_size' and replaced with the proper functions
1516 2001-07-15 Miguel de Icaza <miguel@ximian.com>
1518 * main.c (dis_code): Only display .entrypoint when we are dealing
1519 with a module that contains an entry point. This removes a bunch
1520 of warnings for .dll dumping
1522 Sun Jul 15 17:29:10 CEST 2001 Paolo Molaro <lupus@ximian.com>
1524 * get.h,get.c: added some dis_stringify_object() functions:
1525 metadata decoding is now done in libmetadata. Still need to use
1526 them throughhout the code (and move other decode code to
1527 metadata). Fix also field decoding (band-aid until we load
1528 also referenced assemblies).
1529 * dis/main.c: start using the new routines.
1531 2001-07-13 Miguel de Icaza <miguel@ximian.com>
1533 * get.c (get_method): GOOD. Implemented this other bad boy.
1535 2001-07-12 Miguel de Icaza <miguel@ximian.com>
1537 * get.c (get_token_type): Implement TOKEN_TYPE_TYPE_SPEC.
1538 (get_typespec): Implement.
1539 (get_typedef_or_ref): Use get_typespec.
1541 * dis-cil.c (dissasemble_cil): Implement InlineField
1542 (dissasemble_cil): Implement InlineTok.
1544 * get.c (get_token, get_field): Implemented. Worked around lame
1547 Wed Jul 11 18:52:15 CEST 2001 Paolo Molaro <lupus@ximian.com>
1549 * dis-cil.c: output real name of local var.
1550 * dump.c: output more info about fields (flags and type). Properly decode
1551 Property signatures. Decode also method table.
1552 * main.c: Fix local variable info. Hopefully fix field and property list.
1554 Mon Jul 9 16:39:41 CEST 2001 Paolo Molaro <lupus@ximian.com>
1556 * dump.c: write stuff to output, not stderr. Give more info for properties.
1557 * dump.c,dump.h,main.c: implement dump_table_event(), dump_table_file(),
1558 dump_table_moduleref().
1559 * get.c: first attempt to decode string constants, need to find if and where
1560 this is actually specified.
1562 Fri Jul 6 19:49:21 CEST 2001 Paolo Molaro <lupus@ximian.com>
1564 * dump.c,dump.h: implement dump_table_property().
1565 * main.c: implement local variable info disassembling.
1566 Annotate entrypoint method. Remove memory leak in
1567 parse_method_signature ().
1569 2001-07-04 Miguel de Icaza <miguel@ximian.com>
1571 * get.c (get_methodref_signature): Implement.
1573 * dump.c (dump_table_memberref): Add memberref dumping.
1575 Tue, 3 Jul 2001 18:32:10 +0200 Paolo Molaro <lupus@ximian.com>
1577 * main.c: return on failure.
1579 2001-07-02 Miguel de Icaza <miguel@ximian.com>
1581 * dis-cil.c (get_encoded_user_string): Return a string from the
1584 * get.c (get_blob_encoded_size): Implement 23.1.4 decoding.
1586 2001-07-01 Miguel de Icaza <miguel@ximian.com>
1588 * dis-cil.c: New file. CIL opcode dissasembler.
1590 2001-06-27 Miguel de Icaza <miguel@ximian.com>
1592 * main.c: Split code.
1594 2001-06-22 Miguel de Icaza <miguel@ximian.com>
1596 * main.c: More work on the disassembler and on the understanding
1597 of the metadata file format.