I see that binary translation is usually trace-based. Is it because one can not get the boundaries of functions? Is there function label in binary code?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There’s no trivial answer to this. You could search for
retinstructions, but they are no guarantee that they are function boundaries as you could return from the middle of a function.Searching for stuff like
will work to some extent, but again, it’s no guarantee.
Some compilers (most notably the Intel Compiler), will move branched blocks to after the function ends, and jump back into the function…