Get the latest tech news

Show HN: COBOL-REKT, a toolkit for analysing and reverse-engineering COBOL


An evolving toolkit of capabilities helpful for reverse engineering legacy Cobol code - avishek-sen-gupta/cobol-rekt

This is suitable for use in further static analysis, transformation (into a control flow tree, for example), and inputs to other systems (informed chunking to an LLM, into a graph database for further exploration, etc.). The JGraphTBuilder class converts the unified model (AST, CFG, Data Structures) into a DirectedPseudograph (because there can be both loops and parallel edges between two nodes), for consequent analysis through the JGraphT API. There are 4 superfluous directories at the top (engine, parser, dialect-daco, dialect-idms), which are a hack to get the Che4z Checkstyle targets to run because of a path configuration issue.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of engineering

engineering

Photo of toolkit

toolkit

Photo of cobol

cobol

Related news:

News photo

Intel failures: A cautionary tale of business vs engineering

News photo

Intel's processor failures: A cautionary tale of business vs engineering

News photo

Reverse-engineering my speakers' API to get reasonable volume control