Daniele Gorla

dblp:g/DanieleGorla · DBLP profile ↗
← Back
56ranked-venue papers
14as first author
21since 2021 · last 2026
0000-0001-8859-9844ORCID · verified

Domains — the database's venue-derived domains; a paper can count in several

Theory of computation · 34 · 9 first-author · 10 since 2021Software engineering, systems software and programming languages · 14 · 4 first-author · 8 since 2021Security and privacy · 4 · 2 first-author · 1 since 2021Databases, data management, data science and information retrieval · 3 · 1 since 2021Systems, architecture and hardware · 2 · 1 first-author · 1 since 2021Artificial intelligence and machine learning · 1 · 1 since 2021Applied, interdisciplinary, general and emerging computing · 1
YearPublicationVenuePosition
2026 Typing Fallback Functions: A Semantic Approach to Type Safe Smart Contracts
abstract
Publisher Copyright: © Stian Lybech, Daniele Gorla, and Luca Aceto.
Stian Lasse Lybech, Daniele Gorla, Luca Aceto
ECOOP2
2026 On the notions of bounded bypass, and how to make any deadlock-free MUTEX protocol satisfy one of them
abstract
In the literature on mutual exclusion, bounded bypass has been used for a long time as a strengthening of starvation-freedom, but, to the best of our knowledge, it still lacks a satisfying definition as a liveness property on its own. Moreover, we have encountered MUTEX protocols for which this notion needs to be slightly weakened in order to be met. To solve these issues, we first provide a formal definition of bounded bypass (that also corrects a previous definition from Raynal) and then introduce the notions of post-doorway and intermittent bounded bypass, two liveness properties that lie between starvation-freedom and bounded bypass. Essentially, intermittent bounded bypass weakens bounded bypass by ignoring the possible bypasses that may happen during the execution of a certain finite set of write operations to shared registers. Orthogonally, post-doorway bounded bypass ignores the bypasses that may happen during a finite initial phase of the lock protocol. Furthermore, we study an algorithm proposed by Yoah Bar-David in 1998 to enhance the liveness properties of any deadlock-free MUTEX protocol and prove that: (1) in the setting of atomic registers, this algorithm upgrades any deadlock-free mutual exclusion protocol to a bounded bypass one, with a bound that is quadratic in the number of processes; and (2) in the setting of safe and regular registers, the very same algorithm ensures the intermittent version of bounded bypass, still with a quadratic (but slightly different) bound. Finally, we provide logical formulae for the different notions of bounded bypass defined in this paper and use them to confirm all claims made here, by using model checking. This had a positive impact on the theoretical development of the work, since it allowed us to identify and correct small mistakes/ambiguities in definitions and proofs.
Rob J. van Glabbeek, Daniele Gorla, Myrthe S. C. Spronck
Distributed Comput.2
2026 Centralized vs. Decentralized Monitors for Hyperproperties
abstract
This article focuses on the runtime verification of hyperproperties expressed in Hyper- \(\mathsf{rec}\) HML, an expressive yet simple logic for describing properties of sets of traces. To this end, we consider a simple language of monitors that observe sets of system executions and report verdicts w.r.t. a given Hyper- \(\mathsf{rec}\) HML formula. We first employ a unique omniscient monitor that centrally observes all system traces. Since centralized monitors are not ideal for distributed settings, we also provide a language for decentralized monitors, where each trace has a dedicated monitor; these monitors yield a unique verdict by communicating their observations to one another. For both the centralized and the decentralized settings, we provide a synthesis procedure that, given a formula, yields a monitor that is correct (i.e., sound and violation complete). A key step in proving the correctness of the synthesis for decentralized monitors is a result showing that, for each formula, the synthesized centralized monitor and its corresponding decentralized one are weakly bisimilar for a suitable notion of weak bisimulation.
Luca Aceto, Antonis Achilleos, Elli Anastasiadi, Adrian Francalanza, Daniele Gorla, Jana Wagemaker
ACM Trans. Comput. Log.5
2026 A Sound Type System for Secure Currency Flow
abstract
In this article, we focus on TinySol , a minimal calculus for Solidity smart contracts, introduced by Bartoletti, Galletta and Murgia. We start by rephrasing its syntax (to emphasise its object-oriented flavour) and give a new big-step operational semantics for that language. We then use it to define two security properties, namely call integrity and noninterference. These two properties have some similarities in their definition, in that they both require that some part of a program is not influenced by the other part. However, we show that the two properties are actually incomparable. Nevertheless, we provide a type system that statically ensures both noninterference and call integrity; hence, well-typed programs satisfy both properties. We finally discuss the practical usability of the type system and its limitations by means of some simple examples.
Luca Aceto, Daniele Gorla, Stian Lasse Lybech
ACM Trans. Program. Lang. Syst.2
2025 Denotational Semantics for Probabilistic and Concurrent Programs
Noam Zilberstein, Daniele Gorla, Alexandra Silva 0001
CONCUR2
2025 CubeTesterAI: Automated JUnit Test Generation Using the LLaMA Model
abstract
This paper presents an approach to automating JUnit test generation for Java applications using the Spring Boot framework, leveraging the LLaMA (Large Language Model Architecture) model to enhance the efficiency and accuracy of the testing process. The resulting tool, called CubeTesterAI, includes a user-friendly web interface and the integration of a CI/CD pipeline using GitLab and Docker. These components streamline the automated test generation process, allowing developers to generate JUnit tests directly from their code snippets with minimal manual intervention. The final implementation executes the LLaMA models through RunPod, an online GPU service, which also enhances the privacy of our tool. Using the advanced natural language processing capabilities of the LLaMA model, CubeTesterAI is able to generate test cases that provide high code coverage and accurate validation of software functionalities in Java-based Spring Boot applications. Furthermore, it efficiently manages resource-intensive operations and refines the generated tests to address common issues like missing imports and handling of private methods. By comparing CubeTesterAI with some state-of-the-art tools, we show that our proposal consistently demonstrates competitive and, in many cases, better performance in terms of code coverage in different real-life Java programs.
Daniele Gorla, Pietro Nicolaus Roselli Lorenzini, Alireza Alipourfaz
ICST1
2025 On Estimating the Strength of Differentially Private Mechanisms in a Black-Box Setting
abstract
We analyze to what extent final users can infer information about the level of protection of their data when the data obfuscation mechanism is a priori unknown to them (the so-called “black-box” scenario). In particular, we explore four notions of differential privacy, namely local/central "-DP/Renyi- ´ DP. On the one hand, we prove that, without any assumption on the underlying distributions, it is not possible to have an algorithm able to infer the level of data protection with provable guarantees. On the other hand, we demonstrate that, under reasonable assumptions (namely Lipschitzness of the involved densities on a closed interval), such guarantees exist for the local versions and can be achieved by a simple histogrambased estimator. We validate our results experimentally and note that, in two particularly well behaved distributions (namely the Laplace and the Gaussian noise), our method performs better than expected, in the sense that in practice the number of samples needed to achieve the desired confidence is smaller than the theoretical bound, and the estimate of ∊ is more precise than predicted.
Daniele Gorla, Louis Jalouzot, Federica Granese, Catuscia Palamidessi, Pablo Piantanida
IEEE Trans. Dependable Secur. Comput.1
2024 Centralized vs Decentralized Monitors for Hyperproperties
abstract
This paper focuses on the runtime verification of hyperproperties expressed in Hyper-recHML, an expressive yet simple logic for describing properties of sets of traces. To this end, we consider a simple language of monitors that observe sets of system executions and report verdicts w.r.t. a given Hyper-recHML formula. We first employ a unique omniscient monitor that centrally observes all system traces. Since centralised monitors are not ideal for distributed settings, we also provide a language for decentralized monitors, where each trace has a dedicated monitor; these monitors yield a unique verdict by communicating their observations to one another. For both the centralized and the decentralized settings, we provide a synthesis procedure that, given a formula, yields a monitor that is correct (i.e., sound and violation complete). A key step in proving the correctness of the synthesis for decentralized monitors is a result showing that, for each formula, the synthesized centralized monitor and its corresponding decentralized one are weakly bisimilar for a suitable notion of weak bisimulation.
Luca Aceto, Antonis Achilleos, Elli Anastasiadi, Adrian Francalanza, Daniele Gorla, Jana Wagemaker
CONCUR5
2024 A Sound Type System for Secure Currency Flow
abstract
In this paper we focus on TinySol, a minimal calculus for Solidity smart contracts, introduced by Bartoletti et al. We start by rephrasing its syntax (to emphasise its object-oriented flavour) and give a new big-step operational semantics. We then use it to define two security properties, namely call integrity and noninterference. These two properties have some similarities in their definition, in that they both require that some part of a program is not influenced by the other part. However, we show that the two properties are actually incomparable. Nevertheless, we provide a type system for noninterference and show that well-typed programs satisfy call integrity as well; hence, programs that are accepted by our type system satisfy both properties. We finally discuss the practical usability of the type system and its limitations by means of some simple examples.
Luca Aceto, Daniele Gorla, Stian Lasse Lybech
ECOOP2
2024 Preventing Out-of-Gas Exceptions by Typing
Luca Aceto, Daniele Gorla, Stian Lasse Lybech, Mohammad Hamdaqa
ISoLA (1)2
2024 An implicit function theorem for the stream calculus
Michele Boreale, Luisa Collodi, Daniele Gorla
Log. Methods Comput. Sci.3
2024 Preface
Ugo Dal Lago, Daniele Gorla
Theor. Comput. Sci.2
2024 Products, Polynomials and Differential Equations in the Stream Calculus
abstract
We study connections among polynomials, differential equations, and streams over a field 𝕂, in terms of algebra and coalgebra. We first introduce the class of (F,G) - products on streams, those where the stream derivative of a product can be expressed as a polynomial function of the streams and their derivatives. Our first result is that, for every (F,G) -product, there is a canonical way to construct a transition function on polynomials such that the resulting unique final coalgebra morphism from polynomials into streams is the (unique) commutative 𝕂-algebra homomorphism—and vice versa. This implies that one can algebraically reason on streams via their polynomial representation. We apply this result to obtain an algebraic-geometric decision algorithm for polynomial stream equivalence, for an underlying generic (F,G) -product. Finally, we extend this algorithm to solve a more general problem: finding all valid polynomial equalities that fit in a user specified polynomial template.
Michele Boreale, Luisa Collodi, Daniele Gorla
ACM Trans. Comput. Log.3
2023 Polynomial recognition of vulnerable multi-commodities
Dario Fiorenza, Daniele Gorla, Ivano Salvo
Inf. Process. Lett.2
2022 Characterising spectra of equivalences for event structures, logically
Paolo Baldan, Daniele Gorla, Tommaso Padoan, Ivano Salvo
Inf. Comput.2
2022 Behavioural logics for configuration structures
Paolo Baldan, Daniele Gorla, Tommaso Padoan, Ivano Salvo
Theor. Comput. Sci.2
2022 Output Sampling for Output Diversity in Automatic Unit Test Generation
abstract
Diverse test sets are able to expose bugs that test sets generated with structural coverage techniques cannot discover. Input-diverse test set generators have been shown to be effective for this, but also have limitations: e.g., they need to be complemented with semantic information derived from the Software Under Test. We demonstrate how to drive the test set generation process with semantic information in the form of output diversity. We present the first totally automatic output sampling for output diversity unit test set generation tool, called OutGen. OutGen transforms a program into an SMT formula in bit-vector arithmetic. It then applies universal hashing in order to generate an output-based diverse set of inputs. The result offers significant diversity improvements when measured as a high output uniqueness count. It achieves this by ensuring that the test set’s output probability distribution is uniform, i.e., highly diverse. The use of output sampling, as opposed to any of input sampling, CBMC, CAVM, behaviour diversity or random testing improves mutation score and bug detection by up to 4150 and 963 percent respectively on programs drawn from three different corpora: the R-project, SIR and CodeFlaws. OutGen test sets achieve an average mutation score of up to 92 percent, and 70 percent of the test sets detect the defect. Moreover, OutGen is the only automatic unit test generation tool that is able to detect bugs on the real number C functions from the R-project.
Héctor D. Menéndez 0001, Michele Boreale, Daniele Gorla, David Clark 0001
IEEE Trans. Software Eng.3
2021 Algebra and Coalgebra of Stream Products
abstract
---
Michele Boreale, Daniele Gorla
CONCUR2
2021 DOCTOR: A Simple Method for Detecting Misclassification Errors
abstract
Deep neural networks (DNNs) have shown to perform very well on large scale object recognition problems and lead to widespread use for real-world applications, including situations where DNN are implemented as “black boxes”. A promising approach to secure their use is to accept decisions that are likely to be correct while discarding the others. In this work, we propose DOCTOR, a simple method that aims to identify whether the prediction of a DNN classifier should (or should not) be trusted so that, consequently, it would be possible to accept it or to reject it. Two scenarios are investigated: Totally Black Box (TBB) where only the soft-predictions are available and Partially Black Box (PBB) where gradient-propagation to perform input pre-processing is allowed. Empirically, we show that DOCTOR outperforms all state-of-the-art methods on various well-known images and sentiment analysis datasets. In particular, we observe a reduction of up to 4% of the false rejection rate (FRR) in the PBB scenario. DOCTOR can be applied to any pre-trained model, it does not require prior information about the underlying dataset and is as simple as the simplest available methods in the literature.
Federica Granese, Marco Romanelli 0002, Daniele Gorla, Catuscia Palamidessi, Pablo Piantanida
NeurIPS3
2021 Tribute to Anna Labella
Paolo Bottoni, Rocco De Nicola, Daniele Gorla
J. Log. Algebraic Methods Program.3
2021 Conflict vs causality in event structures
Daniele Gorla, Ivano Salvo
J. Log. Algebraic Methods Program.1
2019 Enhanced Models for Privacy and Utility in Continuous-Time Diffusion Networks
Daniele Gorla, Federica Granese, Catuscia Palamidessi
ICTAC1
2019 Depletable channels: dynamics, behaviour, and efficiency in network design
Pietro Cenciarelli, Daniele Gorla, Ivano Salvo
Acta Informatica2
2019 A Polynomial-Time Algorithm for Detecting the Possibility of Braess Paradox in Directed Graphs
Pietro Cenciarelli, Daniele Gorla, Ivano Salvo
Algorithmica2
2018 Inefficiencies in network models: A graph-theoretic perspective
Pietro Cenciarelli, Daniele Gorla, Ivano Salvo
Inf. Process. Lett.2
2018 A doctrinal approach to modal/temporal Heyting logic and non-determinism in processes
abstract
The study of algebraic modelling of labelled non-deterministic concurrent processes leads us to consider a categoryLB, obtained from a complete meet-semilatticeBand fromB-valued equivalence relations. We prove that, ifBhas enough properties, thenLBpresents a two-fold internal logical structure, induced by two doctrines definable on it: one related to its families of subobjects and one to its families of regular subobjects. The first doctrine is Heyting and makesLBa Heyting category, the second one is Boolean. We will see that the difference between these two logical structures, namely the different behaviour of the negation operator, can be interpreted in terms of a distinction between non-deterministic and deterministic behaviours of agents able to perform computations in the context of the same process. Moreover, the sorted first-order logic naturally associated withLBcan be extended to a modal/temporal logic, again using the doctrinal setting. Relations are also drawn to other computational models.
Paolo Bottoni, Daniele Gorla, Stefano Kasangian, Anna Labella
Math. Struct. Comput. Sci.2
2017 Semantic Subtyping for Objects and Classes
abstract
Abstract. We propose an integration of structural subtyping with boolean con-nectives and semantic subtyping to define a Java-like programming language that exploits the benefits of both techniques. Semantic subtyping is an approach to defining subtyping relation based on set-theoretic models, rather than syntactic rules. On the one hand, this approach involves some non trivial mathematical machinery in the background. On the other hand, final users of the language need not know this machinery and the resulting subtyping relation is very powerful and intuitive. While semantic subtyping is naturally linked to the structural one, we show how the framework can also accommodate the nominal subtyping. Several examples show the expressivity and the practical advantages of our proposal. 1
Ornela Dardha, Daniele Gorla, Daniele Varacca
Comput. J.2
2017 Preface
Paolo Baldan, Daniele Gorla
Inf. Comput.2
2016 Full abstraction for expressiveness: history, myths and facts
abstract
What does it mean that an encoding is fully abstract? What does itnotmean? In this position paper, we want to help the reader to evaluate the real benefits of using such a notion when studying the expressiveness of programming languages. Several examples and counterexamples are given. In some cases, we work at a very abstract level; in other cases, we give concrete samples taken from the field of process calculi, where the theory of expressiveness has been mostly developed in the last years.
Daniele Gorla, Uwe Nestmann
Math. Struct. Comput. Sci.1
2015 A semiring-based trace semantics for processes with applications to information leakage analysis
abstract
We propose a framework for reasoning about program security building on language-theoretic and coalgebraic concepts. The behaviour of a system is viewed as a mapping from traces of high (unobservable) events to low (observable) events: the less the degree of dependency of low events on high traces, the more secure the system. We take the abstract view that low events are drawn from a generic semiring, where they can be combined using product and sum operations; throughout the paper, we provide instances of this framework, obtained by concrete instantiations of the underlying semiring. We specify systems via a simple process calculus, whose semantics is given as the unique homomorphism from the calculus into the set of behaviours, i.e. formal power series, seen as a final coalgebra. We provide a compositional semantics for the calculus in terms of rational operators on formal power series and show that the final and the compositional semantics coincide. This compositional, syntax-driven framework lays a foundation for automation and abstraction of a quantified approach to flow security of system specifications.
Michele Boreale, David Clark 0001, Daniele Gorla
Math. Struct. Comput. Sci.3
2013 Pattern Matching and Bisimulation
Thomas Given-Wilson, Daniele Gorla
COORDINATION2
2012 Preface to special issue: EXPRESS, ICE and SOS 2009
abstract
This special issue of Mathematical Structures in Computer Science contains a selection of papers presented at three satellite events of CONCUR'09, which was held between 31 August and 5 September 2009 in Bologna (Italy). Specifically, it contains three papers from the 16th International Workshop on Expressiveness in Concurrency (EXPRESS'09), one paper from the 2nd Interaction and Concurrency Experience (ICE'09) and two papers from the 6th Workshop on Structural Operational Semantics (SOS'09).
Filippo Bonchi, Sibylle Fröschle, Daniele Gorla, Bartek Klin
Math. Struct. Comput. Sci.3
2010 A taxonomy of process calculi for distribution and mobility
Daniele Gorla
Distributed Comput.1
2010 Towards a unified approach to encodability and separation results for process calculi
Daniele Gorla
Inf. Comput.1
2010 Preface
abstract
International audience
Daniele Gorla, Catuscia Palamidessi
J. Comput. Secur.1
2010 Preface to special issue: Expressiveness in Concurrency 2008
abstract
This issue of Mathematical Structures in Computer Science contains three papers selected from the 15th International Workshop on Expressiveness in Concurrency (EXPRESS'08) held on 23 August 2008 in Toronto (Canada) as a satellite event of CONCUR'08.
Thomas T. Hildebrandt, Daniele Gorla
Math. Struct. Comput. Sci.2
2010 Tree-functors, determinacy and bisimulations
abstract
We study the functorial characterisation of bisimulation-based equivalences over a categorical model of labelled trees. We show that in a setting where all labels are visible, strong bisimilarity can be characterised in terms of enriched functors by relying on the reflection of paths with their factorisations. For an enriched functor F, this notion requires that a path (an internal morphism in our framework) π going from F(A) to C corresponds to a path p going from A to K, with F(K) = C, such that every possible factorisation of π can be lifted in an appropriate factorisation of p. This last property corresponds to a Conduché property for enriched functors, and a very rigid formulation of it has been used by Lawvere to characterise the determinacy of physical systems. We also consider the setting where some labels are not visible, and provide characterisations for weak and branching bisimilarity. Both equivalences are still characterised in terms of enriched functors that reflect paths with their factorisations: for branching bisimilarity, the property is the same as the one used to characterise strong bisimilarity when all labels are visible; for weak bisimilarity, a weaker form of path factorisation lifting is needed. This fact can be seen as evidence that strong and branching bisimilarity are strictly related and that, unlike weak bisimilarity, they preserve process determinacy in the sense of Milner.
Rocco De Nicola, Daniele Gorla, Anna Labella
Math. Struct. Comput. Sci.2
2010 From Flow Logic to static type systems for coordination languages
Rocco De Nicola, Daniele Gorla, René Rydhof Hansen, Flemming Nielson, Hanne Riis Nielson, Christian W. Probst, Rosario Pugliese
Sci. Comput. Program.2
2009 Depletable Channels: Dynamics and Behaviour
Pietro Cenciarelli, Daniele Gorla, Ivano Salvo
FCT2
2008 Towards a Unified Approach to Encodability and Separation Results for Process Calculi
Daniele Gorla
CONCUR1
2008 From Flow Logic to Static Type Systems for Coordination Languages
Rocco De Nicola, Daniele Gorla, René Rydhof Hansen, Flemming Nielson, Hanne Riis Nielson, Christian W. Probst, Rosario Pugliese
COORDINATION2
2008 Network Applications of Graph Bisimulation
Pietro Cenciarelli, Daniele Gorla, Emilio Tuosto
ICGT2
2008 Comparing communication primitives via their relative expressive power
Daniele Gorla
Inf. Comput.1
2007 Basic observables for a calculus for global computing
Rocco De Nicola, Daniele Gorla, Rosario Pugliese
Inf. Comput.2
2007 Global computing in a dynamic network of tuple spaces
Rocco De Nicola, Daniele Gorla, Rosario Pugliese
Sci. Comput. Program.2
2006 On the Relative Expressive Power of Asynchronous Communication Primitives
Daniele Gorla
FoSSaCS1
2006 Inferring dynamic credentials for rôle-based trust management
abstract
The topic of this paper is the rôle-based trust-management language RT0, a formalism inspired by logic programming that handles trust in large scale, decentralised systems. We provide a purely operational semantics for the language in which credentials can be established using a simple set of inference rules. We then extend RT0to include time validity and boolean guards that control the availability of credentials. In such an extended framework, credentials are conditional on the availability of supporting credentials in the execution context. In addition to a set-theoretic and a logic-programming semantics, we develop for the extended language a series of increasingly powerful inference systems for establishing these conditional credentials. By means of simple but realistic examples, we demonstrate the expressiveness and usability of our language, warranting its integration into existing trust-management tools
Daniele Gorla, Matthew Hennessy, Vladimiro Sassone
PPDP1
2006 Role-based access control for a distributed calculus
abstract
Rôle-based access control (RBAC) is increasingly attracting attention because it reduces the complexity and cost of security administration by interposing the notion of rôle in the assignment of permissions to users. In this paper, we present a forma
Chiara Braghin, Daniele Gorla, Vladimiro Sassone
J. Comput. Secur.2
2006 Confining data and processes in global computing applications
Rocco De Nicola, Daniele Gorla, Rosario Pugliese
Sci. Comput. Program.2
2006 On the expressive power of KLAIM-based calculi
Rocco De Nicola, Daniele Gorla, Rosario Pugliese
Theor. Comput. Sci.2
2005 Global Computing in a Dynamic Network of Tuple Spaces
Rocco De Nicola, Daniele Gorla, Rosario Pugliese
COORDINATION2
2005 Basic Observables for a Calculus for Global Computing
Rocco De Nicola, Daniele Gorla, Rosario Pugliese
ICALP2
2005 Security Policies as Membranes in Systems for Global Computing
abstract
We propose a simple global computing framework, whose main concern is code migration. Systems are structured in sites, and each site is divided into two parts: a computing body, and a membrane, which regulates the interactions between the computing body and the external environment. More precisely, membranes are filters which control access to the associated site, and they also rely on the well-established notion of trust between sites. We develop a basic theory to express and enforce security policies via membranes. Initially, these only control the actions incoming agents intend to perform locally. We then adapt the basic theory to encompass more sophisticated policies, where the number of actions an agent wants to perform, and also their order, are considered.
Daniele Gorla, Matthew Hennessy, Vladimiro Sassone
Log. Methods Comput. Sci.1
2004 A Distributed Calculus for Ro^le-Based Access Control
Chiara Braghin, Daniele Gorla, Vladimiro Sassone
CSFW2
2003 Resource Access and Mobility Control with Dynamic Privileges Acquisition
Daniele Gorla, Rosario Pugliese
ICALP1
2002 On Compositional Reasoning in the Spi-calculus
Michele Boreale, Daniele Gorla
FoSSaCS2