Adriano Torres

Adriano Torres

Auto-generated profile, based on publicly available information

Adriano Torres

School of Computer and Mathematical Sciences, University of Adelaide, Adelaide, Australia

Research Focus & Metrics

Academic Career Length

4Years (2023-Present)

(Calculated once Scilit publication data is synced: current year − year of first publication + 1)

Representative Publications

View All Publications
21 August 2023 in IEEE Transactions on Software Engineering
Verified
Journal Article
Closed access
ATAdriano Torres
Adriano Torres
PCPedro Costa
Pedro Costa
LALuis Amaral
Luis Amaral
JPJonata Pastro
Jonata Pastro
RBRodrigo Bonifácio
Rodrigo Bonifácio
Edna Dias CanedoEdna Dias Canedo
Edna Dias Canedo
Misuse of cryptographic (crypto) APIs is a noteworthy cause of security vulnerabilities. For this reason, static analyzers were recently proposed for detecting crypto API misuses. They differ in strengths and weaknesses, and they might miss bugs. Motivated by the inherent limitations of static analyzers, this paper reports on a study of runtime verification (RV) as a dynamic-analysis-based alternative for crypto API misuse detection. RV monitors program runs against formal specifications; it was shown to be effective and efficient for amplifying the bug-finding ability of software tests. We focus on the popular JCA crypto API and write 22 RV specifications based on expert-validated rules in a static analyzer. We monitor these specifications while running tests in five benchmarks. Lastly, we compare the accuracy of our RV-based approach, RVSec, with those of three state-of-the-art crypto API misuses detectors: CogniCrypt, CryptoGuard, and CryLogger. Results show that RVSec has higher accuracy in four benchmarks and is on par with CryptoGuard in the fifth. Overall, RVSec achieves an average F 1 measure of 95%, compared with 83%, 78%, and 86% for CogniCrypt, CryptoGuard, and CryLogger, respectively. We highlight the strengths and limitations of these tools and show that RV is effective for detecting crypto API misuses. We also discuss how static and dynamic analysis can complement each other for detecting crypto API misuses.

9 May 2023 in Journal of Systems and Software
Verified
Journal Article
Closed access
ATAdriano Torres
Adriano Torres
COCaio Oliveira
Caio Oliveira
MOMárcio Okimoto
Márcio Okimoto
DMDiego Marcílio
Diego Marcílio
PQPedro Queiroga
Pedro Queiroga
EMEduardo Monteiro
Eduardo Monteiro

8 August 2025 in Empirical Software Engineering
Verified
Journal Article
Open access
PDF file
ATAdriano Torres
Adriano Torres
SBSebastian Baltes
Sebastian Baltes
CTChristoph Treude
Christoph Treude
MWMarkus Wagner
Markus Wagner
The code base of software projects evolves essentially through inserting and removing information to and from the source code. We can measure this evolution via the elements of infor-mation—tokens, words, nodes—of the respective representation of the code. In this work, we approach the measurement of the information content of the source code of open-source projects from an information-theoretic standpoint. Our focus is on the entropy of two funda-mental representations of code: tokens and abstract syntax tree nodes, from which we derive definitions of textual and structural entropy. We proceed with an empirical assessment where we evaluate the evolution patterns of the entropy of 95 actively maintained open source pro-jects. We calculate the statistical relationships between our derived entropy metrics and classic methods of measuring code complexity and learn that entropy may capture different dimen-sions of complexity than classic metrics. Finally, we conduct entropy-based anomaly detection of unusual changes to demonstrate that our approach may effectively recognise unusual source code change events with over 60% precision, and lay the groundwork for improvements to information-theoretic measurement of source code evolution, thus paving the way for a new approach to statically gauging program complexity throughout its development.