flat assembler
Message board for the users of flat assembler.

Index > Windows > MS COFF specs & limitations?

Author
Thread Post new topic Reply to topic
fasmnub



Joined: 26 Jan 2010
Posts: 14
fasmnub 25 Feb 2010, 16:37
ok, so.. after failing to pass an MS COFF through polink/PellesC.. I assume MS COFF has some limitations not present in PE exe's.

Can anyone enlighten me as to what these limitations are? I get a bunch of errors about structs and macros, so there's a clue.

Specifically;
-Can I use macros?
-Can I use import?
-What are the rules on code structure/sections/etc..

Thanks! Rolling Eyes
Post 25 Feb 2010, 16:37
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20490
Location: In your JS exploiting you and your system
revolution 25 Feb 2010, 16:47
I don't know about polink specifically, but in general:

Macros generate code. Macro themselves are fine but the code they generate needs to be considered.

Import can't be used. Use extrn instead.

Export can't be used. Use public instead.
Post 25 Feb 2010, 16:47
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.