From Newsgroup: comp.sys.apple2
On Monday, June 14, 2021 at 1:56:57 AM UTC-7, Enrico wrote:
I'm relying on CiderPress disassembler capability to look into APW's CLIB because, being a library, it has no relocation information and most disassemblers that I've tried won't deal with it. (do you have any suggestions on that topic?)
To disassemble a IIgs load file (S16, EXE, PIF, etc), one needs to replicate the system loader behavior. To disassemble a IIgs OBJ or LIB file, one also needs to replicate linker behavior. The SourceGen OMF converter only acts like a loader.
One thing you might try is to write a simple program that references every function in the library, compile and link it into an EXE, and disassemble that. A simple table of function pointers ought to cause the linker to pull in the functions. Assuming that works, then depending on how everything gets laid out in the binary, creating it as an array of {pointer, "name"} structs might help keep things straight while poking around.
--- Synchronet 3.18b-Win32 NewsLink 1.113