[Mono-bugs] [Bug 38235][Min] Changed - Mono does not implement function pointers

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Tue, 25 Feb 2003 07:06:24 -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 lupus@ximian.com.


--- shadow/38235	Tue Feb 18 12:21:49 2003
+++ shadow/38235.tmp.25058	Tue Feb 25 07:06:24 2003
@@ -1,12 +1,12 @@
 Bug#: 38235
 Product: Mono/Runtime
 Version: unspecified
 OS: SuSE 8.1
 OS Details: 
-Status: NEW   
+Status: NEEDINFO   
 Severity: Unknown
 Priority: Minor
 Component: misc
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: carsten@hess.net               
@@ -56,6 +56,23 @@
 lines of code.
 ------- Additional Comments From carsten@hess.net  2003-02-18 09:38 -------
 Created an attachment (id=3381)
 The tar gz file that contains a small test source code and executable.
+------- Additional Comments From lupus@ximian.com  2003-02-25 07:06 -------
+The tarball doesn't contain any information about how to recompile the
+sample code. I have implemented in my tree most of the code needed to
+support the function pointers, but I'm not sure we'll be able to run
+your test anyway, because it contains native code.
+If you run monodis on it, you'll see that the address of the functions
+are stored like this:
+.data D_00017170 = bytearray (
+	 50 10 00 10) // size: 4
+.data D_0001716c = bytearray (
+	 60 10 00 10) // size: 4
+Now I don't have any idea about what those values represent.
+It would be good if you could do some experiments with the code
+and come up with a possible description of what those values
+represent: a metadata token? A RVA in the PE file? And if it is an
+RVA, what it is pointing to?