Interface INativeDataAnalyzer


public interface INativeDataAnalyzer
The data analyzer is used to create data items for a native code unit model.
  • Method Details

    • getTypeManager

      ITypeManager getTypeManager()
      Retrieve the type manager used by this data parser.
      Returns:
      type manager
    • apply

      INativeDataItem apply(long address, INativeType type)
      Create a data item at the provided address: Parse data as an item of the given type. The returned item should be registered to a memory model or immediately disposed.
      Parameters:
      address - item address
      type - native type to apply
      Returns:
      data item, or null
    • apply

      INativeDataItem apply(long address, INativeType type, int appliedSize)
      Create a data item at the provided address: Parse data as an item of the given type. The returned item should be registered to a memory model or immediately disposed.
      Parameters:
      address - item address
      type - native type to apply
      appliedSize - -1 for full size application; disregarded for non-complex items
      Returns:
      data item, or null
    • createString

      INativeStringItem createString(long address, long size, INativeType type, StringEncoding stringType, String defaultStringValue)
      Create a string item. The returned item should be registered to a memory model or immediately disposed.
      Parameters:
      address - string address
      size - string size
      type - native string type
      stringType - string encoding
      defaultStringValue - default string value
      Returns:
      string item, or null