flat assembler
Message board for the users of flat assembler.
![]() Goto page 1, 2 Next |
Author |
|
e4key 13 Oct 2009, 15:52
hi all. please write minimal (size) program on fasm
![]() ![]() |
|||
![]() |
|
revolution 13 Oct 2009, 15:53
Code: mov eax,1 |
|||
![]() |
|
r22 13 Oct 2009, 16:23
Windows PE has EAX at 0 to start.
Code: inc eax ![]() |
|||
![]() |
|
revolution 13 Oct 2009, 16:31
Code: include 'win32ax.inc' .code x:mov eax,1 ret .end x |
|||
![]() |
|
e4key 13 Oct 2009, 17:57
mmm... inc eax don't compile
![]() revolution, your code compiled... 1.5kb. is the smallest? thanks ![]() |
|||
![]() |
|
Fanael 13 Oct 2009, 18:16
Code: format PE GUI times 508 nop xor eax, eax inc eax ret |
|||
![]() |
|
Azu 04 Nov 2009, 17:43
Use the Google
![]() Someone made a Win32 program only like 100 bytes that downloads and executes a remote file and works on most versions of Windows. |
|||
![]() |
|
rugxulo 04 Nov 2009, 17:52
|
|||
![]() |
|
Fanael 04 Nov 2009, 18:50
It's not a valid PE.
|
|||
![]() |
|
Azu 04 Nov 2009, 18:56
Whoops I was wrong, 133 bytes actually. But still, way smaller than anything in this thread.
|
|||
![]() |
|
narada 04 Nov 2009, 20:04
LOL 1 byte. nop
|
|||
![]() |
|
Azu 04 Nov 2009, 20:21
LOL, nope.
Windows won't run a program that doesn't even start with MZ. Try again. |
|||
![]() |
|
Fanael 04 Nov 2009, 20:52
So I'm still ahead, nobody posted a valid PE smaller than mine.
|
|||
![]() |
|
Azu 04 Nov 2009, 20:58
Guess you missed the link.
|
|||
![]() |
|
Fanael 05 Nov 2009, 07:40
I didn't. Minimal file alignment is 512 bytes, minimal section alignment is 4096 bytes, that file isn't actually a valid PE.
|
|||
![]() |
|
kohlrak 05 Nov 2009, 10:32
If you're worried about valid PE, i read one of the reasons why AVs FP all over fasm made programs and fasm itself is that fasm generates invalid PE files. So, until you make a PE from scratch, your PE's probably invalid too.
|
|||
![]() |
|
Azu 05 Nov 2009, 14:50
Fanael wrote: I didn't. Minimal file alignment is 512 bytes, minimal section alignment is 4096 bytes, that file isn't actually a valid PE. |
|||
![]() |
|
Borsuc 05 Nov 2009, 18:52
Azu wrote: It is according to the Windows operating system developed by Microsoft Corporation. _________________ Previously known as The_Grey_Beast |
|||
![]() |
|
Azu 05 Nov 2009, 18:55
Borsuc wrote:
|
|||
![]() |
|
Goto page 1, 2 Next < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.