Package ghidra.features.bsim.query.description

# Class FunctionDescriptionMapper

java.lang.Object
ghidra.features.bsim.query.description.FunctionDescriptionMapper

public abstract class FunctionDescriptionMapper extends Object
Scan a description XML file and for each `<fdesc>` tag, parse it, build the FunctionDescription object and call handleFunction

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `protected int`
  `recnum`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `FunctionDescriptionMapper()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `abstract void`
  `handleExecutable(ExecutableRecord erec)`
  `abstract void`
  `handleFunction(FunctionDescription fdesc, int rnum)`
  `void`
  `processFile(XmlPullParser parser, LSHVectorFactory vectorFactory)`

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

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

- ## Field Details

  - ### recnum

    protected int recnum

- ## Constructor Details

  - ### FunctionDescriptionMapper

    public FunctionDescriptionMapper()

- ## Method Details

  - ### handleExecutable

    public abstract void handleExecutable(ExecutableRecord erec) throws IOException, InterruptedException
    Throws:
      `IOException`
      `InterruptedException`

  - ### handleFunction

    public abstract void handleFunction(FunctionDescription fdesc, int rnum) throws IOException, InterruptedException
    Throws:
      `IOException`
      `InterruptedException`

  - ### processFile

    public void processFile(XmlPullParser parser, LSHVectorFactory vectorFactory) throws IOException, InterruptedException, LSHException
    Throws:
      `IOException`
      `InterruptedException`
      `LSHException`