mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 01:39:21 +02:00
Merge branch 'Ghidra_12.0'
This commit is contained in:
commit
c16396d235
1 changed files with 5 additions and 3 deletions
|
@ -996,10 +996,12 @@ public class FunctionSignatureStringable extends Stringable {
|
|||
if (first == second) {
|
||||
return replaceSamePriorityNames;
|
||||
}
|
||||
// NOTE: If a new SourceType is added with a priority in between IMPORTED and USER_DEFINED
|
||||
// VT and this code will need to change.
|
||||
// Force IMPORTED to have highest priority
|
||||
if (first == SourceType.IMPORTED) {
|
||||
return true; // IMPORTED is highest priority
|
||||
return true;
|
||||
}
|
||||
else if (second == SourceType.IMPORTED) {
|
||||
return false;
|
||||
}
|
||||
return first.isHigherPriorityThan(second);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue