- I searched the open and closed issues and pull requests for a related discussion.
- I understand the contribution scope must be reviewed before integration; open questions are welcome here.
- This discussion does not include credentials, private samples, or sensitive target data.
Decision needed
Should REA add a read-only provider for LabVIEW artifacts (VI, LLB, and built EXE), and if so, what scope is acceptable? I'm proposing structure and metadata extraction only — no block-diagram recovery and no protection bypass.
Context and evidence
LabVIEW is a graphical dataflow language; its source is the block diagram, and the compiled artifact does not carry it. NI's own KB says there is no official decompiler, and the companion article on removing a block diagram says it cannot be restored once removed. So the practical question for an analyst holding only an EXE or an orphaned VI is not "recover the diagram" but "what is this artifact, what version is it, what does it depend on, and is it protected?"
Today REA has no LabVIEW support. #2383 tracks LabVIEW as an unaudited TIOBE 51–100 entry. I searched the open and closed issues and pull requests and found no LabVIEW-specific proposal.
What I believe is extractable without defeating anything (to be confirmed): container and version identification; VI hierarchy and names; control and indicator type information; dependency lists; and a static protection flag (present/absent), not its removal.
Expected interaction with targets
Read existing files or captured data.
No process launch, no injection, no memory or register changes, no network.
Boundary details
Non-goals, explicitly:
- No password or protection removal, and no "unlock" workflow.
- No claim to reconstruct a removed block diagram.
- No LabVIEW installation or runtime requirement.
Static protection detection (reporting that a VI is protected) is the limit I have in mind, per the contribution-scope distinction between detecting protection and defeating it.
Options and tradeoffs
- Native parser in TypeScript for the RSRC/LVzp container and the VI heap structures. Cleanest ownership, largest effort, and the format is undocumented, so coverage would start narrow.
- Wrap an existing parser (pylabview) as an optional, caller-supplied tool, the way other providers already require a bring-your-own engine. Lower effort, but inherits upstream limits and adds a dependency REA does not control.
- Do nothing and treat LabVIEW as out of scope.
I lean toward (2) as a first step if maintainers want a cheaper experiment, but (1) is the only version that fits the repository rule that each interpretation has an owner.
Verification available so far
I can suggest a sample or manual check.
I can supply self-authored or appropriately licensed VI/EXE samples for structure tests, and compare output against pylabview on the same input. I have no measurements yet, and I am not attaching any proprietary artifact.
Success criteria and open questions
A useful first result would be an inspect_labview_artifact-style operation that reports container type, LabVIEW version when identifiable, VI hierarchy, declared dependencies, and a protection flag — with malformed and truncated inputs reported as explicit failures rather than partial guesses.
Open questions: is a bring-your-own-parser provider acceptable given the contribution scope; how much of the VI heap is stable enough to promise; and whether protection detection alone is in scope.
References
- NI KB, Decompile or Extract Source Code From a LabVIEW Executable: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019LtOSAU&l=en-US
- NI KB, Effects of Removing Block Diagram From LabVIEW VI: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019LY1SAM
- pylabview (RSRC/VI binary reader): https://github.com/mefistotelis/pylabview
- lvkit (clean-room VI to Python): https://github.com/pragmatest-dev/lvkit
- #2383 (TIOBE coverage tracker, LabVIEW entry)
- CONTRIBUTING, contribution scope: https://github.com/morluto/rea/blob/main/CONTRIBUTING.md#contribution-scope
I can help with independent verification of the read-only inventory. I see @Antruly's #13337 already implements an initial reader. I'll check its existing container, evidence, and error cases against the draft before proposing any separate follow-up.