java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | com.pnfsoftware.jeb.core.units.code.asm.sig.NativeFeatureSignerID |
Identifiers for features' signers, i.e. the algorithms to compute INativeFeature
from a
signed routine.
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
|
Signer to extract the names of the routines called by the signed routine, both internal and external.
Signer to extract the names of the external routines called by the signed routine.
Signer to extract 1-byte constants from the routine code.
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.
Signer to extract the size of the routine (number of instructions).