Hi guys, I’m trying to complete this module. I assemble the file using nasm -f elf64 mov.s
and that executes fine. However when I run ld -o mov mov.o
I get: “Id: unknown architecture of input file `mov.o’ is incompatible with aarch64 output”. Obviously similar errors occur in gef if I have a pre-assembled file (fatal error incompatible architecture)
My theory is that this is because I’m running a Kali VM on my Silicon Macbook as when I try it in both pwnbox and my laptop running a windows host everything runs fine.
I’ve completed the whole module now but was wondering whether anyone knows any workarounds for the future.
Many thanks.