Weird Linux amd64 abi trickery
Weird Linux amd64 abi trickery
raw.githubusercontent.com /MoriGM/RandomCStuff/master/forbenius_problemm/version4.c
This Code should calculate the "Frobenius number". When the arguments are missing its exiting.
This is done by using the Linux abi in which the return register of asm_exit_ret is used to set the rax register and the input 'i' to set the rdi register.
0 comments