public final enum

NativeFeatureSignerID

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.pnfsoftware.jeb.core.units.code.asm.sig.NativeFeatureSignerID

Class Overview

Identifiers for features' signers, i.e. the algorithms to compute INativeFeature from a signed routine.

Summary

Enum Values
NativeFeatureSignerID  CALLED_ROUTINE_NAME  Signer to extract the names of the routines called by the signed routine, both internal and external. 
NativeFeatureSignerID  CALLED_ROUTINE_NAME_ONLY_EXTERN  Signer to extract the names of the external routines called by the signed routine. 
NativeFeatureSignerID  ROUTINE_1B_CTE  Signer to extract 1-byte constants from the routine code. 
NativeFeatureSignerID  ROUTINE_CODE_HASH  Signer to extract a custom hash from the routine assembly code. 
NativeFeatureSignerID  ROUTINE_SIZE  Signer to extract the size of the routine (number of instructions). 
NativeFeatureSignerID  UNKNOWN   
Public Methods
static NativeFeatureSignerID valueOf(String name)
final static NativeFeatureSignerID[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final NativeFeatureSignerID CALLED_ROUTINE_NAME

Signer to extract the names of the routines called by the signed routine, both internal and external.

public static final NativeFeatureSignerID CALLED_ROUTINE_NAME_ONLY_EXTERN

Signer to extract the names of the external routines called by the signed routine.

public static final NativeFeatureSignerID ROUTINE_1B_CTE

Signer to extract 1-byte constants from the routine code.

public static final NativeFeatureSignerID ROUTINE_CODE_HASH

Signer to extract a custom hash from the routine assembly code.

The hashing algorithm is intended to be false-positive free: a given hash should match only routines with the exact same code. Nevertheless, the algorithm does not consider the location-specific parts of the assembly instructions, i.e. a same routine mapped at different locations should yield the same hash.

public static final NativeFeatureSignerID ROUTINE_SIZE

Signer to extract the size of the routine (number of instructions).

public static final NativeFeatureSignerID UNKNOWN

Public Methods

public static NativeFeatureSignerID valueOf (String name)

public static final NativeFeatureSignerID[] values ()