mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-23 03:25:36 +08:00
Merge remote-tracking branch 'origin/GP-1-dragonamcher-decompiler-stack-trace-10-29-21'
This commit is contained in:
+2
-1
@@ -31,6 +31,7 @@ import ghidra.program.model.pcode.*;
|
||||
import ghidra.program.model.symbol.Symbol;
|
||||
import ghidra.program.model.symbol.SymbolTable;
|
||||
import ghidra.program.util.ProgramLocation;
|
||||
import ghidra.util.UndefinedFunction;
|
||||
import ghidra.util.data.DataTypeParser.AllowedDataTypes;
|
||||
|
||||
/**
|
||||
@@ -216,7 +217,7 @@ public abstract class AbstractDecompilerAction extends DockingAction {
|
||||
|
||||
// prefer the decompiler's function reference over the program location's address
|
||||
Function function = getFunction(context);
|
||||
if (function != null) {
|
||||
if (function != null && !(function instanceof UndefinedFunction)) {
|
||||
return function.getSymbol();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user