flat assembler
Message board for the users of flat assembler.

Index > Windows > The smallest PE executable

Author
Thread Post new topic Reply to topic
eskizo



Joined: 22 Nov 2005
Posts: 59
eskizo 10 Aug 2006, 22:43
Hi!

I would like to know how to compile the smallest PE executable in fasm!
Post 10 Aug 2006, 22:43
View user's profile Send private message Reply with quote
LocoDelAssembly
Your code has a bug


Joined: 06 May 2005
Posts: 4624
Location: Argentina
LocoDelAssembly 11 Aug 2006, 00:49
Post 11 Aug 2006, 00:49
View user's profile Send private message Reply with quote
§-Death_Reaver-§



Joined: 03 Aug 2006
Posts: 10
Location: Italy
§-Death_Reaver-§ 11 Aug 2006, 07:34
Search here:

http://quequero.org/prj/corso11/uic11_ntoskrnl.htm

(it's in italian...)

_________________
§-Death_Reaver-§

[my site: deathreaver.altervista.org]
[UIC site: quequero.org]
Post 11 Aug 2006, 07:34
View user's profile Send private message Visit poster's website MSN Messenger Reply with quote
Xanfa



Joined: 03 Aug 2006
Posts: 29
Xanfa 14 Aug 2006, 13:38
format PE GUI
entry do_nothing

section '.code' code executable readable
do_nothing:
ret


;This is true a "do_nothing" but it's "The smallest PE executable" too !
Post 14 Aug 2006, 13:38
View user's profile Send private message Yahoo Messenger Reply with quote
f0dder



Joined: 19 Feb 2004
Posts: 3175
Location: Denmark
f0dder 14 Aug 2006, 14:41
Xanfa, won't work on win2k though ^_^
Post 14 Aug 2006, 14:41
View user's profile Send private message Visit poster's website Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8351
Location: Kraków, Poland
Tomasz Grysztar 14 Aug 2006, 14:51
It's enough to do it this way:
Code:
format PE
ret    

if you're looking for smallest PE source. Wink
Post 14 Aug 2006, 14:51
View user's profile Send private message Visit poster's website Reply with quote
Xanfa



Joined: 03 Aug 2006
Posts: 29
Xanfa 15 Aug 2006, 12:46
To f0dder: May be, but i've never use win2k...

To Tomasz: Yes,it's nice, but I don't like ".flat" section...
Post 15 Aug 2006, 12:46
View user's profile Send private message Yahoo Messenger Reply with quote
UCM



Joined: 25 Feb 2005
Posts: 285
Location: Canada
UCM 15 Aug 2006, 13:30
Well, '.flat' section is defined anyway (I think, at least).
Post 15 Aug 2006, 13:30
View user's profile Send private message 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-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.