public class

NativeSignatureGenerator

extends Object
java.lang.Object
   ↳ com.pnfsoftware.jeb.core.units.code.asm.sig.NativeSignatureGenerator

Class Overview

Generation of INativeSignature, based on a ISigningStrategy.

This object is a singleton available to all analysis, similar to NativeSignatureDBManager.

Summary

Public Methods
INativeSignature generateSignature(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)
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

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
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.

public static NativeSignatureGenerator getInstance (ISigningStrategy defaultStrategy)

public void setDefaultStrategy (ISigningStrategy defaultStrategy)