Package ghidra.app.plugin.exceptionhandlers.gcc

# Class DwarfDecoderFactory

java.lang.Object
ghidra.app.plugin.exceptionhandlers.gcc.DwarfDecoderFactory

public class DwarfDecoderFactory extends Object
Generate instances of DwarfEHDecoder suitable for various pointer-encodings.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DwarfDecoderFactory()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `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.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### DwarfDecoderFactory

    public DwarfDecoderFactory()

- ## Method Details

  - ### 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:
      - `createDecoder(DwarfEHDataDecodeFormat, DwarfEHDataApplicationMode, boolean)`