How to change entry point after file was loaded? #6247
-
I want to change entry and reanalyze from this address.
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
You cannot but also, there's no real reason to. The entry point is only special in that it is assumed to have a function there. Simply make another function anywhere else and the same recursive descent analysis will happen from that function as well. You can do this with "p" in the UI or create_user_function. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the response. My entry function defines R13 register (PowerPC) and it's global pointer used later in many other functions. If I set it via Analysis/Global Pointer Value (ConstantPointerValue) and do Reanalyze it's propagated to these functions. But after restart it's gone and I have to set it manually again. I thought the reason is analysis root function is not properly set and it cannot do it automatically. |
Beta Was this translation helpful? Give feedback.
-
That's powerpc binary r13 is set at 0x202c8 as result of
r2 seems to be global value too, but currently I guess there's no way to set more than one value |
Beta Was this translation helpful? Give feedback.
I have created the issue #6253 to track this bug