JPJose D Abruzzo Pereira

Jose D Abruzzo Pereira

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article


Jose D Abruzzo Pereira has a total of 19 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • An Empirical Study of Large Language Models as Experts in Software Trustworthiness Assessment

    by Saeed Javani Jananloo, José D’aBruzzo Pereira, Marco Vieira

  • Open Access

    Mining Vulnerability and Code Repositories to Study Software Security

    by João Rafael Henriques, José D'ABruzzo Pereira, Marco Vieira


  • Open Access

    A Model-Driven Approach for the Management and Enforcement of Coding Conventions

    by Elder Rodrigues, José D’aBruzzo Pereira, Leonardo Montecchi

    Coding conventions are a means to improve the reliability of software systems, and they are especially useful to avoid the introduction of known bugs or security flaws. However, coding rules typically come in the form of text written in natural language, which makes them hard to manage and to enforce. Following the model-driven engineering principles, in this paper we propose an approach for the management and enforcement of coding conventions using structured models. We define the Coding Conventions Specification Language (CCSL), a language to define coding rules as structured specifications, from which checkers are derived automatically by code generation. To evaluate our approach, we run a thorough experiment on 8 real open-source projects and 77 coding rules for the Java language, comparing the violations identified by our checkers with those reported by the PMD static analysis tool. The obtained results are promising and confirm the feasibility of the approach. The experiment also revealed that textual coding rules rarely document all the necessary information to write a reliable checker.


  • Open Access

    On the Use of Deep Graph CNN to Detect Vulnerable C Functions

    by José D'ABruzzo Pereira, Nuno Lourenço, Marco Vieira

    Software vulnerabilities are a problem in most software systems. If left unchecked, they can be exploited by malicious third parties to compromise the system, which can result in hazardous consequences. Over the years, several techniques have been proposed to tackle the problem of automatically detecting vulnerabilities. However, in spite of the efforts, they usually issue a large number of false alarms, which create a large overhead for the development team to analyze them. In this work, we study the viability of using a static technique (originally developed to classify classes of malware) to detect vulnerable C functions. This technique uses the Control Flow Graph (CFG) of the functions, features related to the structure of the graph, and the code sequence. Different from the malware classification problem, we also extract memory management-related features. All of the features are processed by a Deep Graph Convolution Neural Network (DGCNN). To do that, we use vulnerable and non-vulnerable functions of the open-source Linux Kernel project. Results show that a high recall can be obtained using this approach at the cost of a low precision.


  • Open Access

    On the use of the TMA Framework to promote self-adaptation capabilities in TalkConnect

    by José D'ABruzzo Pereira, João David Ribeiro, João Pires, Pedro Moita, Nuno Laranjeiro, Marco Vieira

    Cloud applications are usually deployed in a third-party infrastructure, which follows a pay-per-use model. This is especially important to companies (such as Talkdesk) that have flexibility to adjust their infrastructure without needing to buy new hardware. However, the resources acquired should be adjusted to the demand at any given moment, on one hand to assure the right quality of service (i.e., resources should not be less than what is needed) and in the other hand to reduce costs (i.e., resources should not be more than what is required). TMA (Trustworthiness Monitoring & Assessment Framework) is a solution developed at the University of Coimbra that promotes self-adaptation capabilities to cloud applications. This paper presents a case on the use of TMA in TalkConnect, showcasing a collaboration between academia and industry. TalkConnect is a solution developed by Talkdesk to promote global interconnection to multiple telecommunication infrastructures.

  • Open Access

    Characterizing Buffer Overflow Vulnerabilities in Large C/C++ Projects

    by Jose D'ABruzzo Pereira, Naghmeh Ivaki, Marco Vieira

    Security vulnerabilities are present in most software systems, especially in projects with a large codebase, with several versions over the years, developed by many developers. Issues with memory management, in particular buffer overflow, are among the most frequently exploited vulnerabilities in software systems developed in C/C++. Nevertheless, most buffer overflow vulnerabilities are not detectable by vulnerability detection tools and static analysis tools (SATs). To improve vulnerability detection, we need to better understand the characteristics of such vulnerabilities and their root causes. In this study, we analyze 159 vulnerable code units from three representative projects (i.e., Linux Kernel, Mozilla, and Xen). First, the vulnerable code is characterized using the Orthogonal Defect Classification (ODC), showing that most buffer overflow vulnerabilities are related to missing or incorrect checking (e.g., missing if construct around statement or incorrect logical expression used as branch condition). Then, we run two widely used C/C++ Static Analysis Tools (SATs) (i.e., CppCheck and Flawfinder) on the vulnerable and neutral (after the vulnerability fix) versions of each code unit, showing the low effectiveness of this type of tool in detecting buffer overflow vulnerabilities. Finally, we characterize the vulnerable and neutral versions of each code unit using software metrics, demonstrating that, although such metrics are frequently used as indicators of software quality, there is no clear correlation between them and the existence of buffer overflow in the code. As a result, we highlight a set of observations that should be considered to improve the detection of buffer overflow vulnerabilities.


  • On the Use of Open-Source C/C++ Static Analysis Tools in Large Projects

    by Jose D'ABruzzo Pereira, Marco Vieira

    Software applications are frequently deployed with security vulnerabilities that may open the door to attacks. In business-critical scenarios, such attacks may lead to significant financial and reputation losses. Static Analysis Tools (SATs), which analyze the source code without executing it, can be used to detect potential faults in the source code, including security vulnerabilities. However, many false alarms are normally reported, leading teams to discard the use of such tools, especially on large software projects. Existing works have dealt with the evaluation of SATs, but they are mostly based on small pieces of code designed to support the evaluation. In this paper, we present and discuss the results of the execution of two Open-Source C/C++ SATs (CPPCheck and Flawfinder) on the large open-source project Mozilla. Our goal is to study the applicability of SATs in a large project and the vulnerability categories they can detect. Results show that CppCheck could detect 83.5% of the vulnerabilities, and Flawfinder could detect 36.2%, although the number of false alarms is high (7.2% for CppCheck and 93.2% for Flawfinder). Regarding the different categories, the two SATs showed quite diverse performances (e.g., CppCheck was able to detect $92.6% of Data Protection vulnerabilities and 62.5% of Coding Practices vulnerabilities, while false alarms were 99.1% and 99.9%, respectively).


  • Open Access

    A platform to enable self-adaptive cloud applications using trustworthiness properties

    by José D'ABruzzo Pereira, Rui Silva, Nuno Antunes, Jorge L. M. Silva, Breno de França, Regina Moraes, Marco Vieira

    Self-Adaptive Systems (SASs) reflect on both their state and on the environment and change their behavior to satisfy the expected objectives. Cloud systems are self-adaptive by nature, especially considering the resources used in a pay-as-you-go manner. Satisfying trustworthiness (worthiness of a service based on evidences of its trust) properties also demands self-adaptation capabilities. Unfortunately, developers lack an easy-to-use platform to support the assessment of such properties and to execute the required adaptions. This paper presents TMA, a platform that implements a MAPE-K control loop for cloud systems, supported by a distributed monitoring system based on probes. Quality Models are used to express trustworthiness properties, resulting in scores, which are used to plan adaptations through evaluation rules. These plans are executed by actuators. A demo shows the scaling up/down of the number of containers in a cloud application of a set of web services from TPC Benchmarks, as a result of changes observed in the environment.