Hayk Aslanyan
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Research Subjects
Hayk Aslanyan has a total of 24 co-authors. Here are the top co-authors by number of shared publications:
- Hripsime Hovhannisyan
Medical Institute Yerevan Haybusak University Armenia
4 shared publications - Mariam Arutunian
Russian-Armenian University, Yerevan, Armenia
4 shared publications - Sevak Sargsyan
Center of Advanced Software Technologies, Russian-Armenian University, Yerevan, Armenia
4 shared publications - Hovhannes Movsisyan
Center of Advanced Software Technologies, RussianArmenian University, Yerevan, Armenia
3 shared publications - Matevos Mehrabyan
Center of Advanced Software Technologies, Russian-Armenian University, Yerevan, Armenia
2 shared publications Albert Mkrtchyan
Center of Advanced Software Technologies, Russian-Armenian University, Yerevan, Armenia
1 shared publication
Latest Publications
- Open Access
- 31 August 2026
- Published by Elsevier in SSRN Electronic Journal
An Empirical Study of Publicly Available Static Analysis Tools for Detecting Use-After-Free and Double-Free Vulnerabilities
Memory-related errors, such as use-after-free and double-free vulnerabilities, remain critical security threats in C/C++ software. This work presents an empirical study of eleven openly accessible static analysis tools for detecting these vulnerabilities. We first evaluated the tools based on key technical properties: flow, path, context, and field sensitivity. Our experiments showed that eight of the eleven tools passed all considered sensitivities checks. We further assessed the tools' efficacy using the Juliet Test Suite for CWE-415 (double-free) and CWE-416 (use-after-free). On C-based test cases, CBMC, Symbiotic, and CPAchecker achieved a 100% true positive rate for double-free detection, while Frama-C achieved the same for use-after-free detection. For C++ test cases, no tool achieved a perfect score; however, KLEE showed the highest true positive rate for double-free (98.63%) and IKOS for use-after-free (84.42%) detection. The false positive rate across all tools remained below 9.3% on the test cases. Finally, the evaluation on 37 real-world CVEs revealed significantly lower detection rates, with tools collectively detecting only 20% of double-free and 39% of use-after-free vulnerabilities. In these real-world scenarios, SVF achieved the highest true positive rate for double-free (10%), while Clang Static Analyzer with CodeChecker performed best for use-after-free (27.7%). These results highlight a significant gap between synthetic benchmarks and real-world vulnerability detection and indicate the need for improved handling of real-world code complexity in static analysis tools.
- 31 August 2026
- Published by Elsevier in SSRN Electronic Journal
Open AccessAn Empirical Study of Publicly Available Static Analysis Tools for Detecting Use-After-Free and Double-Free Vulnerabilities
Memory-related errors, such as use-after-free and double-free vulnerabilities, remain critical security threats in C/C++ software. This work presents an empirical study of eleven openly accessible static analysis tools for detecting these vulnerabilities. We first evaluated the tools based on key technical properties: flow, path, context, and field sensitivity. Our experiments showed that eight of the eleven tools passed all considered sensitivities checks. We further assessed the tools' efficacy using the Juliet Test Suite for CWE-415 (double-free) and CWE-416 (use-after-free). On C-based test cases, CBMC, Symbiotic, and CPAchecker achieved a 100% true positive rate for double-free detection, while Frama-C achieved the same for use-after-free detection. For C++ test cases, no tool achieved a perfect score; however, KLEE showed the highest true positive rate for double-free (98.63%) and IKOS for use-after-free (84.42%) detection. The false positive rate across all tools remained below 9.3% on the test cases. Finally, the evaluation on 37 real-world CVEs revealed significantly lower detection rates, with tools collectively detecting only 20% of double-free and 39% of use-after-free vulnerabilities. In these real-world scenarios, SVF achieved the highest true positive rate for double-free (10%), while Clang Static Analyzer with CodeChecker performed best for use-after-free (27.7%). These results highlight a significant gap between synthetic benchmarks and real-world vulnerability detection and indicate the need for improved handling of real-world code complexity in static analysis tools.
- 25 November 2025
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 107-112
Method for Identifying Changes Between Program Versions
This paper presents a two-stage method for detecting changes between program versions. It combines analysis based on metrics with a code clone detection algorithm. The approach uses control and data dependencies between instructions to match functions on a many-to-many basis. Additionally, it allows detecting changed instructions with high accuracy. The developed method provides reliable comparison of executable files, even in the absence of source code. Experimental evaluation on software projects has demonstrated its effectiveness in analyzing changes and detecting modifications.
- 25 November 2025
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 107-112
Method for Identifying Changes Between Program Versions
This paper presents a two-stage method for detecting changes between program versions. It combines analysis based on metrics with a code clone detection algorithm. The approach uses control and data dependencies between instructions to match functions on a many-to-many basis. Additionally, it allows detecting changed instructions with high accuracy. The developed method provides reliable comparison of executable files, even in the absence of source code. Experimental evaluation on software projects has demonstrated its effectiveness in analyzing changes and detecting modifications.
- 5 January 2025
- Published by Springer Nature in International Journal of Information Security
- Vol. 24 (1) , 1-14
Accurate code fragment clone detection and its application in identifying known CVE clones
- 5 January 2025
- Published by Springer Nature in International Journal of Information Security
- Vol. 24 (1) , 1-14
Accurate code fragment clone detection and its application in identifying known CVE clones
- Open Access
- 16 December 2024
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. PP, 1
Automatic Recognition and Replacement of Cyclic Redundancy Checks for Program Optimization
Cyclic redundancy check (CRC) is a fundamental error-detection mechanism widely used in digital networks and storage systems to ensure data integrity. CRC can be implemented in various ways. Some methods, like bitwise implementations, are slow and less efficient. Other approaches, such as those using lookup tables, carry-less multiplication, or CRC instructions, offer better performance. This paper presents a novel method for automatic recognition and replacement of bitwise CRC implementations with more optimized alternatives. The method begins with the detection of potential code fragments containing bitwise CRC implementations using fast and simple checks. It then computes various parameters and employs a customized symbolic execution to verify the identified candidates. Subsequently, the method substitutes the CRC code fragment with more efficient alternatives. The method is implemented in the GCC compiler as a separate pass and is open-source available. Experimental evaluation was performed for x86-64, ARM64, and RISC-V architectures, and the results demonstrated up to 91%, 98%, and 93% performance improvements respectively, highlighting the effectiveness of the proposed optimization.
- 16 December 2024
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. PP, 1
Open AccessAutomatic Recognition and Replacement of Cyclic Redundancy Checks for Program Optimization
Cyclic redundancy check (CRC) is a fundamental error-detection mechanism widely used in digital networks and storage systems to ensure data integrity. CRC can be implemented in various ways. Some methods, like bitwise implementations, are slow and less efficient. Other approaches, such as those using lookup tables, carry-less multiplication, or CRC instructions, offer better performance. This paper presents a novel method for automatic recognition and replacement of bitwise CRC implementations with more optimized alternatives. The method begins with the detection of potential code fragments containing bitwise CRC implementations using fast and simple checks. It then computes various parameters and employs a customized symbolic execution to verify the identified candidates. Subsequently, the method substitutes the CRC code fragment with more efficient alternatives. The method is implemented in the GCC compiler as a separate pass and is open-source available. Experimental evaluation was performed for x86-64, ARM64, and RISC-V architectures, and the results demonstrated up to 91%, 98%, and 93% performance improvements respectively, highlighting the effectiveness of the proposed optimization.
- Open Access
- 5 June 2024
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 12, 80128-80137
Combining Static Analysis With Directed Symbolic Execution for Scalable and Accurate Memory Leak Detection
This article introduces a novel method for the precise and scalable detection of memory leaks comprising two primary stages. Initially, context-, flow-, and field-sensitive static analysis is used to identify potential memory leaks. This includes an annotation system that allows specifying key properties of functions. Therefore, they do not need to be reanalyzed every time they are called. It also allows manual annotation of important library or system functions, thus enhancing analysis quality. The static analysis is conducted in reverse topological order on the call graph, enabling the parallel processing of functions within the same level of hierarchy. Subsequently, directed symbolic execution provides path-sensitivity and effectively filters out false positives. This process is performed concurrently for each bug detected by static analysis. This two-stage approach aims to enhance the efficiency and precision of memory leak detection in industrial software. The proposed method was implemented in the MLH (Memory Leak Hunter) tool, which identified numerous bugs in the open-source software, including OpenSSL, FFmpeg , and Radare2 . These bugs were reported and confirmed by the community, thereby proving the effectiveness of the developed method.
- 5 June 2024
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 12, 80128-80137
Open AccessCombining Static Analysis With Directed Symbolic Execution for Scalable and Accurate Memory Leak Detection
This article introduces a novel method for the precise and scalable detection of memory leaks comprising two primary stages. Initially, context-, flow-, and field-sensitive static analysis is used to identify potential memory leaks. This includes an annotation system that allows specifying key properties of functions. Therefore, they do not need to be reanalyzed every time they are called. It also allows manual annotation of important library or system functions, thus enhancing analysis quality. The static analysis is conducted in reverse topological order on the call graph, enabling the parallel processing of functions within the same level of hierarchy. Subsequently, directed symbolic execution provides path-sensitivity and effectively filters out false positives. This process is performed concurrently for each bug detected by static analysis. This two-stage approach aims to enhance the efficiency and precision of memory leak detection in industrial software. The proposed method was implemented in the MLH (Memory Leak Hunter) tool, which identified numerous bugs in the open-source software, including OpenSSL, FFmpeg , and Radare2 . These bugs were reported and confirmed by the community, thereby proving the effectiveness of the developed method.
- 1 December 2021
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 3-7
Bin2Source: Matching Binary to Source Code
Code comparison methods and tools are widely spread. However, most of the approaches target either only source code or only binary code, and methods for matching binary to source code are less investigated. In this article, we introduce Bin2Source: a tool for matching binary to source code. It gets as input a binary code (without debug information) and source code with its compilation commands. As a result, the tool returns matched functions and instructions of binary and source code. The major advantage of Bin2Source compared with existing tools is the capacity to perform instruction-to-instruction matching. The tool can be used for copyright infringements detection, algorithm recovery from binaries, third-party software detection in binaries, bugs detection, etc. Additionally, we propose a testing system to evaluate our tool's results. According to the developed testing system, Bin2Source has 85.66% precision, 83.26% recall, and 84.35% F1 score on average.
- 1 December 2021
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 3-7
Bin2Source: Matching Binary to Source Code
Code comparison methods and tools are widely spread. However, most of the approaches target either only source code or only binary code, and methods for matching binary to source code are less investigated. In this article, we introduce Bin2Source: a tool for matching binary to source code. It gets as input a binary code (without debug information) and source code with its compilation commands. As a result, the tool returns matched functions and instructions of binary and source code. The major advantage of Bin2Source compared with existing tools is the capacity to perform instruction-to-instruction matching. The tool can be used for copyright infringements detection, algorithm recovery from binaries, third-party software detection in binaries, bugs detection, etc. Additionally, we propose a testing system to evaluate our tool's results. According to the developed testing system, Bin2Source has 85.66% precision, 83.26% recall, and 84.35% F1 score on average.
- 1 December 2020
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 35-39
GENES ISP: code analysis platform
In this paper we present a novel code analysis platform referred as “GENESISP”. Its aim is to collect vast database of open source software and apply several integrated analyses. This analysis allows to understand relations within source and binary code, as well as detect existing defects. All the analyses are compatible with each other and can be combined, which provides more robust possibilities. In the first stage the framework tries to collect, process and store software related data into database. Various open source resources are used for that purpose. For open source software, we collect and store: source and binary code, debug information, build dependencies, linker commands, confirmed CVE and their possible fixes, etc. For operating systems distributions, we additionally store the list of available software packages. In the second stage the tool performs various analysis: source code clone detection, binary code clone detection, source/binary fragments search, statically linked libraries identification in binaries, unfixed CVE search, source and binary code matching, patch analysis, etc. We provide web interface for convenient use of the provided analyses. Beside it, there is an interactive terminal which enables users to query the database and combine the results of different analysis. We were able to find number of confirmed CVE in mainstream versions of different open source software, which proves the effectiveness of proposed platform.
- 1 December 2020
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 35-39
GENES ISP: code analysis platform
In this paper we present a novel code analysis platform referred as “GENESISP”. Its aim is to collect vast database of open source software and apply several integrated analyses. This analysis allows to understand relations within source and binary code, as well as detect existing defects. All the analyses are compatible with each other and can be combined, which provides more robust possibilities. In the first stage the framework tries to collect, process and store software related data into database. Various open source resources are used for that purpose. For open source software, we collect and store: source and binary code, debug information, build dependencies, linker commands, confirmed CVE and their possible fixes, etc. For operating systems distributions, we additionally store the list of available software packages. In the second stage the tool performs various analysis: source code clone detection, binary code clone detection, source/binary fragments search, statically linked libraries identification in binaries, unfixed CVE search, source and binary code matching, patch analysis, etc. We provide web interface for convenient use of the provided analyses. Beside it, there is an interactive terminal which enables users to query the database and combine the results of different analysis. We were able to find number of confirmed CVE in mainstream versions of different open source software, which proves the effectiveness of proposed platform.