flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
revolution 23 Jul 2023, 14:28
RDX contains the address of var2, so it might be 0x4010ef or similar.
Try this; Code: ;... mov rdx, var2 - msg syscall |
|||
![]() |
|
Flier-Mate 23 Jul 2023, 15:37
By the way, can I ask a related question? Can I use exit_group syscall next time instead of exit syscall, since :
https://man7.org/linux/man-pages/man2/exit_group.2.html wrote: Since glibc 2.3, this is the system call invoked when the I saw @revolution used exit_group in his programs. |
|||
![]() |
|
revolution 23 Jul 2023, 15:46
I recommend to always use exit_group unless you really know what you are doing and actually want the obscure non-exiting behaviour of exit.
|
|||
![]() |
|
Flier-Mate 23 Jul 2023, 15:52
revolution wrote: I recommend to always use exit_group unless you really know what you are doing and actually want the obscure non-exiting behaviour of exit. Thanks for the recommendation. |
|||
![]() |
|
ntos 23 Jul 2023, 22:07
revolution wrote: RDX contains the address of var2, so it might be 0x4010ef or similar. thanks. ![]() |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.