I\'m trying to push a 64bit integer but when assembling NASM seems to want to see it as a DWORD not a QWORD.
I\'m using ASM to create the shellcode I need to inject
There is no push imm64
instruction. As a workaround you can do one of the following:
mov rax, 0xACEACEACACEACEAC; push rax
push qword [rel foo]
push dword low32; mov dword [rsp+4], high32
or sub rsp,8; mov dword [rsp], low32; mov dword [rsp+4], high32