2008-01-17 Rodrigo Kumpera <rkumpera@novell.com>
[mono.git] / mono / tests / verifier / ChangeLog
1 2008-01-17 Rodrigo Kumpera <rkumpera@novell.com>
2
3         * make_localloc_test.sh: test generator for localloc.
4
5         * make_tests.sh: added tests for localloc.
6
7 2008-01-17 Rodrigo Kumpera <rkumpera@novell.com>
8
9         * make_sizeof_test.sh: test generator for sizeof.
10
11         * make_tests.sh: added tests for sizeof.
12
13 2008-01-17 Rodrigo Kumpera <rkumpera@novell.com>
14
15         * make_cp_test.sh: test generator for cpobj.
16
17         * make_tests.sh: added tests for cpobj.
18
19 2008-01-17 Rodrigo Kumpera <rkumpera@novell.com>
20
21         * invalid_initobj_invalid_token_out_of_bounds.il: tests for initobj.
22
23         * invalid_initobj_invalid_token_type.il: same.
24
25         * make_initobj_test.sh: test generator for initobj.
26
27         * make_tests.sh: added tests for initobj.
28
29 2008-01-11 Rodrigo Kumpera <rkumpera@novell.com>
30
31         * unverifiable_ldfld_reference_type_by_ref.il: new test for ldfld.
32
33         * invalid_stojb_bad_token.il: test for bad ldobj token.
34
35         * invalid_stojb_token_out_of_bounds.il: same.
36
37         * make_stobj_test.sh: new test generator.
38
39         * make_test.sh: added new tests for stobj.
40         
41 2008-01-10 Rodrigo Kumpera <rkumpera@novell.com>
42
43         * valid_ldftn_method_spec_token.il: new test
44         for loading function pointers for generic methods.
45
46 2008-01-09 Rodrigo Kumpera <rkumpera@novell.com>
47
48         * make_test.sh: added tests for unbox.any.
49
50         * make_unbox_any_test.sh: new test generator.
51
52 2008-01-09 Rodrigo Kumpera <rkumpera@novell.com>
53
54         * make_test.sh: added tests for add|sub|mul ovf;
55
56         * unverifiable_unbox_toke_is_reference_type.il: New test for regressions
57         found while validating vbnc.
58
59         * valid_stind_ref_with_boxed_value.il: same.
60         *  valid_ldelema_enum_array.il: same.
61
62 2008-01-09 Rodrigo Kumpera <rkumpera@novell.com>
63
64         * valid_isinst_with_boxed_valuetype.il: New test for regressions
65         found while validating vbnc.
66
67         * valid_ldfld_valuetype_by_ref.il: same.
68         * valid_ldfld_valuetype_by_value.il: same.
69         * valid_stelem_ref_boxed_value.il: same.
70         * valid_stloc_boxed_valuetype.il: same.
71         * valid_sub_class_of_generic_type_is_compatible.il: same.
72         * unverifiable_ldfld_valuetype_boxed.il:  same.
73         * unverifiable_ldfld_reference_type_by_ref.il: same.
74
75         * make_test.sh: new tests for stfld and cgt.un.
76         
77
78 2008-01-08 Rodrigo Kumpera <rkumpera@novell.com>
79
80         * make_delegate_test.sh: increased max stack for
81         ldvirtftn tests.
82
83         * make_tests.sh: added new tests for delegates
84         constructed with ldvirtftn.
85
86 2008-01-07 Rodrigo Kumpera <rkumpera@novell.com>
87
88         * make_delegate_test.sh: added.
89
90         * make_tests.sh: added new tests for delegates
91         constructed with ldftn.
92
93 2008-01-03 Rodrigo Kumpera <rkumpera@novell.com>
94
95         * invalid_ldvirtftn_invalid_token_type.il: added.
96         
97         * make_ldvirtftn_test.sh: added.
98
99         * invalid_ldvirtftn_invalid_token_out_of_bounds.il: added.
100
101         * make_ldftn_test.sh: changed to allow more tests.
102
103         * make_tests.sh: added new tests for ldvirtftn and
104         a buch more for ldftn.
105
106 2007-12-31 Rodrigo Kumpera <rkumpera@novell.com>
107
108         * invalid_ldftn_invalid_token_out_of_bounds.il: added.
109         
110         * invalid_ldftn_invalid_token_type.il: added.
111
112         * make_ldftn_test.sh: added.
113
114         * make_test.sh: new tests for ldftn.
115
116         * AssemblyRunner.cs: added BadImageFormatException
117         to the list of invalid code errors. Removed
118         some dead code and an useless message.
119
120
121 2007-12-27 Rodrigo Kumpera <rkumpera@novell.com>
122
123         * invalid_non_empty_stack_at_try_begin.il: added.
124
125         * valid_branch_to_first_intruction_of_try.il: added.
126
127
128 2007-12-27 Rodrigo Kumpera <rkumpera@novell.com>
129
130         * make_exception_overlap_test.sh: new test generator.
131
132         * make_tests.sh: new tests for exception clause restrictions
133         enumerated in P1 12.4.2.7.
134
135         * invalid_catch_block_starts_after_prefix.il: new test
136         for a catch block that starts in the middle of an instruction.
137
138 2007-12-24 Rodrigo Kumpera <rkumpera@novell.com>
139
140         * make_switch_test.sh: new test generator.
141
142         * make_exception_branch_test.sh: the filter
143         handler did not pop the exception argument.
144
145         * make_tests.sh: add tests for switch.
146
147 2007-12-21 Rodrigo Kumpera <rkumpera@novell.com>
148
149         * make_branch_test.sh: new test generator.
150
151         * make_exception_branch_test.sh: added
152         support to test generator to specify
153         the expected result.
154
155         * make_tests.sh: some results for
156         make_exception_branch_test.sh were
157         wrong, fixed that.
158
159         * make_tests.sh: added some tests
160         to beq and bge.
161
162         * make_tests.sh added tests for br.
163
164 2007-12-20 Rodrigo Kumpera <rkumpera@novell.com>
165
166         * valid_exception_sequence.il: new test
167         for what blocks take an exception on
168         stack at the begin.
169
170 2007-12-19 Rodrigo Kumpera <rkumpera@novell.com>
171
172         * invalid_empty_catch_block.il
173         * invalid_empty_fault_block.il
174         * invalid_empty_filter_block.il
175         * invalid_empty_finally_block.il
176         * invalid_empty_handler_block.il
177         * invalid_empty_try_block.il
178         tests for empty protected blocks.
179
180         * invalid_exception_blocks_order.il:
181         test for the required ordering of exception
182         clauses.
183
184         * invalid_finally_block_overlap_try_block.il
185         * invalid_try_block_includes_catch_block.il
186         * invalid_try_block_inside_filter_block.il
187         tests for ill formed exception clauses.
188                 
189         * invalid_fallout_of_filter_block.il
190         * invalid_fallout_of_handler_block.il
191         * invalid_fallthru_into_filter_block.il
192         * invalid_fallthru_into_handler_block.il
193         * unverifiable_fallout_of_catch_block.il
194         * unverifiable_fallout_of_fault_block.il
195         * unverifiable_fallout_of_finally_block.il
196         * unverifiable_fallout_of_try_block.il
197         * unverifiable_fallthru_into_catch_block.il
198         * unverifiable_fallthru_into_fault_block.il
199         * unverifiable_fallthru_into_finally_block.il
200         * valid_end_try_block_with_throw.il:
201         tests for fallthru in and out of protected blocks.
202
203 2007-12-18 Rodrigo Kumpera <rkumpera@novell.com>
204
205         * make_test.sh: added tests for filter
206
207         * make_filter_test.sh: new test generator
208
209 2007-12-14 Rodrigo Kumpera <rkumpera@novell.com>
210
211         * make_test.sh: added tests for endfilter
212
213         * make_endfilter_test.sh: new test generator
214
215 2007-12-14 Rodrigo Kumpera <rkumpera@novell.com>
216
217         * Makefile: add support to check strict tests.
218
219         * AssemblyRunner.cs: start using peverify as part of the
220         process. Support for strict tests.
221
222 2007-12-12 Rodrigo Kumpera <rkumpera@novell.com>
223
224         * invalid_filter_ends_at_endfilter_1.il: tests if the
225         filter block is limited by the start of the associated 
226         handler clause or it is limited by the ocurrence of
227         endfilter. These 3 tests show that even if the endfilter
228         instruction must be the last, it doesn't define the end
229         of the filter block.
230
231         * invalid_filter_ends_at_endfilter_2.il: same
232
233         * invalid_filter_ends_at_endfilter_3.il: same
234
235         * make_test.sh: added tests for endfinally / endfault
236         * make_endfinally_test.sh: new test generator
237
238 2007-12-11 Rodrigo Kumpera <rkumpera@novell.com>
239
240         * make_test.sh: added tests for rethrow
241         * make_rethrow_test.sh: new test generator
242
243 2007-12-11 Rodrigo Kumpera <rkumpera@novell.com>
244
245         * make_test.sh: added tests for throw
246         * make_throw_test.sh: new test generator
247
248 2007-12-07 Rodrigo Kumpera <rkumpera@novell.com>
249
250         * make_test.sh: added tests for castclass and isinst
251         * make_cast_test.sh: new test generator
252
253 2007-12-07 Rodrigo Kumpera <rkumpera@novell.com>
254
255         * make_test.sh: added tests for stelem.X
256         * make_stelem_test.sh: new test generator
257
258 2007-12-06 Rodrigo Kumpera <rkumpera@novell.com>
259
260         * make_test.sh: added tests for ldelem
261
262 2007-12-06 Rodrigo Kumpera <rkumpera@novell.com>
263
264         * make_test.sh: fixed compilation issues with some tests.
265
266 2007-12-06 Rodrigo Kumpera <rkumpera@novell.com>
267
268         * make_test.sh: added tests for ldelem.X
269         * make_ldelem_test.sh: new test generator
270
271 2007-12-05 Rodrigo Kumpera <rkumpera@novell.com>
272
273         * make_test.sh: added tests for ldelema
274         * make_ldelema_test.sh: new test generator
275
276 2007-12-05 Rodrigo Kumpera <rkumpera@novell.com>
277
278         * make_test.sh: added tests for ldlen
279         * make_ldlen_test.sh: new test generator
280
281 2007-10-26 Rodrigo Kumpera <rkumpera@novell.com>
282
283         * valid_array_method.cs: test for invoking array methods.
284
285 2007-10-09 Rodrigo Kumpera <rkumpera@novell.com>
286
287         * make_tests.sh: tests for the return type of the invoked method.
288         tests for passing typedbyref as param.
289
290         * make_obj_store_test.sh: add new optional script parameter to tell
291         if class fields should be generated. This fix some bogus tests using
292         typedbyref.
293
294 2007-10-09 Rodrigo Kumpera <rkumpera@novell.com>
295         * make_tests.sh: unbox_byref_like test was flawed, it was not testing
296         the proper unverifable condition.
297
298 2007-10-09 Rodrigo Kumpera <rkumpera@novell.com>
299
300         * make_unary_test.sh: fixed an invalid struct that has no fields,
301         this was not the subject of the tests.
302         * make_newobj_test.sh: added, generate tests for newobj.
303         * make_tests.sh: added the new tests for newobj and some corner
304         cases of local/arg load/store.
305
306
307 2007-10-04 Rodrigo Kumpera <rkumpera@novell.com>
308
309         * make_store_indirect_test.sh: added, generate tests for stind.X.
310         * make_tests.sh: added the new tests for ldind.X.
311
312 2007-10-02 Rodrigo Kumpera <rkumpera@novell.com>
313
314         * make_tests.sh: added the new tests for ops mixing Int32 and IntPtr, disabled
315         the overlapped tests for now
316         * make_unary_test.sh: disabled the overlapped tests for now
317         * make_field_store_test.sh: sames
318
319 2007-09-27 Rodrigo Kumpera <rkumpera@novell.com>
320
321         * make_load_indirect_test.sh: added, generate tests for ldind.X.
322         * make_tests.sh: added the new tests for ldind.X and new tests for stloc/starg using 
323         native int and int32.
324
325 2007-09-25 Rodrigo Kumpera <rkumpera@novell.com>
326
327         * valid_load_addr.il: Tests for valid uses of ldarga and ldloca
328         * make_double_nesting_test.sh: Generate tests for calling nested classes from a diferent outer class
329
330 2007-09-25 Rodrigo Kumpera <rkumpera@novell.com>
331
332         * valid_generic_params.cs (added): Tests for valid use of generic types.
333         * Makedfile: added valid_generic_params.cs
334
335 2007-08-16 Rodrigo Kumpera <rkumpera@novell.com>
336
337         * make_newarr_test.sh (added):  Generate newarr related tests.
338         * make_tests.sh: Addes tests for newarr.
339
340
341 2007-08-15 Rodrigo Kumpera <rkumpera@novell.com>
342
343         * make_unbox_test.sh (added):  Generate unbox related tests.
344         * make_tests.sh: Addes tests for unbox.
345
346
347 2007-08-15 Rodrigo Kumpera <rkumpera@novell.com>
348
349         * make_ldobj_test.sh (added):  Generate ldobj related tests.
350         * make_tests.sh: Addes tests for ldobj.
351
352 2007-08-13 Rodrigo Kumpera <rkumpera@novell.com>
353
354         * make_ldtoken_test.sh (added):  Generate ldtoken related tests
355         * make_tests.sh: Addes tests for ldtoken, conv.*.* and visibility checks
356         for nested classes mixed with inheritance
357
358 2007-08-10 Rodrigo Kumpera <rkumpera@novell.com>
359
360         * make_test.sh: Added new visibility tests and not/neg tests
361         * make_cross_nested_access_test.sh: new test script for visibility
362         between two classes nested in the same class
363         * unverifiable_ldsfld_no_fld.il: added main method
364         * make_unary_test.sh: added some types to make room for more tests
365         * make_exception_branch_test.sh: fix the test to trigger the right error
366
367
368 2007-08-02 Rodrigo Kumpera <rkumpera@novell.com>
369
370         * make_exception_branch_test.sh: Fix the generation of the tests, so only
371         branching problems are validated.
372
373 2007-07-20 Rodrigo Kumpera <rkumpera@novell.com>
374
375         * make_test.sh: added more visibility tests
376         * Makefile: changed again the clean target to work with the larger number of tests
377         * make_self_nested_test.sh: new visibility tests
378
379 2007-07-19 Rodrigo Kumpera <rkumpera@novell.com>
380
381         * make_test.sh: added reference compatibility tests
382
383 2007-07-05 Rodrigo Kumpera <rkumpera@novell.com>
384
385         * AssemblyRunner.cs: bug fix: handles missing fields corrently
386         * make_test.sh: correct some tests based on fixed AssemblyRunner
387         
388 2007-07-05 Rodrigo Kumpera <rkumpera@novell.com>
389
390         * AssemblyRunner.cs: Allow running the test suite from the same VM instance
391         * make_tests.sh: improved the test-suite, now it works running under a VM, not just the verifier
392         * unverifiable_ldflda_other_class_on_simple_method.il: same
393         * unverifiable_ptr_nop.il: same
394         * unverifiable_ldsflda_other_class_field_on_cctor.il: same
395         * make_load_test.sh: same
396         * make_stack_0_test.sh: same
397         * make_obj_store_test.sh: same
398         * unverifiable_m_ptr_ldloc.il: same
399         * make_ret_test.sh: same
400         * make_store_test.sh: same
401         * unverifiable_ldsflda_other_class_on_simple_method.il: same
402         * make_access_test.sh: same
403         * unverifiable_ptr_ldloc.il: same
404         * invalid_call_no_method.il: same
405         * unverifiable_ldsfld_no_fld.il: same
406         * unverifiable_ldflda_owner_class_on_simple_method.il: same
407         * unverifiable_m_ptr_ldarg.il: same
408         * make_stack_merge_test.sh: same
409         * unverifiable_stack_2_ret.il: same
410         * unverifiable_ldflda_other_class_field_on_ctor.il: same
411         * unverifiable_ldflda_other_class_field_on_cctor.il: same
412         * make_field_store_test.sh: same
413         * invalid_backward_branch.il: same
414         * unverifiable_ldfld_initonly.il: same
415         * make_nested_access_test.sh: same
416         * invalid_stack_2_ret.il: same
417         * unverifiable_ldsflda_owner_class_on_simple_method.il: same
418         * unverifiable_ptr_ldarg.il: same
419         * valid_fld_initonly.il: same
420         * make_bin_test.sh: same
421         * make_field_valuetype_test.sh: new tests
422         
423
424 2007-07-03 Rodrigo Kumpera <rkumpera@novell.com>
425
426         * make_tests.sh: new access verification tests
427         * make_access_test.sh: create member access test
428         * make_nested_access_tests.sh: create nested member access test
429
430 2007-07-03 Rodrigo Kumpera <rkumpera@novell.com>
431
432         *make_tests.sh: fixed two tests to produce valid results with .net
433         *make_field_test.sh: make fields public
434
435 2007-06-22  Rodrigo Kumpera  <kumpera@gmail.com>
436
437         * unverifiable_ldflda_other_class_on_simple_method.il: test for load field address in .ctor
438         * unverifiable_ldsflda_other_class_on_simple_method.il: same
439         * unverifiable_ldsflda_other_class_field_on_cctor.il: same
440         * unverifiable_ldflda_other_class_field_on_cctor.il: same
441         * unverifiable_ldsflda_owner_class_on_simple_method.il: same
442         * unverifiable_ldflda_owner_class_on_simple_method.il: same
443         * valid_ldflda_owned_field_on_cctor.il: same
444         * valid_ldsflda_owned_field_on_cctor.il: same
445         * valid_local_ref_ref_store.il: valid local store that was not covered before
446         * unverifiable_ptr_nop.il:  unmanaged pointer ops
447         * unverifiable_ptr_ldloc.il: same
448         * unverifiable_ptr_ldarg.il: same
449         * unverifiable_m_ptr_ldloc.il: same
450         * unverifiable_m_ptr_ldarg.il: same
451
452 2007-06-20  Rodrigo Kumpera  <kumpera@gmail.com>
453
454         *make_tests.sh: new ldsfld tests, more call conv tests
455
456 2007-06-19  Rodrigo Kumpera  <kumpera@gmail.com>
457
458         *make_tests.sh: new ldfld tests (they check everything but visibility)
459         *make_field_store_test.sh: generated the new field tests
460
461 2007-06-14  Rodrigo Kumpera  <kumpera@gmail.com>
462
463         * invalid_dup_maxstack.il: the test wasn't generating the failing condition
464         * make_tests.sh: fixed the generation of stack merge tests and a typo on the return coercion tests
465         * unverifiable_ldfld_initonly.il: add assembly manifest (so it tests the right thing)
466         * invalid_stack_2_ret.il: fix the entry point
467
468 2007-06-14  Rodrigo Kumpera  <kumpera@gmail.com>
469         
470         * invalid_call_empty_stack.il: added assembly manifest (so it tests the right thing)
471         * invalid_ldsfld_nonstatic_fld.il: same
472         * invalid_dup_maxstack.il: same
473         * invalid_ldsfld_no_fld.il: same
474         * unverifiable_call_private.il: same
475         * invalid_backward_branch.il: same
476         * make_unary_test.sh: same
477         * invalid_ldloc_no_local.il: same
478         * make_obj_store_test.sh: added static field to have stsfld tests
479         * make_store_test.sh: fixed the entrypoint
480         * make_tests.sh: fixed tests to be faithfull to the spec
481
482 2007-06-14  Rodrigo Kumpera  <kumpera@gmail.com>
483
484         *Changelog: fixed the dates of my commits
485
486 2007-06-14  Rodrigo Kumpera  <kumpera@gmail.com>
487
488         *make_load_test.sh: Fixed the entrypoint to generate valid code
489         *make_ret_test.sh: Fixed the entrypoint to generate valid code. Removed invalid generics classes
490         *make_tests.sh: Fixed the testsuite to not generate wrong tests
491         *Makefile: split the clean step as it was failing due to the huge file list
492          (it might need further tweaking as the testsuite grows)
493
494 2007-06-12  Rodrigo Kumpera  <kumpera@gmail.com>
495
496         * make_tests.sh: New boolean branch tests
497         * make_bool_branch_test.sh: Test the stack value that boolean branches use (brfalse / brtrue)
498         * make_ret_test.sh: removed unused variable from sed expression
499
500 2007-06-06  Rodrigo Kumpera  <kumpera@gmail.com>
501
502         * Makefile (run-test): Make it use pedump instead of mono for validation
503         * make_tests.sh: New tests
504         * invalid_stack_2_tet.il: New test
505         * make_ret_test.sh: New test script
506         * make_load_test.sh: New test script
507         * make_obj_store_test.sh: Test did not generate valid code for some cases
508         * make_store_test.sh: Test did not generate valid code for some cases
509
510 2006-06-06  Zoltan Varga  <vargaz@gmail.com>
511
512         * Makefile (run-test): Split 'test' target into a 'compile' and 'run-test' target.
513
514         * make_tests.sh: Remove some stack merge tests which are verifiable.
515
516         * make_unary_test.sh *.cil Makefile: Change extension of all static and generated
517         test files to the standard .il.
518
519 2006-05-25  Zoltan Varga  <vargaz@gmail.com>
520
521         * *.sh: Fix more verification problems.
522
523         * TestRunner.cs: Use Assembly.EntryPoint instead of searching for a Main method.
524
525 2006-05-23  Zoltan Varga  <vargaz@gmail.com>
526
527         * make_store_test.sh make_obj_store_test.sh make_stack_merge_test.sh: Fix
528         more ilasm and verification problems.
529
530         * TestRunner.cs: New file.
531
532 2006-05-12  Zoltan Varga  <vargaz@gmail.com>
533
534         * make_store_test.sh make_obj_store_test.sh make_stack_merge_test.sh: Make
535         valuetypes sealed to fix ilasm warnings.
536
537 Sun Mar 12 16:18:04 CET 2006 Paolo Molaro <lupus@ximian.com>
538
539         * Initial import of the verifiers tests developed by
540         Jim Purbrick <babbage@lindenlab.com>.
541