Package cppclassanalyzer.scanner
Class ItaniumAbiRttiScanner
java.lang.Object
cppclassanalyzer.scanner.ItaniumAbiRttiScanner
- All Implemented Interfaces:
RttiScanner
- Direct Known Subclasses:
DynlibRttiScanner
public class ItaniumAbiRttiScanner extends Object implements RttiScanner
-
Field Summary
Fields Modifier and Type Field Description protected static List<String>
CLASS_TYPESTRINGS
protected static List<String>
FUNDAMENTAL_TYPESTRINGS
protected MessageLog
log
protected ItaniumAbiClassTypeInfoManager
manager
protected TaskMonitor
monitor
-
Constructor Summary
Constructors Constructor Description ItaniumAbiRttiScanner(Program program)
-
Method Summary
Modifier and Type Method Description protected boolean
doScan(MessageLog log, TaskMonitor monitor)
protected TaskMonitor
getDummyMonitor()
protected String
getDynamicSymbol(Relocation relocation)
protected String
getDynamicSymbol(String symbol)
protected MessageLog
getLog()
protected ItaniumAbiClassTypeInfoManager
getManager()
protected TaskMonitor
getMonitor()
protected Program
getProgram()
protected Set<Address>
getReferences(String typeString)
protected Set<Relocation>
getRelocations()
TypeInfo
getTypeInfo(Address address)
boolean
isTypeInfo(Address address)
boolean
scan(MessageLog log, TaskMonitor monitor)
Scan the program for the ClassTypeInfo'sSet<Address>
scanFundamentals(MessageLog log, TaskMonitor monitor)
Scans the program for Fundamental TypeInfo'sprotected void
setLog(MessageLog log)
protected void
setMonitor(TaskMonitor monitor)
-
Field Details
-
CLASS_TYPESTRINGS
-
FUNDAMENTAL_TYPESTRINGS
-
manager
-
monitor
-
log
-
-
Constructor Details
-
ItaniumAbiRttiScanner
-
-
Method Details
-
getDynamicSymbol
-
getDynamicSymbol
-
getManager
-
getDummyMonitor
-
getLog
-
getMonitor
-
getProgram
-
isTypeInfo
-
getTypeInfo
-
getRelocations
-
setLog
-
setMonitor
-
scan
Description copied from interface:RttiScanner
Scan the program for the ClassTypeInfo's- Specified by:
scan
in interfaceRttiScanner
- Parameters:
log
- the log to use for logging errorsmonitor
- the task monitor- Returns:
- true if the scan was successful
- Throws:
CancelledException
- if the scan is cancelled
-
doScan
- Throws:
CancelledException
-
scanFundamentals
public Set<Address> scanFundamentals(MessageLog log, TaskMonitor monitor) throws CancelledExceptionDescription copied from interface:RttiScanner
Scans the program for Fundamental TypeInfo's- Specified by:
scanFundamentals
in interfaceRttiScanner
monitor
- the task monitor- Returns:
- the addresses of the fundamental type info's
- Throws:
CancelledException
- if the scan is cancelled
-
getReferences
- Throws:
Exception
-