#9548·ghidra

BSim fails to apply callee name if the callee is external, despite the name being right there in the comparison

Author: ashduino101Created Aug 25, 2026Updated Sep 28, 2026
LabelsStatus: InternalFeature: BSim

Describe the bug This is a minor bug(?) that has irked me for some time. When comparing BSim function matches, attempting to apply the name (not even the signature) of an external function will result in the error message Can't compare callees - <name> is external. I don't see why it shouldn't be possible to apply these imported names, since they're already shown in the comparison, and the full signature shouldn't be necessary to apply just the name.

To Reproduce Steps to reproduce the behavior:

  1. Query a BSim database for a function where an expected match contains an imported symbol
  2. Compare that match with the queried function
  3. Attempt to apply the name of an imported symbol
  4. Get error Can't compare callees - <name> is external, despite the name being shown right there in the comparison

Expected behavior Ghidra should be able to apply the name, even if the signature isn't available.

Screenshots Image

Attachments https://github.com/user-attachments/assets/5c6e59ce-bccc-4ef6-9a00-424d2110a5e1

Environment (please complete the following information):

  • OS: Linux 7.0.10-101 (Fedora 43)
  • Java Version: 26.0.2
  • Ghidra Version: 12.2
  • Ghidra Origin: Locally built

Additional context This can be really annoying when matches are from static objects, since a good fraction of the calls in those objects are to other static objects that haven't been linked yet.

Source: NationalSecurityAgency/ghidra