The present application relates to a cross-
language code intelligent auditing and automatic repair
system. The
system forms a quality and safety governance
closed loop through
code acquisition and preprocessing, multi-language unified intermediate representation (fusion AST / CFG / DFG /
call graph / symbol table), general rule
library detection, AI
semantic enhancement, repair patch generation and multi-level
verification, and feedback learning. The core is to constrain the repair generation of large language models with an interpretable evidence chain, and through automatic
verification and failure
rollback mechanism containing
syntax, test, performance and security, the
correctness and minimum change of the patch are ensured. The present application also relates to a corresponding method, device, processor and computer readable storage medium thereof. The cross-
language code intelligent auditing and automatic repair
system, method, device, processor and storage medium thereof adopt the present application, realize consistent
risk detection across languages, significantly reduce the
false positive rate and the risk of introducing new defects by repair, and maintain long-term effectiveness through a continuous learning mechanism.