함수 호출의 안전성 향상을 돕는 스마트 계약 코드 재작성기

Vol. 29, No. 1, pp. 67-75, 1월. 2019
10.13089/JKIISC.2019.29.1.67, Full Text:
Keywords: Solidity, Preprocessor, Rewritter, Fallback functions
Abstract

Solidity에서 다른 계약의 함수를 호출할 때 특정 문제로 인해 호출할 수 없으면 fallback 함수가 실행된다. 이fallback 함수는 임의로 작성될 수 있는 함수로 어떤 동작을 하는지 정해지지 않았기 때문에 함수의 동작을 알 수없어 공격에 이용되기 쉽다. 본 논문에서는 이러한 위험성을 개발자의 부담 없이 줄이기 위해 전처리기를 이용한 해결방법을 제안한다. 개발자는 새롭게 정의된 키워드를 이용해서 의사표시를 하고, 전처리기는 해당 키워드에 따라상태변수와 조건문을 이용해서 전처리 과정을 진행하여 위험성을 줄인다.

Statistics
Show / Hide Statistics

Statistics (Cumulative Counts from December 1st, 2017)
Multiple requests among the same browser session are counted as one view.
If you mouse over a chart, the values of data points will be shown.


Cite this article
[IEEE Style]
이수연, 정형근, 조은선, "Smart Contract Code Rewritter for Improving Safety of Function Calls," Journal of The Korea Institute of Information Security and Cryptology, vol. 29, no. 1, pp. 67-75, 2019. DOI: 10.13089/JKIISC.2019.29.1.67.

[ACM Style]
이수연, 정형근, and 조은선. 2019. Smart Contract Code Rewritter for Improving Safety of Function Calls. Journal of The Korea Institute of Information Security and Cryptology, 29, 1, (2019), 67-75. DOI: 10.13089/JKIISC.2019.29.1.67.