0

I have imported several programs to my Ghidra project and retyped a few function parameters in one of them.

Now I am working on a different program, which imports these functions. However, the imported functions still have their original, unmodified signatures.

How do I tell Ghidra to propagate the changes?

1 Answer 1

0

One way that should work is using the "Capture Function Prototypes" context menu action on the Project Datatype Archive while in the binary that defines those functions, then applying them in the binary that imports them.

4
  • what if function names collide? for example on overloaded operators.
    – asym
    Commented Mar 1, 2022 at 19:34
  • huh, good question. Aren't those function names typically mangled in some way that encodes type information? Are you just wondering in general, or do you have a concrete case where Ghidra does something unexpected? Commented Mar 2, 2022 at 8:46
  • i have a concrete case whith overlaoded functions. apparently ghidra identifies the function types by their unmangled names. it looks similar to this: github.com/NationalSecurityAgency/ghidra/issues/…
    – asym
    Commented Mar 4, 2022 at 15:32
  • Sounds like it's worth opening an issue for Ghidra Commented Mar 5, 2022 at 12:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.