dotgnu-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[DotGNU]Il based linking of jabber.net


From: James Michael DuPont
Subject: [DotGNU]Il based linking of jabber.net
Date: Fri, 14 Feb 2003 09:15:29 +0100 (CET)

Dear all,
we have been starting an effort to port jabber to pnet.

The first step is to determine the exact methods and functions missing.

To get this done, I am working on analysis of the IL code.

I have bypassed the compiler problems.
_Simon used ildasm to dump the jabber.net, I reassembled with pnet and
redumped. 
ilasm jabbber-ms.il
ildsam -q jabber-ms.obj > jabber-pnet.il

this produced a smaller IL, of course i had to remove all types of junk
in the IL. Forward Declaration and other junk (



basically everything in here is removed :
// ============== CLASS STRUCTURE DECLARATION ==================
// =============== GLOBAL FIELDS AND METHODS ===================

And this line is breaking ilasm  :
".field static assembly valuetype
'<PrivateImplementationDetails>'/'$$struct0x6000174-1'
'$$method0x6000174-1' at D_00007928"

that is one problem :" at D_00007928"

using ildasm, I have created a version that links and you can see the
linked version of the lib.

You will see in Stubs.il these missing classes : 
.namespace System.Diagnostics
{
.class public TraceLevel{}
.class public TraceSwitch {}
.class TraceListener {}
.class public TraceListenerCollection{}
}
.namespace System.Threading
{
.class public WaitCallback{}
.class public ThreadPool{}
}

Unfortunatly i had to include a copy of the mscorelib.il and that
causes the il Load_TypeDef to crash  :
metadata error in token 0x020000BF: cannot locate parent type

Breakpoint 16, 0x0805d94b in Load_TypeDef (image=0x806f840,
values=0xbffff570, valuesNext=0xbffff530, token=33554623, userData=0x0)
    at meta_build.c:975

I will be submitting a bug report after i update my cvs and recompiling
cvs.

you can find all the il source code here :
http://introspector.sourceforge.net/debian/incoming/jabber.pnet_0.1.orig.tar.gz

_Simon says that he will be asking the author of Jabber.net to release
this under the GPL. So as far as I know, this code is JOSL, and not GPL
compatible! 

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Fri, 14 Feb 2003 09:01:03 +0100
Source: jabber.pnet
Binary: jabber.pnet
Architecture: source
Version: 0.1-1
Distribution: unstable
Urgency: low
Maintainer: James Michael DuPont <address@hidden>
Changed-By: James Michael DuPont
Description: 
 jabber.pnet - <insert up to 60 chars description>
Changes: 
 jabber.pnet (0.1-1) unstable; urgency=low
 .
   * Initial Release.
Files: 
 e3c8d7077f4f651ed19298cdd2fbb30b 581 unknown optional
jabber.pnet_0.1-1.dsc
 9e8623c39ff870fc7cbd59c9080f775b 852479 unknown optional
jabber.pnet_0.1.orig.tar.gz
 345a44b895c7f10926213b1f54287ca6 6789 unknown optional
jabber.pnet_0.1-1.diff.gz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+TKKD7TaNAfoTAloRAr5EAJ9XtlBcVeuMu23evDmepTu48Wp8uQCff3LO
qsfkjEhwM0mNYJaFi5aF+Hk=
=ROI7
-----END PGP SIGNATURE-----


=====
James Michael DuPont
http://introspector.sourceforge.net/

__________________________________________________________________

Gesendet von Yahoo! Mail - http://mail.yahoo.de
Bis zu 100 MB Speicher bei http://premiummail.yahoo.de


reply via email to

[Prev in Thread] Current Thread [Next in Thread]