|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectFuzzingEngine.FuzzerMain
public class FuzzerMain
This class is the main interface for the fuzzing engine. It keeps a local copy of the FSA to be fuzzed. It starts the fuzzing at the initial state; only the input messages can be fuzzed. It decides whether to modify the message or not based on the current state in the automaton and the current content of the message.
Constructor Summary | |
---|---|
FuzzerMain(FSAutomaton automatonToFuzz,
AbstractionFunct iabf,
java.util.ArrayList<MessageTrace> traces,
javax.swing.JTextArea fuzzArea)
|
Method Summary | |
---|---|
java.lang.String |
calculateCompletionPerc()
This function iterates over all strings available for fuzzing and checks the number of fuzzing functions performed over the total number of available fuzzing functions |
java.lang.String |
fuzzMessage(java.lang.String msg)
Modifies the message based on the current state in the automaton. |
FSAutomaton |
getAutomaton()
|
void |
resetCurrentState()
Resets the current fuzzing state to the initial state of the FSA built from the traffic |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FuzzerMain(FSAutomaton automatonToFuzz, AbstractionFunct iabf, java.util.ArrayList<MessageTrace> traces, javax.swing.JTextArea fuzzArea)
Method Detail |
---|
public java.lang.String fuzzMessage(java.lang.String msg)
msg
- Input message to be modified
public FSAutomaton getAutomaton()
public java.lang.String calculateCompletionPerc()
public void resetCurrentState()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |