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

No packages published

Languages