flat assembler
Message board for the users of flat assembler.
Index
> Main > [PE] Why does the executable's size rise in steps? |
Author |
|
shutdownall 29 Aug 2015, 13:04
Ecoste wrote: For example I have a hello world executable that's 2KB in size. If I add another string to .data, it will still be 2KB. However, if I add a lot of data, only then will it move onto 2.5KB. Why does the size increase in steps rather than what it actually should be? Maybe any alignments used which force to jump in codesize ? |
|||
29 Aug 2015, 13:04 |
|
PeExecutable 29 Aug 2015, 13:48
Corporate Secret! Only Tomasz is supposed to know.
|
|||
29 Aug 2015, 13:48 |
|
revolution 29 Aug 2015, 15:34
The on disc PE format aligns each section to 2^9 bytes. It is normal.
|
|||
29 Aug 2015, 15:34 |
|
Ecoste 29 Aug 2015, 19:28
Thank you for your answers guys!
|
|||
29 Aug 2015, 19:28 |
|
typedef 30 Aug 2015, 02:35
revolution wrote: The on disc PE format aligns each section to 2^9 bytes. It is normal. disk |
|||
30 Aug 2015, 02:35 |
|
DOS386 12 Sep 2015, 11:32
This is due to PE file format, no disc or disk. This had been already discussed, I just can't find the threads.
|
|||
12 Sep 2015, 11:32 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.