On 27/11/07 18:51 +0100, Stefan Reinauer wrote:
- ron minnich rminnich@gmail.com [071127 18:27]:
On Nov 27, 2007 9:22 AM, Stefan Reinauer stepan@coresystems.de wrote:
With all this, if I unpack a LAR archive, and repack it again, will it still produce a working archive?
No, it won't. You lose the entry point info. We would have to unpack LAR to ELF files. This is a limitation I had not thought of. Should I have an option to unpack to elf? It would not be hard.
Hm.. either that, or we should go and write a "MANIFEST" file, containing the extra meta data. Or a combination?
At some point, I predect we're going to end up needing a MANIFEST file, we might as well do it now. Then that covers us from all possible directions. Right now things work for ELF, but someday somebody will want COFF, or CE binary format or something like that and it will through the universe into flux. If we have the manifest file, then we are covered in all cases.
Jordan
Sorry to hear about OFW, how do we fix it?
It has a dummy ELF header and loads parts of itself later on. Easy way: copy it all to ram and work from there. There are better ways. We'll find out.
Stefan
-- coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br. Tel.: +49 761 7668825 • Fax: +49 761 7664613 Email: info@coresystems.de • http://www.coresystems.de/ Registergericht: Amtsgericht Freiburg • HRB 7656 Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866