Class DwarfDecoderFactory
- java.lang.Object
-
- ghidra.app.plugin.exceptionhandlers.gcc.DwarfDecoderFactory
-
public class DwarfDecoderFactory extends java.lang.ObjectGenerate instances of DwarfEHDecoder suitable for various pointer-encodings.
-
-
Constructor Summary
Constructors Change Constructor Description DwarfDecoderFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Change Modifier and Type Method Description static DwarfEHDecodergetDecoder(int mode)Get the appropriate decoder for the given 8-bit mode; mode is parsed into decode format, application mode, and indirection flag.static DwarfEHDecodergetDecoder(DwarfEHDataDecodeFormat decodeFormat, DwarfEHDataApplicationMode appFormat, boolean isIndirect)Get the appropriate decoder for the given decode format and application mode
-
-
-
Method Detail
-
getDecoder
public static DwarfEHDecoder getDecoder(DwarfEHDataDecodeFormat decodeFormat, DwarfEHDataApplicationMode appFormat, boolean isIndirect)
Get the appropriate decoder for the given decode format and application mode- Parameters:
decodeFormat- the exception handling data decoding formatappFormat- the desired application modeisIndirect- flag indicating whether or not the data is an indirect reference- Returns:
- the decoder or null
-
getDecoder
public static DwarfEHDecoder getDecoder(int mode)
Get the appropriate decoder for the given 8-bit mode; mode is parsed into decode format, application mode, and indirection flag.- Parameters:
mode- a byte that indicates an encoding- Returns:
- the decoder for the indicated mode of encoding
- See Also:
getDecoder(DwarfEHDataDecodeFormat, DwarfEHDataApplicationMode, boolean)
-
-