Term: codethulhu
Example: the open source driver delivered by the manufacturer was of codethulhu quality, and had to be rewritten from scratch
Definition: software source code so badly written it is clearly the work of ancient evil