Could you elaborate on what definition of "malware" you're using here? I'm not certain it is the same as how the word is used in common parlance, but I would be interested to hear more if you disagree.
Or if you're a programmer debugging something, the software is malware until you fix and recompile. Because during that time you are debugging it, it is instructing your computer to produce output that you don't want to observe.