flat assembler
Message board for the users of flat assembler.
Index
> Windows > PE HEADER differences fasmg vs fasm |
Author |
|
Tomasz Grysztar 18 Oct 2016, 07:19
Note that this is not fasmg that causes the differences, only the PE.INC macros. It is very much possible to write macros that would generate everything the same as fasm, up to the last bit (in fact, the ELF macros do it).
ProMiNick wrote: Why 2 of characteristics gone? Or why in fasm they present? Code: PE.Settings.Characteristics = IMAGE_FILE_EXECUTABLE_IMAGE or IMAGE_FILE_32BIT_MACHINE or IMAGE_FILE_LINE_NUMS_STRIPPED or IMAGE_FILE_LOCAL_SYMS_STRIPPED ProMiNick wrote: Why not calculated sizes & bases of code & data? If you need to set them up, you can alter the section macros (or determine the values in some other way) and write them directly to the header with instructions like: Code: store SIZE_OF_CODE at PE:OptionalHeader.SizeOfCode ProMiNick wrote: Why checksum does not realized? Code: PE.Settings.ComputeCheckSum = 1 |
|||
18 Oct 2016, 07:19 |
|
Tomasz Grysztar 19 Apr 2017, 10:14
With the latest fasm-compatible Windows headers for fasmg the unwanted differences are gone.
|
|||
19 Apr 2017, 10:14 |
|
VEG 23 Apr 2017, 12:06
Tomasz Grysztar, I've seen some situations when antivirus software complain about a program when checksum is not right. So, maybe it is better to turn on calculation of the checksum by default.
|
|||
23 Apr 2017, 12:06 |
|
revolution 23 Apr 2017, 12:13
Nah, just turn off your AV. They don't help you anyway.
|
|||
23 Apr 2017, 12:13 |
|
Tomasz Grysztar 23 Apr 2017, 12:46
VEG wrote: Tomasz Grysztar, I've seen some situations when antivirus software complain about a program when checksum is not right. So, maybe it is better to turn on calculation of the checksum by default. |
|||
23 Apr 2017, 12:46 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.