mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 02:39:44 +02:00
[pcode] Fix renaming global variable
Set a name for global variable in `updateDBVariable` from the `name` parameter but not from the high symbol.
This commit is contained in:
parent
bcb825fb02
commit
ccb5565180
1 changed files with 1 additions and 1 deletions
|
@ -599,7 +599,7 @@ public class HighFunctionDBUtil {
|
|||
|
||||
if (name != null) {
|
||||
try {
|
||||
setGlobalName(highSymbol, highSymbol.getName(), source);
|
||||
setGlobalName(highSymbol, name, source);
|
||||
}
|
||||
catch (DuplicateNameException e) {
|
||||
if (isRename) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue