摘要 |
PROBLEM TO BE SOLVED: To provide a controller which prevents data held in an external memory and the like from being leaked, that is to say, protects the data, even when a debugger is connected; and a method of preventing data leakage.SOLUTION: A controller 1 includes: a microprocessor 4; a storage unit 7 that holds data including a program executed by the microprocessor 4, and volatilizes the data by being given a predetermined instruction; a connection unit 3 that connects a debugger 2 which debugs the program; a connection detection unit 11 that detects the connection of the debugger 2 to the connection unit 3; and a control unit 5 that when the connection of the debugger 2 is detected by the connection detection unit 11, gives the predetermined instruction to the storage unit 7 and causes the data in the storage unit 7 to be volatilized. |