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