Skip to content

LaBackDoor/fsm-extractor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

6 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

plc-fsm-analyzer

A high-performance Rust tool for extracting, analyzing, and verifying Finite State Machines (FSMs) from PLC XML projects. It implements SAIN-based state signatures for industrial anomaly detection.

๐Ÿš€ Features

  • Extraction: Parses FSM logic from PLC function blocks (IEC 61131-3) into a structured graph.
  • Security Analysis: Generates "State Signatures" (DNF logic) to verify valid runtime behavior.
  • Validation: Automatically detects unreachable states, dead-ends, and infinite cycles.
  • Visualization: Exports diagrams to Graphviz DOT, JSON, and Markdown.

๐Ÿ“ฆ Installation

# Build from source
cargo build --release

# Run
./target/release/plc-fsm-analyzer --help

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages