use codes of opt to modify tool/canary