Class NativeSignatureGenerator
java.lang.Object
com.pnfsoftware.jeb.core.units.code.asm.sig.NativeSignatureGenerator
Generation of
INativeSignature
, based on a ISigningStrategy
.
This object is a singleton available to all analysis, similar to
NativeSignatureDBManager
.
-
Method Summary
Modifier and TypeMethodDescriptiongenerateSignature
(INativeCodeAnalyzer<IInstruction> analyzer, INativeMethodItem routine, Set<NativeFeatureSignerID> clientProvidedFeatureSigners, Set<NativeAttributeSignerID> clientProvidedAttributeSigners) Generate a new signature for a routine, following the default strategy.static NativeSignatureGenerator
getInstance
(ISigningStrategy defaultStrategy) void
setDefaultStrategy
(ISigningStrategy defaultStrategy)
-
Method Details
-
getInstance
-
generateSignature
public INativeSignature generateSignature(INativeCodeAnalyzer<IInstruction> analyzer, INativeMethodItem routine, Set<NativeFeatureSignerID> clientProvidedFeatureSigners, Set<NativeAttributeSignerID> clientProvidedAttributeSigners) Generate a new signature for a routine, following the default strategy.- Parameters:
analyzer
-routine
-clientProvidedFeatureSigners
- set of feature signers IDs, if present those feature signers will be used rather than the ones suggested by the strategy. Not implemented for now.clientProvidedAttributeSigners
- set of attribute signers IDs, if present those attributes will be collected rather than the ones suggested by the strategy. Not implemented for now.- Returns:
-
setDefaultStrategy
-