Fingerprint Extraction and implementation identification#142
Open
ntua-el21001 wants to merge 12 commits into
Open
Fingerprint Extraction and implementation identification#142ntua-el21001 wants to merge 12 commits into
ntua-el21001 wants to merge 12 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This PR implements the Adaptive Distinguish Graph (ADG) for fingerprint extraction and implementation identification.
The ADG is a decision tree with alternating inputs and outputs in edges. A leaf contains the possible models if the path leading to them is followed.
New fingerprint classes
FingerprintLTS: A Labelled Transition System (LTS)FingerprintGenerateLTS.CombinedLTS: An LTS created from combining Mealy Machines with the metadataFingerprintAutomaton: Wraps the combined LTS with the intermediate results of the algorithmFingerprintCCSExpression: Class of a CSS Expression F := 0 | μ.F | F + FFingerprintSplittingGraph: The splitting graph of an LTS. Contains CSS expressions that partition sets of statesFingerprintNode: A node of the returned ADGFingerprintAdgWriter: Prints and ADG to a dot fileFingerprintGenerateLTS: Generates aCombinedLTSfrom MealyMachines, which includes aFingerprintLTSand its metadataFingerprintParser: Turn dot files to Mealy MachinesFingerprintComputeCompatibility: Contains the functions to calculate the Compatibility relation of state pairs in aFingerprintLTSFingerprintSplittingGraphExtraction: Extracts the splitting graph of an LTSFingerprintExtractDecisionTree: Uses a splitting graph and a compatibility relation of a combined LTS to create a decision tree (ADG) that differentiates between the Mealy Machines used for the LTSNew identifier classes
IdentifierAdg: Holds the ADG to be used for identificationIdentifierAutomatonProvider: Holds hypotheses to be used for conformanceTestIdentifierParser: Reads a dot file of the ADG and turns it into aIdentifierADGTests
FingerprintTest: contains unit tests for fingerprintExtraction