Discussion:
NSCreateObjectFileImageFromMemory()
Mike McKinley
2002-11-19 20:15:01 UTC
Permalink
In dyld.h, NSCreateObjectFileImageFromMemory() is listed as "not yet
implemented". When I call it with a library file that works with
NSCreateObjectFileImageFromFile(), the error "NSObjectFileImageFailure" (0)
is reported. No message is printed to stderr.

Is NSCreateObjectFileImageFromMemory() really unimplemented since 1999? If
so, will it ever be implemented?

If it will never be implemented, how can I duplicate its functionality? If
it is part of Darwin, where does it live?

Best regards,
-mike
Shantonu Sen
2002-11-21 12:34:05 UTC
Permalink
Really really. Check out the cctools project from Darwin CVS, or look
here:
http://www.opendarwin.org/cgi-bin/cvsweb.cgi/src/cctools/libdyld/
ofi.c?rev=1.1.1.2&content-type=text/x-cvsweb-markup

Shantonu
Post by Mike McKinley
In dyld.h, NSCreateObjectFileImageFromMemory() is listed as "not yet
implemented". When I call it with a library file that works with
NSCreateObjectFileImageFromFile(), the error
"NSObjectFileImageFailure" (0)
is reported. No message is printed to stderr.
Is NSCreateObjectFileImageFromMemory() really unimplemented since
1999? If
so, will it ever be implemented?
If it will never be implemented, how can I duplicate its
functionality? If
it is part of Darwin, where does it live?
Best regards,
-mike
Loading...