rizinorg / cutter

Free and Open Source Reverse Engineering Platform powered by rizin
https://cutter.re
GNU General Public License v3.0
15.32k stars 1.14k forks source link

Ability to import libraries #3358

Open Chapoly1305 opened 1 week ago

Chapoly1305 commented 1 week ago

Is your feature request related to a problem? Please describe. The Ghydra tool prompts users to locate missing .so libraries when loading an executable. This feature allows users to:

At this moment, the Cutter would only provide information at function name level if it came from an external library. image

Meanwhile, the Ghydra may load the libraries as Import, and allows conveniently review the function.

  1. When click on the function of external, it firstly shows undecompiled state, just like the Cutter. image
  2. The user may choose Go to External Location, and trigger an analysis prompt. image
  3. The external library will be decompiled and user may now see its logic. image

Describe the solution you'd like The Cutter shall allow user to choose a path of dependencies, or prompt user to choose the .so file just in time when the user attempt to know more about the function (for example, double click on function address or name).

A video example https://www.youtube.com/watch?v=Avn8s7iW3Rc