Large language models are increasingly used to find software vulnerabilities, but their performance is often held back by a lack of structural understanding. According to a new arXiv preprint, standard LLM approaches do not make sufficient use of control-flow and data-flow information, which are key to reasoning about how data moves through a program and where flaws might be triggered.
The paper proposes GRAML, a framework that grounds LLM reasoning in program graphs and uses multi-task learning to jointly learn related tasks. The idea is to force the model to reason over the graph structure rather than treating code as a flat token sequence, potentially improving detection of subtle vulnerabilities that depend on execution paths.
Since this is a single preprint abstract, no experimental numbers or comparisons are provided. It is not yet possible to judge how well GRAML works in practice or how it stacks up against existing methods. The contribution is currently a proposed architecture and motivation, not a demonstrated result.