2022
DOI: 10.1109/tse.2021.3078342
|View full text |Cite
|
Sign up to set email alerts
|

SigRec: Automatic Recovery of Function Signatures in Smart Contracts

Abstract: Millions of smart contracts have been deployed onto Ethereum for providing various services, whose functions can be invoked. For this purpose, the caller needs to know the function signature of a callee, which includes its function id and parameter types. Such signatures are critical to many applications focusing on smart contracts, e.g., reverse engineering, fuzzing, attack detection, and profiling. Unfortunately, it is challenging to recover the function signatures from contract bytecode, since neither debug… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

0
4
0

Year Published

2022
2022
2024
2024

Publication Types

Select...
6
3

Relationship

0
9

Authors

Journals

citations
Cited by 14 publications
(4 citation statements)
references
References 41 publications
(98 reference statements)
0
4
0
Order By: Relevance
“…Once deployed, each contract is assigned a unique address. Users can interact with the contract by encoding the function signature and actual parameters [35,106] into a transaction according to the Application Binary Interface (ABI). The ABI is JSON data generated in compilation, which describes methods to be invoked to execute smart contracts.…”
Section: Background 21 Smart Contractmentioning
confidence: 99%
“…Once deployed, each contract is assigned a unique address. Users can interact with the contract by encoding the function signature and actual parameters [35,106] into a transaction according to the Application Binary Interface (ABI). The ABI is JSON data generated in compilation, which describes methods to be invoked to execute smart contracts.…”
Section: Background 21 Smart Contractmentioning
confidence: 99%
“…Type Inference. SIGREC [11] presents an automatic method for function signature recovery, which includes the identification of the function arguments' types via analyzing how the CALLDATA is processed by the contract's code. However, as the primary scope of SIGREC is to extract the function signatures of smart contracts with unknown ABIs, we consider it orthogonal to the work presented in this paper.…”
Section: Related Workmentioning
confidence: 99%
“…For example, tools including EthIR (Albert et al, 2018), EtherSolve (Contro et al, 2021) and Mythril (Mueller, 2018) with the aid of a symbolic execution engine to explore the traces of complied smart contracts. SigRec (Chen et al, 2022) is proposed by leveraging type-aware symbolic execution to detect known patterns used by Solidity compiler to recover function signatures automatically. Other works rely on program analysis.…”
Section: Decompilers For Smart Contractsmentioning
confidence: 99%