Stop Avast blocking my own programs

Avast has suddenly blocked a program I have written myself, treating it as malware. I’ve added the location to the exclusion list but it still blocks it. How do I allow it to run?

You can report a suspected FP here: https://www.avast.com/false-positive-file-form.php