flat assembler
Message board for the users of flat assembler.
Index
> Compiler Internals > Crash on fasm 1.71.17 and 1.71.19 |
Author |
|
revolution 26 Feb 2014, 12:48
profkid13 wrote: It's very likely there are still a bunch of bugs and inconsistencies in the code, but this doesnt mean fasm is allowed to crash, is it? I have confirmed the bug and stickied the thread for Tomasz's attention. |
|||
26 Feb 2014, 12:48 |
|
tthsqe 26 Feb 2014, 12:58
yup - definitely chrashes.
It is on line 1634 of formats.inc: Code: store_fixup: add dword [ebx],2 <- access violation here mov ah,[esi+1] and ah,0Fh mov al,[esi+4] shl al,4 or ah,al mov al,[esi] stos word [edi] add esi,5 loop make_fixup |
|||
26 Feb 2014, 12:58 |
|
Tomasz Grysztar 27 Feb 2014, 12:32
I have reduced the reproducing code into this one:
Code: format PE dd $ data fixups end data dd $ |
|||
27 Feb 2014, 12:32 |
|
l_inc 27 Feb 2014, 13:40
Tomasz Grysztar
Is "code cannot be generated" known behavior for the following code? Code: format PE DLL native It seems to be somehow related to the non-configurable section alignment attribute (remember the discussion? ), but I actually don't see any significant difference compared to this compilable code: Code: format PE DLL native
section '.flat' code data readable writable executable _________________ Faith is a superposition of knowledge and fallacy |
|||
27 Feb 2014, 13:40 |
|
profkid13 01 Mar 2014, 13:33
Thanks for the quick help and fix.
|
|||
01 Mar 2014, 13:33 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.