You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I built an executable file with the following Makefile in listings/chap16/stack_unwind. When executed, the program printed 14 lines (not 10) and caused Segmentation fault. I think something is wrong with the loop termination logic in stack_unwind.asm. I don't know how rbx register value become zero. Any suggestion?
I figured out another way to stop looping and made a pull request #45 of my solution. I believe that a better solution could be found but I just wanted to show what is the problem.
I built an executable file with the following Makefile in
listings/chap16/stack_unwind
. When executed, the program printed 14 lines (not 10) and caused Segmentation fault. I think something is wrong with the loop termination logic instack_unwind.asm
. I don't know howrbx
register value become zero. Any suggestion?The text was updated successfully, but these errors were encountered: