mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-07-30 07:18:37 -09:00
Merge remote-tracking branch 'origin/GP-6969-dragonmacher-label-npe'
This commit is contained in:
@@ -76,8 +76,11 @@ public class LabelFieldMouseHandler implements FieldMouseHandlerExtension {
|
||||
Address addr = location.getAddress();
|
||||
Program program = location.getProgram();
|
||||
Listing listing = program.getListing();
|
||||
CodeUnit cu = listing.getCodeUnitAt(addr);
|
||||
service.showSymbols(cu);
|
||||
CodeUnit cu = listing.getCodeUnitContaining(addr);
|
||||
if (cu != null) {
|
||||
service.showSymbols(cu);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
private String getText(Object clickedObject) {
|
||||
|
||||
Reference in New Issue
Block a user