Skip to main content

Showing 1–11 of 11 results for author: d'Amorim, M

Searching in archive cs. Search in all archives.
.
  1. arXiv:2405.15690  [pdf, other

    cs.SE

    A Case Study of LLM for Automated Vulnerability Repair: Assessing Impact of Reasoning and Patch Validation Feedback

    Authors: Ummay Kulsum, Haotian Zhu, Bowen Xu, Marcelo d'Amorim

    Abstract: Recent work in automated program repair (APR) proposes the use of reasoning and patch validation feedback to reduce the semantic gap between the LLMs and the code under analysis. The idea has been shown to perform well for general APR, but its effectiveness in other particular contexts remains underexplored. In this work, we assess the impact of reasoning and patch validation feedback to LLMs in t… ▽ More

    Submitted 24 May, 2024; originally announced May 2024.

    Comments: Code, data and artifacts are available: http://tinyurl.com/vrpilot-artifacts

  2. arXiv:2403.15600  [pdf, other

    cs.SE cs.AI cs.CR

    Just another copy and paste? Comparing the security vulnerabilities of ChatGPT generated code and StackOverflow answers

    Authors: Sivana Hamer, Marcelo d'Amorim, Laurie Williams

    Abstract: Sonatype's 2023 report found that 97% of developers and security leads integrate generative Artificial Intelligence (AI), particularly Large Language Models (LLMs), into their development process. Concerns about the security implications of this trend have been raised. Developers are now weighing the benefits and risks of LLMs against other relied-upon information sources, such as StackOverflow (S… ▽ More

    Submitted 22 March, 2024; originally announced March 2024.

    Comments: 8 pages, 2 figures, accepted at Deep Learning Security and Privacy Workshop (DLSP) part of IEEE Symposium on Security and Privacy Workshops (SPW) for 2024

  3. arXiv:2310.12132  [pdf, other

    cs.SE

    The Effects of Computational Resources on Flaky Tests

    Authors: Denini Silva, Martin Gruber, Satyajit Gokhale, Ellen Arteca, Alexi Turcotte, Marcelo d'Amorim, Wing Lam, Stefan Winter, Jonathan Bell

    Abstract: Flaky tests are tests that nondeterministically pass and fail in unchanged code. These tests can be detrimental to developers' productivity. Particularly when tests run in continuous integration environments, the tests may be competing for access to limited computational resources (CPUs, memory etc.), and we hypothesize that resource (in)availability may be a significant factor in the failure rate… ▽ More

    Submitted 18 October, 2023; originally announced October 2023.

    Comments: This work has been submitted to the IEEE for possible publication. Copyright may be transferred without notice, after which this version may no longer be accessible

  4. arXiv:2206.01335  [pdf, other

    cs.SE cs.LG

    Code Generation Tools (Almost) for Free? A Study of Few-Shot, Pre-Trained Language Models on Code

    Authors: Patrick Bareiß, Beatriz Souza, Marcelo d'Amorim, Michael Pradel

    Abstract: Few-shot learning with large-scale, pre-trained language models is a powerful way to answer questions about code, e.g., how to complete a given code example, or even generate code snippets from scratch. The success of these models raises the question whether they could serve as a basis for building a wide range code generation tools. Traditionally, such tools are built manually and separately for… ▽ More

    Submitted 12 June, 2022; v1 submitted 2 June, 2022; originally announced June 2022.

    Comments: 12 pages, 5 figures

  5. arXiv:2201.10874  [pdf, other

    cs.SE

    Fuzzing Class Specifications

    Authors: Facundo Molina, Marcelo d'Amorim, Nazareno Aguirre

    Abstract: Expressing class specifications via executable constraints is important for various software engineering tasks such as test generation, bug finding and automated debugging, but developers rarely write them. Techniques that infer specifications from code exist to fill this gap, but they are designed to support specific kinds of assertions and are difficult to adapt to support different assertion la… ▽ More

    Submitted 26 January, 2022; originally announced January 2022.

  6. arXiv:2201.05348  [pdf, other

    cs.SE cs.HC

    Software Engineering User Study Recruitment on Prolific: An Experience Report

    Authors: Brittany Reid, Markus Wagner, Marcelo d'Amorim, Christoph Treude

    Abstract: Online participant recruitment platforms such as Prolific have been gaining popularity in research, as they enable researchers to easily access large pools of participants. However, participant quality can be an issue; participants may give incorrect information to gain access to more studies, adding unwanted noise to results. This paper details our experience recruiting participants from Prolific… ▽ More

    Submitted 15 March, 2022; v1 submitted 14 January, 2022; originally announced January 2022.

    Comments: To appear at RoPES 2022

  7. arXiv:2103.02591  [pdf, other

    cs.SE

    Shipwright: A Human-in-the-Loop System for Dockerfile Repair

    Authors: Jordan Henkel, Denini Silva, Leopoldo Teixeira, Marcelo d'Amorim, Thomas Reps

    Abstract: Docker is a tool for lightweight OS-level virtualization. Docker images are created by performing a build, controlled by a source-level artifact called a Dockerfile. We studied Dockerfiles on GitHub, and -- to our great surprise -- found that over a quarter of the examined Dockerfiles failed to build (and thus to produce images). To address this problem, we propose SHIPWRIGHT, a human-in-the-loop… ▽ More

    Submitted 3 March, 2021; originally announced March 2021.

    Comments: Published in ICSE'2021

  8. arXiv:2012.03759  [pdf, other

    cs.SE

    Exposing Bugs in JavaScript Engines through Test Transplantation and Differential Testing

    Authors: Igor Lima, Jefferson Silva, Breno Miranda, Gustavo Pinto, Marcelo d'Amorim

    Abstract: Context. JavaScript is a popular programming language today with several implementations competing for market dominance. Although a specification document and a conformance test suite exist to guide engine development, bugs occur and have important practical consequences. Implementing correct engines is challenging because the spec is intentionally incomplete and evolves frequently. Objective. Thi… ▽ More

    Submitted 7 December, 2020; originally announced December 2020.

    Comments: 32 pages, 2 figuras

    Journal ref: Software Quality Journal 2021

  9. arXiv:2007.05315  [pdf, other

    cs.LG cs.CR stat.ML

    Generating Adversarial Inputs Using A Black-box Differential Technique

    Authors: João Batista Pereira Matos Juúnior, Lucas Carvalho Cordeiro, Marcelo d'Amorim, Xiaowei Huang

    Abstract: Neural Networks (NNs) are known to be vulnerable to adversarial attacks. A malicious agent initiates these attacks by perturbing an input into another one such that the two inputs are classified differently by the NN. In this paper, we consider a special class of adversarial examples, which can exhibit not only the weakness of NN models - as do for the typical adversarial examples - but also the d… ▽ More

    Submitted 10 July, 2020; originally announced July 2020.

  10. arXiv:1901.10062  [pdf, other

    cs.CR cs.SE

    Beware of the App! On the Vulnerability Surface of Smart Devices through their Companion Apps

    Authors: Davino Mauro Junior, Luis Melo, Harvey Lu, Marcelo d'Amorim, Atul Prakash

    Abstract: Internet of Things (IoT) devices are becoming increasingly important. These devices are often resource-limited, hindering rigorous enforcement of security policies. Assessing the vulnerability of IoT devices is an important problem, but analyzing their firmware is difficult for a variety of reasons, including requiring the purchase of devices. This paper finds that analyzing companion apps to thes… ▽ More

    Submitted 28 January, 2019; originally announced January 2019.

  11. arXiv:1702.03457  [pdf, other

    cs.SE

    Time-Space Efficient Regression Testing for Configurable Systems

    Authors: Sabrina Souto, Marcelo d'Amorim

    Abstract: Configurable systems are those that can be adapted from a set of options. They are prevalent and testing them is important and challenging. Existing approaches for testing configurable systems are either unsound (i.e., they can miss fault-revealing configurations) or do not scale. This paper proposes EvoSPLat, a regression testing technique for configurable systems. EvoSPLat builds on our previous… ▽ More

    Submitted 11 February, 2017; originally announced February 2017.

    Comments: 14 pages

    MSC Class: D.2.5