Metraipolis › archive › dc_46f4935eb062

PLC-Bin2Src: Retrieving Corresponding Structured Text Source Files for PLC Binaries — arXiv:2609.08563

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.08563
License (as archived)
CC0-1.0
Archived
2026-10-16T14:09:12.282Z
SHA-256 of the archived text
19fb63d7aae94a16d1324fefe8874c5d3a7b6c087364b3cd688990ba5189a257
Stable URL of this page
https://metraipolis.com/documento/dc_46f4935eb062

How to cite

PLC-Bin2Src: Retrieving Corresponding Structured Text Source Files for PLC Binaries — arXiv:2609.08563 — arXiv (en), https://arxiv.org/abs/2609.08563 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_46f4935eb062 (Metraipolis archive dc_46f4935eb062, sha256 19fb63d7aae94a16d1324fefe8874c5d3a7b6c087364b3cd688990ba5189a257)
BibTeX
@misc{dc46f4935eb062,
  title = {PLC-Bin2Src: Retrieving Corresponding Structured Text Source Files for PLC Binaries — arXiv:2609.08563},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.08563},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_46f4935eb062; sha256 19fb63d7aae94a16d1324fefe8874c5d3a7b6c087364b3cd688990ba5189a257},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.08563. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

PLC developers reuse existing components and third-party libraries to reduce the cost of developing new applications, but this reuse can also introduce security risks. When components are distributed only in binary form, provenance tracing, vulnerability assessment, and security auditing become more difficult. To support these analyses, binary2source matching can retrieve the corresponding Structured Text (ST) source file for a PLC binary from a candidate source repository. However, due to the properties of PLC software, this task faces three challenges: cross-platform compilation heterogeneity, a binary-source representation gap, and inadequate representations of PLC semantics. Therefore, we present PLC-Bin2Src, a cross-platform binary2source matching framework that retrieves corresponding ST source files for binaries produced by CODESYS, GEB, OpenPLC v2, and OpenPLC v3. First, PLC-Bin2Src uses platform-aware binary frontends to recover user control logic across toolchains. Then, ST-to-C conversion and shared normalization are used to reduce syntactic differences between source- and binary-side representations. Next, control-data flow graphs (CDFGs) and function call graphs (FCGs) are constructed to capture program semantics, while recovered symbols provide complementary identity evidence. Finally, PLC-Bin2Src compares these representations and combines their similarity scores to rank source candidates. We evaluate PLC-Bin2Src on PLC-BEAD. The results show that PLC-Bin2Src achieves 95.89% Recall@1, 99.66% Recall@5, and an MRR of 0.9769 across four PLC platforms.

Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-09-09 in cs.SE).
Categorie arXiv: Software Engineering (cs.SE).
Pagina del lavoro: https://arxiv.org/abs/2609.08563 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-16T13:58:36.415Z dalla pagina https://arxiv.org/catchup/cs.SE/2026-09-09?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).