public interface

INativeFeature

com.pnfsoftware.jeb.core.units.code.asm.sig.INativeFeature

Class Overview

Characteristics computed on a native item.

Summary

Public Methods
abstract INativeFeature deepCopy()
Returns a deep copy of the feature
abstract String getType()
Returns a String describing the feature type.
abstract Object getValue()
Returns the feature value
abstract boolean match(INativeFeature feature)
Match features; two features are "matching" if they are equals from a signatures matching point-of-view.

Public Methods

public abstract INativeFeature deepCopy ()

Returns a deep copy of the feature

public abstract String getType ()

Returns a String describing the feature type. Used only for display purpose

public abstract Object getValue ()

Returns the feature value

public abstract boolean match (INativeFeature feature)

Match features; two features are "matching" if they are equals from a signatures matching point-of-view. Feature matching is an equivalence relation (reflexive, symmetric and transitive).

Note: two features might be not be equals() and still be matching. Therefore, this method should be the preferred one for signatures matching.

Returns
  • true if the two features match, false otherwise