FIELD: physics.
SUBSTANCE: invention relates to computer engineering. Computer-implemented method of eliminating vulnerabilities in a program code, carried out using at least one processor and comprising steps of: obtaining data on vulnerabilities in program code; obtaining data containing at least a source code unit and a type of detected vulnerability; source code containing the vulnerability is transformed into an abstract syntax tree (AST), where internal vertices are associated with programming language operators, and leaves with corresponding operands; forming a path for bypassing vertices in the AST; generating an ordered sequence and processing it using a machine learning coding model; method includes processing a matrix of hidden sequences using a generative machine learning model trained on matrices of hidden states of sequences for vulnerabilities, during which a new ordered sequence is obtained, corresponding to the source program code, but with the vulnerability eliminated; ordered sequence obtained at the previous step is converted into a source code block.
EFFECT: higher security of software due to elimination of vulnerabilities in program code.
8 cl, 2 dwg
Title | Year | Author | Number |
---|---|---|---|
METHOD AND SYSTEM FOR MODIFYING PROGRAM CODE | 2023 |
|
RU2824522C1 |
METHOD AND SYSTEM FOR IDENTIFYING EXPLOITED VULNERABILITIES IN THE PROGRAM CODE | 2022 |
|
RU2790005C1 |
METHOD OF CONTROLLING PROTECTION SURFACE OF CORPORATE COMMUNICATION NETWORK | 2023 |
|
RU2824314C1 |
METHOD FOR AUTOMATIC CREATION OF A PARALLEL PROGRAM WITH TEMPORAL PARAMETERIZATION OF MULTIPROCESSOR COMPUTING SYSTEMS WITH THE SAME MEMORY ACCESS | 2022 |
|
RU2786347C1 |
FAST CALCULATION OF CONVOLUTIONAL NEURAL NETWORK | 2018 |
|
RU2722473C1 |
METHOD AND SYSTEM FOR DETERMINING SOFTWARE BELONGING BY ITS SOURCE CODE | 2019 |
|
RU2728498C1 |
METHOD OF TRANSMITTING MOTION OF A SUBJECT FROM A VIDEO TO AN ANIMATED CHARACTER | 2019 |
|
RU2708027C1 |
METHOD AND DEVICE FOR GENERATING REMOTE CALLS | 2023 |
|
RU2814437C1 |
GENERATION METHOD OF KNOWLEDGEBASES FOR SYSTEMS OF VERIFICATION OF DISTRIBUTED COMPUTER COMPLEXES SOFTWARE AND DEVICE FOR ITS IMPLEMENTATION | 2006 |
|
RU2364930C2 |
LINGUISTICALLY INFORMED STATISTIC MODELS OF STRUCTURE OF COMPONENTS FOR ORDERING IN REALISATION OF SENTENCES FOR SYSTEM OF NATURAL LANGUAGE GENERATION | 2004 |
|
RU2336552C2 |
Authors
Dates
2024-06-18—Published
2023-05-11—Filed