Assembly x86 brk() call use
others have pointed out a few things that are wrong with your code. I would like to add that you would not add 20 bits to the current breakpoint (or 20 bytes like add rbx, 20 actually does), you would simply add 5 bytes. Also, your first syscall argument will not be in rbx, it … Read more