Return to site

Program for writing on a mac

broken image
broken image

I don’t know a good answer of how to chose a good stack address.

broken image

On the System V Application Binary Interface it saysĪlthough the AMD64 architecture uses 64-bit pointers, implementationsĪre only required to handle 48-bit addresses. When setting the stack size, you also have to set the stack address. Ld stack.o -stack_size 0x4000 -stack_addr 0x7fff5fbff000 -lc -e _start -o stack