@@ -18,14 +18,13 @@ clear_heap_block_loop:
mov byte ptr [rdi+rcx], 0
inc rcx
cmp rcx, rsi
jle clear_heap_block_loop
jl clear_heap_block_loop
ret
# rdi = size in octets
brk_alloc:
push rbx
push r12
inc rdi # so you get all of the requested space
mov rbx, rdi
mov rax, 12
The note is not visible to the blocked user.