flat assembler
Message board for the users of flat assembler.
Index
> Compiler Internals > Relocation section. |
Author |
|
Tomasz Grysztar 06 Jun 2005, 14:22
You can use one of the object output formats of fasm (ELF or COFF) and use some additional program to convert it into format you need. It's actually quite easy to write such program, I once made such program (called COFF2REL) for Maverick (Fabio Bizetti), but I'm afraid I have lost it and the Maverick seems to be no longer available through internet (does anybody know what happened to him?)
|
|||
06 Jun 2005, 14:22 |
|
f0dder 06 Jun 2005, 17:37
I wish I knew what happened to Maverick - he stopped visiting the win32asmboard, and I haven't heard from him by email either for a long time.
Anyway, converting COFF or PE to your own format isn't too difficult, even íf you're unfamiliar with the format and have to read the documentation on it, it should take max a day to code such a tool... |
|||
06 Jun 2005, 17:37 |
|
halyavin 07 Jun 2005, 03:59
Privalov
1.Did you use Imagehlp.dll to find main segments? 2.Can FASM compile windows program or dll with zero base address? |
|||
07 Jun 2005, 03:59 |
|
Tomasz Grysztar 07 Jun 2005, 09:08
1. No, I was parsing the COFF (even not MS variant, classic COFF) directly.
2. Yes, it's in the manual - but I suggest you to use object format instead of PE. |
|||
07 Jun 2005, 09:08 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.