DLL'ing the GC

Dan Lewis murpsoft at hotmail.com
Wed Jan 2 12:23:39 PST 2008


Hi guys,

I was trying to extract the GC from my program into a DLL so that I could reverse my program and examine the assembly.  The GC accounts for about 75kb of code, so it's rather substatial to take it out.

Now I've read the D DLL's using an EXE's GC, but I was having trouble doing the reverse.

At the moment, it's got a symbol undefined even though I'm exporting, but I was hoping for help beyond that debugging this.  It's a little over my head.

My program is quite a bit more complex, but if I can get this test case going, I can probably take it from there.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gc.d
Type: application/octet-stream
Size: 669 bytes
Desc: not available
Url : http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20080102/23b68805/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: atest.d
Type: application/octet-stream
Size: 339 bytes
Desc: not available
Url : http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20080102/23b68805/attachment-0001.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gc.def
Type: application/octet-stream
Size: 193 bytes
Desc: not available
Url : http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20080102/23b68805/attachment-0002.obj 


More information about the Digitalmars-d-learn mailing list