Solidity : Use of return in constructor

Classification

Overview

return statement is used in contract’s constructor. With return the process of deploy will differ from the intuitive one. For instance, deployed bytecode may not include functions implemented in the source.

Vulnerability type by SmartDec classification: Assembly return in constructor.

References