Created
March 15, 2024 19:04
-
-
Save realoriginal/ee649d89e0567d13f915aad73be30898 to your computer and use it in GitHub Desktop.
GetIp AARCH64 for Windows on ARM.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.section .text$C | |
.global GetIp | |
GetIp: | |
bl _next_instruction | |
_next_instruction: | |
mov x0, lr | |
sub x0, x0, _next_instruction - GetIp | |
ret |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment