Package ghidra.app.util.bin.format.swift
Class SwiftTypeMetadata
java.lang.Object
ghidra.app.util.bin.format.swift.SwiftTypeMetadata
Parses marks up, and provide access to Swift type metadata
-
Constructor Summary
ConstructorDescriptionSwiftTypeMetadata
(Program program, TaskMonitor monitor, MessageLog log) Creates a newSwiftTypeMetadata
-
Method Summary
Modifier and TypeMethodDescriptionReturns the associated type descriptors.Returns the built-in type descriptors.Returns the capture descriptors.Returns the entry points.Returns the field descriptors.Returns the multi-payload enum descriptors.Returns the target protocol conformance descriptors.Returns the target protocol descriptors.Returns the type descriptors.void
markup()
Marks up thisSwiftTypeMetadata
with data structures and comments
-
Constructor Details
-
SwiftTypeMetadata
public SwiftTypeMetadata(Program program, TaskMonitor monitor, MessageLog log) throws IOException, CancelledException Creates a newSwiftTypeMetadata
- Parameters:
program
- TheProgram
monitor
- A cancellable task monitorlog
- The log- Throws:
IOException
- if there was an IO-related errorCancelledException
- if the user cancelled the operation
-
-
Method Details
-
getEntryPoints
Returns the entry points.- Returns:
- the entry points
-
getBuiltinTypeDescriptors
Returns the built-in type descriptors.- Returns:
- the built-in type descriptors
-
getFieldDescriptors
Returns the field descriptors.- Returns:
- the field descriptors
-
getAssociatedTypeDescriptor
Returns the associated type descriptors.- Returns:
- the associated type descriptors
-
getCaptureDescriptors
Returns the capture descriptors.- Returns:
- the capture descriptors
-
getMultiPayloadEnumDescriptors
Returns the multi-payload enum descriptors.- Returns:
- the multi-payload enum descriptors
-
getTargetTypeContextDescriptors
Returns the type descriptors.- Returns:
- the type descriptors
-
getTargetProtocolDescriptors
Returns the target protocol descriptors.- Returns:
- the target protocol descriptors
-
getTargetProtocolConformanceDescriptors
Returns the target protocol conformance descriptors.- Returns:
- the target protocol conformance descriptors
-
markup
Marks up thisSwiftTypeMetadata
with data structures and comments- Throws:
CancelledException
- if the user cancelled the operation
-