Aviso: para depositar documentos, por favor, inicia sesión e identifícate con tu cuenta de correo institucional de la UCM con el botón MI CUENTA UCM. No emplees la opción AUTENTICACIÓN CON CONTRASEÑA
 

Static Profiling and Optimization of Ethereum Smart Contracts Using Resource Analysis

dc.contributor.authorCorreas, Jesús
dc.contributor.authorGordillo Alguacil, Pablo
dc.contributor.authorRomán-Díez, Guillermo
dc.date.accessioned2024-01-30T12:16:59Z
dc.date.available2024-01-30T12:16:59Z
dc.date.issued2021-02-05
dc.description.abstractProfiling tools have been widely used for studying the behavior of the programs with the objective of reducing the amount of resources consumed by them. Most profilers collect the information with dynamic techniques, i.e., execute an instrumented version of the program with some specific input arguments to profile the measures of interest. This article presents a novel static profiling technique for Ethereum smart contracts that, using static resource analysis, is able to generate upper-bound expressions that can be used to produce profiling information about the measure of interest. Unlike traditional profiling tools, we get upper-bounds on the measures of interest expressed in terms of the input arguments or the state variables of the smart contracts. The information that can be obtained by the upper-bounds allows us to detect gas-expensive fragments of a Solidity program or to spot resource-related vulnerabilities at specific program points of the program. Moreover, in this article we propose an automatic optimization of Solidity programs which reduces their gas consumption replacing the accesses to state variables by gas-efficient accesses to local variables. We have experimentally evaluated our technique and we have detected that 6.81% of the public functions analyzed can be optimized and 1.43% are vulnerable to execute arbitrary code.
dc.description.departmentDepto. de Sistemas Informáticos y Computación
dc.description.facultyFac. de Informática
dc.description.refereedTRUE
dc.description.statuspub
dc.identifier.doi10.1109/ACCESS.2021.3057565
dc.identifier.issn2169-3536
dc.identifier.officialurlhttps://ieeexplore.ieee.org/document/9348894
dc.identifier.urihttps://hdl.handle.net/20.500.14352/96468
dc.journal.titleIEEE Access
dc.language.isoeng
dc.page.final25507
dc.page.initial25495
dc.publisherIEEE
dc.rightsAttribution-NonCommercial-NoDerivatives 4.0 Internationalen
dc.rights.accessRightsopen access
dc.rights.urihttp://creativecommons.org/licenses/by-nc-nd/4.0/
dc.subject.ucmInformática (Informática)
dc.subject.unesco1203.17 Informática
dc.titleStatic Profiling and Optimization of Ethereum Smart Contracts Using Resource Analysis
dc.typejournal article
dc.type.hasVersionVoR
dc.volume.number9
dspace.entity.typePublication
relation.isAuthorOfPublication5c47e6f8-de26-4311-b340-ac4b1b1e5594
relation.isAuthorOfPublication.latestForDiscovery5c47e6f8-de26-4311-b340-ac4b1b1e5594

Download

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
Static_Profiling_and_Optimization_of_Ethereum_Smart_Contracts_Using_Resource_Analysis.pdf
Size:
4.88 MB
Format:
Adobe Portable Document Format

Collections