mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-06 03:50:02 +02:00
GP-810 - Gnu Demangler - Fixed some failures when parsing function member pointers and array pointers/references; Fixed the parser not handling cast operators for function pointers
This commit is contained in:
parent
6a8788acbc
commit
071eb82103
14 changed files with 898 additions and 159 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