Class MetaTypeFilter

java.lang.Object
ghidra.program.model.lang.protorules.SizeRestrictedFilter
ghidra.program.model.lang.protorules.MetaTypeFilter
All Implemented Interfaces:
DatatypeFilter

public class MetaTypeFilter extends SizeRestrictedFilter
Filter on a single meta data-type. Filters on TYPE_STRUCT or TYPE_FLOAT etc. Additional filtering on size of the data-type can be configured.
  • Field Details

    • metaType

      protected int metaType
  • Constructor Details

    • MetaTypeFilter

      public MetaTypeFilter(int meta)
      Constructor for use with decode().
      Parameters:
      meta - is the data-type metatype to filter on
    • MetaTypeFilter

      public MetaTypeFilter(int meta, int min, int max)
      Constructor
      Parameters:
      meta - is the data-type metatype to filter on
      min - is the minimum size in bytes
      max - is the maximum size in bytes
  • Method Details