mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 10:49:34 +02:00
Merge remote-tracking branch 'origin/GP-810-dragonmacher-gnu-demangler-parse-failure--SQUASHED'
This commit is contained in:
commit
57f00f8e0b
14 changed files with 897 additions and 157 deletions
|
@ -2312,7 +2312,7 @@ public class SymbolManager implements SymbolTable, ManagerDB {
|
|||
SourceType originalSource = namespaceSymbol.getSource();
|
||||
|
||||
// no duplicate check, since this class name will be set to that of the existing namespace
|
||||
String tempName = name + System.nanoTime();
|
||||
String tempName = "_temp_" + System.nanoTime();
|
||||
SymbolDB classSymbol =
|
||||
doCreateSpecialSymbol(Address.NO_ADDRESS, tempName, namespace.getParentNamespace(),
|
||||
SymbolType.CLASS, -1, -1, null, originalSource, false /*check for duplicate */);
|
||||
|
@ -2334,7 +2334,8 @@ public class SymbolManager implements SymbolTable, ManagerDB {
|
|||
return classNamespace;
|
||||
}
|
||||
catch (DuplicateNameException | InvalidInputException | CircularDependencyException e) {
|
||||
throw new AssertException("Unexpected exception creating class from namespace", e);
|
||||
throw new AssertException("Unexpected exception creating class from namespace: " +
|
||||
e.getMessage(), e);
|
||||
}
|
||||
finally {
|
||||
lock.release();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue