flat assembler
Message board for the users of flat assembler.
Index
> Compiler Internals > PE64 DLL without fixups bug Goto page Previous 1, 2 |
Author |
|
Tomasz Grysztar 23 Aug 2015, 22:21
l_inc wrote: Btw. I don't think it would be easy to simulate relocations in fasm g, cause it's also important to track the property of relocatability through arithmetical calculations. |
|||
23 Aug 2015, 22:21 |
|
l_inc 24 Aug 2015, 15:14
Tomasz Grysztar
Quote: all you need is ORG with a base relative to an ELEMENT symbol That is a cool combination I didn't think of. I only briefly reviewed the manual though. I had a hard time trying to understand the namespaces at the beginning. As for me the wording choice is such that some things are very hard to understand, but it's been a while since then. _________________ Faith is a superposition of knowledge and fallacy |
|||
24 Aug 2015, 15:14 |
|
>_< 05 Sep 2015, 12:43
hmm...additional test dll x64 rip-relative only
masm64 vs2015 IMAGE_FILE_RELOCS_STRIPPED - NO IMAGE_DLLCHARACTERISTICS_DYNAMIC_BASE - YES Reloc DIR RVA - 0 Reloc DIR SIZE - 0 FASM 1.71.39 without "data fixups" / "section '.reloc' data readable discardable fixups" IMAGE_FILE_RELOCS_STRIPPED - YES IMAGE_DLLCHARACTERISTICS_DYNAMIC_BASE - NO Reloc DIR RVA - 0 Reloc DIR SIZE - 0 FASM 1.71.39 with "data fixups" IMAGE_FILE_RELOCS_STRIPPED - NO IMAGE_DLLCHARACTERISTICS_DYNAMIC_BASE - YES Reloc DIR RVA - 00001D5E -> string "test" Reloc DIR SIZE - 0 FASM 1.71.39 with "section '.reloc' data readable discardable fixups" IMAGE_FILE_RELOCS_STRIPPED - NO IMAGE_DLLCHARACTERISTICS_DYNAMIC_BASE - YES Reloc DIR RVA - 00002000 -> .reloc section with zero virtual/raw size Reloc DIR SIZE - 0 non zero "Reloc DIR RVA" (fasm bug) 00007FF8C96A0000 dwmapi.dll 00007FF8CDF20000 oleaut32.dll 00007FF8BCEC0000 atlthunk.dll 0000000100000000 test64.dll <- ASLR FAIL? manually zero "Reloc DIR RVA" 00007FF8C96A0000 dwmapi.dll 00007FF8CDF20000 oleaut32.dll 00007FF8BCEC0000 atlthunk.dll 00007FF8B4400000 test64.dll <- ok Tomasz Grysztar "empty fixups" - OK, what about "data fixups" + "Reloc DIR RVA"? this will be fixed for x64? and... how about IMAGE_DLL_CHARACTERISTICS_HIGH_ENTROPY_VA for PE64? |
|||
05 Sep 2015, 12:43 |
|
Goto page Previous 1, 2 < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.