flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
f0dder 23 Apr 2005, 11:32
What's the problem with PE executables? You can get files as small as 1k (and even smaller if you don't worry about violating the PE specs a bit), the format supports demand-loading and physical memory sharing, and the dynamic linking is efficient (bound imports, binary search of exports when binding, and delay-loading).
|
|||
![]() |
|
robert_ 23 Apr 2005, 16:12
Well, the thing is, I'd rather not rely on microsoft-made anything... I would like experience and such creating my own format, hence why I chose to do things as I have.
Robert |
|||
![]() |
|
f0dder 23 Apr 2005, 16:56
You might want to do some proper investigation of the PE format before you discard it - there's a lot of things to learn, which could be useful for your own format. And if nothing else, you might find *specific* things that you want done differently.
Btw, it would probably be easier to code a tool that converts PE to your own executable format, than adding a new output formatter to FASM. And it wouldn't be a bad thing to do - you learn about the PE format at the same time as you're constructing your own. Do you have any design specs for your own format yet? |
|||
![]() |
|
robert_ 23 Apr 2005, 16:59
Well, I have headers for most everything-- would that count?
Robert |
|||
![]() |
|
f0dder 23 Apr 2005, 21:17
Yeah, it would - you should post your thoughts - call it a draft proposal or something like it. I can give a few comments and stuff if you'd like.
|
|||
![]() |
|
robert_ 23 Apr 2005, 22:20
Okay then, I shall post a link--
http://www.r-butler.net/objectx/ -- that's my Object X repository-- dont forget to check out for_iamie.png- thats my theory as to how applications should interact with the kernel... Robert |
|||
![]() |
|
Madis731 25 Apr 2005, 11:24
Don't you need to modify rundll32.exe to run these types of executables? By default in only reads .com, MZ, PE and gives a non-Win32 app on these files.
Would there be a completely different subsystem and an app to run it or would it convert this file to your format and pass it on to rundll32.exe? |
|||
![]() |
|
f0dder 25 Apr 2005, 12:10
Madis, it seems to be for another OS - and besides, it's not rundll32 that handles image file execution.
|
|||
![]() |
|
Tomasz Grysztar 25 Apr 2005, 12:21
If you design some really nice format and I like it, I will implement it into fasm myself. But I beg to say it might be hard to satisfy me.
|
|||
![]() |
|
Madis731 26 Apr 2005, 12:17
Was it the explorer itself that handels the translation of executables ^o)
|
|||
![]() |
|
f0dder 26 Apr 2005, 12:48
No, it's some kernel components... rundll32 is just used to run exports from a .DLL file (loadlibrary + getprocaddress)
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.