Closed ghost closed 7 years ago
It works only if func
is known, ie the code is in the binary. If func
is an import, we can't analyze the function.
-> The solution could be to guess the frame size and detect when arguments are pushed, they will be pushed after the frame.
The heuristic to compute the frame size is very simple (lib.arch.*.utils.guess_frame_size) and may fail. We need to allow the user modify the frame size, then re analyze the function.
6668796e725b0ec6f3cc3f08fa1b2d2472925ab3 b1c50296e3b26ff871b73bd002e119f83ed96967
Currently, the analyzer compute wrong variable offsets when the sp is modified, example :