首页>
外国专利>
CONTRACT CODE OBFUSCATION PLATFORM AND OBFUSCATION METHOD BASED ON SMART CONTRACT BYTECODE FEATURES
CONTRACT CODE OBFUSCATION PLATFORM AND OBFUSCATION METHOD BASED ON SMART CONTRACT BYTECODE FEATURES
展开▼
机译:基于Smart合同字节码特征的合同代码混淆平台和混淆方法
展开▼
页面导航
摘要
著录项
相似文献
摘要
Disclosed is a contract code obfuscation platform based on smart contract bytecode features. The obfuscation platform comprises a bytecode/instruction converter, an information extractor, a bytecode injector, a jump target re-parser, and an instruction/bytecode converter. In the platform, an original bytecode is converted into an instruction sequence, and according to an obfuscation method, an instruction position needing to be rewritten and an original jump target address are extracted; an insertion instruction is then generated, and the insertion instruction is inserted in a corresponding position of the instruction sequence; a jump address of the instruction sequence is then corrected, so that the jump address corresponds to a correct jump address; and finally, the corrected instruction sequence is converted into a bytecode so that an obfuscated bytecode is obtained, and the obfuscated bytecode is output. In the present invention, by obfuscating a contract bytecode, contract information of a contract creator can be protected from being easily parsed by a tool, thereby reducing the risk of persons freely stealing codes from an on-chain contract.
展开▼