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
 

Inferring Needless Write Memory Accesses on Ethereum Bytecode

dc.conference.titleInternational Conference on Tools and Algorithms for the Construction and Analysis of Systems 2023
dc.contributor.authorAlbert Albiol, Elvira María
dc.contributor.authorCorreas, Jesús
dc.contributor.authorGordillo Alguacil, Pablo
dc.contributor.authorRomán-Díez, Guillermo
dc.contributor.authorRubio, Albert
dc.date.accessioned2024-01-30T15:55:14Z
dc.date.available2024-01-30T15:55:14Z
dc.date.issued2023-04-22
dc.description.abstractEfficiency is a fundamental property of any type of program, but it is even more so in the context of the programs executing on the blockchain (known as smart contracts). This is because optimizing smart contracts has direct consequences on reducing the costs of deploying and executing the contracts, as there are fees to pay related to their bytes-size and to their resource consumption (called gas). Optimizing memory usage is considered a challenging problem that, among other things, requires a precise inference of the memory locations being accessed. This is also the case for the Ethereum Virtual Machine (EVM) bytecode generated by the most-widely used compiler, solc, whose rather unconventional and low-level memory usage challenges automated reasoning. This paper presents a static analysis, developed at the level of the EVM bytecode generated by solc, that infers write memory accesses that are needless and thus can be safely removed. The application of our implementation on more than 19,000 real smart contracts has detected about 6,200 needless write accesses in less than 4 hours. Interestingly, many of these writes were involved in memory usage patterns generated by solc that can be greatly optimized by removing entire blocks of bytecodes. To the best of our knowledge, existing optimization tools cannot infer such needless write accesses, and hence cannot detect these inefficiencies that affect both the deployment and the execution costs of Ethereum smart contracts.
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.1007/978-3-031-30823-9_23
dc.identifier.isbn9783031308222
dc.identifier.isbn9783031308239
dc.identifier.issn0302-9743
dc.identifier.issn1611-3349
dc.identifier.officialurlhttps://link.springer.com/chapter/10.1007/978-3-031-30823-9_23
dc.identifier.urihttps://hdl.handle.net/20.500.14352/96670
dc.language.isoeng
dc.page.final466
dc.page.initial448
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.titleInferring Needless Write Memory Accesses on Ethereum Bytecode
dc.typeconference paper
dc.type.hasVersionVoR
dspace.entity.typePublication
relation.isAuthorOfPublication1b41e88a-837f-414a-af5d-9105b5c0e7c5
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:
978-3-031-30823-9_23 (1).pdf
Size:
450.67 KB
Format:
Adobe Portable Document Format

Collections