Relative Content

Tag Archive for assembly64-bitnasm

RET to the main flow after execution of a conditional

Is there any possibility to use RET function to go back from the conditional statement to the main function (_start) where it was called from and go on with the next instructions?
Right now, it’s just causing a segmentation fault beacuse it is not setted in the stack.

RET to the main flow after execution of a conditional

Is there any possibility to use RET function to go back from the conditional statement to the main function (_start) where it was called from and go on with the next instructions?
Right now, it’s just causing a segmentation fault beacuse it is not setted in the stack.