[Mono-bugs] [Bug 69720][Min] New - Ilasm is not able to compile monodis output

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 19 Nov 2004 16:53:39 -0500 (EST)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by nazgul@omega.pl.

http://bugzilla.ximian.com/show_bug.cgi?id=69720

--- shadow/69720	2004-11-19 16:53:39.000000000 -0500
+++ shadow/69720.tmp.3766	2004-11-19 16:53:39.000000000 -0500
@@ -0,0 +1,54 @@
+Bug#: 69720
+Product: Mono: Compilers
+Version: 1.1
+OS: 
+OS Details: Mandrake 10.1 mono 1.1.2
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Minor
+Component: IL assembler
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: nazgul@omega.pl               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Ilasm is not able to compile monodis output
+
+Description of Problem:
+Ilasm do not always understand output of monodis. We would like to have
+this bug solved, so we have reassemble Nemerle dlls from 1.1 to 2.0 runtime
+versions (anyone knows better way of bumping assembly's version?)
+
+Steps to reproduce the problem:
+1. monodis /usr/lib/mono/1.0/mcs.exe > mcs.il
+2. ilasm mcs.il
+
+
+Actual Results:
+Assembling 'mcs.il' , no listing file, to exe --> 'mcs.exe'
+
+syntax error, got token `OPEN_ANGLE_BRACKET', expecting ID SQSTRING DOT
+OPEN_BRACE CLOSE_BRACE CLOSE_PARENS DOUBLE_COLON SLASH INSTR_NONE INSTR_I
+INSTR_I8 INSTR_R INSTR_BRTARGET INSTR_METHOD INSTR_FIELD INSTR_TYPE
+INSTR_STRING INSTR_SIG INSTR_TOK INSTR_SWITCH INSTR_LOCAL INSTR_PARAM
+D_CUSTOM D_DATA D_EMITBYTE D_ENTRYPOINT D_EXPORT D_LANGUAGE D_LINE D_LOCALS
+D_MAXSTACK D_OVERRIDE D_PARAM D_PERMISSION D_PERMISSIONSET D_TRY D_VTENTRY
+D_ZEROINIT
+Error at: line (4993) column (86)
+
+***** FAILURE *****
+
+
+Expected Results:
+Assembling 'o.il' , no listing file, to exe --> 'o.exe'
+...
+Operation completed successfully
+
+How often does this happen? 
+Always
+
+Additional Information:
+I tried to fix monodis output, but there are a few problems. For sure
+testing monodis+ildams on some BCL assemblies will reveal most of the bugs.