nasm segmentation fault code example
Example: Segmentation fault: 11 nasm
; you didn't exit the program to do that add:
mov rax, 0x02000001
xor rdi, rdi
syscall
; to the end of your program
; you didn't exit the program to do that add:
mov rax, 0x02000001
xor rdi, rdi
syscall
; to the end of your program