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_TYPESTRINGSprotected static List<String>FUNDAMENTAL_TYPESTRINGSprotected MessageLoglogprotected ItaniumAbiClassTypeInfoManagermanagerprotected TaskMonitormonitor -
Constructor Summary
Constructors Constructor Description ItaniumAbiRttiScanner(Program program) -
Method Summary
Modifier and Type Method Description protected booleandoScan(MessageLog log, TaskMonitor monitor)protected TaskMonitorgetDummyMonitor()protected StringgetDynamicSymbol(Relocation relocation)protected StringgetDynamicSymbol(String symbol)protected MessageLoggetLog()protected ItaniumAbiClassTypeInfoManagergetManager()protected TaskMonitorgetMonitor()protected ProgramgetProgram()protected Set<Address>getReferences(String typeString)protected Set<Relocation>getRelocations()TypeInfogetTypeInfo(Address address)booleanisTypeInfo(Address address)booleanscan(MessageLog log, TaskMonitor monitor)Scan the program for the ClassTypeInfo'sSet<Address>scanFundamentals(MessageLog log, TaskMonitor monitor)Scans the program for Fundamental TypeInfo'sprotected voidsetLog(MessageLog log)protected voidsetMonitor(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:RttiScannerScan the program for the ClassTypeInfo's- Specified by:
scanin 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:RttiScannerScans the program for Fundamental TypeInfo's- Specified by:
scanFundamentalsin interfaceRttiScannermonitor- the task monitor- Returns:
- the addresses of the fundamental type info's
- Throws:
CancelledException- if the scan is cancelled
-
getReferences
- Throws:
Exception
-