FuzzingFunctions
Interface FuzzingFunctionInterface2


public interface FuzzingFunctionInterface2

This interface is used to perform a specific fuzzing function on a message. This is the new interface, providing the functions with the access to the protocol's finite state automaton, the current state and the input message. The return value is the pair of the modified input message with the new state, or -1 if no state changes required. The GMS is also specified, even though it can be extracted from the FSA based on the current state.

Author:
Serge Gorbunov

Method Summary
 FuzzingFunctionReturnPair fuzzInputMsg(FSAutomaton automaton, int currentStateID, java.util.ArrayList<java.lang.Integer> originalMessage, GenericSequence gms)
          Modifies the input messages
 

Method Detail

fuzzInputMsg

FuzzingFunctionReturnPair fuzzInputMsg(FSAutomaton automaton,
                                       int currentStateID,
                                       java.util.ArrayList<java.lang.Integer> originalMessage,
                                       GenericSequence gms)
Modifies the input messages

Parameters:
automaton - The protocol's FSA
currentStateID - The current state in the FSA
-
originalMessage - Original Input Message
Returns:
Instance of the fuzzingFunctionReturnPair with the modified values and the new state ID values set.