Having an assemblty program like this works fine for me which I dont know why
section .data
name: db "abcdef"
section .text
global _start
_start:
std
mov rsi, name+5
mov rdi, name+1050 ; should be pointing to non mapped memory
mov rcx, 6
rep movsb
; calling sys_exit
isn't this is supposed to write to a part of memory that is still not mapped since no brk
or sbrk
calls have been made yet to increase program break (ie; program break = .data end) ,with no .bss
section in the program and we are writing in an area far beyond 6 bytes that are supposed to be allocated to .data.