mazegen

Results 18 comments of mazegen

It would be great if we could generate pure RIP relocation using macro: RIPREL MACRO lbl:REQ EXITM

See also http://masm32.com/board/index.php?topic=8263.0

Hi johnsa, is there any chance this can be implemented? It should be easy for labels that are in the same section as the instruction, right? ;)

Hi john, many thanks for implementing it. However, the following code still generates REL32 COFF relocation. Do you think this can be solved too? ``` .code lea rax, [lbl] ;...

Sorry, I was too fast, the following code still generates REL32_1, I need to check my uasm build. ``` .code cmp dword ptr [data_start], 1 nop data_start DD 11223344h end...

I think it's clearly a bug because `lea rax, [rip+rax]` assembles to `lea rax, [rax+00000000]` with SIB byte (`48 8D 04 05 00000000`)

Hi johnsa, thanks for this feature, it works well :) and in many cases, it actually makes the size of .obj much smaller because there are much less relocations now.

I think it's all right if Diaphora requires the NLTK toolkit. My issue was that the requirement of NLTK toolkit is undocumented (AFAIK) - I had to wait one hour...

This is an important issue. It seems like the high dword is silently discarded (it's not only OR but also CMP and possibly others). This should throw an error because...

What I ment might be a different but related bug: This code: ``` .code start: or rax, 99999999h cmp rax, 99999999h add rax, 99999999h END ``` Assembles to: ``` UASM...