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
 

A Max-SMT Superoptimizer for EVM handling Memory and Storage

dc.conference.titleInternational Conference on Tools and Algorithms for the Construction and Analysis of Systems 2022
dc.contributor.authorAlbert Albiol, Elvira María
dc.contributor.authorGordillo Alguacil, Pablo
dc.contributor.authorHernández-Cerezo, Alejandro
dc.contributor.authorRubio, Albert
dc.date.accessioned2024-01-30T15:51:47Z
dc.date.available2024-01-30T15:51:47Z
dc.date.issued2022-03-30
dc.description.abstractSuperoptimization is a compilation technique that searches for the optimal sequence of instructions semantically equivalent to a given (loop-free) initial sequence. With the advent of SMT solvers, it has been successfully applied to LLVM code (to reduce the number of instructions) and to Ethereum EVM bytecode (to reduce its gas consumption). Both applications, when proven practical, have left out memory operations and thus missed important optimization opportunities. A main challenge to superoptimization today is handling memory operations while remaining scalable. We present GASOLv2 , a gas and bytes-size superoptimization tool for Ethereum smart contracts, that leverages a previous Max-SMT approach for only stack optimization to optimize also wrt. memory and storage. GASOLv2 can be used to optimize the size in bytes, aligned with the optimization criterion used by the Solidity compiler solc, and it can also be used to optimize gas consumption. Our experiments on 12,378 blocks from 30 randomly selected real contracts achieve gains of 16.42% in gas wrt. the previous version of the optimizer without memory handling.
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-030-99524-9_11
dc.identifier.isbn9783030995232
dc.identifier.isbn9783030995249
dc.identifier.issn0302-9743
dc.identifier.issn1611-3349
dc.identifier.officialurlhttps://link.springer.com/chapter/10.1007/978-3-030-99524-9_11
dc.identifier.urihttps://hdl.handle.net/20.500.14352/96667
dc.language.isoeng
dc.page.final219
dc.page.initial201
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.titleA Max-SMT Superoptimizer for EVM handling Memory and Storage
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-030-99524-9_11 (1).pdf
Size:
655 KB
Format:
Adobe Portable Document Format

Collections