死碼 (編程)
永遠唔會行得到(例如係行嘅條件永遠唔會有可能達到;睇下面),
a = 0 if a>1000: # 如果 a 數值永遠冇可能超過 1000,噉呢行跟住就會有拃死碼。 [省略]
應用
編輯睇埋:代碼難讀化
睇埋
編輯攷
編輯- ↑ Barría, C., Cordero, D., Cubillos, C., & Osses, R. (2016, May). Obfuscation procedure based in dead code insertion into crypter. In 2016 6th International Conference on Computers Communications and Control (ICCCC) (pp. 23-29). IEEE.