Open bb33bb opened 1 week ago
i think i should upload these two files, because its really a little time confusing to reproduce . please wait a second, i am uploading
i think i should upload these two files, because its really a little time confusing to reproduce .
Well I get what is happening, and I am probably going to close it as intended. Still, I will first discuss it with the team
Our philosophy is to produce the output that is closest to the behavior of the code. In this sense, the source code is only a reference and our decompiling captures the behavior of the assembly instructions better than that
On the other hand, it does not hurt anything to have x18 as the second argument. If you want, you can change the function type to get rid of it
OK~ the files are Here https://1drv.ms/f/c/01e018a652fc6a6e/Ej4Ra1Am3aZOgnvoAAcTKC8BRXfZ7cHC7o804U3X6CoNQQ
Sorry that I did not notice x18 is related to PAC. I have updated the issue title accordingly
Vector 35 employees can search private slack for unknown chicken hammer bull
Bug Description: in Pseudo C code, when we are calculating the number of arguments, we treat the following reg of x18 as an argument: Here is the code
I think it is not a special case in the specific function, I found it in many functions. But to be honest, the real definition of this function is
And also, because this assemble instruction code locates before
paciasp as this is a Pac instruction, I don't know whether I am right. as my personal sense, Pac is added by the compiler. So, register of x18 is not designed by normal programmer, So, it is not the arguments of the original function. As a comparation of Ida, we get the follow code
a little urgly but maybe the true result.
If we need the binary plz call me.