Re: Mayor crunch: COFF Formats
- Posted by Mike The Spike <mikethespike2000 at HOTMAIL.COM> Apr 18, 2000
- 516 views
> >have you tried wotsit's? i use them to give me the codes to decoding odd >file formats - here is the main address: > > > >http://www.wotsit.org/search.asp > > > >and here is the page for COFF format: > > > >http://www.delorie.com/djgpp/doc/coff/ > > > >does that qualify me for my free copy??? > >Hell, if a guy so intelligent as our friend Mike didn't check wotsit's then >I should be able to qualify with this: > >http://www.ask.com/main/askjeeves.asp? > >Whateeya say, pal! 8^) Mooo? > >-- Brian I didn't say I needed "general" info on COFF formats,I'm producing compilers you know,but there's some complex operations wich seem simple to implement,yet are very tricky. I might have to use ELF instead of COFF if COFF don't support what I wanna do. And,I sayed i'd mail DJ about it,or the guy from ALINK,so that must mean I do know about the DJGPP ref to COFF and the link to it. I have coff.h aswell, and, I read lots of MSDN texts on COFFs and COMDAT packed functions last night. But what I wanna do,has *never* being done before,and is essential for Dynamic code constructs. I won't explain what it is,since you won't know the awnser (I'm pretty sure you won't...). I can say however,it's merely changing COFF contents (and library files) dynamically at link-time. I need to store and add data to specific code clusters in certain COMDATs,yet I won't know where that code is located after compilation into .obj files, and I *have* to get a hold on the offsets of certain code constructs,dissassemble them,change them,and then "tape" everything into an enhanced COFF file again to finally link with the rest of the U4IA++ generated COFF files. Since the COFF could be made with VC++,DJGPP,etc,I won't know how the compiler stores these data structures,and where. So I need to find out,if I can't,I'm gonna have to find a way to call functions by there address alone,without any type info or parameter data. Like,I would get: 54545 from a map file,and I would have to call a random function at that address above,with randmom parameters,wich I won't know since they are stripped. Mike The Spike ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com