With engineering companies, there are additional hints:
Like look at their patents. I noticed to late that my current company had a "perpetuum mobile" patent in there, signed by the management. Needless to say, it's one of those bad jobs. (and I have a contract still running for 60 weeks, 1 day and 42 minutes)
Then look at the products. Do they make sense? For example if they are network capable, do they support IPv6? If they have a filesystem and configuration files, how are they stored? My current company sells a device which has an ARM microcontroller and an SD-card, but the display is a simple 7-segment one, while the configuration can only in part be changed on the device itself, and is stored in a strange binary format.
Then there is often the cancer of VBA, meaning that instead of databases or simple text files, vital data will be stored in Excel-Sheets, making it impossible to do anything useful with it.